There is no recipient.inboxId

Followed the blog example and no mastodon server returns an inboxId. Which then stops the script from accepting the user as a follower.

What do you mean by recipient?  Is it an Actor?

const recipient = await follow.getActor(ctx);

So, it's an Actor, right?  If an Actor has no inboxId it means no "inbox" property in the actual JSON-LD document.  You can check this by curling the URL of the recipient (you can see it by console.log(recipient.id?.href);).

Ah, the inspect string is a bit misleading.  You should be able to see that you have recipient.inboxId with console.log(recipient.inboxId);.

Since we debugged this problem together with pair programming, I'll close this issue.


fix: update cxx language standard

This PR updates cxx language standard to fix building on latest version of React Native
Address: https://github.com/mrousavy/react-native-blob-jsi-helper/issues/15

I think a cleaner solution might be to use install_modules_dependencies ?

Yeah good suggestion, @hannojg updated

letsgooo!


Fix the output of runn new for a gRPC method which needs a empty message

Resolves #1009
Test result
Before(tested on 53cf1c02d87d which is newest commit of main)
$ go run ./cmd/runn/main.go new -- grpcurl -plaintext localhost:8080 myApp.MyService/Health
desc: Generated by `runn new`
runners:
  greq: grpc://localhost:8080
steps:
- greq:
    myApp.MyService/Health: {}

After(tested on ee9d9220c391 which is newest commit of this branch)
$ go run ./cmd/runn/main.go new -- grpcurl -plaintext localhost:8080 myApp.MyService/Health
desc: Generated by `runn new`
runners:
  greq: grpc://localhost:8080
steps:
- greq:
    myApp.MyService/Health:
      message: {}

Needs help
When I ran go run cmd/runn/main.go new --and-run --grpc-no-tls -- grpcurl -plaintext localhost:8080 myApp.myService/Health, the output was like this.
desc: Generated by `runn new`
runners:
  greq: grpc://localhost:8080
steps:
- greq:
    myApp.myService/Health: {}
  test: |
    current.res.headers["content-type"][0] == "application/grpc"
    && compare(current.res.message, {"message":"myApp"})
    && current.res.status == 0

I couldn't understand why myApp.MyService/Health:\n\tmessage: {} is not shown but myApp.myService/Health: {} thought I read code a little to understand.
When I have enough time, I will do more investigate.

@kyu08 Thank you!!!


Provide a REST API

Hi thanks for the effort this repo would so useful if you provided a restful API to transliterate from various strings i have faced this issue to convert kurdish text to its english representation when i had to generate referral codes from account name.

Thanks Kak Aram,
Actually I will try, it has so many issues, I know, but a better project will be published, a much more perfect one, along with fixing all the issues. Please let me know if there is any other recommendation or  issues. Thanks again.


Progressive JPEG support

Currently Mogrify doesn't support generation of progressive JPEG images. It would be nice to add option to specify interlacing scheme.

For now, does Mogrify.custom(image, "interlace", "line") work as expected for you?
ImageMagick has so many command line options, we need to decide a better way to organize them in this library. I'm opening another issue to track this general problem. (#34)


failed to load detectNet model

I'm trying to load a TAO converted model called VehicleMakeNet (https://catalog.ngc.nvidia.com/orgs/nvidia/teams/tao/models/vehiclemakenet).  I convert the model as follows:
ilhoser@whiteoak-jetson:~/Downloads/files$ ./tao-converter resnet18_vehiclemakenet_pruned.etlt -k tlt_encode -d 3,224,224 -o predictions/Softmax -m 1 -w<PHONE_NUMBER> -c vehiclemakenet_int8.txt

[INFO] [MemUsageChange] Init CUDA: CPU +221, GPU +0, now: CPU 249, GPU 3863 (MiB)
[INFO] [MemUsageChange] Init builder kernel library: CPU +302, GPU +156, now: CPU 574, GPU 4040 (MiB)
[WARNING] The implicit batch dimension mode has been deprecated. Please create the network with NetworkDefinitionCreationFlag::kEXPLICIT_BATCH flag whenever possible.
[INFO] ---------- Layers Running on DLA ----------
[INFO] ---------- Layers Running on GPU ----------
[INFO] [GpuLayer] CONVOLUTION: conv1/convolution + bn_conv1/batchnorm/mul_1 + bn_conv1/batchnorm/add_1 + activation_1/Relu
[INFO] [GpuLayer] CONVOLUTION: block_1a_conv_1/convolution + block_1a_bn_1/batchnorm/mul_1 + block_1a_bn_1/batchnorm/add_1 + block_1a_relu_1/Relu
[INFO] [GpuLayer] CONVOLUTION: block_1a_conv_shortcut/convolution + block_1a_bn_shortcut/batchnorm/mul_1 + block_1a_bn_shortcut/batchnorm/add_1
[INFO] [GpuLayer] CONVOLUTION: block_1a_conv_2/convolution + block_1a_bn_2/batchnorm/mul_1 + block_1a_bn_2/batchnorm/add_1 + add_1/add + block_1a_relu/Relu
[INFO] [GpuLayer] CONVOLUTION: block_1b_conv_1/convolution + block_1b_bn_1/batchnorm/mul_1 + block_1b_bn_1/batchnorm/add_1 + block_1b_relu_1/Relu
[INFO] [GpuLayer] CONVOLUTION: block_1b_conv_shortcut/convolution + block_1b_bn_shortcut/batchnorm/mul_1 + block_1b_bn_shortcut/batchnorm/add_1
[INFO] [GpuLayer] CONVOLUTION: block_1b_conv_2/convolution + block_1b_bn_2/batchnorm/mul_1 + block_1b_bn_2/batchnorm/add_1 + add_2/add + block_1b_relu/Relu
[INFO] [GpuLayer] CONVOLUTION: block_2a_conv_1/convolution + block_2a_bn_1/batchnorm/mul_1 + block_2a_bn_1/batchnorm/add_1 + block_2a_relu_1/Relu
[INFO] [GpuLayer] CONVOLUTION: block_2a_conv_shortcut/convolution + block_2a_bn_shortcut/batchnorm/mul_1 + block_2a_bn_shortcut/batchnorm/add_1
[INFO] [GpuLayer] CONVOLUTION: block_2a_conv_2/convolution + block_2a_bn_2/batchnorm/mul_1 + block_2a_bn_2/batchnorm/add_1 + add_3/add + block_2a_relu/Relu
[INFO] [GpuLayer] CONVOLUTION: block_2b_conv_1/convolution + block_2b_bn_1/batchnorm/mul_1 + block_2b_bn_1/batchnorm/add_1 + block_2b_relu_1/Relu
[INFO] [GpuLayer] CONVOLUTION: block_2b_conv_shortcut/convolution + block_2b_bn_shortcut/batchnorm/mul_1 + block_2b_bn_shortcut/batchnorm/add_1
[INFO] [GpuLayer] CONVOLUTION: block_2b_conv_2/convolution + block_2b_bn_2/batchnorm/mul_1 + block_2b_bn_2/batchnorm/add_1 + add_4/add + block_2b_relu/Relu
[INFO] [GpuLayer] CONVOLUTION: block_3a_conv_1/convolution + block_3a_bn_1/batchnorm/mul_1 + block_3a_bn_1/batchnorm/add_1 + block_3a_relu_1/Relu
[INFO] [GpuLayer] CONVOLUTION: block_3a_conv_shortcut/convolution + block_3a_bn_shortcut/batchnorm/mul_1 + block_3a_bn_shortcut/batchnorm/add_1
[INFO] [GpuLayer] CONVOLUTION: block_3a_conv_2/convolution + block_3a_bn_2/batchnorm/mul_1 + block_3a_bn_2/batchnorm/add_1 + add_5/add + block_3a_relu/Relu
[INFO] [GpuLayer] CONVOLUTION: block_3b_conv_1/convolution + block_3b_bn_1/batchnorm/mul_1 + block_3b_bn_1/batchnorm/add_1 + block_3b_relu_1/Relu
[INFO] [GpuLayer] CONVOLUTION: block_3b_conv_shortcut/convolution + block_3b_bn_shortcut/batchnorm/mul_1 + block_3b_bn_shortcut/batchnorm/add_1
[INFO] [GpuLayer] CONVOLUTION: block_3b_conv_2/convolution + block_3b_bn_2/batchnorm/mul_1 + block_3b_bn_2/batchnorm/add_1 + add_6/add + block_3b_relu/Relu
[INFO] [GpuLayer] CONVOLUTION: block_4a_conv_1/convolution + block_4a_bn_1/batchnorm/mul_1 + block_4a_bn_1/batchnorm/add_1 + block_4a_relu_1/Relu
[INFO] [GpuLayer] CONVOLUTION: block_4a_conv_shortcut/convolution + block_4a_bn_shortcut/batchnorm/mul_1 + block_4a_bn_shortcut/batchnorm/add_1
[INFO] [GpuLayer] CONVOLUTION: block_4a_conv_2/convolution + block_4a_bn_2/batchnorm/mul_1 + block_4a_bn_2/batchnorm/add_1 + add_7/add + block_4a_relu/Relu
[INFO] [GpuLayer] CONVOLUTION: block_4b_conv_1/convolution + block_4b_bn_1/batchnorm/mul_1 + block_4b_bn_1/batchnorm/add_1 + block_4b_relu_1/Relu
[INFO] [GpuLayer] CONVOLUTION: block_4b_conv_shortcut/convolution + block_4b_bn_shortcut/batchnorm/mul_1 + block_4b_bn_shortcut/batchnorm/add_1
[INFO] [GpuLayer] CONVOLUTION: block_4b_conv_2/convolution + block_4b_bn_2/batchnorm/mul_1 + block_4b_bn_2/batchnorm/add_1 + add_8/add + block_4b_relu/Relu
[INFO] [GpuLayer] POOLING: flatten/Reshape
[INFO] [GpuLayer] CONVOLUTION: predictions/MatMul + predictions/BiasAdd
[INFO] [GpuLayer] SOFTMAX: predictions/Softmax
[INFO] [MemUsageChange] Init cuBLAS/cuBLASLt: CPU +534, GPU +620, now: CPU 1158, GPU 4686 (MiB)
[INFO] [MemUsageChange] Init cuDNN: CPU +83, GPU +222, now: CPU 1241, GPU 4908 (MiB)
[INFO] Local timing cache in use. Profiling results in this builder pass will not be stored.
[INFO] Total Activation Memory:<PHONE_NUMBER>
[INFO] Detected 1 inputs and 1 output network tensors.
[INFO] Total Host Persistent Memory: 87136
[INFO] Total Device Persistent Memory: 0
[INFO] Total Scratch Memory: 0
[INFO] [MemUsageStats] Peak memory usage of TRT CPU/GPU memory allocators: CPU 22 MiB, GPU 754 MiB
[INFO] [BlockAssignment] Started assigning block shifts. This will take 29 steps to complete.
[INFO] [BlockAssignment] Algorithm ShiftNTopDown took 0.585394ms to assign 3 blocks to 29 nodes requiring 1913344 bytes.
[INFO] Total Activation Memory: 1913344
[INFO] (Sparsity) Layers eligible for sparse math:
[INFO] (Sparsity) TRT inference plan picked sparse implementation for layers:
[INFO] [MemUsageChange] TensorRT-managed allocation in building engine: CPU +16, GPU +32, now: CPU 16, GPU 32 (MiB)

