can vdma loop work ?

use dma ip ,the driver,examples worked well, but vdma cant:
Z-turn# ./axidma_benchmark -v
AXI DMA Benchmark Parameters:
Transmit Buffer Size: 7.91 Mb
Receive Buffer Size: 7.91 Mb
Number of DMA Transfers: 1000 transfers
Using transmit channel 0 and receive channel 1.
axidma: axidma_dma.c: axidma_start_transfer: 298: VDMA receive transaction timed out.
Failed to perform the AXI DMA read-write transfer: Timer expired
how can i use vdma driver?

sorry, my mistake, i add cma=25M to uboot, and it worked!

The answer to that is maybe. The driver has support for VDMA, but I was never able to get it to work even in a simple loopback mode. As discussed in #15, I believe this may actually be because of a lack of support in the backend Xilinx driver for DMA. However, that may have changed. In issue #25, it seems that someone may have gotten AXI VDMA to work. Perhaps @yaobaishen can comment on this?
If you want some help debugging, can you send me your device tree entries for AXI VDMA. Also, can you send the output of dmesg immediately after you run the benchmark?

thanks for your help, and i have emailed yaobaishen,but no reply.
i used zynq 7010, and the leasted linux-4.9.
that is my pl.dtsi:
`/*

CAUTION: This file is automatically generated by Xilinx.
Version:
Today is: Mon Nov 20 15:56:55 2017
*/

/ {
axidma_chrdev: axidma_chrdev@0 {
compatible = "xlnx,axidma-chrdev";
dmas = <&axi_vdma_0 0 &axi_vdma_0 1>;
dma-names = "tx_channel", "rx_channel";
};
amba_pl: amba_pl {
#address-cells = <1>;
#size-cells = <1>;
compatible = "simple-bus";
ranges ;
axi_vdma_0: dma@43000000 {
#dma-cells = <1>;
clock-names = "s_axi_lite_aclk", "m_axi_mm2s_aclk", "m_axi_mm2s_aclk", "m_axi_s2mm_aclk", "m_axi_s2mm_aclk";
clocks = <&clkc 15>, <&clkc 15>, <&clkc 15>, <&clkc 15>, <&clkc 15>;
compatible = "xlnx,axi-vdma-1.00.a";
interrupt-parent = <&intc>;
interrupts = <0 29 4 0 30 4>;
reg = <0x43000000 0x10000>;
xlnx,addrwidth = <0x20>;
xlnx,flush-fsync = <0x1>;
xlnx,num-fstores = <0x3>;
dma-channel@43000000 {
compatible = "xlnx,axi-vdma-mm2s-channel";
interrupts = <0 29 4>;
xlnx,datawidth = <0x18>;
xlnx,device-id = <0x0>;
};
dma-channel@43000030 {
compatible = "xlnx,axi-vdma-s2mm-channel";
interrupts = <0 30 4>;
xlnx,datawidth = <0x18>;
xlnx,device-id = <0x1>;
};
};
};
};
and  dmesg after run the benchmark:Z-turn# ./axidma_benchmark -v
AXI DMA Benchmark Parameters:
Transmit Buffer Size: 7.91 Mb
Receive Buffer Size: 7.91 Mb
Number of DMA Transfers: 1000 transfers
Using transmit channel 0 and receive channel 1.
axidma: axidma_dma.c: axidma_start_transfer: 298: VDMA receive transaction timed out.
Failed to perform the AXI DMA read-write transfer: Timer expired
Z-turn# dmesg
Booting Linux on physical CPU 0x0
Linux version 4.9.0-xilinx (osrc@osrc-virtual-machine) (gcc version 4.6.1 (Sourcery CodeBench Lite 2011.09-50) ) #1 SMP PREEMPT Sun Nov 19 19:34:06 CST 2017
CPU: ARMv7 Processor [413fc090] revision 0 (ARMv7), cr=18c5387d
CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
OF: fdt:Machine model: xlnx,zynq-7000
cma: Reserved 28 MiB at 0x3e400000
Memory policy: Data cache writealloc
On node 0 totalpages: 262144
free_area_init_node: node 0, pgdat c0a31500, node_mem_map ef7f8000
Normal zone: 1536 pages used for memmap
Normal zone: 0 pages reserved
Normal zone: 196608 pages, LIFO batch:31
HighMem zone: 65536 pages, LIFO batch:15
percpu: Embedded 14 pages/cpu @ef7d3000 s25984 r8192 d23168 u57344
pcpu-alloc: s25984 r8192 d23168 u57344 alloc=14*4096
pcpu-alloc: [0] 0 [0] 1
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 260608
Kernel command line: console=ttyPS0,115200 root=/dev/ram rw earlyprintk cma=25M
PID hash table entries: 4096 (order: 2, 16384 bytes)
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 994776K/1048576K available (6144K kernel code, 200K rwdata, 1468K rodata, 1024K init, 230K bss, 25128K reserved, 28672K cma-reserved, 233472K highmem)
Virtual kernel memory layout:
vector  : 0xffff0000 - 0xffff1000   (   4 kB)
fixmap  : 0xffc00000 - 0xfff00000   (3072 kB)
vmalloc : 0xf0800000 - 0xff800000   ( 240 MB)
lowmem  : 0xc0000000 - 0xf0000000   ( 768 MB)
pkmap   : 0xbfe0random: fast init done
0000 - 0xc0000000   (   2 MB)
modules : 0xbf000000 - 0xbfe00000   (  14 MB)
.text : 0xc0008000 - 0xc0700000   (7136 kB)
.init : 0xc0900000 - 0xc0a00000   (1024 kB)
.data : 0xc0a00000 - 0xc0a32100   ( 201 kB)
.bss : 0xc0a32100 - 0xc0a6bb1c   ( 231 kB)
Preemptible hierarchical RCU implementation.
Build-time adjustment of leaf fanout to 32.
RCU restricting CPUs from NR_CPUS=4 to nr_cpu_ids=2.
RCU: Adjusting geometry for rcu_fanout_leaf=32, nr_cpu_ids=2
NR_IRQS:16 nr_irqs:16 16
efuse mapped to f0800000
slcr mapped to f0802000
L2C: platform modifies aux control register: 0x72360000 -> 0x72760000
L2C: DT/platform modifies aux control register: 0x72360000 -> 0x72760000
L2C-310 erratum 769419 enabled
L2C-310 enabling early BRESP for Cortex-A9
L2C-310 full line of zeros enabled for Cortex-A9
L2C-310 ID prefetch enabled, offset 1 lines
L2C-310 dynamic clock gating enabled, standby mode enabled
L2C-310 cache controller enabled, 8 ways, 512 kB
L2C-310: CACHE_ID 0x410000c8, AUX_CTRL 0x76760001
zynq_clock_init: clkc starts at f0802100
Zynq clock init
sched_clock: 64 bits at 333MHz, resolution 3ns, wraps every<PHONE_NUMBER>103ns
clocksource: arm_global_timer: mask: 0xffffffffffffffff max_cycles: 0x4ce07af025, max_idle_ns:<PHONE_NUMBER>40 ns
Switching to timer-based delay loop, resolution 3ns
clocksource: ttc_clocksource: mask: 0xffff max_cycles: 0xffff, max_idle_ns: 537538477 ns
timer #0 at f080a000, irq=17
Console: colour dummy device 80x30
Calibrating delay loop (skipped), value calculated using timer frequency.. 666.66 BogoMIPS (lpj=3333333)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
CPU: Testing write buffer coherency: ok
CPU0: thread -1, cpu 0, socket 0, mpidr 80000000
Setting up static identity map for 0x100000 - 0x100058
CPU1: thread -1, cpu 1, socket 0, mpidr 80000001
Brought up 2 CPUs
SMP: Total of 2 processors activated (1333.33 BogoMIPS).
CPU: All CPU(s) started in SVC mode.
devtmpfs: initialized
VFP support v0.3: implementor 41 architecture 3 part 30 variant 9 rev 4
clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>2750000 ns
pinctrl core: initialized pinctrl subsystem
NET: Registered protocol family 16
DMA: preallocated 256 KiB pool for atomic coherent allocations
cpuidle: using governor menu
hw-breakpoint: found 5 (+1 reserved) breakpoint and 1 watchpoint registers.
hw-breakpoint: maximum watchpoint size is 4 bytes.
zynq-ocm f800c000.ocmc: ZYNQ OCM pool: 256 KiB @ 0xf0880000
zynq-pinctrl 700.pinctrl: zynq pinctrl initialized
vgaarb: loaded
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
media: Linux media interface: v0.10
Linux video capture interface: v2.00
pps_core: LinuxPPS API ver. 1 registered
pps_core: Software ver. 5.3.6 - Copyright 2005-2007 Rodolfo Giometti<EMAIL_ADDRESS>PTP clock support registered
EDAC MC: Ver: 3.0.0
FPGA manager framework
fpga-region fpga-full: FPGA Region probed
Advanced Linux Sound Architecture Driver Initialized.
clocksource: Switched to clocksource arm_global_timer
NET: Registered protocol family 2
TCP established hash table entries: 8192 (order: 3, 32768 bytes)
TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
TCP: Hash tables configured (established 8192 bind 8192)
UDP hash table entries: 512 (order: 2, 16384 bytes)
UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
NET: Registered protocol family 1
RPC: Registered named UNIX socket transport module.
RPC: Registered udp transport module.
RPC: Registered tcp transport module.
RPC: Registered tcp NFSv4.1 backchannel transport module.
PCI: CLS 0 bytes, default 64
Trying to unpack rootfs image as initramfs...
rootfs image is not initramfs (no cpio magic); looks like an initrd
Freeing initrd memory: 5804K (dfa55000 - e0000000)
hw perfevents: enabled with armv7_cortex_a9 PMU driver, 7 counters available
futex hash table entries: 512 (order: 3, 32768 bytes)
workingset: timestamp_bits=30 max_order=18 bucket_order=0
jffs2: version 2.2. (NAND) (SUMMARY)  © 2001-2006 Red Hat, Inc.
bounce: pool size: 64 pages
io scheduler noop registered
io scheduler deadline registered
io scheduler cfq registered (default)
dma-pl330 f8003000.dmac: Loaded driver for PL330 DMAC-241330
dma-pl330 f8003000.dmac:        DBUFF-128x8bytes Num_Chans-8 Num_Peri-4 Num_Events-16
xilinx-vdma 43000000.dma: Xilinx AXI VDMA Engine Driver Probed!!
e0001000.serial: ttyPS0 at MMIO 0xe0001000 (irq = 27, base_baud = 6249999) is a xuartps
console [ttyPS0] enabled
[drm] Initialized
brd: module loaded
loop: module loaded
libphy: Fixed MDIO Bus: probed
CAN device driver interface
libphy: MACB_mii_bus: probed
macb e000b000.ethernet eth0: Cadence GEM rev 0x00020118 at 0xe000b000 irq 28 (00:0a:35:00:01:22)
Generic PHY e000b000.etherne:03: attached PHY driver [Generic PHY] (mii_bus:phy_addr=e000b000.etherne:03, irq=-1)
e1000e: Intel(R) PRO/1000 Network Driver - 3.2.6-k
e1000e: Copyright(c) 1999 - 2015 Intel Corporation.
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
ehci-pci: EHCI PCI platform driver
usbcore: registered new interface driver usb-storage
mousedev: PS/2 mouse device common for all mice
i2c /dev entries driver
cdns-i2c e0005000.i2c: 400 kHz mmio e0005000 irq 24
cdns-wdt f8005000.watchdog: Xilinx Watchdog Timer at f099a000 with timeout 10s
EDAC MC: ECC not enabled
Xilinx Zynq CpuIdle Driver started
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci-pltfm: SDHCI platform and OF driver helper
mmc0: SDHCI controller on e0100000.sdhci [e0100000.sdhci] using ADMA
ledtrig-cpu: registered to indicate activity on CPUs
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
fpga_manager fpga0: Xilinx Zynq FPGA Manager registered
NET: Registered protocol family 10
sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
NET: Registered protocol family 17
can: controller area network core (rev 20120528 abi 9)
NET: Registered protocol family 29
can: raw protocol (rev 20120528)
can: broadcast manager protocol (rev 20161123 t)
can: netlink gateway (rev 20130117) max_hops=1
Registering SWP/SWPB emulation handler
mmc0: new high speed SDHC card at address 1234
hctosys: unable to open rtc device (rtc0)
mmcblk0: mmc0:1234 SA16G 14.6 GiB
mmcblk0: p1
of_cfs_init
of_cfs_init: OK
ALSA device list:
No soundcards found.
RAMDISK: gzip image found at block 0
EXT4-fs (ram0): couldn't mount as ext3 due to feature incompatibilities
EXT4-fs (ram0): mounted filesystem without journal. Opts: (null)
VFS: Mounted root (ext4 filesystem) on device 1:0.
devtmpfs: mounted
Freeing unused kernel memory: 1024K (c0900000 - c0a00000)
FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
random: sshd: uninitialized urandom read (32 bytes read)
export_store: invalid GPIO 110
axidma: loading out-of-tree module taints kernel.
axidma: axidma_dma.c: axidma_dma_init: 705: DMA: Found 0 transmit channels and 0 receive channels.
axidma: axidma_dma.c: axidma_dma_init: 707: VDMA: Found 1 transmit channels and 1 receive channels.
axidma: axidma_dma.c: axidma_start_transfer: 298: VDMA receive transaction timed out.
Z-turn# `
I am working on using vdma to capture hdmi siginal. but it never worked with linux . did your driver or library provid vdma interface ?
thank you for reply.