I get this error in detectNet:
lilhoser@whiteoak-jetson:~/Downloads/jetson-inference/build/aarch64/bin$ ./detectnet --model=~/Downloads/files/resnet18_vehiclemakenet_pruned_v101.engine --labels=~/Downloads/files/labels.txt --input-blob=input_1 --output=predictions/Softmax rtsp://<IP_ADDRESS>:7447/wPXqmXadtJmll8FK display://0
[gstreamer] initialized gstreamer, version <IP_ADDRESS>
[gstreamer] gstDecoder -- creating decoder for <IP_ADDRESS>
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
[gstreamer] gstDecoder -- discovered video resolution: 1280x720  (framerate 24.000000 Hz)
[gstreamer] gstDecoder -- discovered video caps:  video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)3.1, profile=(string)main, pixel-aspect-ratio=(fraction)1/1, width=(int)1280, height=(int)720, framerate=(fraction)24/1, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
[gstreamer] gstDecoder -- pipeline string:
[gstreamer] rtspsrc location=rtsp://<IP_ADDRESS>:7447/wPXqmXadtJmll8FK latency=10 ! queue ! rtph264depay ! nvv4l2decoder name=decoder enable-max-performance=1 ! video/x-raw(memory:NVMM) ! nvvidconv name=vidconv ! video/x-raw ! appsink name=mysink sync=false
[video]  created gstDecoder from rtsp://<IP_ADDRESS>:7447/wPXqmXadtJmll8FK
------------------------------------------------
gstDecoder video options:
------------------------------------------------
  -- URI: rtsp://<IP_ADDRESS>:7447/wPXqmXadtJmll8FK
     - protocol:  rtsp
     - location:  <IP_ADDRESS>
     - port:      7447
  -- deviceType: ip
  -- ioType:     input
  -- codec:      H264
  -- codecType:  v4l2
  -- width:      1280
  -- height:     720
  -- frameRate:  24
  -- numBuffers: 4
  -- zeroCopy:   true
  -- flipMethod: none
  -- loop:       0
  -- latency     10
------------------------------------------------
[OpenGL] glDisplay -- X screen 0 resolution:  3840x2160
[OpenGL] glDisplay -- X window resolution:    3840x2160
[OpenGL] glDisplay -- display device initialized (3840x2160)
[video]  created glDisplay from display://0
------------------------------------------------
glDisplay video options:
------------------------------------------------
  -- URI: display://0
     - protocol:  display
     - location:  0
  -- deviceType: display
  -- ioType:     output
  -- width:      3840
  -- height:     2160
  -- frameRate:  0
  -- numBuffers: 4
  -- zeroCopy:   true
------------------------------------------------

detectNet -- loading detection network model from:
          -- prototxt     NULL
          -- model        ~/Downloads/files/resnet18_vehiclemakenet_pruned_v101.engine
          -- input_blob   'input_1'
          -- output_cvg   'coverage'
          -- output_bbox  'bboxes'
          -- mean_pixel   0.000000
          -- class_labels ~/Downloads/files/labels.txt
          -- class_colors NULL
          -- threshold    0.500000
          -- batch_size   1

[TRT]    TensorRT version 8.5.2
[TRT]    loading NVIDIA plugins...
[TRT]    Registered plugin creator - ::BatchedNMSDynamic_TRT version 1
[TRT]    Registered plugin creator - ::BatchedNMS_TRT version 1
[TRT]    Registered plugin creator - ::BatchTilePlugin_TRT version 1
[TRT]    Registered plugin creator - ::Clip_TRT version 1
[TRT]    Registered plugin creator - ::CoordConvAC version 1
[TRT]    Registered plugin creator - ::CropAndResizeDynamic version 1
[TRT]    Registered plugin creator - ::CropAndResize version 1
[TRT]    Registered plugin creator - ::DecodeBbox3DPlugin version 1
[TRT]    Registered plugin creator - ::DetectionLayer_TRT version 1
[TRT]    Registered plugin creator - ::EfficientNMS_Explicit_TF_TRT version 1
[TRT]    Registered plugin creator - ::EfficientNMS_Implicit_TF_TRT version 1
[TRT]    Registered plugin creator - ::EfficientNMS_ONNX_TRT version 1
[TRT]    Registered plugin creator - ::EfficientNMS_TRT version 1
[TRT]    Could not register plugin creator -  ::FlattenConcat_TRT version 1
[TRT]    Registered plugin creator - ::GenerateDetection_TRT version 1
[TRT]    Registered plugin creator - ::GridAnchor_TRT version 1
[TRT]    Registered plugin creator - ::GridAnchorRect_TRT version 1
[TRT]    Registered plugin creator - ::GroupNorm version 1
[TRT]    Registered plugin creator - ::InstanceNormalization_TRT version 1
[TRT]    Registered plugin creator - ::InstanceNormalization_TRT version 2
[TRT]    Registered plugin creator - ::LayerNorm version 1
[TRT]    Registered plugin creator - ::LReLU_TRT version 1
[TRT]    Registered plugin creator - ::MultilevelCropAndResize_TRT version 1
[TRT]    Registered plugin creator - ::MultilevelProposeROI_TRT version 1
[TRT]    Registered plugin creator - ::MultiscaleDeformableAttnPlugin_TRT version 1
[TRT]    Registered plugin creator - ::NMSDynamic_TRT version 1
[TRT]    Registered plugin creator - ::NMS_TRT version 1
[TRT]    Registered plugin creator - ::Normalize_TRT version 1
[TRT]    Registered plugin creator - ::PillarScatterPlugin version 1
[TRT]    Registered plugin creator - ::PriorBox_TRT version 1
[TRT]    Registered plugin creator - ::ProposalDynamic version 1
[TRT]    Registered plugin creator - ::ProposalLayer_TRT version 1
[TRT]    Registered plugin creator - ::Proposal version 1
[TRT]    Registered plugin creator - ::PyramidROIAlign_TRT version 1
[TRT]    Registered plugin creator - ::Region_TRT version 1
[TRT]    Registered plugin creator - ::Reorg_TRT version 1
[TRT]    Registered plugin creator - ::ResizeNearest_TRT version 1
[TRT]    Registered plugin creator - ::ROIAlign_TRT version 1
[TRT]    Registered plugin creator - ::RPROI_TRT version 1
[TRT]    Registered plugin creator - ::ScatterND version 1
[TRT]    Registered plugin creator - ::SeqLen2Spatial version 1
[TRT]    Registered plugin creator - ::SpecialSlice_TRT version 1
[TRT]    Registered plugin creator - ::SplitGeLU version 1
[TRT]    Registered plugin creator - ::Split version 1
[TRT]    Registered plugin creator - ::VoxelGeneratorPlugin version 1
[TRT]    detected model format - engine  (extension '.engine')
[TRT]    loading network plan from engine cache...
[TRT]    failed to load engine cache from
[TRT]    failed to load
[TRT]    detectNet -- failed to initialize.
detectnet:  failed to load detectNet model

Hi @lilhoser, a few things:
(1) I'm not sure that detectNet is able to find your .engine file, double-check the path
(2) you are using the wrong command-line options to specify the output layers, it should use --output-bbox and --output-cvg like shown here:  https://github.com/dusty-nv/jetson-inference/blob/master/docs/detectnet-tao.md#importing-your-own-tao-detection-models
(3) I recommend testing the model on a static image the first run in case you have issues with your RTSP camera which could confuse what the actual issue is.  instead, get the model running in detectNet first, then try it with camera inputs.

@dusty-nv Thanks for the reply! detectNet actually works on the RTSP with a local pre-trained model like trafficcamnet, so I know this works.
I fixed the path - it did not accept ~/ for some reason. After changing --output-bbox and --output-cvg per your suggestion, I am seeing this error:
lilhoser@whiteoak-jetson:~/Downloads/jetson-inference/build/aarch64/bin$ ./detectnet --model=/home/lilhoser/Downloads/files/resnet18_vehiclemakenet_pruned_v101.engine --labels=/home/lilhoser/Downloads/files/labels.txt --input-blob=input_1 --output-cvg=output_cov/Sigmoid --output-bbox=output_bbox/BiasAdd rtsp://<IP_ADDRESS>:7447/wPXqmXadtJmll8FK display://0
[gstreamer] initialized gstreamer, version <IP_ADDRESS>
[gstreamer] gstDecoder -- creating decoder for <IP_ADDRESS>

(detectnet:95548): GStreamer-WARNING **: 16:37:47.631: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstlibav.so': /lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block

(detectnet:95548): GStreamer-WARNING **: 16:37:47.653: Failed to load plugin '/usr/lib/aarch64-linux-gnu/gstreamer-1.0/libgstlibav.so': /lib/aarch64-linux-gnu/libgomp.so.1: cannot allocate memory in static TLS block
Opening in BLOCKING MODE
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
[gstreamer] gstDecoder -- discovered video resolution: 1280x720  (framerate 24.000000 Hz)
[gstreamer] gstDecoder -- discovered video caps:  video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)3.1, profile=(string)main, pixel-aspect-ratio=(fraction)1/1, width=(int)1280, height=(int)720, framerate=(fraction)24/1, interlace-mode=(string)progressive, chroma-format=(string)4:2:0, bit-depth-luma=(uint)8, bit-depth-chroma=(uint)8, parsed=(boolean)true
[gstreamer] gstDecoder -- pipeline string:
[gstreamer] rtspsrc location=rtsp://<IP_ADDRESS>:7447/wPXqmXadtJmll8FK latency=10 ! queue ! rtph264depay ! nvv4l2decoder name=decoder enable-max-performance=1 ! video/x-raw(memory:NVMM) ! nvvidconv name=vidconv ! video/x-raw ! appsink name=mysink sync=false
[video]  created gstDecoder from rtsp://<IP_ADDRESS>:7447/wPXqmXadtJmll8FK
------------------------------------------------
gstDecoder video options:
------------------------------------------------
  -- URI: rtsp://<IP_ADDRESS>:7447/wPXqmXadtJmll8FK
     - protocol:  rtsp
     - location:  <IP_ADDRESS>
     - port:      7447
  -- deviceType: ip
  -- ioType:     input
  -- codec:      H264
  -- codecType:  v4l2
  -- width:      1280
  -- height:     720
  -- frameRate:  24
  -- numBuffers: 4
  -- zeroCopy:   true
  -- flipMethod: none
  -- loop:       0
  -- latency     10
------------------------------------------------
[OpenGL] glDisplay -- X screen 0 resolution:  3840x2160
[OpenGL] glDisplay -- X window resolution:    3840x2160
[OpenGL] glDisplay -- display device initialized (3840x2160)
[video]  created glDisplay from display://0
------------------------------------------------
glDisplay video options:
------------------------------------------------
  -- URI: display://0
     - protocol:  display
     - location:  0
  -- deviceType: display
  -- ioType:     output
  -- width:      3840
  -- height:     2160
  -- frameRate:  0
  -- numBuffers: 4
  -- zeroCopy:   true
------------------------------------------------

detectNet -- loading detection network model from:
          -- prototxt     NULL
          -- model        /home/lilhoser/Downloads/files/resnet18_vehiclemakenet_pruned_v101.engine
          -- input_blob   'input_1'
          -- output_cvg   'output_cov/Sigmoid'
          -- output_bbox  'output_bbox/BiasAdd'
          -- mean_pixel   0.000000
          -- class_labels /home/lilhoser/Downloads/files/labels.txt
          -- class_colors NULL
          -- threshold    0.500000
          -- batch_size   1