Sorry that I didn't work out VDMA either, so I am looking forward someone to verify it too.

I will try working on it , yaobaishen reply me ,and he give up . thanks for you great work !

hei , I changed my hardwere desigin in vivado , maybe the vdma worked ?
Z-turn# insmod axidma.ko
axidma: loading out-of-tree module taints kernel.
axidma: axidma_dma.c: axidma_dma_init: 705: DMA: Found 0 transmit channels and 0 receive channels.
axidma: axidma_dma.c: axidma_dma_init: 707: VDMA: Found 1 transmit channels and 1 receive channels.
Z-turn# ./axidma_benchmark -v
AXI DMA Benchmark Parameters:
Transmit Buffer Size: 7.91 Mb
Receive Buffer Size: 7.91 Mb
Number of DMA Transfers: 1000 transfers
Using transmit channel 0 and receive channel 1.
Single transfer test successfully completed!
Beginning performance analysis of the DMA engine.
random: fast init done
DMA Timing Statistics:
Elapsed Time: 27.71 s
Transmit Throughput: 285.42 Mb/s
Receive Throughput: 285.42 Mb/s
Total Throughput: 570.83 Mb/s
Z-turn#

Interesting, well you're the first person to have VDMA working, so that's good. There must have been some issue with my design when I was testing.
Hmm, the output of the timing statistics doesn't make much sense. According to the bandwidth numbers, your transfer should be completing in far less time, but it's not. So, for some reason the numbers are are inconsistent, which I haven't seen before.
I do notice a line of output random: fast init done, which may be causing some delay? Not sure if that is the source are not. Do you get the same results after running the benchmark several times in a row?

my bandwidth numbers is 24 , for RGB .
I try several times ,"random: fast init done" appear in the first time , I dont know what it mean.always 27.71s.

I see, so the time is consistent. That's very odd though, because obviously 7.91 Mb / 27.71 s obviously does not come out to 285.42 Mb/s. The 285.42 Mb/s throughput number is about what I would expect, but the elapsed time is way too long. You haven't made any changes to the axidma benchmark code, correct?
Sure thing, that's pretty straightforward. So you can just use axidma_malloc to allocate your single frame buffer. Then, you can use axidma_video_transfer to setup a loop transfers, where the buffer is continuously streamed out from DRAM to your IP. Then, it's up to your application code to update the buffer as need.
Alternately, if you're planning on using Xilinx's DRM driver, you can use axidma_register_buffer to share the DRM driver's DMA buffer with my driver. Naturally, you need to get a handle to the DRM driver's buffer through libdrm first.

Oh one other thing I noticed is the following line:
axidma: loading out-of-tree module taints kernel.

This indicates that the kernel you're running on your board, and the one that you built the driver against do not match. This isn't the cause of the timing issue, but it can cause the driver to crash, so I'd recomment making sure you're using the kernel you built the driver against.

I have seen the banchmark.c ,in " DMA Timing Statistics " function , Number of DMA Transfers is 1000 ,so 7.91Mb/27.71s *1000=285.42Mb/s.
Inorder to use your driver , I bulild linux-4.9 to my board ,I can sure that I use the it  to bulid the driver . this problem maybe  related to my config for kernel .

Sorry had a bit of a brain fart there, you're right about the time reported by the benchmark.
What throughput are you expecting for the transfers? I know that my driver does introduce a bit of an overhead, but you should still get near the maximum performance. Looking at table 2-3 of the AXI VDMA User Guide, I think it's near the expected. Naturally, the exact throughput depends on data width configured in your AXI VDMA IP block.

I see "axidma_video_transfer" function just use tx channel for display , on the contrary , I need datas streamed out from IP to DRAM buffer , not a loop , but a oneway road from external video signal to DRAM. I have not seen any “video_read” founction , maybe you can add AXIDMA_DMA_VIDEO_READ in ioctl when you have time , just a suggestion .

Ahh I see. Actually, if you're just doing transfer one at a time, you can utilize axidma_oneway_transfer or axidma_twoway_transfer, with a VDMA channel. Of course, this will be slower, which I'm guessing is what you were referring to in your question as to why it's so slow.
Otherwise, I can send you a patch for continuous loop video read, analgous to axidma_video-write. Unfortunately, I'm busy the next few weeks, so I won't be able to test it fully, but I can still send you the patch.

Thank you so much , that's will be great helpful !

Ok, I added support with c3181d8.
This code is currently untested, I only checked that it compiled against the most recent version of Xilinx's kernel. Unfortunatley, I don't have a device to test with, so could you run and test the code, and let me know if you run into any issues.