[TRT]    TensorRT version 8.5.2
[TRT]    loading NVIDIA plugins...
[TRT]    Registered plugin creator - ::BatchedNMSDynamic_TRT version 1
[TRT]    Registered plugin creator - ::BatchedNMS_TRT version 1
[TRT]    Registered plugin creator - ::BatchTilePlugin_TRT version 1
[TRT]    Registered plugin creator - ::Clip_TRT version 1
[TRT]    Registered plugin creator - ::CoordConvAC version 1
[TRT]    Registered plugin creator - ::CropAndResizeDynamic version 1
[TRT]    Registered plugin creator - ::CropAndResize version 1
[TRT]    Registered plugin creator - ::DecodeBbox3DPlugin version 1
[TRT]    Registered plugin creator - ::DetectionLayer_TRT version 1
[TRT]    Registered plugin creator - ::EfficientNMS_Explicit_TF_TRT version 1
[TRT]    Registered plugin creator - ::EfficientNMS_Implicit_TF_TRT version 1
[TRT]    Registered plugin creator - ::EfficientNMS_ONNX_TRT version 1
[TRT]    Registered plugin creator - ::EfficientNMS_TRT version 1
[TRT]    Could not register plugin creator -  ::FlattenConcat_TRT version 1
[TRT]    Registered plugin creator - ::GenerateDetection_TRT version 1
[TRT]    Registered plugin creator - ::GridAnchor_TRT version 1
[TRT]    Registered plugin creator - ::GridAnchorRect_TRT version 1
[TRT]    Registered plugin creator - ::GroupNorm version 1
[TRT]    Registered plugin creator - ::InstanceNormalization_TRT version 1
[TRT]    Registered plugin creator - ::InstanceNormalization_TRT version 2
[TRT]    Registered plugin creator - ::LayerNorm version 1
[TRT]    Registered plugin creator - ::LReLU_TRT version 1
[TRT]    Registered plugin creator - ::MultilevelCropAndResize_TRT version 1
[TRT]    Registered plugin creator - ::MultilevelProposeROI_TRT version 1
[TRT]    Registered plugin creator - ::MultiscaleDeformableAttnPlugin_TRT version 1
[TRT]    Registered plugin creator - ::NMSDynamic_TRT version 1
[TRT]    Registered plugin creator - ::NMS_TRT version 1
[TRT]    Registered plugin creator - ::Normalize_TRT version 1
[TRT]    Registered plugin creator - ::PillarScatterPlugin version 1
[TRT]    Registered plugin creator - ::PriorBox_TRT version 1
[TRT]    Registered plugin creator - ::ProposalDynamic version 1
[TRT]    Registered plugin creator - ::ProposalLayer_TRT version 1
[TRT]    Registered plugin creator - ::Proposal version 1
[TRT]    Registered plugin creator - ::PyramidROIAlign_TRT version 1
[TRT]    Registered plugin creator - ::Region_TRT version 1
[TRT]    Registered plugin creator - ::Reorg_TRT version 1
[TRT]    Registered plugin creator - ::ResizeNearest_TRT version 1
[TRT]    Registered plugin creator - ::ROIAlign_TRT version 1
[TRT]    Registered plugin creator - ::RPROI_TRT version 1
[TRT]    Registered plugin creator - ::ScatterND version 1
[TRT]    Registered plugin creator - ::SeqLen2Spatial version 1
[TRT]    Registered plugin creator - ::SpecialSlice_TRT version 1
[TRT]    Registered plugin creator - ::SplitGeLU version 1
[TRT]    Registered plugin creator - ::Split version 1
[TRT]    Registered plugin creator - ::VoxelGeneratorPlugin version 1
[TRT]    detected model format - engine  (extension '.engine')
[TRT]    loading network plan from engine cache... /home/lilhoser/Downloads/files/resnet18_vehiclemakenet_pruned_v101.engine
[TRT]    Loaded engine size: 16 MiB
[TRT]    Deserialization required 15927 microseconds.
[TRT]    [MemUsageChange] TensorRT-managed allocation in engine deserialization: CPU +0, GPU +16, now: CPU 0, GPU 16 (MiB)
[TRT]    Total per-runner device persistent memory is 0
[TRT]    Total per-runner host persistent memory is 87136
[TRT]    Allocated activation device memory of size 1913344
[TRT]    [MemUsageChange] TensorRT-managed allocation in IExecutionContext creation: CPU +0, GPU +2, now: CPU 0, GPU 18 (MiB)
[TRT]
[TRT]    CUDA engine context initialized on device GPU:
[TRT]       -- layers       30
[TRT]       -- maxBatchSize 1
[TRT]       -- deviceMemory 1913344
[TRT]       -- bindings     2
[TRT]       binding 0
                -- index   0
                -- name    'input_1'
                -- type    FP32
                -- in/out  INPUT
                -- # dims  3
                -- dim #0  3
                -- dim #1  224
                -- dim #2  224
[TRT]       binding 1
                -- index   1
                -- name    'predictions/Softmax'
                -- type    FP32
                -- in/out  OUTPUT
                -- # dims  3
                -- dim #0  20
                -- dim #1  1
                -- dim #2  1
[TRT]
[TRT]    binding to input 0 input_1  binding index:  0
[TRT]    binding to input 0 input_1  dims (b=1 c=3 h=224 w=224) size=602112
[TRT]    3: Cannot find binding of given name: output_cov/Sigmoid
[TRT]    failed to find requested output layer output_cov/Sigmoid in network
[TRT]    device GPU, failed to create resources for CUDA engine
[TRT]    failed to load /home/lilhoser/Downloads/files/resnet18_vehiclemakenet_pruned_v101.engine
[TRT]    detectNet -- failed to initialize.
detectnet:  failed to load detectNet model

Changing from the RTSP input to a local image produced the same error.
I appreciate the help!

[TRT]    CUDA engine context initialized on device GPU:
[TRT]       -- layers       30
[TRT]       -- maxBatchSize 1
[TRT]       -- deviceMemory 1913344
[TRT]       -- bindings     2
[TRT]       binding 0
-- index   0
-- name    'input_1'
-- type    FP32
-- in/out  INPUT
-- # dims  3
-- dim #0  3
-- dim #1  224
-- dim #2  224
[TRT]       binding 1
-- index   1
-- name    'predictions/Softmax'
-- type    FP32
-- in/out  OUTPUT
-- # dims  3
-- dim #0  20
-- dim #1  1
-- dim #2  1
[TRT]
[TRT]    binding to input 0 input_1  binding index:  0
[TRT]    binding to input 0 input_1  dims (b=1 c=3 h=224 w=224) size=602112
[TRT]    3: Cannot find binding of given name: output_cov/Sigmoid
[TRT]    failed to find requested output layer output_cov/Sigmoid in network

@lilhoser I didn't realize before seeing this that vehiclemakenet is a classification model, not a detection model.   It won't work with detectNet.

FYI, this imagenet command works:
lilhoser@whiteoak-jetson:~/Downloads/jetson-inference/build/aarch64/bin$ ./imagenet --model=/home/lilhoser/Downloads/files/resnet18_vehiclemakenet_pruned_v101.engine --labels=/home/lilhoser/Downloads/files/labels.txt --input-blob=input_1 --output-blob=predictions/Softmax
rtsp://<IP_ADDRESS>:7447/wPXqmXadtJmll8FK display://0

but the classification is bogus because the frames aren't passing through the object detection classifier first. The model card mentions using DeepStream to chain the two classifiers together, so I'm looking into that.


Intellisense stops working often with no extensions installed.

VSCode Version: Code 1.17.2 (b813d12980308015bcd2b3a2f6efa5c810c33ba5, 2017-10-16T13:59:46.104Z)
OS Version: Windows_NT x64 10.0.15063
Extensions: none

Steps to Reproduce:

Use vscode for a while, editing .js and .jsx files in a create-react-app project.
At some point, try to import a module into a file and the only Intellisense that I get is Loading....

I have to reload the window to make it work again. This has happened so often that I have bound a shortcut key to reload the window.
Following the instructions here I have captured the tsserver log and trace messages. For the captured session:

I opened my project folder, opened a JSX file and typed import {} from 'react-intl'.
Then I put my cursor in between the squigglies and pressed ctrl+space. I got proper Intellisense.
Then I removed that line and typed import {} from 'cheerio'. This time I got Loading... Intellisense.

NOTE: I replaced the name of my project, which is 8 letters long, with the word MY_PROJECT in the logs.
vscode-tsserver-log-7frhTz.zip
UPDATE: As I prepare to roll back to 1.16.1, I noticed that my %TEMP% folder is full of zero-byte files named something like vscode-tscancellation-a6e8e635fc0b3155d7f3.sock31...

At this time I have uninstalled VSCode, deleted all of my %TEMP% files and reinstalled VSCode and I am still able to reproduce the issue within about a minute of opening my project.

After rolling back to 1.16.1, I can no longer reproduce the issue. If there is some change, I will note it here.
I noticed this problem as soon as I updated to 1.17, which is why I went back to 1.16. Also, I used to run the 32-bit version of 1.16 but switched to 64-bit for 1.17. However, when I rolled back - I installed 1.16.1-x64.
Each time I roll back, I delete all of my %TEMP% files (or at least the ones that look to be related to vscode) as well as the %AppData%\Code directory. When I upgrade, I don't do anything special.

@waynebloss Can you also please try VS Code 1.18 (the current insiders build) to see if this resolves the issue

@mjbvz Thank you. I have tried 1.18 for the past day or so and it seems that this issue is no longer present.


Using Background timer with user inactivity

I have created a component that wraps my app navigator, the problem I am experiencing is that after the onAction callback gets fired the timer seems to carry on counting and therefore, executing the callback function passed to onAction every few seconds
timeForInactivity = 15
InactivityComponent:
import React from 'react';
import UserInactivity from 'react-native-user-inactivity';
import BackgroundTimer from 'react-native-user-inactivity/lib/BackgroundTimer';

export default InActivityContainer = (props) => {

    return(
        <UserInactivity
            timeForInactivity={props.timeForInactivity * 60 * 1000}
            onAction={isActive => {
                props.onAction(isActive);
            }}
            style={{ flex: 1 }}
        >
            {props.children}
        </UserInactivity>
    )
}

Inactivity wrapping App Navigator inside of App.js
<InactivityContainer
          onAction={(isActive) => {
            if (!isActive) {
              store.dispatch({ type: types.LOGOUT });
              navigate("App", {});
            }
          }}
          timeForInactivity={timeForTimeout}
        >
          {Platform.OS === "ios" && <StatusBar barStyle="default" />}
          <AppNavigator
            ref={(navigator) => {
              nav = navigator;
              setNavigator(navigator);
            }}
            onNavigationStateChange={(prevState, newState) => {
              Analytics.setCurrentScreen(getCurrentRoute(newState));
            }}
          />
        </InactivityContainer>

Facing the same problem

Hi, sorry for the delay in my reply. I'm currently unable to reproduce the issue, can you please provide a small example without other third-party dependencies (like the react-navigation or redux in this case)?


Dropdown popup is not opening when we click around the text

Dropdown popup is not opening when we click outside the text, it is opening only when i click a text

As part of this PR, this bug has been fixed


Correction for raw affiliation Sorbonne-IReMus

Correction needed for raw affiliation Sorbonne-IReMus
raw_affiliation_name: Sorbonne-IReMus
new_rors: ;04gf9wd48
previous_rors:
works_examples: W4297208638
contact: f7a977076cb0e8eb22aaa101f67a5499:0fa2b33409e66287acc26ed72c @ sorbonne-universite.fr

This issue was accepted and ingested by the OpenAlex team on 2024-11-01. The new affiliations should be visible within the next 7 days.


metrics: --nullables distinguishes safe and unsafe calls on null