vdma_test.txt
I write a simple app use vmda loop to transfer files , but i failed .
that is dmsg:
axidma: axidma_dma.c: axidma_dma_init: 706: DMA: Found 0 transmit channels and 0 receive channels.
axidma: axidma_dma.c: axidma_dma_init: 708: VDMA: Found 1 transmit channels and 1 receive channels.
Unhandled fault: page domain fault (0x01b) at 0xbeea3cb0
pgd = ef318000
[beea3cb0] *pgd=3de24831
Internal error: Oops - BUG: 1b [#1] PREEMPT SMP ARM
Modules linked in: axidma(O)
CPU: 0 PID: 720 Comm: vdma_test Tainted: G           O    4.9.0-xilinx #2
Hardware name: Xilinx Zynq Platform
task: ef1b8440 task.stack: ef174000
PC is at axidma_video_transfer+0xd4/0x194 [axidma]
LR is at 0x500
pc : []    lr : [<00000500>]    psr: 80000013
sp : ef175df8  ip : beea3cb0  fp : beea3c34
r10: 00000000  r9 : ef174000  r8 : 00000005
r7 : 002a3000  r6 : ef12ad80  r5 : 00000000  r4 : ef175e7c
r3 : 000002d0  r2 : 00000000  r1 : ef25aa80  r0 : ef12ad80
Flags: Nzcv  IRQs on  FIQs on  Mode SVC_32  ISA ARM  Segment none
Control: 18c5387d  Table: 2f31804a  DAC: 00000051
Process vdma_test (pid: 720, stack limit = 0xef174210)
Stack: (0xef175df8 to 0xef176000)
5de0:                                                       002a3000 60000013
5e00: ef31ada8 00000001 ef25aa80 00000000 00000000 00000000 00000000 00000000
5e20: 00000000 00000001 00000001 00000000 00000022 ef1b8440 00000000 00000500
5e40: 00000003 000002d0 00000005 beea3c14 ef12ad80 00000051 80185707 bf000dc0
5e60: 00000707 c0a08648 ef3c0200 00000000 00000000 ef25a780 ee9714d0 00000000
5e80: 00000001 beea3cb0 00000500 00000003 000002d0 c01b7998 ef3b21c4 ee978c40
5ea0: ee9714d0 c01b8b28 ee9714d0 00000707 040444fb c01b8bdc ee9714d0 040444fb
5ec0: ef0c6780 c01ba354 ed85e748 00000000 ef0c6780 00000000 00000000 002a3000
5ee0: 00002000 ef0c6780 beea3c14 ef3b20f0 80185707 c01ded20 40049409 c01df680
5f00: ef0c6780 00000001 002a3000 00000003 00000000 ee978c40 000002a3 c01ba754
5f20: 00000000 00000000 00000000 b68d9000 00000001 ee978c78 ef0c6780 00000003
5f40: 002a3000 00000000 ef174000 00000000 beea3c34 c01aa3e8 00000001 00000000
5f60: 00000000 ef175f6c 00000005 ef0c6780 ef0c6780 beea3c14 80185707 00000005
5f80: ef174000 00000000 beea3c34 c01df70c 00008964 00000000 000000d8 00000036
5fa0: c0106f64 c0106da0 00008964 00000000 00000005 80185707 beea3c14 beea3c14
5fc0: 00008964 00000000 000000d8 00000036 b6f65000 00000000 b6fc3000 beea3c34
5fe0: 00000000 beea3c00 b6f91cac b6ef1c1c 60000010 00000005 00000000 00000000
[] (axidma_video_transfer [axidma]) from [] (axidma_ioctl+0x804/0x9a0 [axidma])
[] (axidma_ioctl [axidma]) from [] (vfs_ioctl+0x18/0x34)
[] (vfs_ioctl) from [] (do_vfs_ioctl+0x838/0x88c)
[] (do_vfs_ioctl) from [] (SyS_ioctl+0x38/0x54)
[] (SyS_ioctl) from [] (ret_fast_syscall+0x0/0x3c)
Code: e1a00006 e58d7000 e1a02005 e59d1010 (e79c3105)
---[ end trace 94a751a56bb75147 ]---

Yeah, even if there's an issue with your app's memory, it shouldn't cause a segfault in the kernel. I've pushed something new, so can you pull and try again.
Also, can you post the output as a text file? It looks the formatting of it got messed up a bit.

hei , I tried again . I changed your axidma_transfer.c , use 'axidma_get_vdma_tx(axidma_dev)' function to change into vdma channel , It worked well to transfer file .
so i changed axidma_twoway_transfer into axidma_oneway_transfer ,the same issue comes .
and axidma_display.c also failed.
axidma_transfer.txt
axidma_transfer-dmsg.txt
vdma.txt
vdma-dmsg.txt

Huh, that's really odd. I don't think I've seen any error like that before. The segfault from your logs seems to be pointing to the crash happening in the driver's video transfer function. However, even after combing over the funcntion, I can't find any obvious place where it would segfault. It's eve more odd that the two way transfer works perfectly fine for you.
Just to confirm, you are on the latest version of the driver?

Hi Brandon,
I've just tried to use example axidma_display_image with a VDMA core and I get the same crash. Running the latest xilinx-linux on a ZC702 board.
crash.txt
(PS. Thank you for this project; it's a lifesaver.)

Oh got it, I think I might know what the issue is. I made a pretty simple mistake. In the IOCTL for AXIDMA_VIDEO_WRITE (and incidentally the read IOCTL as well), I'm not copying the array of frame buffers from user space to kernel space, which is a big no-no. What is likely happening is that memory happens to be paged out, which leads to the segfault. The reason chaging to void *frame_buffers works is because it's handle by the first coipy_from_user call in that IOCTL.
So, I need a second call to copy_from_user to copy the array of frame buffers. Let me make that change and then push it.

I can confirm that this issue is caused by not calling copy_from_user on the frame buffer array.
My dirty fix for this was:
--- a/driver/axidma_chrdev.c
+++ b/driver/axidma_chrdev.c
@@ -345,6 +345,7 @@
     struct axidma_inout_transaction inout_trans;
     struct axidma_video_transaction video_trans;
     struct axidma_chan chan_info;
+    void *framebuffers[32];

     // Coerce the arguement as a userspace pointer
     arg_ptr = (void __user *)arg;
@@ -452,16 +453,13 @@
                            "AXIDMA_DMA_VIDEO_READ.\n");
                 return -EFAULT;
             }
-
-            // Verify that we can access the array of frame buffers
-            size = video_trans.num_frame_buffers *
-                   sizeof(video_trans.frame_buffers[0]);
-            if (!axidma_access_ok(video_trans.frame_buffers, size, true)) {
-                axidma_err("Unable to copy frame buffer addresses from "
-                           "userspace for AXIDMA_DMA_VIDEO_WRITE.\n");
-                return -EFAULT;
-            }
-
+            if (copy_from_user(framebuffers, video_trans.frame_buffers,
+            		video_trans.num_frame_buffers * sizeof(void*)) != 0) {
+				axidma_err("Unable to copy framebuffer pointers from userspace for "
+						   "AXIDMA_DMA_VIDEO_READ.\n");
+				return -EFAULT;
+			}
+            video_trans.frame_buffers = framebuffers;
             rc = axidma_video_transfer(dev, &video_trans, AXIDMA_READ);
             break;```

There is a lot of room for improvement on this, however...

Cheers

P.S.: Thx for the nice piece of work. For simple interfacing with VDMA cores I however begin to think that the Xilinx driver makes it much much to complicated compared to the bare-metal way...

Hello Brandon,
first of all I would like to send you a huge THANK YOU for your great work!
I tried to get VDMA working for - believe it or not - months (!) now and I finally succeeded using your code, what a help!
I managed to get VDMA working on a Zynq Zybo 7010 board, running kernel xilinx 4.4.30 and ubuntu 16.04.
I modified the "image" size of axidma_benchmark a little and got the following data rates, I'm not yet sure if this is a good and plausible value for a PL clock of 150MHz.
./axidma_benchmark -v
AXI DMA Benchmark Parameters:
Transmit Buffer Size: 1.17 Mb
Receive Buffer Size: 1.17 Mb
Number of DMA Transfers: 1000 transfers
Using transmit channel 0 and receive channel 1.
Step #1
Single transfer test successfully completed!
Beginning performance analysis of the DMA engine.
DMA Timing Statistics:
Elapsed Time: 35.04 s
Transmit Throughput: 33.44 Mb/s
Receive Throughput: 33.44 Mb/s
Total Throughput: 66.88 Mb/s
Next step will be to use a custom IP as axi stream source, I will also give the axidma_transfer a try.
Please keep developing great software, your work is highly appreciated!
All the best from Munich, home of Oktoberfest  ;-)
J.

@tangxu00 and @elektrokokke the most recent commit should resolve this issue. Let me know if you guys encounter any additional issues.

@juergenmuc thanks, I appreciate it! Those numbers seem reasonable, though it's hard to say at a high-level glance. The smaller your transfer size, the less throughput you will see from the driver. This is because the system calls to initiate transfers have a relatively high overheard, so the larger the transfer, the more this cost will be amortized.


Throws error when a schema contains reference to external file

since opening schema allows added references to external files over HTTP with $ref the validator should allow loading schemes that use this feature.
currently the init function throws "TypeError: Cannot convert undefined or null to object" if the schema contains external references.
this can be solved by adding async init function that use "apiSchemaBuilder.buildSchema"
instead of "apiSchemaBuilder.buildSchemaSync"

fixed in  2e61a72 by adding initAsync


[Fix][UI-Next][V1.0.0-Alpha] Fix the notification strategy options display error in the set parameters before timing modal.

Purpose of the pull request
This pull request fixs the notification strategy options display error in the set parameters before timing modal.
Releated issues
close #9313

Codecov Report

Merging #9314 (d1d335b) into dev (c99b33a) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev    #9314      +/-   ##
============================================
- Coverage     39.98%   39.96%   -0.02%
+ Complexity     4375     4372       -3
============================================
  Files           822      822
  Lines         32921    32921
  Branches       3656     3656
============================================
- Hits          13163    13158       -5
- Misses        18528    18530       +2
- Partials       1230     1233       +3

Impacted Files
Coverage Δ

...er/master/dispatch/host/assign/RandomSelector.java
77.77% <0.00%> (-5.56%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
50.70% <0.00%> (-2.82%)
:arrow_down:

Continue to review full report at Codecov.

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


How to add more commands beyond mysisgit?

Is it possible to expand cmder to support commands like top, iftop, , perhaps by swapping mysysgit with something like cygwin or similar Linux tools library?
Love cmder, just wish it had more Linux commands :-D

Drop executables into the bin folder, it'll be injected into your PATH at runtime.
For cygwin, I've made a guide, check it out in the wiki.

Nice, I'll try this out


[Feature Request] Using Text Selected in the Active Note in the AQS Modal

Hello @tadashi-aikawa !!!!
My FR is about adding a new automation feature to the AQS Modal.
Would be amazing if we could consider the selected text in the active note as a input when execute an AQS Modal command.
My FR
The idea is simple, if something is selected in the active note, when executing an AQS Modal command, the content that is selected will be presented in the search-input field of the AQS modal
📸 Selected Text in Active Note

📸 AQS Modal Openned with the Search Input with the Selected Text

My Worklfow
I use a lot of tags in my YAML/frontmatter and an AQS Modal is the best way to open notes based on tags criteria.
This way, would be extremely fast to if an AQS modal could bring the selected #tag in the active note

Thanks for reading this !!!!! I hope you like my suggestion 🙏 🙏 🙏
Let me know if you need more information !!!
Have a great day 🌞

Hi, @FelipeRearden :)
It would be possible. However, let me set the status of this issue "gathering interest" for the following reasons🙏

There is an alternative solution (copy & paste)

It would be possible. However, let me set the status of this issue "gathering interest" for the following reasons🙏

Hello @tadashi-aikawa !!!!
100% understood. Thanks for considering this FR in a future release :)

There is an alternative solution (copy & paste)

If you allow me, I just wanna make a comment about copy & paste...
Many times, I use AQS to quick an open a different note in a new tab, paste something, close this different note and continue my workflow in the main note.
That why I am asking this FR .... many times I need to paste content from the active Note A in Note B and I want to use the selection in Note A to trigger the AQS modal to open Note B in a new tab and paste the content in the clipboard.

@FelipeRearden
I see. I usually use a clipboard manager, so I overlooked that. I'll try implementing it 👍

I see. I usually use a clipboard manager, so I overlooked that. I'll try implementing it 👍

Thank you very much for trying to implement this feature @tadashi-aikawa !!!!!!! 🙏

@FelipeRearden
Fix in v8.11.0 🚀

@tadashi-aikawa
Hi，I think this function is pretty cool. It seems to only take effect in edit mode now. Can you consider enabling this function in preview mode as well?
Best regards.

@FelipeRearden
Fix in v8.11.0 🚀

Thank you very much @tadashi-aikawa !!!!!
Working perfect on Obsidian Mobile version 1.4.6 :)
Thank you very much @tadashi-aikawa for this feature ☀

It seems to only take effect in edit mode now. Can you consider enabling this function in preview mode as well?

@tyf2018
O.K. I'll try it in the next release 👍

@FelipeRearden
I have released v8.12.0, and the release version has a small breaking change. Please check it 🙏

@FelipeRearden
I have released v8.12.0, and the release version has a small breaking change. Please check it 🙏

Hello @tadashi-aikawa !!!!!
Working perfect on version v8.12.0 on Obsidian Mobile 1.4.6 !!!!
Both status false and true are working perfect !!!!
I just wanna say thank you for the way that you handle this issue ☀ now everybody is happy 🎉
I wish you a fantastic day @tadashi-aikawa !!!!!!!


Now it shows another bug

I am from India and this player should show local mp3 in PC instead of google play music website as in mobile app

This is out of my control.  There are other issues on this repo explaining why


After uploading the image, the front end cannot be displayed

After uploading the image, the front end cannot be displayed
url path: access_file/8/3/Finding
webpage display : A server error occurred.  Please contact the administrator.
errors：
[31/Oct/2022 07:24:34] DEBUG [django.db.backends:123] (0.001) SELECT "dojo_fileupload"."id", "dojo_fileupload"."title", "dojo_fileupload"."file" FROM "dojo_fileupload" WHERE "dojo_fileupload"."id" = 8 LIMIT 21; args=(8,)
/opt/dojo/django-DefectDojo/media
/media/
/opt/dojo/django-DefectDojo/media/uploaded_files/3090056f-70be-48b1-8ff1-7cbff798b00b.png
2
Traceback (most recent call last):
File "/usr/lib/python3.8/wsgiref/handlers.py", line 138, in run
self.finish_response()
File "/usr/lib/python3.8/wsgiref/handlers.py", line 184, in finish_response
self.write(data)
File "/usr/lib/python3.8/wsgiref/handlers.py", line 279, in write
assert type(data) is bytes,
AssertionError: write() argument must be a bytes instance
[31/Oct/2022 07:24:34] ERROR [django.server:161] "GET /access_file/8/3/Finding HTTP/1.1" 500 59
solv
edit  /opt/dojo/django-DefectDojo/dojo/view.py

origin:

return FileResponse(open(redirect_url))

edited:

return FileResponse(open(redirect_url, 'rb'))

Can you submit a pull request along the suggested lines?

already fixed in v2.31.0
Can you close this @mtesauro ?


Invalid auth/bad request (got a 502, expected HTTP/1.1 20X or a redirect)

Context:
PHP version: 7.2.21
Using updated library version as of December 11th 2019.
I have tested my app with sandbox info and it was working as expected. When I changed to production keys I was still able to authenticate successfully. The problem comes when I try to execute a report for a user. I am also not using a sandbox account for testing production keys so that's not my issue.
Here's a look at my code being used. $report ends up being set to null and this is the error I get "Invalid auth/bad request (got a 502, expected HTTP/1.1 20X or a redirect)". I have made sure ClientID, ClientSecret, accessTokenKey, and QBORealmID are all matching the correct values. start and end date are formatted properly. In this case they are 2019-12-09 and 2019-12-12.
$report_type = 'ProfitAndLoss'
`$dataService = DataService::Configure(array(
'auth_mode' => 'oauth2',
'ClientID' => $qbo_prod_client_id,
'ClientSecret' => $qbo_prod_client_secret,
'accessTokenKey' => $token,
'QBORealmID' => $company_id,
'baseUrl' => "https://api.intuit.com"
));
$serviceContext = $dataService->getServiceContext();

$reportService = new ReportService($serviceContext);
if (!empty($reportService)) {
    $reportService->setStartDate($start_date);
    $reportService->setEndDate($end_date);
    //$reportService->setAccountingMethod("Accrual");
    $reportService->setSummarizeColumnBy($summarize_by);

    $report = $reportService->executeReport($report_type);
  }

@derekjosepholson your baseUrl seems incorrect for me.
can you try:
'baseUrl' => "Production"


Upgrade(container kill): upgrading pumba to 0.6.5 in all container kill experiment

Signed-off-by: Raj<EMAIL_ADDRESS>
What this PR does / why we need it:
upgrading pumba to 0.6.5 in all container kill experiment
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
https://github.com/litmuschaos/litmus/issues/1407
Checklist

[ ] Does this PR have a corresponding GitHub issue?
[ ] Have you included relevant README for the chaoslib/experiment with details?
[ ] Have you added debug messages where necessary?
[ ] Have you added task comments where necessary?
[ ] Have you tested the changes for possible failure conditions?
[ ] Have you provided the positive & negative test logs for the litmusbook execution?
[ ] Does the litmusbook ensure idempotency of cluster state?, i.e., is cluster restored to original state?
[ ] Have you used non-shell/command modules for Kubernetes tasks?
[ ] Have you (jinja) templatized custom scripts that is run by the litmusbook, if any?
[ ] Have you (jinja) templatized Kubernetes deployment manifests used by the litmusbook, if any?
[ ] Have you reused/created util functions instead of repeating tasks in the litmusbook?
[ ] Do the artifacts follow the appropriate directory structure?
[ ] Have you isolated storage (eg: OpenEBS) specific implementations, checks?
[ ] Have you isolated platform (eg: baremetal kubeadm/openshift/aws/gcloud) specific implementations, checks?
[ ] Are the ansible facts well defined? Is the scope explicitly set for playbook & included utils?
[ ] Have you ensured minimum/careful usage of shell utilities (awk, grep, sed, cut, xargs etc.,)?
[ ] Can the limtusbook be executed both from within & outside a container (configurable paths, no hardcode)?
[ ] Can you suggest the minimal resource requirements for the litmusbook execution?
[ ] Does the litmusbook job artifact carry comments/default options/range for the ENV tunables?
[ ] Has the litmusbooks been linted?

Special notes for your reviewer:

Generic container kill log-- containerkill.txt
As all the other experiment using the same chaos lib. Need not to test it for rest of the exps


Update setup.md

Small fix in the setup documentation. I was just installing the plugin and I had an issue similar to this: https://github.com/K-Phoen/backstage-plugin-announcements/issues/76. This change was what made it work for me.

Good catch, thanks for the PR!


OPNsense\Base\BaseModel->runMigrations() failed -  Option not in list when "lan" interface is missing

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
Ok, I'm back with another issue that probably no-one else hits. 🤣  Found on a box which does not have "lan" (I mean the identifier) interface.
OPNsense\Base\BaseModel->runMigrations() fails with Option not in list.{lan} error when the "lan" interface is missing from configuration. See logs below.
To Reproduce
Steps to reproduce the behavior:

Remove assignment of the interface with lan identifier from your firewall.
Install a plugin which uses lan as default interface, e.g. os-mdns-repeater
See error

Expected behavior
No errors.
Relevant log files
<147>1 2023-12-16T12:43:09+01:00 gw.example.com config 13884 - [meta sequenceId="1"] [OPNsense\MDNSRepeater\MDNSRepeater:interfaces] Option not in list.{lan}
<147>1 2023-12-16T12:43:09+01:00 gw.example.com config 13884 - [meta sequenceId="2"] Model OPNsense\MDNSRepeater\MDNSRepeater can't be saved, skip ( OPNsense\Phalcon\Filter\Validation\Exception: [OPNsense\MDNSRepeater\MDNSRepeater:interfaces] Option not in list.{lan}
<147>1 2023-12-16T12:43:09+01:00 gw.example.com config 13884 - [meta sequenceId="3"]  in /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php:602
<147>1 2023-12-16T12:43:09+01:00 gw.example.com config 13884 - [meta sequenceId="4"] Stack trace:
<147>1 2023-12-16T12:43:09+01:00 gw.example.com config 13884 - [meta sequenceId="5"] #0 /usr/local/opnsense/mvc/app/models/OPNsense/Base/BaseModel.php(727): OPNsense\Base\BaseModel->serializeToConfig()
<147>1 2023-12-16T12:43:09+01:00 gw.example.com config 13884 - [meta sequenceId="6"] opnsense/core#1 /usr/local/opnsense/mvc/script/run_migrations.php(54): OPNsense\Base\BaseModel->runMigrations()
<147>1 2023-12-16T12:43:09+01:00 gw.example.com config 13884 - [meta sequenceId="7"] opnsense/core#2 {main} )
<45>1 2023-12-16T12:43:16+01:00 gw.example.com syslog-ng 27514 - [meta sequenceId="1"] Configuration reload request received, reloading configuration;
<45>1 2023-12-16T12:43:16+01:00 gw.example.com syslog-ng 27514 - [meta sequenceId="2"] Configuration reload finished;
<13>1 2023-12-16T12:43:19+01:00 gw.example.com configctl 29520 - [meta sequenceId="3"] event @<PHONE_NUMBER>.31 msg: Dec 16 12:43:19 gw.example.com config[63134]: config-event: new_config /conf/backup/config-1702726999.1285.xml
<13>1 2023-12-16T12:43:19+01:00 gw.example.com configctl 29520 - [meta sequenceId="4"] event @<PHONE_NUMBER>.31 exec: system event config_changed

Screenshots

Environment
Software version used and hardware type if relevant, e.g.:
OPNsense 23.7.10_1 (amd64).

BTW the error is gone once you save the plug-in’s settings once from the GUI successfully.

Yes. I just did not want to do that since I suspect it will become impossible to reproduce after that.
Did run a quick grep  to find other potential cases:
# grep -Rni "<Default>lan</Default>" /usr/local/opnsense/mvc/
/usr/local/opnsense/mvc/app/models/OPNsense/UDPBroadcastRelay/UDPBroadcastRelay.xml:12:            <default>lan</default>
/usr/local/opnsense/mvc/app/models/OPNsense/iperf/FakeInstance.xml:6:      <default>lan</default>
/usr/local/opnsense/mvc/app/models/OPNsense/CaptivePortal/CaptivePortal.xml:21:                    <Default>lan</Default>
/usr/local/opnsense/mvc/app/models/OPNsense/MDNSRepeater/MDNSRepeater.xml:15:      <Default>lan</Default>

Maybe we should opt for making interface selection optional, but only when “enable” checkbox is not set?