In reaction of recent updates on #394 I wanted to have some up-to-date numbers.
nitmetrics --nullable can count the sends on nullable receivers but safe and unsafe calls where merged. Note: safe calls on nullable are things like x == null, that is safe even if x is a nullable thing.
So this PR distinguishes safe and unsafe calls.
Some numbers:
nitmetrics --nullables ../lib ../src/nit*.nit
Total number of sends: 60262
Number of sends on a unsafe nullable receiver: 1750 (2.90%)
Number of sends on a safe nullable receiver: 2639 (4.37%)

+1

+1


Upgrade sbo

#2077 thanks !

Release Note
NONE

Let's merge this. CI is fixed by #2097.

Thanks 👍🏼.


suggestion: use a CommandBar

Issue type
enhancement
Which version of the app?
WinUI 3 Gallery
Description
A CommandBar would be ideal to use for the controls at the top. Nice example for use-case too, I think.
There are a few things to consider, though:

Style of the first buttons can be a default AppBarButton (transparent, easy to code) or use the DropDownButton as they are now?
I think we can use the OS Share functionality, instead of custom CopyLink button.
https://learn.microsoft.com/windows/apps/develop/ui-input/display-ui-objects#for-classes-that-implement-idatatransfermanagerinterop

Screenshots (concept)

Could use this Grid Row, since (by the look of it) it's not even being used yet?
https://github.com/microsoft/WinUI-Gallery/blob/4f49456f6b21594e551dadea7142d47187eacf51/WinUIGallery/ItemPage.xaml#L75

I've been working on this and have a working proof of concept in this branch. There are a few things to consider, though:

The TextBoxes with Title and ApiNamespace could be a part of CommandBar.Content, or could be placed outside and below of the PageHeader
Style of the first 2 buttons can be a default AppBarButton (transparent, easy to code) or use the DropDownButton from current solution
Normal state has no background color, but IsOpen state (only available for a narrow window) does

Concept

@karkarl any update or thoughts?

Maybe @marcelwgn would like to share his thoughts then?

Alternatives
Title and CommandBar side by side


Adds more tests for Date Matchers

Some Date Matchers are missing important unit tests. This commit adds these unit tests, preventing future refactors to break any working code.
Solves https://github.com/kotlintest/kotlintest/issues/406

This brings DateMatchers to 100% code coverage

:+1:


Make model! be a module attribute macro

After a discussion with @mversic we decided to re-implement model! macro as a module attribute macro.
New usage will look like so:
#[model]
pub mod model {
    // Struct goes here...
}

Pros:

Better IDEs support. They can't always analyze what's going on inside model! macro, but can work with module like that
Less noise in the codebase
You don't skip some struct accidentally

From experience with Sbustrate’s macros, attribute macros are better, but not necessarily much better.


[Feature Request] Missing Toggle components

It would be great to get themed versions of ToggleButton and ToggleGroup. Maybe instead of a specific ToggleButton component, just add a toggled prop to the existing Button.

We'll look into this eventually, but this is already easy to implement using Radix Themes and the @radix-ui/react-toggle-group primitive. Here is the toggle buttons implementation from the homepage demo:
https://github.com/radix-ui/website/blob/main/components/ExampleThemesEcommerce.tsx#L1529-L1560


(SERVER-545) Fix CI failure in post_suite log copy

Without this patch the post suite is failing in the new CI job created
as part of QENG-2227.  The post suite fails trying to copy the server
logs because the server has never started.  This patch addresses the
problem by doing a single agent run against the server, which was the
original behavior of the basic testtest file.

:+1:


Losing leading zeors when converting string to numbers

I'm working with a cvs file/string of UPCs. Is there any way to specify that a column should be interpreted as a string?

see https://github.com/Keyang/node-csvtojson#field-type
you can turn off type check with checkType:false
~Keyang
On 5 August 2016 at 16:10, Odion100<EMAIL_ADDRESS>wrote:

I'm working with a cvs file/string of UPCs. Is there any way to specify
that a column should be interpreted as a string?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Keyang/node-csvtojson/issues/116, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABCs97f5Bc8XUNgmHAbcTEhOv3_MXMk7ks5qc1JLgaJpZM4JdxlG
.

Even after specifying checkType as false it takes some values as zeroes if the value in the first row is a number.

checkType is now default false


Add ability to publish at later date

Hey!
I like your library very much. I have a small feature that I made on top of your library to be able to publish the draft at later date.

Great! Thank you!


Back Button handling on Android

I just double checked for Android and both Firefox and Chrome differ in one important aspect when dealing with <select>: Hitting the OS back button closes the dialogue. With this gem it instead navigates back, possibly leading to lost input data.

Good catch! Thanks. Will look into this. I want to fix some of the other issues first.


Add Cross Platform code

Sub Goals:

[ ]  Create RoboVM launcher / icons for Android

Closed by d82b970b7ffcc4240adc1fc03b90417f46ec9d8a


Document Do Not Disturb feature in Desktop app

The Desktop app has a Do Not Disturb option (bell icon in the left side bar / Zulip top menu), which should be documented.
I think it will best to create a dedicate page in the Notifications section, and cross-link with other Notifications pages.

CZO discussion

@drrosa Would you be up for picking up this one?

@zulipbot claim


MCGeantAnalysis

MCGeantAnalysis version adjusted for current develop version (root6 working :)
MCGeantAnalysis - run.sh allows to process both data or mcGeant files
MCGeantAnalysis is strongly based on LargeBarrelAnalysis (new calibration files required)
(ugly) config files are copies; final solution should be based on folder 'CalibrationFiles'
MC files are not included in the repository

This PR was replaced with #87 for easier maintenance.


[InputBase] Fix onChange event handler callback of inputProps

Fixed #18130 where onChange event handler was not forwarding all params sent to it by a custom inputComponent for the InputBase component

[x] I have followed (at least) the PR section of the contributing guide.

@sjsingh85 Thanks. Especially for including a test :+1:

@sjsingh85 Thank you for the quick fix!


the "scheduler" option is enabled be default, the doc says false by default

File: ee/ucp/admin/configure/ucp-configuration-file.md
The documentation says the "scheduler" option is false by the default when I check in the WebUI Admin Settings >>  Scheduler the option is enabled

enable_admin_ucp_scheduling
no
Set to true to allow admins to schedule on containers on manager nodes. The default is false.

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!


Fix bug #225: message on click

I feel like I might have violated some SE principles here, if you guys have any suggestions please let me know

Coverage decreased (-0.08%) to 91.718% when pulling b45101fefaed1ce0bbc2752e71a24869061119fc on khooroko:Produce_result_display_on_click into a8ace41656b92a483646ff9e99d3873214524f50 on CS2103AUG2017-T17-B1:master.

Coverage decreased (-0.08%) to 91.718% when pulling 08669b358a4baf1c0a5bfd9d430c2a1dc9df46da on khooroko:Produce_result_display_on_click into a8ace41656b92a483646ff9e99d3873214524f50 on CS2103AUG2017-T17-B1:master.

Coverage decreased (-0.08%) to 91.718% when pulling e61d81d03da24b80410a3b14eb3e6cd59c81832c on khooroko:Produce_result_display_on_click into a8ace41656b92a483646ff9e99d3873214524f50 on CS2103AUG2017-T17-B1:master.

Coverage decreased (-0.08%) to 91.718% when pulling e61d81d03da24b80410a3b14eb3e6cd59c81832c on khooroko:Produce_result_display_on_click into a8ace41656b92a483646ff9e99d3873214524f50 on CS2103AUG2017-T17-B1:master.

Coverage decreased (-0.08%) to 91.722% when pulling d8be60a8a7ebeb57917ae64cde6baf3f63056324 on khooroko:Produce_result_display_on_click into e35ecff41543d48d5c2487a01f716ddf133d92ec on CS2103AUG2017-T17-B1:master.


Refactor to approved promises

At this moment we use the spread method and this needs to be refactored.

This issue has been fullfilled.


Regular expression example (robust mu-types)

If we define a type for regexps and a matching function
data String = Nil | Cons Symbol
data Regexp = Atom Symbol | Union Regexp Regexp | Concat Regexp Regexp | Star Regexp
define match' re w =
  case re of
    Atom a => case w of Nil => fail | Cons b w => if a = b then w else fail
    Union re1 re2 => amb (match' re1 w) (match' re2 w)
    Concat re1 re2 => let w in match' re1 w in match' re2 w
    Star re1 => let w = match' re1 w in match' (Star re1) w
define match re w = case match' re w of Nil => () | Cons _ _ => fail

Defunctionalizing Regexp would automatically convert it into a finite automaton, which would be awesome. But it seems unavoidable that the Star case copies re1. But if re is deterministic, it seems like it should be fine for it to be copyable. Can we relax the rules without making them even more complicated?

The problem case is
define r = Star (Atom (amb A B))

Should this match A B or not? In other words, should fold evaluate its argument before doing the fold, or should it be lazy?

What happens if we write a copyRegexp function by hand?

copyRegexp re =
  case re of
    Star re' -> let (re1, re2) = copyRegexp re' in (Star re1, Star re2)
    Atom a -> let (a1, a2) = copyAtom a in (Atom a1, Atom a2)

Do we need to write
copyAtom a =
  case a of A -> (A,A)
            B -> (B,B)

If this problem could be overcome, I would expect that an extension for bounded repetition (https://dl.acm.org/doi/pdf/10.1145/3586044) would come for free.


Add support for super_admin.conf, which was introduced after version 1.30.

CERTIFICATE                EXPIRES                  RESIDUAL TIME   CERTIFICATE AUTHORITY   EXTERNALLY MANAGED
admin.conf                 May 11, 2034 09:39 UTC   9y              ca                      no
apiserver                  May 11, 2034 09:39 UTC   9y              ca                      no
apiserver-etcd-client      May 11, 2034 09:39 UTC   9y              etcd-ca                 no
apiserver-kubelet-client   May 11, 2034 09:39 UTC   9y              ca                      no
controller-manager.conf    May 11, 2034 09:39 UTC   9y              ca                      no
etcd-healthcheck-client    May 11, 2034 09:39 UTC   9y              etcd-ca                 no
etcd-peer                  May 11, 2034 09:39 UTC   9y              etcd-ca                 no
etcd-server                May 11, 2034 09:39 UTC   9y              etcd-ca                 no
front-proxy-client         May 11, 2034 09:39 UTC   9y              front-proxy-ca          no
scheduler.conf             May 11, 2034 09:39 UTC   9y              ca                      no
super-admin.conf           May 11, 2034 09:39 UTC   9y              ca                      no
CERTIFICATE AUTHORITY   EXPIRES                  RESIDUAL TIME   EXTERNALLY MANAGED
ca                      May 11, 2034 07:34 UTC   9y              no
etcd-ca                 May 11, 2034 07:34 UTC   9y              no
front-proxy-ca          May 11, 2034 07:34 UTC   9y              no

Good work! Thanks!

K8s add super_admin.conf on 1.29.0
https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG/CHANGELOG-1.29.md#no-really-you-must-read-this-before-you-upgrade

kubeadm: a separate "super-admin.conf" file is now deployed. The User in admin.conf is now bound to a new RBAC Group kubeadm:cluster-admins that has cluster-admin ClusterRole access. The User in super-admin.conf is now bound to the system:masters built-in super-powers / break-glass Group that can bypass RBAC. Before this change, the default admin.conf was bound to system:masters Group, which was undesired. Executing kubeadm init phase kubeconfig all or just kubeadm init will now generate the new super-admin.conf file. The cluster admin can then decide to keep the file present on a node host or move it to a safe location. kubadm certs renew will renew the certificate in super-admin.conf to one year if the file exists; if it does not exist a "MISSING" note will be printed. kubeadm upgrade apply for this release will migrate this particular node to the two file setup. Subsequent kubeadm releases will continue to optionally renew the certificate in super-admin.conf if the file exists on disk and if renew on upgrade is not disabled. kubeadm join --control-plane will now generate only an admin.conf file that has the less privileged User.

https://github.com/kubernetes/kubernetes/pull/121305


Flask 2.3.2 Upgrade

Updated Flask to 2.3.2, removed flask-script, and implemented Click CLI. Updated werkzeug to 2.3.6 and jinja2 to 3.1.2, along with a number of other packages that were restricted by Flask 1.1. Also, added additional cors and response header options to the lemur config.

coverage: 75.088% (-0.04%) from 75.126% when pulling e6d44cd7d45e51dbde88156b9b71f767bc65f292 on infor-cloud:feature/flask-2-update into c15fc152ebcc26d175ffd49ad2bc2582caf85559 on Netflix:master.


Camera preview distorted

I am using the demo code to implement a camera preview in my view, and the image is distorted (skewed)

Those are meant to be squares, and you can see in the captured image it is coming out OK. This warping is visible in a real device as well.
I am capturing with default options:
this.cam.takePicture({ saveToGallery: true });

I have tried setting the height and width myself in the CameraPlus component, but even forcing it to be a square (see example below) there is still some skewing.
<CameraPlus height="250"
    width="250"
    debug="true"
    galleryPickerMode="single"
    showFlashIcon="true"
    showToggleIcon="true"
    showCaptureIcon="true"
    showGalleryIcon="true"
    confirmSaveText="CONFIRM!"
    confirmRetakeText="RETAKE!"
    (loaded)="camLoaded($event)"
    (toggleCameraEvent)="toggleCameraEvent($event)"
    (photoCapturedEvent)="photoCapturedEvent($event)"
    (imagesSelectedEvent)="imagesSelectedEvent($event)">
</CameraPlus>

My goal is to have the preview display well at full screen width, with a set height (about 1/4 the screen)

Happens to me too

Same issue here!

In my case, it only happens when the camera is in fullscreen and the actionbar is hidden.
With Actionbar:

Without Actionbar

@bradmartin Can you help us on that? :smile:

Any news about this? Any way to fix it?

I am not 100% but I think something around this code here is what needs to be improved and worked on.

closing for now with 2.0.1 released with improvements in PR #60

I'm pulling from master but still see the skewing happening. I'm testing on my Samsung S8.
Here's the screenshot:

And here's the photo taken:

Any idea?

Same here o/

But I could fix it by force the enableVideo to true
I enabled the enableVideo but didnt work.

This problem continues when camera has in fullscreen, anyone already solved this?


Compare 2 zip archives

Hi @srikanth-lingala , been using zip4j to work with zip archives and it is really helpful. Currently, I have a task to compare the content of 2 zip archives.
So is there a way to compare 2 zip archives using your library? By 'compare' I mean to check if the file tree and all the files inside both archives are identical to each other.
If not, what do you think about adding this feature in the future?

It is an interesting idea, but might get slightly challenging to implement. The problem might arise with the definition of equality of zip files. Are two zip files which have same files, and contents of the file are same as well, but just one of the file has been compressed with different algorithm, the same? How many fields should we include in comparison? For example does the comparison logic include timestamps? There are many, many more fields a file in a zip can contain. How far should the comparison algorithm go? Even if I draw some boundaries and implement something like this in zip4j, two zip files which are not equal (content same, but wrong timestamps for example) might be flagged as equal by zip4j, which results in inconsistencies.
I think this is more a specific to the application feature than a general feature that can be implemented in zip4j.

@srikanth-lingala Thanks for your insight! I see your point and I think you are right, so I'm closing this issue.

@srikanth-lingala Thanks for your insight! I see your point and I think you are right, so I'm closing this issue.


[SUPPORT] Getting error when writing to different HUDI tables in different threads in same job

Describe the problem you faced
An error occurred while calling o737.save. : org.apache.hudi.exception.HoodieUpsertException: Failed to upsert for commit time<PHONE_NUMBER>2005015 at org.apache.hudi.table.action.commit.BaseWriteHelper.write(BaseWriteHelper.java:75) at org.apache.hudi.table.action.deltacommit.SparkUpsertDeltaCommitActionExecutor.execute(SparkUpsertDeltaCommitActionExecutor.java:45)
To Reproduce
Steps to reproduce the behavior:
We are trying an approach where we can upsert 2 Hudi tables at the same time using threadPoolExecutor of Python.  The tables are in different folders but in the same S3 bucket. It worked for the initial run but after that we are getting this error. After encountering this error, we tried this property - "ALLOW_MULTI_WRITE_ON_SAME_INSTANT_ENABLE" : "true" but got the same error.
Expected behavior
We should be able to upsert into HUDI without any issue.
Environment Description

Hudi version : 0.13.0

Spark version : 3.3

Storage (HDFS/S3/GCS..) : S3

Running on Docker? (yes/no) : No

Additional context
The writer in our case is a python3 code on EC2 (c7g.2xlarge)
Stacktrace
PFA
error log.txt

I'm confused, you are writing into one Hudi table, did you?

We have a Job running on EC2 ubuntu machine that upserts data into 2 hudi tables parallelly in 2 threads (using threadPoolExecutor in the concurrent library of Python) at a time. There are 17 tables in total. When upsertion in any one of the tables is finished, threadPoolExecutor takes in another table to process in the available free thread. The Job terminates when upsertion in all 17 tables finishes. This job runs every 5 mins via cronjob.

Any updates on this?

I'm assuming you are using the MDT, did you check the existence of the missing file:
	... 1 more
Caused by: java.io.FileNotFoundException: No such file or directory: s3a://***/hudi_parallel_process/assets/asset_group/c9a7b1d3-c065-4902-a605-0fc114f33b2c-0_0-370-76132_20230801080422725.parquet

Yes, this file is not there in our S3 bucket.

It seems the MDT encountered inconsistency, can you fix the errored table separately and restart the job, the table metadata can be re-bootstrapped through HUDI CLI.


'grep' is not recognized Windows 11

Error: Command failed: wget --help | grep "show-progress" || true
'grep' is not recognized as an internal or external command,
operable program or batch file.
at checkExecSyncError (node:child_process:885:11)
at execSync (node:child_process:957:15)
at shouldShowProgress (C:\Users\Eli\AppData\Roaming\npm\node_modules\ghost-static-site-generator\src\constants\OPTIONS.js:20:32)
at Object.<anonymous> (C:\Users\Eli\AppData\Roaming\npm\node_modules\ghost-static-site-generator\src\constants\OPTIONS.js:44:22)

Same

Use this choco install -y grep


Possibly to use as a generator?

I have a fairly large data set which ultimately is printed with click.echo_via_pager.  Would it be possible to supply a generator to columnar.columnar?
Thanks

Hey @retr0h , sorry for the wait, I'm just getting back to this. I admit that I have never used click.echo_via_pager, but taking it quick look at the docs it looks like you could write a generator that feeds chunks of text into columnar and then yields the output to click. Something like this:
import click
from columnar import columnar

def my_generator():
    while True:
        next_chunk = get_text_chunk_from_my_source()
        if next_chunk == "":
            break
        next_table = columnar(next_chunk)
        yield next_table

def main():
    click.echo_via_pager(my_generator)

Thank you @MaxTaggart


add rails 4 compatibility

[0.1.0] - Unreleased
Added

Backwards compatibility with Rails 4

@jebentier Maybe update the README in the is PR to explicitly mention Rails 4, 5, and 6 are all supported? Possibly the gemspec too?

@ColinDKelley the README and gemspec already restrict to rails 5, which is all we've confirmed in our testing so far. There is a ticket that I've created to add modern unit tests to the project which will include figuring out rails 6 support.


When will you remove snapshot?

I usually use kyro with chill by tweeter, It is good.
I know from this page, pickling is better usability and performance.
But i could't insist of this product in my corporation because of snapshot..

Pickling 0.10.0 is published to Sonatype. http://search.maven.org/#search|ga|1|scala-pickling


Enhancements: Add comments in tos.ts and switch Twitter icon to X

Included comments explaining the purpose of the array and the meaning of each code.

🟡 Heimdall Review Status

Requirement
Status
More Info

Reviews

🟡
0/1

Denominator calculation

Show calculation

1 if user is bot
0

1 if user is external
0

From .codeflow.yml

1

Additional review requirements

Show calculation

Max
0

0

From CODEOWNERS

0

Global minimum
0

Max

1

1

1 if commit is unverified
0

Sum
1

Review Error for zencephalon @ 2024-11-07 20:42:32 UTC
User failed mfa authentication, see go/mfa-help


Cannot update version number using extension

I have added your extension to our build pipeline, but an exception is thrown when the step is executed.
The logs below indicate an error when accessing the repo of my pipeline. But the user account owning the PAT I have supplied has "Contribute" permissions on the repo ... and I really do not understand, why the extension tries to access the repo at this point. I would expect it to only update the version number variable.
Anyway ... :-)
The debug log is this:
##[debug]Evaluating condition for step: 'Version number counter'
##[debug]Evaluating: succeeded()
##[debug]Evaluating succeeded:
##[debug]=> True
##[debug]Result: True
##[section]Starting: Version number counter
==============================================================================
Task         : Version number counter
Description  : Build and release task for a version number counter
Version      : 1.1.4
Author       : Maik van der Gaag
Help         :
==============================================================================
##[debug]VstsTaskSdk 0.1 commit _COMMIT_HASH_
##[debug]Entering D:\a\_tasks\versioncounter_84f23c57-8c65-4709-bc94-5cbd44e96a99\1.1.4\run-task.ps1.
##[debug]INPUT_VERSIONVARIABLE: 'VersionNumber'
##[debug]INPUT_UPDATEMINORVERSION: 'false'
##[debug]INPUT_MAXVALUEPATCHVERSION: '0'
##[debug]INPUT_MAXVALUEMINORVERSION: '0'
##[debug]INPUT_UPDATEMAJORVERSION: 'false'
##[debug]INPUT_DEVOPSPAT: 'iv6sxtouauf4n66otm7ea6a3m5bly5jkairhco5bgyqvuyjxr3ja'
VersionVariable      : VersionNumber
UpdateMinorVersion   : false
MaxValuePatchVersion : 0
UpdateMajorVersion   : false
MaxValueMinorVersion : 0
DevOpsPAT            : ***
DevOps Uri           : https://dev.azure.com/<removed>/
Project Name         : <removed>
Project Id           : <removed>
BuildId              : 42
Invoking rest method 'Get' for the url: https://dev.azure.com/<removed>/<removed>/_apis/build/builds/42?api-version=4.1.
##[debug]GET https://dev.azure.com/<removed>/<removed>/_apis/build/builds/42?api-version=4.1 with 0-byte payload
##[debug]received 4795-byte response of content type application/json; charset=utf-8; api-version=4.1
Trying to retrieve the build definition with the url: https://dev.azure.com/<removed>/<removed>/_apis/build/definitions/1?api-version=4.1.
##[debug]GET https://dev.azure.com/<removed>/<removed>/_apis/build/definitions/1?api-version=4.1 with 0-byte payload
##[debug]received 8111-byte response of content type application/json; charset=utf-8; api-version=4.1
Value of the Major Version Variable: 1.1.0
Current version Major: 1, Minor 1, Patch 0
Updating patch version number from: 0 to 1.
Updating minor version number from: 1 to 1.
Updating major version number from: 1 to 1.
##[debug]Updating Project Build number with URL: https://dev.azure.com/<removed>/<removed>/_apis/build/definitions/1?api-version=4.1
##[debug]PUT https://dev.azure.com/<removed><removed>/_apis/build/definitions/1?api-version=4.1 with -1-byte payload
##[debug]Caught exception from task script.
##[debug]Error record:
##[debug]Invoke-RestMethod : {"$id":"1","innerException":null,"message":"TF401019: The Git repository with name or identifier <my repo name> does not exist or you do not have permissions for the operation you are attempting.","typeName":"Microsoft.TeamFoundation.Git.Server.GitRepositoryNotFoundException, Microsoft.TeamFoundation.Git.Server","typeKey":"GitRepositoryNotFoundException","errorCode":0,"eventId":3000}
##[debug]At D:\a\_tasks\versioncounter_84f23c57-8c65-4709-bc94-5cbd44e96a99\1.1.4\run-task.ps1:95 char:13
##[debug]+             Invoke-RestMethod -Method Put -Uri $defUri -Headers $devO ...
##[debug]+             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
##[debug]    + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebExc    eption
##[debug]    + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
##[debug]Script stack trace:
##[debug]at <ScriptBlock>, D:\a\_tasks\versioncounter_84f23c57-8c65-4709-bc94-5cbd44e96a99\1.1.4\run-task.ps1: line 95
##[debug]at <ScriptBlock>, <No file>: line 1
##[debug]at <ScriptBlock>, <No file>: line 22
##[debug]at <ScriptBlock>, <No file>: line 18
##[debug]at <ScriptBlock>, <No file>: line 1
##[debug]Exception:
##[debug]System.Net.WebException: The remote server returned an error: (404) Not Found.
##[debug]   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.GetResponse(WebRequest request)
##[debug]   at Microsoft.PowerShell.Commands.WebRequestPSCmdlet.ProcessRecord()
##[error]The remote server returned an error: (404) Not Found.
##[debug]Processed: ##vso[task.logissue type=error]The remote server returned an error: (404) Not Found.
##[debug]Processed: ##vso[task.complete result=Failed]
##[section]Finishing: Version number counter