Considering this feature requires at least two interfaces to work, I wonder whether the default makes any sense whatsoever.

FWIW it needs something like this:
https://github.com/opnsense/core/commit/1aa584884
PRs are welcome


dyld: Library not loaded: @rpath/Alamofire.framework/Alamofire

[x] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

What did you do?
I am using iOS 13.4 and Xcode 11.4.1 with enterprise appleId paid.
I created a custom framework which has CocoPods dependency and Pods has Alamofire as dependency. When i launch the app I get the error.
What did you expect to happen?
expected smooth launch of the application where I can use Alamofire in my framework
What happened instead?
App Crashed
Alamofire Environment
Alamofire version 4.0
Xcode version: 11.4.1
Swift version: 5.0
Platform(s) running Alamofire: iOS
macOS version running Xcode: 10.15.2
Demo Project
ℹhttps://github.com/sreexamus/SampleFrameWork
as this is my personal i did not used the enterprise appleId. but in my office MacBook i used the paid apple id.

Your project is misconfigured. CocoaPods needs to be aware of your app target to properly integrate everything. Adding this to your Podfile fixed it for me:
target 'TestApplication' do
   use_frameworks!
end


Add note to advise that 'Third-party application access via OAuth' policy setting must be enabled

An Organisation Administrator (or Project Collection Administrator) needs to ensure that the setting 'Third-party application access via OAuth' is enabled  (found under 'Organisation Setting | Policies').
Seealso : https://docs.microsoft.com/en-gb/azure/devops/organizations/accounts/change-application-access-policies?view=azure-devops&viewFallbackFrom=vsts

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

ID: 12fa9a24-2575-3fa4-ffab-cafaeab496c1
Version Independent ID: bbb99ead-eecc-222a-bc16-7509be5e8ec9
Content: Managing source repository connections - Visual Studio App Center
Content Source: docs/build/connect.md
Service: vs-appcenter
GitHub Login: @siminapasat
Microsoft Alias: siminap

Hi Rohan, it was my pleasure supporting you on this matter. I’ll see if I can put something on the doc. Thanks for your feedback.

Hi Rohan, it was my pleasure supporting you on this matter. I’ll see if I can put something on the doc. Thanks for your feedback.


The Loading Screen On The 0.6.2

What is your question?
It's Possible To Add The Loading Screen On The 0.6.2? I Want For Something

What is your question?
It's Possible To Add The Loading Screen On The 0.6.2?
It's Possible To Add The Loading Screen On The 0.6.2?
It's Possible To Add The Loading Screen On The 0.6.2?

What is your question?
It's Possible To Add The Loading Screen On The 0.6.2?

What is your question?
It's Possible To Add The Loading Screen On The 0.6.2?

It's Work. Thank You. How You Did Know This? I Saw, You Need To Add Cache.hx And The Edit On The Main.hx TitleState ---> Cache Before?

What is your question?
It's Possible To Add The Loading Screen On The 0.6.2?

It's Work. Thank You. How You Did Know This? I Saw, You Need To Add Cache.hx And The Edit On The Main.hx TitleState ---> Cache Before?

not needed

Dude, You Are Insane. I Can Now Close The Issue. It's Working Fine:

If You Don't Like The AndroidBuild, It's Fine. I Just Don't Have The PC :(