Any idea why this error happens?

what are the exact permissions that you gave to the DevOps pAty?

what are the exact permissions that you gave to the DevOps pAty?

Hi,
Thanks for your guick response :-)
I had just given it access to execute the build pipelines, but I have now added "read/write" on repos as well. However, it gives me the same error.

Permissions for PAT

could you also share some screenshots of your task configuration and we're you have specified the variable?

could you also share some screenshots of your task configuration and we're you have specified the variable?

Sure :-)
Task configuration:

Environment variable configuration:

could you also share some screenshots of your task configuration and we're you have specified the variable?

Sure :-)
Task configuration:

Environment variable configuration:

HI,
You should the following version format [major].[minor].[patch]. I haven't tested it yet with a four digit version number. could you check if that helps?

could you also share some screenshots of your task configuration and we're you have specified the variable?

Sure :-)
Task configuration:

Environment variable configuration:

HI,
You should the following version format [major].[minor].[patch]. I haven't tested it yet with a four digit version number. could you check if that helps?

Oh sorry ... that is my bad. I had to disable the extension/action step and revert to the <IP_ADDRESS> version number to get the pipeline to work.
If I use the format <IP_ADDRESS>, the extension tells me that the format is wrong. If I use e.g. 1.1.0, the exception above happens.
Below is a current screenshot when using the correct format.

I apologize for the confusion.

@jlundstocholm: To eliminate the issues could you give the PAT full control temporally and try again?
I think I left something out of the documentation.

@jlundstocholm: To eliminate the issues could you give the PAT full control temporally and try again?
I think I left something out of the documentation.

It has now full access. The result is the same.  :-(
Do I need to do something with the account I created the PAT with - permission-wise?

No that is not nessary what kind of agents are you using?
From: Jesper Lund Stocholm<EMAIL_ADDRESS>Sent: maandag 9 december 2019 10:11
To: maikvandergaag/msft-extensions<EMAIL_ADDRESS>Cc: Maik van der Gaag<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [maikvandergaag/msft-extensions] Cannot update version number using extension (#144)
@jlundstocholmhttps://github.com/jlundstocholm: To eliminate the issues could you give the PAT full control temporally and try again?
I think I left something out of the documentation.
It has now full access. The result is the same. :-(
Do I need to do something with the account I created the PAT with - permission-wise?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/maikvandergaag/msft-extensions/issues/144?email_source=notifications&email_token=ACIXAE7Q3HU4QHFMZ5MFISTQXYDTZA5CNFSM4JYA3YKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGIMNMY#issuecomment-563136179, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACIXAE33VYWWZQDBLGMIU5DQXYDTZANCNFSM4JYA3YKA.

No that is not nessary what kind of agents are you using?

You removed the organization name and project from this line:
##[debug]PUT https://dev.azure.com//_apis/build/definitions/1?api-version=4.1 with -1-byte payload
Did you exedantly remove the / or wasn't it there

You removed the organization name and project from this line:
##[debug]PUT https://dev.azure.com//_apis/build/definitions/1?api-version=4.1 with -1-byte payload
Did you exedantly remove the / or wasn't it there

I removed it ...

Thank you for the raw input.
The strange thing is that the Get is working and the PUT is failing. I will have to investigate further what is going wrong there.
From: Jesper Lund Stocholm<EMAIL_ADDRESS>Sent: maandag 9 december 2019 10:39
To: maikvandergaag/msft-extensions<EMAIL_ADDRESS>Cc: Maik van der Gaag<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [maikvandergaag/msft-extensions] Cannot update version number using extension (#144)
You removed the organization name and project from this line:
##[debug]PUT https://dev.azure.com//_apis/build/definitions/1?api-version=4.1https://dev.azure.com/_apis/build/definitions/1?api-version=4.1 with -1-byte payload
Did you exedantly remove the / or wasn't it there
I removed it ...
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/maikvandergaag/msft-extensions/issues/144?email_source=notifications&email_token=ACIXAE6OLU5BP5HZTQ5NT73QXYGZVA5CNFSM4JYA3YKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGIPAQI#issuecomment-563146817, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACIXAEYEQ7PTTGQBQA6XJRDQXYGZVANCNFSM4JYA3YKA.

Thank you for the raw input. The strange thing is that the Get is working and the PUT is failing. I will have to investigate further what is going wrong there.

Thank you :-) . Let me know if there is anything I can do to help. I really appreciate your help!
Also - why does it try to access the repo? I would expect it to only access the variables?

Yes that is strange as well, but I think that is related to the error message. As you can see in the powershell scripts within the repository there is no connection with the repository the only things we use are the buildin API.
Could you maybe try one thing for me. Do not think this will change anything, but in the variables configuration you have set the checkbox: that you can change the value when queued.
From: Jesper Lund Stocholm<EMAIL_ADDRESS>Sent: maandag 9 december 2019 11:14
To: maikvandergaag/msft-extensions<EMAIL_ADDRESS>Cc: Maik van der Gaag<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [maikvandergaag/msft-extensions] Cannot update version number using extension (#144)
Thank you for the raw input. The strange thing is that the Get is working and the PUT is failing. I will have to investigate further what is going wrong there.
Thank you :-) . Let me know if there is anything I can do to help. I really appreciate your help!
Also - why does it try to access the repo? I would expect it to only access the variables?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/maikvandergaag/msft-extensions/issues/144?email_source=notifications&email_token=ACIXAEYQYN4RFY2Z3JKZZCTQXYK6FA5CNFSM4JYA3YKKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGISMXA#issuecomment-563160668, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACIXAE6GJJS7TRA5D2UKJJTQXYK6FANCNFSM4JYA3YKA.

No that is not nessary what kind of agents are you using?

Hi,
I am absolutely positive that is is a permission issue on the PAT. I could not leave the thought alone yesterday as it occurred to me that a user should not be able to create a PAT and elevate the permissions on it higher than the permissions on the user itself.
So I created a new PAT using my own account instead of the service account we would like to use. I am org admin on the Azure DevOps organization.
Now everything works :-)
I will try to figure out the required permissions on the PAT and if I find an answer, I will update this issue. If you find the answer - please share as well ;-)
/Jesper


Links don't work in 0.7

I've gone back to using scripts in 0.0.7 instead of the windows app because I links from the map to pokedex and directions don't work inside the app.

Try the latest version, it's got an updated interface that may fix this issue.

same in 011 version

This continues to occur with the latest version (0.2.1), at least on Linux.


Bump license years to 2022

This PR bumps license years to 2022.
Happy New Year and 10th anniversary 🎉

Before submitting the PR make sure the following are checked:

[x] The PR relates to only one subject with a clear title and description in grammatically correct, complete sentences.
[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[x] Ran bundle exec rake default. It executes all tests and runs RuboCop on its own code.
[ ] Added an entry (file) to the changelog folder named {change_type}_{change_description}.md if the new code introduces user-observable changes. See changelog entry format for details.

Happy New Year! 🎉

Happy New Year! 🎉


Rework/ditch BI queries

Q4 needs reworking.
Alternatively, the whole BI query set could be ditched. They will be used from a different driver.

Switched the default branch to stable as dev will be deprecated soon.


chore: release v4.6.0

Release v4.6.0

We've overlooked a scenario when verifying the ver action, which is the release PR. In this case, version and Git tag must be different. I don't know how to solve this yet, but let's deactivate the check for now.


Unable to save changes to 7 segment display output config

Describe the bug
Certain output configs are unable to save after editing 7 segment display config.
Steps To Reproduce
Steps to reproduce the behavior:

Open the attached .mmc file
Edit the OH DC Amps output
Set the module to one you have connected that has 7 segment displays on it
Change the number of digits from 3 to 8
Hit ok

Expected behavior
Dialog closes and changes are applied
Actual behavior
Nothing happens. Dialog doesn't close.
Details

MobiFlight Version: 10.0

Additional context
In the output window of the debugger you see this:
Exception thrown: 'System.Collections.Generic.KeyNotFoundException' in mscorlib.dll
Exception thrown: 'MobiFlight.ArcazeCommandExecutionException' in MFConnector.exe

Found via Discord
flightsim1.zip

I was able to reproduce this locally with the attached .mcc file but don't understand this part of the code well enough to figure out what's going on. The user reports the same issue happens with OH DC Volts and OH DC AMPS, but they were able to save other LED outputs so it's not a general issue. It's something specific about those three.

Update: The user deleted those three lines and re-created them and the error went away. Very strange. What is it about the three lines in the attached file that doesn't work!?

This serial is interesting

This is the reason. The interpolation apparently supported floats in the past.
The interpolation settings are strange though.

This serial is interesting

It's twice interesting.
First the special characters after 754- and second the attached board name, espacially that the board name is before the serial number stored in the EEPROM.


SkyWalking OAP version reporter through CDS

Please answer these questions before submitting your issue.

Why do you submit this issue?
[ ] Question or discussion
[ ] Bug
[x] Requirement
[ ] Feature or performance improvement

Requirement or improvement
I think that CDS feature can be utilized reporting OAP version to agent. It can be required to switch version-specific behavior on the agent. WDYT?

Report OAP agent? Could you provide a little more details about how it helps? And how the agent will use it if there is a version.

@wu-sheng This is just my consideration based on imagination. If we have a breaking endpoint change of data collect protocol, an agent will want to switch them. Do we have these situations?

@wu-sheng This is just my consideration based on imagination. If we have a breaking endpoint change of data collect protocol, an agent will want to switch them. Do we have these situations?

2 background stories are, SkyWalking as a tracer server, our ecosystem is set up very slowly. So, the protocol is nearly never changed. v3(we are using) is set up in 2020, v2 was in 2017.
Even, we need to change something, we expect to add a new field, rather than a break.
At last, we have to, we will change service name(v2->v3), or like you asked us to add v3 in the namespace. So you could check GRPC's unimplemented service error.

Sure. maybe we don't have this right now.

I am going to close this discussion for now. Let's see whether there is a new case.


fix: workaround keymap should be restricted in rnvimr buffer

Workaround keymap (<C-><C->) should be restricted in rnvimr buffer to avoid possible conflicts with user-defined keymaps starting with <C->

Thanks :)


MDX v3.0.1 fails to import

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Prerequisites

[X] I'm using the latest version of Docusaurus.
[X] I have tried the npm run clear or yarn clear command.
[X] I have tried rm -rf node_modules yarn.lock package-lock.json and re-installing packages.
[X] I have tried creating a repro with https://new.docusaurus.io.
[X] I have read the console error message carefully (if applicable).

Description

Error: Docusaurus server-side rendering could not render static page with path /docs/tutorial-basics/markdown-features because of error: Expected component Details to be defined: you likely forgot to import, pass, or provide it.

Error occurs with fresh Docusaurus install, with update to MDX v3.0.1 and a  block inserted into an MDX file.
yarn start succeeds until you browse to the MDX page in question, where it crashes with the full error text.
Reproducible demo
https://codesandbox.io/p/sandbox/small-moon-glqp55
Steps to reproduce
yarn && yarn clear && yarn build
Expected behavior
 block rendered successfully.
Actual behavior
Uncaught runtime errors:
ERROR
Expected component `Details` to be defined: you likely forgot to import, pass, or provide it.
_missingMdxReference@webpack-internal:///./docs/tutorial-basics/markdown-features.mdx:277:9
_createMdxContent@webpack-internal:///./docs/tutorial-basics/markdown-features.mdx:110:37
MDXContent@webpack-internal:///./docs/tutorial-basics/markdown-features.mdx:274:8
renderWithHooks@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:16305:27
mountIndeterminateComponent@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:20069:13
beginWork@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:21582:16
callCallback@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4164:14
invokeGuardedCallbackDev@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4213:16
invokeGuardedCallback@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4277:31
beginWork$1@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:27446:28
performUnitOfWork@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:26552:12
workLoopSync@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:26461:22
renderRootSync@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:26429:7
performSyncWorkOnRoot@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:26080:34
flushSyncCallbacks@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:12042:22
ensureRootIsScheduled/<@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:25646:13
ERROR
Expected component `Details` to be defined: you likely forgot to import, pass, or provide it.
_missingMdxReference@webpack-internal:///./docs/tutorial-basics/markdown-features.mdx:277:9
_createMdxContent@webpack-internal:///./docs/tutorial-basics/markdown-features.mdx:110:37
MDXContent@webpack-internal:///./docs/tutorial-basics/markdown-features.mdx:274:8
renderWithHooks@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:16305:27
mountIndeterminateComponent@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:20069:13
beginWork@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:21582:16
callCallback@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4164:14
invokeGuardedCallbackDev@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4213:16
invokeGuardedCallback@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4277:31
beginWork$1@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:27446:28
performUnitOfWork@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:26552:12
workLoopSync@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:26461:22
renderRootSync@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:26429:7
performSyncWorkOnRoot@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:26080:34
flushSyncCallbacks@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:12042:22
ensureRootIsScheduled/<@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:25646:13
ERROR
Expected component `Details` to be defined: you likely forgot to import, pass, or provide it.
_missingMdxReference@webpack-internal:///./docs/tutorial-basics/markdown-features.mdx:277:9
_createMdxContent@webpack-internal:///./docs/tutorial-basics/markdown-features.mdx:110:37
MDXContent@webpack-internal:///./docs/tutorial-basics/markdown-features.mdx:274:8
renderWithHooks@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:16305:27
mountIndeterminateComponent@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:20069:13
beginWork@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:21582:16
callCallback@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4164:14
invokeGuardedCallbackDev@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4213:16
invokeGuardedCallback@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:4277:31
beginWork$1@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:27446:28
performUnitOfWork@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:26552:12
workLoopSync@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:26461:22
renderRootSync@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:26429:7
recoverFromConcurrentError@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:25845:34
performSyncWorkOnRoot@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:26091:20
flushSyncCallbacks@webpack-internal:///./node_modules/react-dom/cjs/react-dom.development.js:12042:22
ensureRootIsScheduled/<@webpack-internal:/

Your environment

Public source code: https://codesandbox.io/p/sandbox/small-moon-glqp55
Public site URL: https://codesandbox.io/p/sandbox/small-moon-glqp55
Docusaurus version used: 3.1.1
Environment name and version (e.g. Chrome 89, Node.js 16.4): docusaurus.new
Operating system and version (e.g. Ubuntu 20.04.2 LTS): docusaurus.new

Self-service

[ ] I'd be willing to fix this bug myself.

Can't access the sandbox

Closing until an accessible runnable repro is provided
Also please be clear, are you using 3.0.1 or 3.1.1? Your bug report mentions 2 distinct versions.

Here's a runnable repro showing it works fine:
https://stackblitz.com/edit/github-mpdvw3?file=docs%2Ftutorial-basics%2Fmarkdown-features.mdx
---
sidebar_position: 4
---

# Markdown Features

test1

test2

  summary test 3

test 3

test4

  summary test 5

test5

Code sandbox should now be publicly accessible, apologies.
Docusaurus is at 3.1.1, @mdx-js/react is at 3.0.1.
Works fine with mdx-js at 3.0.0, but breaks at 3.0.1.

Closing until an accessible runnable repro is provided
Also please be clear, are you using 3.0.1 or 3.1.1? Your bug report mentions 2 distinct versions.

I've take a look at the problem, from what I've understood
No error initially with version 3.0.0, if you try to upgrade to 3.0.1 without clearing docusaurus and yarn cache you'll get an error, if you clear the cache and build again, no more error

This issue is very likely because you have twice the @mdx-js/react dependency in your node_modules. Similarly to React, having duplicates will lead to troubles 😅 .
We can see in the codesandbox repro:
"<EMAIL_ADDRESS>  version "3.0.0"
  resolved<EMAIL_ADDRESS>  integrity sha512-nDctevR9KyYFyV+m+/+S4cpzCWHqj+iHDHq3QrsWezcC+B17uZdIWgCguESUkwFhM3n/56KxWVE3V6EokrmONQ==
  dependencies:
    "@types/mdx" "^2.0.0"

"<EMAIL_ADDRESS>  version "3.0.1"
  resolved<EMAIL_ADDRESS>  integrity sha512-9ZrPIU4MGf6et1m1ov3zKf+q9+deetI51zprKB1D/z3NOb+rUxxtEl3mCjW5wTGh6VhRdwPueh1oRzi6ezkA8A==
  dependencies:
    "@types/mdx" "^2.0.0"

I'd suggest to try running some package manager deduplication util, or regenerating the lockfile from scratch. This is not really something we can solve within the Docusaurus codebase afaik, so I'll close this issue unless you find out I'm wrong.

Looks like this has been resolved behind the scenes, at least in my repos. After a fresh clean/yarn, whatever dependency was clashing has resolved itself in such a way that you get the error until you update from mdx 3.0.0 to 3.0.1.

Seeing this too

please provide a minimal repro @mcclowes


Issues with Installation documentation

Just installing following https://github.com/GodotNuts/GodotFirebase/wiki/Installation-and-Activation and found a few issues:

It mentions copying GDFirebase to addons folder. But this repo has 3 folders in master: godot-firebase, gut, and http-sse-client. Do all 3 of these need to be copied?
In the override.cfg file I filled in the variables but they didn't appear in Project Settings after reload. it has [firebase/environment_variables] at the top. I changed this to [GodotFirebase/environment_variables] (so it's the same as the plugin name) and then the environment variables turned up in the editor.

When I try to use Firebase it's giving me No configuration settings found, add them in override.cfg file. I assume this is because it's not detecting the environment variables correctly maybe because of the name change. Looking into this now.

After a few restarts the env variables started showing in project settings with [firebase/environment_variables] at the top of the config file, so I guess that 2nd part is fine. I'm still getting "unauthorized" though.

After a few restarts the env variables started showing in project settings with [firebase/environment_variables] at the top of the config file, so I guess that 2nd part is fine. I'm still getting "unauthorized" though.

Hmm I can't figure out what's going on. I don't have clientId or clientSecret set but the rest of the settings are set. I'm printing out the config in auth.set_config - https://github.com/GodotNuts/GodotFirebase/blob/main/addons/godot-firebase/auth/auth.gd#L116 and they're all set correctly. However after this function nothing further happens, the _on_FirebaseAuth_request_completed function is never hit.
I tried this same config in a simple web project and it worked and posted to the firestore correctly, so they are valid.

Hmm I can't figure out what's going on. I don't have clientId or clientSecret set but the rest of the settings are set. I'm printing out the config in auth.set_config - https://github.com/GodotNuts/GodotFirebase/blob/main/addons/godot-firebase/auth/auth.gd#L116 and they're all set correctly. However after this function nothing further happens, the _on_FirebaseAuth_request_completed function is never hit.
I tried this same config in a simple web project and it worked and posted to the firestore correctly, so they are valid.

Ok got it working! Didn't realize I must login with a user to be able to use the Firestore, as this isn't required in Firebase web apps. I first enabled Authentication -> Sign-in method -> Anonymous and then the following works:
Firebase.Auth.connect("login_succeeded", self, "_get_test_item")
Firebase.Auth.login_anonymous()