Dude, You Are Insane. I Can Now Close The Issue. It's Working Fine:  If You Don't Like The AndroidBuild, It's Fine. I Just Don't Have The PC :(

no android builds fine

Dude, You Are Insane. I Can Now Close The Issue. It's Working Fine:  If You Don't Like The AndroidBuild, It's Fine. I Just Don't Have The PC :(

no android builds fine

:) Here. I Will Give You Cookie 🍪

Dude, You Are Insane. I Can Now Close The Issue. It's Working Fine:  If You Don't Like The AndroidBuild, It's Fine. I Just Don't Have The PC :(

no android builds fine

:) Here. I Will Give You Cookie 🍪

thanks :D


Can't launch the mod

Hey, i'm using the fabric 1.20.1 version of the mod on a client side only modpack that does not contain Create mod. But when i'm launching MC, fabric warn me that i need Create to run the Vivecraft Compat mod...
I just want to use it with journeymap and jade

The fabric version only has the create patches, you have to use Forge for the overlay system.


[Dep] Update rector version to ^0.12.7

So only update when there is new version.

All checks have passed 🎉 @TomasVotruba I think it is ready.

Thank you


Caption hiccup with shared timing?

Is it verboten to have a caption file with an 'end' time equal to the next phrase's 'start' time?
e.g.:
"captionA":[
{"content":"phrase1", "start":0, "end":1000},
{"content":"phrase2", "start":1000, "end":2000}
]
I was making them equal like that for expediency (laziness), but it seems that the caption player can hiccup if the update gets called with a time that matches that shared time. I believe it has to do with the < vs. <= comparisons in the updateState():
https://github.com/SpringRoll/SpringRoll/blob/a3ebd6397a7a0f2021733284a67832301ea9f813/src/localization/captions/Caption.js#L72
It's fine if the answer is to make sure they aren't equal; in all of the examples in the README the end values are not the same as the subsequent start values, but there wasn't a note explicitly requiring them to be different, so I wasn't sure if this was bug or feature.

Hmm, this isn't explicitly intended behavior, but I'm not sure whether we should fix this or not. When I was writing captions at CloudKid, I used the CBC's guide on captions, which said that you should have a gap between caption lines, just to give the eyes and brain a better cue that the text changed.

I agree @andrewstart that the values shouldn't match up. I still think we should handle this case anyways, even if it's a validation pass up front to prevent matching end and start times.

My preference was always to have gapless captions if breaking a single line (especially a single sentence or thought) into multiple sections of captioning. I find gaps in the middle of a thought jarring. Also, I don't see anything about leaving a gap between segments of a caption in the CBC caption style guide.
SpringRoll Studio's caption creator assigns equal end and start times to two lines dragged to butt up against each other (and does not allow start times before end times of preceding lines). Most of my SpringRoll 1 games have used caption timing like that. These values represent moments in time: the value 1000 should represent either the start or end of the 1000th millisecond of a piece of audio, not the entirety of the time between 1000 and 1001ms. If one caption ends at a specific time and another starts at that same time, that should be valid.

http://bbc.github.io/subtitle-guidelines/#Gaps

We're jumping on this right now. Here's where we landed: We're going to allow equal end and start times but I agree with @andrewstart that there are editorial/usability reasons for not having abutting captions. However, I believe the library's concern here would not be to enforce that policy.
In short, @902seanryan or I will update here when the PR is up.

This will be resolved by PR #235. I'll update once that's merged to master and released (as 2.0.3) to NPM.

Should be resolved now


Failed to fetch but Response Code 200

Expected Behavior
To get the Response Body
Actual Behavior
No Response Body
Reproduction Steps
No response
Is there an existing issue for this?

[X] I have searched the issue tracker for this problem.

Additional Information
Insomnia (not working)

Postman (working)

Test yourself: https://codefirstrestapi-docker.azurewebsites.net/index.html POST: api/auth
Insomnia Version
2022.4.2.
What operating system are you using?
Windows
Operating System Version
Windows 10
Installation method
download windows installer Insomnia.Core-2022.4.2.exe
Last Known Working Insomnia version
2022.4.2.

Hi @ericbrunner, thanks for reporting this!
I wasn't able to reproduce this by calling the request using latest insomnia (same version as the one you use):

Can you share more details of the failure, and perhaps share the contents of the Timeline:

Hi @filfreire
My screenshot looks totally different. I Imported the swagger.json

@ericbrunner I see, seems it's some problem with the Swagger preview part, I missed that from when I first looked at the issue.
Would you mind sharing that example swagger file here where you are able to reproduce this?

https://codefirstrestapi-docker.azurewebsites.net/swagger/v1/swagger.json

@ericbrunner I found out the issue, you were missing the servers part in your spec, which meant that the curl when being sent from that document preview had an incomplete URL (not pointing to any server).
Once I added:
"servers": [
    {
      "url": "https://codefirstrestapi-docker.azurewebsites.net"
    }
  ]

to the specification, I was able to reach your server and get responses back in the preview from the server:

I'm going to go ahead and mark this issue as closed, but let me know if this helped. Feel free to report any other issues or improvements you come across.

Ok. I just wanted to help. When doing the same Api Import from swagger url in Postman it worked.


Handle graceful shutdowns and allow persistent config overrides.

Allow deployers to provide persistent configuration overrides per node, and provide a mechanism to gracefully reload Shaken Fist when the configuration changes.

Doh. Wrong target branch yet again.


MINOR: AbstractIndex.close should unmap

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@lindong28 @junrao Is there a reason why we don't do this?

@ijuma Thanks for fixing this. LGTM.
AbstractIndex.closeHandler was added in the JBOD KIP-112. In case a disk is considered faulty due to IOException, we can not call close() because close() does IO operation on the disk. In order to unmount the fault disk without shutting down the broker, we need to unmap the reference to all files on the disk by calling closeHandler(). Given the motivation of adding closeHandler(), we can see that its motivation is separate from the usage of close(), which means that we do not need to change the implementation of close() assuming our Kafka server implementation is already working well in the non-JBOD mode. This is why we didn't do this previously.
If I understand it right, it is still safe not to close handler in close(). But it is more elegant and intuitive to call closeHandler() in close().

@lindong28, my claim is that close should have been updated when we added the unmap call to deleteIfExists. To make this more obvious, I have updated deleteIfExists to call closeHandler as well and moved the comment previously existing there to closeHandler.

@ijuma Yeah I certainly agree with your observation and the updated code is better.

Thanks @lindong28. I'll wait for @junrao to confirm before merging.


Add FastBoot support

Currently it'll always try to app.import the Raven JS library, even in FastBoot (server side).
This results in the below error for every request:
Error: Raven has already been configured

We should wrap the app.import with a check for process.env.EMBER_CLI_FASTBOOT in index.js:
    try {
      var stats = fs.statSync(app.bowerDirectory + '/raven-js/dist/raven.js');
      if (!stats.errno && !process.env.EMBER_CLI_FASTBOOT) {
        app.import(app.bowerDirectory + '/raven-js/dist/raven.js');
      }
    } catch (e) {
      console.log('ember-cli-sentry will not be loaded from bower installation');
    }

I'll probably end up tackling this within the next week or so, but just in case someone gets here first.  The above fix is no longer recommended and will not work in fastboot rc.1.  New method here: https://gist.github.com/kratiahuja/d22de0fb1660cf0ef58f07a6bcbf1a1c#using-processenvember_cli_fastboot-to-run-import-in-browser-build

Any news on this front? Are none of the 3 PRs applicable since fastboot rc.1?

I haven't had a chance to in our app yet, but the problem is that most fastboot fixes just skip it when in fastboot, in this case I think we actually want to use it in fastboot and client side - but it requires some changes to how events are sent to sentry.  More info is here: https://github.com/getsentry/raven-node/issues/303

FYI process.env.EMBER_CLI_FASTBOOT is no longer the right way to check for fastboot. The recommended way to check now is if (typeof FastBoot === 'undefined')

With the recent changes of Sentry packages management (addition of scoped packages), I wonder if this issue could be solved more easily than what could be done a year ago.

Hi. What's the state of FastBoot support?

@viniciussbs doesn't exist

@Turbo87 Can you tell if the app crashes on FastBoot land or it just does not report the errors?

We're working around this using fastboot-app-server by setting up a Node Sentry client in our Express server.js file and exposing it to the FastBoot environment via as FastBootSentry via sandboxGlobals. We then have an Ember.onerror handler set up via an instance-initializer that uses the passed instance.
It's not ideal, since we aren't able to use most Sentry's built-in tooling to extract metadata from the request, but at least these errors aren't just silently being logged and forgotten.
In server.js
const FastBootAppServer = require('fastboot-app-server');
const serverOptions = { <whatever options the FB app server needs> }

if (process.env.SENTRY_DSN) {
  Sentry = require('@sentry/node');
  Sentry.init({ dsn: process.env.SENTRY_DSN });
  serverOptions.sandboxGlobals = { FastBootRaven: Sentry };
}

const server = new FastBootAppServer(serverOptions);
server.start();

Instance initializer in the Ember app:
/* Sets up Ember's global error handler in FastBoot to use a Raven instance
  * provided in our fastboot-server via the Fastboot sandbox.
  */
 export default {
   name: 'app-error-handler',

    initialize(appInstance) {
     let oldOnError;

     if (Ember.onerror === 'undefined' && typeof FastBoot !== 'undefined') {
       /* This replicates the default logging Ember.onerror implementation
        * included with FastBoot, since that implementation isn't installed
        * when any existing Ember.onerror has been set.
        */
       oldOnError = function(err) {
         const errorMessage = `There was an error running your app in fastboot. More info about the error: \n ${err.stack || err}`;
         console.error(errorMessage);
       };
     } else {
       oldOnError = Ember.onerror; // eslint-disable-line ember-suave/no-direct-property-access
     }

      Ember.onerror = (error) => {
       if (typeof FastBootRaven !== 'undefined') {
         const fastboot = appInstance.lookup('service:fastboot');
         const req = fastboot.request;
         const { protocol, headers } = req;
         const host = req.hostname || req.host || headers.host || '<no host>';
         const originalUrl = (req.originalUrl || req.url || req.path);
         const absoluteUrl = `${protocol}://${host}${originalUrl}`;

          FastBootRaven.withScope(function(scope) {
           scope.setTag('url', absoluteUrl);
           scope.setExtra('query_params', req.query_params);
           FastBootRaven.captureException(error);
         });
       }
       if (typeof(oldOnError) === 'function') { oldOnError.call(Ember, error); }
     };
   },
 };

For some reason Ember.onerror does not work at fastboot requests anymore. I did something different.
Using ember 3.15 with octane.
Configured an error route, Ember automatically handles errors using this route:
# app/routes/error.js
import BaseRoute from 'duality/routes/base';
import { inject as service } from '@ember/service';

export default class RootRoute extends BaseRoute {
  @service('core/error-handler') coreErrorHandlerService;

  // setupController function receives the error exception as a parameter
  setupController(_controller, error) {
    this.coreErrorHandlerService.handleServerSideError(error);

    super.setupController(...arguments);
  }

}

# app/templates/error.hbs

PUT HERE A NICE HTML THAT WILL SHOW TO USER IN CASE OF ERRORS

A service to handle errors:
import Service from '@ember/service';
import { inject as service } from '@ember/service';

export default class CoreErrorHandlerService extends Service {
  @service('fastboot') fastboot;

  handleServerSideError(error) {
    if (!this.fastboot.isFastBoot) return;

    if (typeof FastBootRaven !== 'undefined') {
      const req = fastboot.request;
      const { protocol, headers } = req;
      const host = req.hostname || req.host || headers.host || '<no host>';
      const originalUrl = (req.originalUrl || req.url || req.path);
      const absoluteUrl = `${protocol}://${host}${originalUrl}`;
      // const userScope = this.userScope; // If you have a user scope you can get from service property here

      FastBootRaven.withScope(function(scope) {
        scope.setTag('url', absoluteUrl);
        scope.setExtra('query_params', req.query_params);
        // scope.setUser(userScope);

        FastBootRaven.captureException(error);
      });
    }
  }

And of course, Ive setted my server.js like @reidabs example.


Support batch import and export of addresses with one password

Neoline has different passwords for different addresses, it's very inconvenient for address management and back up. Now many old users have multi addresses in one extension wallet, they want to export them all in one wallet with only one password as back-up. New users will also meet this issue when importing multi addresses from cli to neoline. I suggest supporting batch import and export, but have to consider about the compatibility.

@superboyiii I agree with this. We've discussed this issue in the past, see #114. There's something we have to be very careful about the compatibility. Please be patient with us.


Allow support to export request as curl.

Is your feature request related to a problem? Please describe.
Currently if I want to trigger the graphql call separately for a query, I have to go to network tab, copy curl and then use it separately.
Describe the solution you'd like
If an option to export as curl is available, it would make life easier.
Describe alternatives you've considered
I go through every request in the network tab to match the query name, then copy the curl there.
Additional context
Add any other context or screenshots about the feature request here.

Sounds like a nice feature. You can also export queries by clicking "export / share". This may solve your issue in the meantime.


[stable/nginx-ingress] Bump version nginx to 0.25.1

Signed-off-by: Victor Login<EMAIL_ADDRESS>
What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

@taharah  @ChiefAlexander

This is a duplicate of https://github.com/helm/charts/pull/16336


Use hash of Segment IDs instead of a list of explicit segments in auto compaction

Description
Currently when the coordinator issues a compaction task in auto compaction, it specifies a list of segments to compact explicitly. The list of segments is used to validate the given segments are still the most recent segments in compaction task.
This could lead to a very large compaction task spec which could be larger than the max znode size of ZooKeeper. To avoid this problem, auto compaction supports a configuration of maxNumSegmentsToCompact which limits the number of segments to compact together at the same time. However, with this way, the auto compaction has a limitation that it cannot compact an interval if there are too many segments.
This PR is to avoid this issue by using a hash of segment IDs instead of the list of segments for validating input segments. The below changes are also included.
New IOConfig for compaction task
Compaction task now requires an ioConfig. You can set inputSpec in the ioConfig. An example ioConfig is:
  "ioConfig" : {
    "type": "compact",
    "inputSpec": {
      "type": "interval",
      "interval": "2017-01-01/2018-01-01"
    }
  }

There are two types of inputSpecs, i.e., interval and segments, for now.
    "inputSpec": {
      "type": "interval",
      "interval": "2017-01-01/2018-01-01"
    }

    "inputSpec": {
      "type": "segments",
      "segments": ["segmentId1", "segmentId2", ...]
    }

Using interval inputSpec for auto compaction
Auto compaction used to specify all segments to compact explicitly in the compaction task spec. Now it always uses the interval inputSpec instead. maxNumSegmentsToCompact was dropped as well.

This PR has:

[x] been self-reviewed.
[x] added documentation for new or modified features or behaviors.
[x] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[x] added unit tests or modified existing tests to cover new code paths.
[x] been tested in a test Druid cluster.

@ccaominh thank you for the review! Addressed most of them and left some questions.


Rounded Corners Pull Request

I've written a custom output class to generate rounded corners, like this:

It works fine for my use case, but would you be interested in a pull request? If you are then I'll clean it up, write some tests, etc.
Also it currently only outputs to SVG. Which is all I need myself, I wouldn't want to write the code to do rounded corners as a bitmap...

Wow! That looks great! A PR would be much appreciated! I'll see if it can be at least implemented in the ImageMagick output, GD seems too clunky to draw round corners anyway...

@abhibeckert thanks for sharing your experience, if PR needs a lot of cleaning and tests ...  can you share the snippet which creates the rounded corners here?

So the main challenge I had is SVG doesn't seem to handle shapes that touch each other - it tends to draw hairline cracks in between. I wasn't able to completely eliminate the issue but I was able to get pretty close by overlapping shapes... which is mostly where the code became messy as I was it was largely trial end error with minimal planning.
Here's my test code: https://gist.github.com/abhibeckert/2bfb6a884c7fdd3194af86bd28ef9c10
I will clean it up some time soon as I plan to use it in production.

The hairlines happen when the modules are not in the same <path d> element - see #57 - or in your case it's probably the individual <use> elements.

Thanks for sharing your code, it is really helpful.

Oh, i forgot to mention that I've added some isset() in QRMatrix to make several sanitiy checks obsolete, among other things.
Check out the latest version:
composer require chillerlan/php-qrcode:dev-main#cde2af576b6b829b1a30e3042eba488c90d94478

This is it:
$bits  = $this->checkNeighbours($x, $y, $M_TYPE);
$check = fn(int $all, int $any):bool => ($bits & ($all | (~$any & 0xff))) === $all;

// 1 2 3
// 8 # 4
// 7 6 5

// checking if a rounded corner on 1 (top left) only is valid
// for this, the right (4) and bottom edge (6) must have neighbours, top (2) and left (8) must not
// neighbours on the corners (1,3,5,7) are optional
// $bits = 0b00101101
$check(0b00101000, 0b01010101); // -> true

Ok, so i have implemented the thing, code over here. Turns out it is surprisingly tricky to recreate the effect in an ImageMagick raster image as there seems no easy way to just draw a path and fill it with a color. However, it always possible to convert the SVG to a raster image via the Inkscape command line interface.
The result looks something like this:

I have also added an option to inverse the effect, so that it "flows" along the dark modules:

@codemasher there's a bug in your example code.
Specifically this line:
if($this->options->connectPaths && $this->matrix->checkTypeNotIn($x, $y, $this->options->excludeFromConnect)){

Fails because checkTypeNotIn doesn't exist. It needs to be checkTypeIn (and obviously add a ! operator).

@codemasher the example doesnt seem to be working with latest version.

@kusiu it works fine with 5.0-beta or the dev-main branch, it won't work with v4.3.x.

@codemasher I've added one more tweak:
.dark {stroke: url(#grad); stroke-width: 0.01;}

(replace the gradient with a solid color, if that's what you're using... I normally use a subtle gradient)
The extra stroke fixes the edge issues in this example (note this issue only occurs with some SVG renderers):

The slightly fatter dark blocks result in this:

Hey, thank you for the feedback! I'll check out adding a stroke, but so far i haven't run into the render issue again.
Could you please post the raw SVG of both examples - I'm curious what causes the hairlines in the first one.

Tried the example (examples/svgMeltedModules.php) but it doesn't seem working well. I tried with version 5.0-beta, 5.0.0, and above. Anyways I just copy paste the code. And here is the result

I think this is only working with dev-main currently.

@YeftaAW how so? Please open a new discussion for your issue.


DOM Manipulation

Can someone elaborate on this comment in the Explore component:
https://github.com/rackt/redux/blob/master/examples/real-world/components/Explore.js#L23-L25

// Generally mutating DOM is a bad idea in React components,
// but doing this for a single uncontrolled field is less fuss
// than making it controlled and maintaining a state for it.
this.refs.input.value = val

I'm somewhat new to react and redux and I'm just trying to understand why you chose not to use setState in this particular case.

We also want to react to changes in routing (e.g. as result of back button) so we would have to implement componentWillReceiveProps too. In fact this is how we had it in the beginning but people were confused by the example and started using componentWillReceiveProps and setState in their own code for every connected component because they thought this is necessary for connecting components to Redux. To eliminate confusion we just don’t show this pattern anymore :-)

@gaearon
It makes me nervous when I see comments in code which basically say something along the lines of "You probably shouldn't do this.". I think the React docs also state something similar regarding using refs in this way.

To eliminate confusion we just don’t show this pattern anymore :-)

Well, almost... :confused:

We also want to react to changes in routing (e.g. as result of back button) so we would have to implement componentWillReceiveProps too.

But you did implement componentWillReceiveProps: here
If setState was used (making the input a controlled input) wouldn't you actually be writing less code because the setInputValue and getInputValue methods would be replaced by a handleChange method? i.e.
handleChange(e) {
  this.setState(value: e.target.value)
}

In fact this is how we had it in the beginning but people were confused by the example and started using componentWillReceiveProps and setState in their own code for every connected component because they thought this is necessary for connecting components to Redux.

So why not just add a comment which documents this in the componentWillReceiveProps method? Maybe even provide link to a discussion on Github which would elaborate further if necessary.

I should also state that I too was confused when I saw a redux component using setState. I thought that with redux state should only be set using actions. After some searching around I came across several Redit posts which explained this:

Using setState with Redux
When using redux, when should react components use this.setState (or should they not)?

The answers found there might be helpful to put in front of new comers to redux.  It seems to me it's inevitable they will find an example somewhere that uses setState.

Wanna send a PR with setState() and better comments?

On 30 Jan 2016, at 16:38, Mark Murphy<EMAIL_ADDRESS>wrote:
I should also state that I too was confused when I saw a redux component using setState. I thought that with redux state should only be set using actions. After some searching around I came across several Redit posts which explained this:
Using setState with Redux
When using redux, when should react components use this.setState (or should they not)?
The answers found there might be helpful to put in front of new comers to redux. It seems to me it's inevitable they will find an example somewhere that uses setState.
—
Reply to this email directly or view it on GitHub.


fix: remove artifact-registry

This PR removes artifact-registry step from the pipeline as we don't need Docker containers with add-on builds in the ghcr.io. It is not used in the infra anywhere. Also clean up README.md.
Test run: https://github.com/splunk/splunk-add-on-for-mysql/actions/runs/7669490177

I think in existing @ajanus-splunk compatibility pipeline TA build is being downloaded from artifacts related with given workflow execution. Worth confirming and taking under consideration when designing new solution

I don't think we are breaking this contract, artifact-registry uploads to GitHub Registry, not as workflow's artifact.

I think we could also remove images/artifacts_all.png file and images/modinput/ directory.

I think we could also remove images/artifacts_all.png file and images/modinput/ directory.

Let's do!

:tada: This PR is included in version 4.16.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Update the error message format for Ruby 3.4

Ruby 3.4 will use a single quote instead of a backtick for a open quote.
https://bugs.ruby-lang.org/issues/16495
This is a draft PR because I don't know how to make the error message change between Ruby versions.

FYI: I have already committed a minimal patch directly to ruby/ruby to make the CI pass. Because this spec change has a large impact, more new failures may increase while waiting for your review, so I merged it in advance. I hope you understand.

I would crease a new diagnostic for each of these and check the option in the parser before adding the diagnostic. That way diagnostic.c doesn't need to know about options.

@kddnewton Wouldn't it be simpler to always use ' in Prism?
Those messages only started to use backticks in https://github.com/ruby/prism/pull/2397 3 days ago.

@kddnewton Can I leave it to you? It makes sense that a good design of version-dependent message format is preferable. It would be difficult for me to design it well as I am not familiar with Prism. I am not particular about my ad-hoc patch.

@mame absolutely! Happy to take over

Thank you @mame for the PR! I've taken over in this one: https://github.com/ruby/prism/pull/2479


About replace to increment "\ n"

Version: 1.55.1 (system setup)
Commit: 08a217c4d27a02a5bcde898fd7981bda5b49391b
Date: 2021-04-07T15:06:02.360Z
Electron: 11.3.0
Chrome: 87.0.4280.141
Node.js: 12.18.3
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19042
Steps to Reproduce:

Create following text file

hoge
hoge

Edit->Replace \nhogeregex to \n\nhoge
Replace (not all)

The cursor remains pointing to the first "\ nhoge".

Does this issue occur when all extensions are disabled?: Yes

duplicate https://github.com/microsoft/vscode/issues/149243


dioxus_web::launch_cfg cannot be called multiple times on different root elements.

Problem
When trying to have multiple dioxus widgets on different pre-existing elements, the browser console will tell about the fact that null has no property X, where X can be listeners or nodeType when calling dioxus_web::launch_cfg for the second time using either a Config::rootname or Config::rootelement on an element that is not a child of first root element.
Steps To Reproduce

Clone my repo and cd into it.
Checkout to 3f5abc55ba1981a8fcb0e2d13915834f238ba0bb
Make sure you have wasm-pack.
cmd/build
python -m http.server 8080
$BROWSER http://localhost:8080

My repo works with custom elements, but my exposed change function can also be used to launch dioxus on an element given its id, and you will again notice that this function errors when dioxus was already launched, either because there was already a rendered custom element or because the function was called before on a different id.
Expected behavior
When pointing the browser to index.html, you only see a single group of 2 buttons + 1 header. I expect there to be two groups, since there are two custom elements in index.html. Instead, there is the aforementioned error in the console.
Screenshots

Environment:

Dioxus version: commit dc5e4e3738ac80cb3e333a10340674b575c95abd (<2 weeks old)
Rust version: 1.76.0-nightly
OS info: ArchLinux
App platform: web

Willingness to solve this myself
I'm interested in fixing this myself but don't know where to start.
If there is a way to solve this without using dioxus_web, that's also fine by me. I just want multiple dioxus widgets without all those widgets necessarily having to share the same root element, since I'm using dioxus inside a pre-existing html that sometimes adds new elements itself (I want dioxus widgets inside a jupyter notebook's cell output). If my goal is doable with a single dioxus root, then that's also fine (I did not try this yet), but my gut tells me dioxus won't play nice with external sources adding (complex) elements.
Bug or Feature
I've seen no mention or examples of multiple dioxus_*::launch calls, maybe I am merely mistaken in thinking this is possible to do, in which case this issue is moreso a combination of a feature request; a call for help; and a mention that the documentation has not been clear to me about the role of launch calls. If Dioxus is not the right tool for my job, then this might deserve mention, for example here https://github.com/DioxusLabs/dioxus/issues/1359.
Links

discord discussion
my repo
custom elements with yew

Here is the complete error message with debug flags enabled.

Those websocket errors only occur with the debug flags.

Using iframes works...
You can have 1 dioxus_web::launch in another html file, which you look at through an iframe, that way you can have multiple interactive dioxus widgets accessible from a single window.
That's an ugly workaround, but at least I'm no longer stuck.
index.html

other.html

browser

This should definitely be possible and might be a side effect of how we do event delegation actually. I'll take a look soon - should be simple to fix.

Revisiting this - it's likely because we use the same interpreter for all virtualdom instances and there's a data race happening.
Going to be fixed in #1974

I got around to testing this and the problem is resolved. Thank you

I got around to testing this and the problem is resolved. Thank you

0.5.0-alpha.2 is out now with this fixed if you want a released version to work from :)


Add Dockerfiles for checker (drafts)

Download:
Environment: QT=5.12, ARCH=64, PYTHON_PATH=C:\Python35-x64
Environment: QT=5.12, ARCH=32, PYTHON_PATH=C:\Python35


Recent upgrade broke fira code ligatures

after I ran doom upgrade yesterday. Here's a sample before and after enabling prettify-symbols-mode
Before

After

Additional details:

I have (pretty-code +fira) in ~/.doom.d/init.el

System information:

((emacs
  (version . "26.3")
  (features . "XPM JPEG TIFF GIF PNG RSVG IMAGEMAGICK SOUND GPM DBUS GSETTINGS GLIB NOTIFY ACL GNUTLS LIBXML2 FREETYPE M17N_FLT LIBOTF XFT ZLIB TOOLKIT_SCROLL_BARS GTK3 X11 XDBE XIM MODULES THREADS LIBSYSTEMD LCMS2")
  (build . "Aug 30, 2019")
  (buildopts "--prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib --localstatedir=/var --with-x-toolkit=gtk3 --with-xft --with-modules 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-plt' CPPFLAGS=-D_FORTIFY_SOURCE=2 LDFLAGS=-Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now")
  (windowsys . batch)
  (daemonp . server-running))
 (doom
  (version . "2.0.9")
  (build . "HEAD -> develop 504d1388c 2020-05-01 01:22:14 -0400")
  (dir . "~/.doom.d/"))
 (system
  (type . gnu/linux)
  (config . "x86_64-pc-linux-gnu")
  (shell . "/usr/bin/fish")
  (uname . "Linux 5.6.8-arch1-1 #1 SMP PREEMPT Wed, 29 Apr 2020 16:22:56 +0000 x86_64")
  (path "~/path/name" "~/.emacs.d/bin" "~/.cargo/bin" "/usr/local/sbin" "/usr/local/bin" "/usr/bin" "/usr/bin/site_perl" "/usr/bin/vendor_perl" "/usr/bin/core_perl" "/usr/lib/emacs/26.3/x86_64-pc-linux-gnu"))
 (config
  (envfile . envvar-file)
  (elc-files .  Could you try using the other? I've installed Fira Code and Fira Code Symbols through my package manager, without the patched fonts installed by M-x +pretty-code/install-patched-font and it appears to work out of the box:

I use the Fantasque sans mono font with the ligatures of Fira code from the patched font. If I just switch to the Fira Code font the ligatures work.

@bshankar
I had the exact same issue with Fantasque Sans Mono
I've built Emacs 28 from git, based on a recommendation in the doom pretty-code docs, removed +fira flag from init.el and my ligatures now work again.

@bp41 Thanks! that worked.
I could also get it working with emacs 26 and +fira by downgrading Fantasque Sans Mono to 1.7.


How to get balance of all derived ExtPubKey at once?

I generate public addresses the next way:
var mnemonic = new Mnemonic(mnemonicStr); var extPrivateKey = mnemonic.DeriveExtKey(passphrase); var extPubKey = extPrivateKey.Neuter();
var bitcoinPubAddress = extPubKey.Derive(counter++).PubKey.GetAddress(Network.TestNet);
And now I can get balance only separately for every derived ExtPubKey. Something like this:
var client = new QBitNinjaClient(network);
var bitcoinAddress = extPubKey.Derive(counter).GetAddress(Network.TestNet);
var balanceModel = await client.GetBalance(bitcoinAddress, true);
var unspentCoins = new List<Coin>(); foreach (var operation in balanceModel.Operations)       unspentCoins.AddRange(operation.ReceivedCoins.                         Select(coin => coin as Coin)); var balance = unspentCoins.Sum(x => x.Amount.ToDecimal(MoneyUnit.BTC));
Is there is an option to get balance for any derived ExtPubKeys?
Or should I know my counter and manually get balance for every ExtPubKey up to the counter?
And about spending.
Will I be available to sign a transaction with my root extPrivateKey for coins sent to a derived ExtPubKey or I should derive the same (by the counter) ExtKey?
By the way how they get all transactions for a root ExtPubKey get transactions for delivered keys
Sorry for the long post & thank you in advance

@ArtjomP no, there is no way to get balance for any derived ExtPubKey.

Or should I know my counter and manually get balance for every ExtPubKey up to the counter?

Yes.
This approach though does not scale very well as you may imagine.
This is why I created NBXplorer. It easily allow you to track a extpubkey with very simple API. (it has a nuget package for the client part)
The only downside is that you need a full node.

Here is a code sample of NBXplorer usage.

Thank you!
One more question please:
Will I be available to sign a transaction with my root extPrivateKey for coins sent to a derived ExtPubKey or I should derive the same (by the counter) ExtKey?

Yes. NBXplorer basically tells you for each coin what is the KeyPath of the child key which is needed to sign. So only the root key is needed.

The full API description is here. Everything is implemented in the NBXplorer.Client nuget package.
You also have websocket notifications for payments.


fix: datatable-scroller width should update on recalculate

Steps to reproduce:

Go to https://swimlane.github.io/ngx-datatable/#virtual-scroll
Now decrease browser width
Now open inspector and check the width of datatable-scroller element

What kind of change does this PR introduce? (check one with "x")

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

What is the current behavior? (You can also link to an open issue here)
datatable-scroller width doesn't update to match actual column total widths
What is the new behavior?
datatable-scroller width  will update to match actual column total widths whenever table resize/recalculate.
Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[x] No

If this PR contains a breaking change, please describe the impact and migration path for existing applications: ...
Other information:

@timowolf Could you please review?


[Feature Request] Rename --dynamic-config-value ➡ --dynamic-config

repetitive and doesn't fit pattern:

This was intentionally named --dynamic-config-value in https://github.com/temporalio/temporalite/pull/136 because there is already a server concept called "dynamic config" which is a bunch of dynamic config values, and there is also a concept of a dynamic config file which contains a dynamic config.

After reading the docs:
https://docs.temporal.io/references/dynamic-configuration
I don't see the issue with calling an individual key/value pair a "dynamic config". I think you're saying the server code calls the set of pairs a dynamic config, and a set of things is different from an individual thing? To me it seems like most CLI users won't know about that distinction, and that it's not important for them to know?
Pro adding an option for dynamic config file, since I think you can't use constraints with the current option? Would use --dynamic-config-file <path> for that.

there was some discussion that the dynamic config can be part of the unified Server & UI config https://github.com/temporalio/cli/issues/184
If so we will not need a separate flag for dynamic config file. What do you think of this?

I think for setting a value using dynamic-config-value makes sense and setting a file dynamic-config-file makes sense and in general setting a dynamic config  using dynamic-config-<something> makes sense. But it's not a strongly held opinion.
What is more strongly held is that this is deployed, stable software. You can't just go changing CLI options of deployed software IMO. SDK team already relies on this in multiple repositories, who knows how many others do.

Is it easy to keep the current option working and hide it from help output? If not, or if others don't think it's an improvement, okay to close!

Closing this. IMO we should maintain the current behavior:
temporal server start-dev --dynamic-config-value foo=true --dynamic-config-value bar=false

Reasons:

It has been this way for some time in temporalite, and in unreleased versions of temporal server start-dev, and hence changing would break many users.
It makes some sense: "value" in the sense that "I am setting one key-value pair". To set multiple key-value pairs, you use the option multiple times. --dynamic-config would be better fitted to an API where multiple key-value pairs can be set by supplying the option once.

There's no argument strong enough to justify making the breaking change proposed by this ticket.


ImportError: cannot import name 'sigproc'

congratulations your programs are amazing congratulations but when i run base.py appear this error:  your  cannot import name 'sigproc'

base.py does not seem to be a file to be run directly, but gives the functionality by installing python_speech_features as a package (e. g. via pip) and then import it from another script.
If you really want to run base.py directly add the folder where the base.py file and the sigproc.py file live to your path variable.
Cheers

Thank´s
El jue., 4 de abr. de 2019 a la(s) 06:53, Konstantin Sering (
<EMAIL_ADDRESS>escribió:

base.py does not seem to be a file to be run directly, but gives the
functionality by installing python_speech_features as a package (e. g.
via pip) and then import it from another script.
If you really want to run base.py directly add the folder where the
base.py file and the sigproc.py file live to your path variable.
Cheers
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/jameslyons/python_speech_features/issues/72#issuecomment-479884683,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVau3aQn8IzBAra1OB5XeZaA63-ewEl6ks5vdfXdgaJpZM4XWBMs
.

--
Saludos
Marcos Barraza Urquidi


Undefined index: Post

Hi,
Since yesterday the following error occurs.
Undefined index: Post (View: /home/vagrant/Code/Personal/PHP/Soccerrama/resources/views/vendor/forum/category/partials/list.blade.php) (View: /home/vagrant/Code/Personal/PHP/Soccerrama/resources/views/vendor/forum/category/partials/list.blade.php) in /vendor/riari/laravel-forum/src/Support/Traits/CachesData.php:22
Can you please asap.

Hi,
This is due to the addition of a 'Post' array key in forum.preferences.cache_lifetimes. Unfortunately it seems that config merging isn't recursive, so anyone who's already overridden that config file will need to update it. Here's what you need to add: https://github.com/Riari/laravel-forum/blob/3.0/config/preferences.php#L52
Thanks

Thanks!

No problem :) I've just pushed a release to fix this already: https://github.com/Riari/laravel-forum/releases/tag/3.1.1


User login to http://wp-api.mcnam.ee

Hi there
I created an account on your API to test the user login part.
But i get an error message when trying to login : "Response returned is not valid JSON"
Could you tell me what i am doing wrong please ?

Hi
I noticed a similar thing last week. The Wordpress API is currently broken due to a Wordpress update :(
I tried to resolve, but couldn't get the WP plugins working. I'm hoping another WP/plugin update will fix, otherwise I'll need to look for another API example to showcase how to use with the StarterKit.

How okay. thanks for the quick reply.

Hi @guizmo
I've re-written the networking/data example in the app, to show off Firebase. You should be able to clone from master, and follow the instructions from the updated Readme.

Thanks Matt !

Ok i'm going to ask you one last question...
Have you tried cloning master and starting from scratch ?
I get an error and it is the same on other boilerplates like https://github.com/bosung90/react-native-router-flux-example

@guizmo Must you login to the a wordpress app?. If you are just using a php backend or node js one, i can share on how its done.

no this error is on first launch... Matt's latest update removed the (worpress) api to use Firebase

Oh ok. Haven't had a chance to look at that.

@guizmo - I've tried fresh on a different computer and have reproduced.
Downgrading/upgrading some of the dependencies helped for me (I've just pushed the working version to Master).
I also noted that React has deprecated PropTypes - so you'll see some other updates in there for that warning.

Man you're DA BOMB... Yes i have noticed the PropTypes warning on other
projects
On 13 June 2017 at 14:10, Matt Mcnamee<EMAIL_ADDRESS>wrote:

@guizmo https://github.com/guizmo - I've tried fresh on a different
computer and have reproduced.
Downgrading/upgrading some of the dependencies helped for me (I've just
pushed the working version to Master).
I also noted that React has deprecated PropTypes - so you'll see some
other updates in there for that warning.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mcnamee/react-native-starter-app/issues/79#issuecomment-307994046,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAqqt7rWJ8j7p1omHpSb48hlZtugsyEvks5sDf2ngaJpZM4NvBQC
.


How to access the svg-icons

Does anyone know how to access the svg-icons that are provided by material-ui?

require('material-ui/lib/svg-icons/...');

would be nice to add it to the doc, if it's not already there.