func _get_test_item((auth_result : Dictionary):
    var COLLECTION_ID = 'test-collection'
    var DOCUMENT_ID = 'test-doc'

    var collection : FirestoreCollection = Firebase.Firestore.collection(COLLECTION_ID)
    collection.get(DOCUMENT_ID)
    var document : FirestoreDocument = yield(collection, "get_document")
    print("Document is: ", document)

Trying to run that _get_test_item function without doing Auth.login_anonymous() doesn't work. It just says unauthorized

Ok got it working! Didn't realize I must login with a user to be able to use the Firestore, as this isn't required in Firebase web apps. I first enabled Authentication -> Sign-in method -> Anonymous and then the following works:
Firebase.Auth.connect("login_succeeded", self, "_get_test_item")
Firebase.Auth.login_anonymous()

func _get_test_item((auth_result : Dictionary):
    var COLLECTION_ID = 'test-collection'
    var DOCUMENT_ID = 'test-doc'

    var collection : FirestoreCollection = Firebase.Firestore.collection(COLLECTION_ID)
    collection.get(DOCUMENT_ID)
    var document : FirestoreDocument = yield(collection, "get_document")
    print("Document is: ", document)

Trying to run that _get_test_item function without doing Auth.login_anonymous() doesn't work. It just says unauthorized

Hi @timjrobinson ,
I'm sorry about the installation experience - the wiki still needs some updates since we are still figuring a proper basic way to install and set up the plugin. We will update that page as soon as possible with the current method.
About authentication - since we are using REST APIs, due to security reasons (both from Firebase and - always remember - your Firestore/Database rules) an authentication is always needed in order to issue requests to the backand.
The unauthorized error is pretty self-explainatory from this perspective: before issuing requests to Firestore/Database, a client needs to be authorized.
Then you are completely free to authorized via an anonymous user, rather than register a new one, signing up with an already registered user with mail/password combination, or use Google OAuth 2 authentication method.
For the last one, you will need to setup those two keys you currently don't have displayed in Firebase, which are clientId and clienteSecret.
Follow this page if you are interested in Google OAauth 2. It is not mandatory to use as an auth method, and we are still testing it.
Please, if you think my answer was exhaustive, close this issue. Feel free to open new issues or just ask here if you need.
Regards,

Hi @timjrobinson ,
I'm sorry about the installation experience - the wiki still needs some updates since we are still figuring a proper basic way to install and set up the plugin. We will update that page as soon as possible with the current method.
About authentication - since we are using REST APIs, due to security reasons (both from Firebase and - always remember - your Firestore/Database rules) an authentication is always needed in order to issue requests to the backand.
The unauthorized error is pretty self-explainatory from this perspective: before issuing requests to Firestore/Database, a client needs to be authorized.
Then you are completely free to authorized via an anonymous user, rather than register a new one, signing up with an already registered user with mail/password combination, or use Google OAuth 2 authentication method.
For the last one, you will need to setup those two keys you currently don't have displayed in Firebase, which are clientId and clienteSecret.
Follow this page if you are interested in Google OAauth 2. It is not mandatory to use as an auth method, and we are still testing it.
Please, if you think my answer was exhaustive, close this issue. Feel free to open new issues or just ask here if you need.
Regards,

wiki updated

wiki updated

I'm going ahead and closing this, @timjrobinson. If you have any further issues around it, please open a new one. Thanks!

I'm going ahead and closing this, @timjrobinson. If you have any further issues around it, please open a new one. Thanks!


"thread 'main' panicked at [...] when slicing

Hi! Thanks this awesome project!
I got this panic in a Lua file when using Harper 0.6.2 as a language server:
[ERROR][2024-02-16 20:27:27] .../vim/lsp/rpc.lua:796	"rpc"	"/home/melker/.cargo/bin/harper-ls"	"stderr"	"thread 'main' panicked at /home/melker/.cargo/registry/src/index.crates.io-6f17d22bba15001f/harper-ls-0.6.2/src/tree_sitter_parser.rs:185:32:\nbegin <= end (23 <= 14) when slicing `-----------\n-- Noice --\n-----------\n`\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace\n"

Here's what the file looks like (stripped down, but still causing the error):
-----------
-- Noice --
-----------

Hey @mawkler, I see the issue you were running into. Thank you for bringing this to my attention. It looked like a general issue will all comments in all lua files. I've fixed it in the latest commit.
I'm going to close the issue. Feel free if this continues to occur.

@chilipepperhott Great, thank you!


socket helper: Support connect_timeout for TCP/TLS

out_forward also supports connect_timeout parameter
Signed-off-by: Masahiro Nakagawa<EMAIL_ADDRESS>Which issue(s) this PR fixes:
None
What this PR does / why we need it:
Docs Changes:
After release v1.6.0, need to add connect_timeout parameter to socket helper/out_forward article.
Release Note:
socket helper/out_forward: Support connect_timeout parameter

TLS supports connect_timeout via TCP socket creation.
udp is connectionless. what is the timeout for udp?


Make an official docker image and have docker compose use that

suggestion from sami: at EAGxBerkeley, a lot of people had problems building images. Maybe instead we should put already built images onto some sort of container registry and have docker compose pull from that.

Specifically, I think we can:

Rename the images in the docker compose file to metr/vivaria-server, metr/vivaria-ui, metr/vivaria-db
tack a docker push at the end of the existing docker compose github actions workflow, running only on master and tagging with git rev-parse --short HEAD and latest
Change the docs to get rid of --build when running docker compose up

Stretch goals:

push GPU and CPU variants of the server image
push arm64 as well as amd64

Hi, is this issue still opened? If yesm, I would like to help you with creating docker image.


pkgconfig search path not defined for arm-unknown-linux-gnueabihf

Checklist

[X] I've looked through the issues and pull requests for similar reports

Describe your issue
I'm trying to cross-compile with arm-unknown-linux-gnueabihf and hitting a pkgconfig search path issue.
error: failed to run custom build command for `glib-sys v0.19.0 (https://github.com/gtk-rs/gtk-rs-core#8986eb97)`

Caused by:
  process didn't exit successfully: `/target/debug/build/glib-sys-9eb477152870afcb/build-script-build` (exit status: 1)
  --- stdout
  cargo:rerun-if-env-changed=GLIB_2.0_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_arm-unknown-linux-gnueabihf
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_arm_unknown_linux_gnueabihf
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
  cargo:rerun-if-env-changed=PKG_CONFIG_arm-unknown-linux-gnueabihf
  cargo:rerun-if-env-changed=PKG_CONFIG_arm_unknown_linux_gnueabihf
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_arm-unknown-linux-gnueabihf
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH_arm_unknown_linux_gnueabihf
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_PATH
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_arm-unknown-linux-gnueabihf
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR_arm_unknown_linux_gnueabihf
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_LIBDIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_arm-unknown-linux-gnueabihf
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_arm_unknown_linux_gnueabihf
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  cargo:warning=`PKG_CONFIG_ALLOW_SYSTEM_CFLAGS="1" "pkg-config" "--libs" "--cflags" "glib-2.0" "glib-2.0 >= 2.56"` did not exit successfully: exit status: 1
  error: could not find system library 'glib-2.0' required by the 'glib-sys' crate

  --- stderr
  Package glib-2.0 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `glib-2.0.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'glib-2.0' found
  Package glib-2.0 was not found in the pkg-config search path.
  Perhaps you should add the directory containing `glib-2.0.pc'
  to the PKG_CONFIG_PATH environment variable
  No package 'glib-2.0' found

If I login to the container I can see the .pc files exist but PKG_CONFIG_PATH isn't set. If I manually set it to "/usr/lib/arm-linux-gnueabihf/pkgconfig", my cargo build completes successfully. Looking at the docker images at cross/docker, everything except Dockerfile.arm-unknown-linux-gnueabihf
is setting PKG_CONFIG_PATH. It was briefly added (strangely to to path /usr/lib/usr/arm-linux-gnueabihf/pkgconfig), only to be removed shortly afterwards.
Was setting PKG_CONFIG_PATH supposed to be reverted like this? If so, how is pkg-config supposed to work in arm-unknown-linux-gnueabihf ?
What target(s) are you cross-compiling for?
arm-unknown-linux-gnueabihf
Which operating system is the host (e.g computer cross is on) running?

[ ] macOS
[ ] Windows
[X] Linux / BSD
[ ] other OS (specify in description)

What architecture is the host?

[ ] x86_64 / AMD64
[X] arm32
[ ] arm64 (including Mac M1)

What container engine is cross using?

[X] docker
[ ] podman
[ ] other container engine (specify in description)

cross version
cross 0.2.5 (37c681a 2023-07-17)
Example
Cross.toml
[build]
pre-build = [
    "rm /etc/apt/preferences.d/all-packages",
    "dpkg --add-architecture $CROSS_DEB_ARCH",
    "apt-get update",
    "DEBIAN_FRONTEND=noninteractive apt-get install --assume-yes libglib2.0-dev:$CROSS_DEB_ARCH libgstreamer1.0-dev:$CROSS_DEB_ARCH libgstreamer-plugins-base1.0-dev:$CROSS_DEB_ARCH"
]

git clone --depth 1 -b main https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
cd gst-plugins-rs
CROSS_CONFIG=/path/to/Cross.toml cross build --target arm-unknown-linux-gnueabihf --package gst-plugin-spotify

Additional information / notes
It builds with the other arm targets, for example armv7-unknown-linux-gnueabihf.

I dont see any harm adding it back in. The reasoning was that it wouldnt be needed anymore, but I suppose that is not true if you're certain the library you retrieved with apt is armv6.

Ahh right yes of course, that does make sense. I forgot entirely that most don't install new packages on this platform. Would a PR be welcome for this? Otherwise I'm happy enough setting this in my own extra dockerfile.

Thanks! To now make use of this, is there a nightly image tag, or something ?

Ideally you'd be able to use it straight away, but thanks to https://github.com/cross-rs/cross/pull/1208 I'm not able to merge prs where they build new main/edge images as they'd fail. But, we have a weekly CI job that does it, I've trigger it now https://github.com/cross-rs/cross/actions/runs/5954326633

And done!
https://github.com/cross-rs/cross/pkgs/container/arm-unknown-linux-gnueabihf/121385772?tag=main

Thanks so much. Will take it for a spin.

hi, I'm having the same issue using the latest aarch64unknown-linux-gnu`. Is there any other solution for it ?
** https://github.com/cross-rs/cross/pkgs/container/aarch64-unknown-linux-gnu


Fixed resolveLoader defaults

This part is outdated, c.f.

https://github.com/webpack/webpack/blob/master/lib/WebpackOptionsDefaulter.js#L98
https://github.com/webpack/enhanced-resolve/blob/master/lib/ResolverFactory.js#L38
https://github.com/webpack/webpack/issues/2532

@sokra could you confirm if this is correct? Just pinging you since you answered the linked issue as well :)


[netcore][13.basic-bot] Fix typos and improve formatting

Proposed Changes
Fix several typos in sample # 13 and minor text format fixes
Testing
Code behavior was not modified.

Closed due to #671


Cannot use eslint and flow checkers at the same time

I'm trying to use ESLint and Flow at the same time to check the syntax of a react-native project. However, syntastic will only use the fist checker declared in g:syntastic_javascript_checkers.
My checkers config looks like this:
let g:syntastic_javascript_checkers = ['eslint', 'flow']

In that case, only ESLint errors are displayed. If I flip the positions, I only get Flow errors but no ESLint. If I only list one of them, it works without problems.
Is this a bug or am I missing some config in order to get them both working at the same time?

Try reading :h 'syntastic_aggregate_errors'.

Setting let g:syntastic_aggregate_errors = 1 fixed it. Thanks!


500 Error on Sort on Some Columns e.g. Library Construction

We are getting a back end 500 error like the below when sorting on library construction, specimen id, cell count. We need a ticket in the back end repo for this.
Traceback (most recent call last):
File "/var/task/chalice/app.py", line 659, in _get_view_function_response
response = view_function(**function_args)
File "/var/task/app.py", line 212, in get_specimen_data
index="ES_SPECIMEN_INDEX")
File "/var/task/chalicelib/responseobjects/elastic_request_builder.py", line 489, in transform_request
es_response = es_search.execute(ignore_cache=True)
File "/var/task/elasticsearch_dsl/search.py", line 639, in execute
**self._params
File "/var/task/elasticsearch/client/utils.py", line 73, in _wrapped
return func(*args, params=params, **kwargs)
File "/var/task/elasticsearch/client/init.py", line 632, in search
doc_type, '_search'), params=params, body=body)
File "/var/task/elasticsearch/transport.py", line 312, in perform_request
status, headers, data = connection.perform_request(method, url, params, body, ignore=ignore, timeout=timeout)
File "/var/task/elasticsearch/connection/http_requests.py", line 90, in perform_request
self._raise_error(response.status_code, raw_data)
File "/var/task/elasticsearch/connection/base.py", line 125, in _raise_error
raise HTTP_EXCEPTIONS.get(status_code, TransportError)(status_code, error_message, additional_info)
elasticsearch.exceptions.RequestError: TransportError(400, 'search_phase_execution_exception', 'No mapping found for [libraryConstruction.keyword] in order to sort on')

Moved to https://app.zenhub.com/workspace/o/databiosphere/azul/issues/107