Provision on WiFi

Description
Provision device using a WiFi device.
Steps to reproduce issue
Download Device OS
Network Connection: Wifi
Download OS file
Expected result
Device should appear in the application's dashboard
Actual result
Beaglebone Green crashes when using the supported USB WiFi dongles
Official rpi dongle:
3.384610] bone_capemgr bone_capemgr: slot #0: No cape found
[    3.424581] bone_capemgr bone_capemgr: slot #1: No cape found
[    3.451577] mmc1: new high speed MMC card at address 0001
[    3.462147] mmcblk1: mmc1:0001 Q2J54A 3.64 GiB
[    3.464631] bone_capemgr bone_capemgr: slot #2: No cape found
[    3.477199] mmcblk1boot0: mmc1:0001 Q2J54A partition 1 2.00 MiB
[    3.487680] mmcblk1boot1: mmc1:0001 Q2J54A partition 2 2.00 MiB
[    3.492606] usb 1-1: new high-speed USB device number 2 using musb-hdrc
[    3.503121]  mmcblk1: p1 p2 p3 p4 < p5 p6 >
[    3.504651] bone_capemgr bone_capemgr: slot #3: No cape found
[    3.504752] bone_capemgr bone_capemgr: initialized OK.
[    3.507135] PM: bootloader does not support rtc-only!
[    3.507704] omap_rtc 44e3e000.rtc: setting system clock to 2000-01-01 00:00:01 UTC (946684801)
[    3.507726] of_cfs_init
[    3.507866] of_cfs_init: OK
[    3.623824] EXT4-fs (mmcblk0p2): recovery complete
[    3.625501] usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd1e
[    3.625510] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    3.625516] usb 1-1: Product: Remote Download Wireless Adapter
[    3.625523] usb 1-1: Manufacturer: Broadcom
[    3.625529] usb 1-1: SerialNumber:<PHONE_NUMBER>01
[    3.663572] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[    3.671772] VFS: Mounted root (ext4 filesystem) on device 179:2.
[    3.682677] devtmpfs: mounted
[    3.686513] Freeing unused kernel memory: 568K (c0b30000 - c0bbe000)
[    4.002104] random: systemd: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[    4.021860] random: systemd: uninitialized urandom read (16 bytes read, 14 bits of entropy available)
[    4.044038] systemd[1]: systemd 225 running in system mode. (-PAM -AUDIT -SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP -LIBCRYPTSETUP -GCRYPT +GNUTLS +ACL +XZ -LZ4 -SECCOMP +BLKID -ELFUTILS +KMOD -IDN)
[    4.062968] systemd[1]: Detected architecture arm.
Welcome to Resin OS 1.16.0!
[    4.086019] systemd[1]: Set hostname to .
[    4.187233] random: systemd-sysv-ge: uninitialized urandom read (16 bytes read, 16 bits of entropy available)
[    4.197889] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.199032] random: systemd-gpt-aut: uninitialized urandom read (16 bytes read, 17 bits of entropy available)
[    4.266351] random: systemd: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
[    4.281261] random: systemd: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
[    4.290954] random: systemd: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
[    4.301003] random: systemd: uninitialized urandom read (16 bytes read, 21 bits of entropy available)
[    4.664803] random: systemd: uninitialized urandom read (16 bytes read, 47 bits of entropy available)
[    4.912421] systemd[1]: docker.service: Cannot add dependency job, ignoring: Unit docker.service failed to load: No such file or directory.
[    4.926059] systemd[1]: basic.target: Found ordering cycle on basic.target/start
[    4.933538] systemd[1]: basic.target: Found dependency on systemd-ask-password-plymouth.path/start
[    4.942570] systemd[1]: basic.target: Found dependency on plymouth-start.service/start
[    4.950542] systemd[1]: basic.target: Found dependency on mnt-boot.mount/start
[    4.957815] systemd[1]: basic.target: Found dependency on mnt-bootorig-config.json.mount/start
[    4.966482] systemd[1]: basic.target: Found dependency on temp-conf.service/start
[    4.974015] systemd[1]: basic.target: Found dependency on basic.target/start
[    4.981114] systemd[1]: basic.target: Breaking ordering cycle by deleting job systemd-ask-password-plymouth.path/start
[    4.991879] systemd[1]: systemd-ask-password-plymouth.path: Job systemd-ask-password-plymouth.path/start deleted to break ordering cycle starting with basic.target/start
[ SKIP ] Ordering cycle found, skipping Forw...ests to Plymouth Directory Watch
[    5.021338] systemd[1]: basic.target: Found ordering cycle on basic.target/start
[    5.028808] systemd[1]: basic.target: Found dependency on paths.target/start
[    5.035912] systemd[1]: basic.target: Found dependency on systemd-ask-password-console.path/start
[    5.044843] systemd[1]: basic.target: Found dependency on plymouth-start.service/start
[    5.052815] systemd[1]: basic.target: Found dependency on mnt-boot.mount/start
[    5.060088] systemd[1]: basic.target: Found dependency on mnt-bootorig-config.json.mount/start
[    5.068756] systemd[1]: basic.target: Found dependency on temp-conf.service/start
[    5.076287] systemd[1]: basic.target: Found dependency on basic.target/start
[    5.083385] systemd[1]: basic.target: Breaking ordering cycle by deleting job paths.target/start
[    5.092228] systemd[1]: paths.target: Job paths.target/start deleted to break ordering cycle starting with basic.target/start
[ SKIP ] Ordering cycle found, skipping Paths
[    5.119984] systemd[1]: Reached target Login Prompts.
[  OK  ] Reached target Login Prompts.
[    5.133452] systemd[1]: Reached target Swap.
[  OK  ] Reached target Swap.
[    5.147831] systemd[1]: Created slice Root Slice.
[  OK  ] Created slice Root Slice.
[    5.161706] systemd[1]: Listening on udev Kernel Socket.
[  OK  ] Listening on udev Kernel Socket.
[    5.173660] systemd[1]: Listening on udev Control Socket.
[  OK  ] Listening on udev Control Socket.
[    5.186141] systemd[1]: Listening on Journal Audit Socket.
[  OK  ] Listening on Journal Audit Socket.
[    5.205830] systemd[1]: Listening on Syslog Socket.
[  OK  ] Listening on Syslog Socket.
[    5.218689] systemd[1]: Created slice User and Session Slice.
[  OK  ] Created slice User and Session Slice.
[    5.234671] systemd[1]: Created slice System Slice.
[  OK  ] Created slice System Slice.
[    5.245446] systemd[1]: Reached target Slices.
[  OK  ] Reached target Slices.
[    5.257787] systemd[1]: Listening on /dev/initctl Compatibility Named Pipe.
[  OK  ] Listening on /dev/initctl Compatibility Named Pipe.
[    5.277803] systemd[1]: Listening on Journal Socket (/dev/log).
[  OK  ] Listening on Journal Socket (/dev/log).
[    5.293910] systemd[1]: Listening on Journal Socket.
[  OK  ] Listening on Journal Socket.
[    5.316305] systemd[1]: Mounting FUSE Control File System...
Mounting FUSE Control File System...
[    5.348197] systemd[1]: Starting Journal Service...
Starting Journal Service...
[    5.391526] systemd[1]: Mounting Configuration File System...
Mounting Configuration File System...
[    5.444419] systemd[1]: Starting Remount Root and Kernel File Systems...
Starting Remount Root and Kernel File Systems...
[    5.510939] systemd[1]: Starting Create list of required static device nodes for the current kernel...
Starting Create list of required st... nodes for the current kernel...
[    5.583182] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[    5.643891] systemd[1]: Mounting Temporary Directory...
Mounting Temporary Directory...
[    5.730501] systemd[1]: Starting Setup Virtual Console...
Starting Setup Virtual Console...
[    5.778463] systemd[1]: Starting Apply Kernel Variables...
Starting Apply Kernel Variables...
[    5.835706] systemd[1]: Mounting Debug File System...
Mounting Debug File System...
[    5.901760] systemd[1]: Mounting POSIX Message Queue File System...
Mounting POSIX Message Queue File System...
[    5.941826] systemd[1]: Started Forward Password Requests to Wall Directory Watch.
[  OK  ] Started Forward Password Requests to Wall Directory Watch.
[    5.976911] systemd[1]: Mounted POSIX Message Queue File System.
[  OK  ] Mounted POSIX Message Queue File System.
[    5.997638] systemd[1]: Mounted Configuration File System.
[  OK  ] Mounted Configuration File System.
[    6.009651] systemd[1]: Mounted Debug File System.
[  OK  ] Mounted Debug File System.
[    6.021636] systemd[1]: Mounted FUSE Control File System.
[  OK  ] Mounted FUSE Control File System.
[    6.033607] systemd[1]: Mounted Temporary Directory.
[  OK  ] Mounted Temporary Directory.
[    6.046863] systemd[1]: Started Journal Service.
[  OK  ] Started Journal Service.
[  OK  ] Started Remount Root and Kernel File Systems.
[  OK  ] Started Create list of required sta...ce nodes for the current kernel.
[  OK  ] Started Setup Virtual Console.
[  OK  ] Started Apply Kernel Variables.
Starting Create Static Device Nodes in /dev...
Starting udev Coldplug all Devices...
Starting Flush Journal to Persistent Storage...
[  OK  ] Started Create Static Device Nodes in /dev.
[    6.705603] systemd-journald[139]: Received request to flush runtime journal from PID 1
[  OK  ] Started Flush Journal to Persistent Storage.
[  OK  ] Reached target Local File Systems (Pre).
Mounting /var/volatile...
Starting udev Kernel Device Manager...
[  OK  ] Mounted /var/volatile.
[  OK  ] Started udev Kernel Device Manager.
Starting Load/Save Random Seed...
[  OK  ] Reached target Local File Systems.
Starting Create Volatile Files and Directories...
Starting Tell Plymouth To Write Out Runtime Data...
[  OK  ] Started Load/Save Random Seed.
[  OK  ] Started Tell Plymouth To Write Out Runtime Data.
[  OK  ] Started Create Volatile Files and Directories.
Starting Update UTMP about System Boot/Shutdown...
Starting Network Time Synchronization...
[  OK  ] Started Update UTMP about System Boot/Shutdown.
[  OK  ] Started Network Time Synchronization.
[  OK  ] Reached target System Time Synchronized.
[  OK  ] Started udev Coldplug all Devices.
Starting udev Wait for Complete Device Initialization...
[  OK  ] Found device /dev/disk/by-label/flash-boot.
Mounting Flasher boot partition mountpoint...
[   10.459566] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[   10.498488] davinci-mcasp 48038000.mcasp: invalid tdm slots: 0
[  OK  ] Mounted Flasher boot partition mountpoint.
[   10.593766] omap_rng 48310000.rng: OMAP Random Number Generator ver. 20
[   10.670491] davinci-mcasp 4803c000.mcasp: invalid tdm slots: 0
[   11.144378] BTRFS: device label resin-data devid 1 transid 226 /dev/mmcblk1p6
[   11.239979] omap-aes 53500000.aes: OMAP AES hw accel rev: 3.2
[   11.248923] usbcore: registered new interface driver brcmfmac
[   11.421198] omap-sham 53100000.sham: hw accel on OMAP rev 4.3
[   11.427283] random: nonblocking pool is initialized
[   11.672481] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr  3 2014 04:43:32 version <IP_ADDRESS> (r467479) FWID 01-32bd010e
[   11.728865] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[  OK  ] Created slice system-systemd\x2drfkill.slice.
Starting Load/Save RF Kill Switch Status of rfkill0...
[   12.631985] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   12.661672] cfg80211: World regulatory domain updated:
[  OK  ] Started Load/Save RF Kill Switch Status of rfki[   12.670595] cfg80211:  DFS Master region: unsetll0.
[   12.680608] cfg80211:   (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
[   12.696749] cfg80211:   (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   12.712904] cfg80211:   (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
[   12.729758] cfg80211:   (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
[   12.744162] cfg80211:   (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
[   12.754031] cfg80211:   (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
[   12.763756] cfg80211:   (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
[   12.772025] cfg80211:   (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
[   12.780181] cfg80211:   (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
[  OK  ] Started udev Wait for Complete Device Initialization.
[  OK  ] Reached target System Initialization.
[  OK  ] Started Daily Cleanup of Temporary Directories.
[  OK  ] Reached target Timers.
[  OK  ] Listening on D-Bus System Message Bus Socket.
[  OK  ] Reached target Sockets.
[  OK  ] Reached target Basic System.
[  OK  ] Started System Logging Service.
[  OK  ] Started Kernel Logging Service.
[  OK  ] Started D-Bus System Message Bus.
Starting Temporary resin config in /tmp/conf...
Starting Telephony service...
Starting Login Service...
[  OK  ] Started Temporary resin config in /tmp/conf.
[   13.576148] Bluetooth: Core ver 2.21
[   13.588119] NET: Registered protocol family 31
[   13.613976] Bluetooth: HCI device and connection manager initialized
[   13.638695] Bluetooth: HCI socket layer initialized
[   13.653688] Bluetooth: L2CAP socket layer initialized
[   13.672228] Bluetooth: SCO socket layer initialized
[  OK  ] Started Telephony service.
[  OK  ] Started Login Service.
Starting Bluetooth service...
Mounting Flasher conf partition mountpoint...
[   14.202927] Bluetooth: BNEP (Ethernet Emulation) ver 1.3
[   14.230420] Bluetooth: BNEP filters: protocol multicast
[   14.230454] Bluetooth: BNEP socket layer initialized
[  OK  ] Mounted Flasher conf partition mountpoint.
[  OK  ] Started Bluetooth service.
[   14.516369] audit: type=1325 audit(1475233960.508:2): table=filter family=2 entries=0
Starting Hostname Service...
[   14.552930] audit: type=1325 audit(1475233960.508:2): table=nat family=2 entries=0
[   14.591488] audit: type=1300 audit(1475233960.508:2): arch=40000028 syscall=337 per=800000 success=yes exit=0 a0=40000000 a1=b a2=40000040 a3=78 items=0 ppid=1 pid=527 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fs
gid=0 tty=(none) ses=4294967295 comm="(ostnamed)" exe="/lib/systemd/systemd" key=(null)
Mounting Flasher boot partition mountpoint...
[   14.720929] audit: type=1327 audit(1475233960.508:2): proctitle="(ostnamed)"
[  OK  ] Mounted Flasher boot partition mountpoint.
[  OK  ] Started Hostname Service.
Starting Resin network configure service...
[  OK  ] Started Resin device uuid.
[  OK  ] Started Resin device register.
Starting Show Plymouth Boot Screen...
Starting Prepare OpenVPN Application On Resin...
Starting Hold until boot process finishes up...
[   17.472938] audit: type=1325 audit(1475233963.472:3): table=filter family=2 entries=4
[   17.498157] audit: type=1300 audit(1475233963.472:3): arch=40000028 syscall=294 per=800000 success=yes exit=0 a0=a a1=0 a2=40 a3=b1b2b8 items=0 ppid=1 pid=686 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty
=(none) ses=4294967295 comm="connmand" exe="/usr/sbin/connmand" key=(null)
[   17.647564] audit: type=1327 audit(1475233963.472:3): proctitle=2F7573722F7362696E2F636F6E6E6D616E64002D6E002D2D6E6F646E7370726F7879
[   17.721633] audit: type=1325 audit(1475233963.720:4): table=mangle family=2 entries=0
[   17.747273] audit: type=1325 audit(1475233963.720:4): table=mangle family=2 entries=0
[   17.767161] audit: type=1300 audit(1475233963.720:4): arch=40000028 syscall=128 per=800000 success=yes exit=0 a0=b6a87008 a1=1824 a2=28e28 a3=0 items=0 ppid=686 pid=703 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 f
sgid=0 tty=(none) ses=4294967295 comm="modprobe" exe="/bin/kmod" key=(null)
[   18.164816] net eth0: initializing cpsw version 1.12 (0)
[   18.179872] net eth0: initialized cpsw ale version 1.4
[   18.203123] net eth0: ALE Table size 1024
[   18.233917] net eth0: phy found : id is : 0x7c0f1
[   18.283284] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   18.643852] usb 1-1: USB disconnect, device number 2
[   20.340719] brcmfmac: brcmf_usb_rx_ctlpkt: rxctl wait timed out
[   20.347910] ------------[ cut here ]------------
[   20.359717] WARNING: CPU: 0 PID: 142 at /yocto/resin-board/build/tmp/work-shared/beaglebone-green/kernel-source/drivers/usb/core/urb.c:338 usb_submit_urb+0x1f5/0x42c()
[   20.382431] URB dc1d7800 submitted while active
[   20.390699] Modules linked in: xt_connmark iptable_mangle bnep bluetooth omap_sham omap_aes_driver brcmfmac brcmutil cfg80211 omap_rng snd_soc_davinci_mcasp rng_core snd_soc_edma snd_soc_omap snd_soc_core snd_pcm_dmaengine rfkill snd_
pcm snd_timer snd soundcore spi_omap2_mcspi evdev uio_pdrv_genirq uio sch_fq_codel
[   20.425988] CPU: 0 PID: 142 Comm: kworker/0:3 Not tainted 4.4.21+ #1
[   20.425992] Hardware name: Generic AM33XX (Flattened Device Tree)
[   20.426019] Workqueue: usb_hub_wq hub_event
[   20.426053] [] (unwind_backtrace) from [] (show_stack+0x11/0x14)
[   20.426073] [] (show_stack) from [] (dump_stack+0x69/0x78)
[   20.426098] [] (dump_stack) from [] (warn_slowpath_common+0x69/0x90)
[   20.426109] [] (warn_slowpath_common) from [] (warn_slowpath_fmt+0x2f/0x44)
[   20.426124] [] (warn_slowpath_fmt) from [] (usb_submit_urb+0x1f5/0x42c)
[   20.426351] [] (usb_submit_urb) from [] (brcmf_usb_tx_ctlpkt+0x98/0x13c [brcmfmac])
[   20.426517] [] (brcmf_usb_tx_ctlpkt [brcmfmac]) from [] (brcmf_proto_bcdc_msg+0x72/0x78 [brcmfmac])
[   20.426655] [] (brcmf_proto_bcdc_msg [brcmfmac]) from [] (brcmf_proto_bcdc_set_dcmd+0x22/0xb4 [brcmfmac])
[   20.426790] [] (brcmf_proto_bcdc_set_dcmd [brcmfmac]) from [] (brcmf_fil_cmd_data+0x4a/0x84 [brcmfmac])
[   20.426924] [] (brcmf_fil_cmd_data [brcmfmac]) from [] (brcmf_fil_iovar_data_set+0x5c/0x84 [brcmfmac])
[   20.427057] [] (brcmf_fil_iovar_data_set [brcmfmac]) from [] (brcmf_fweh_detach+0x40/0x88 [brcmfmac])
[   20.427191] [] (brcmf_fweh_detach [brcmfmac]) from [] (brcmf_detach+0x14/0x60 [brcmfmac])
[   20.427327] [] (brcmf_detach [brcmfmac]) from [] (brcmf_usb_disconnect+0x22/0x38 [brcmfmac])
[   20.427408] [] (brcmf_usb_disconnect [brcmfmac]) from [] (usb_unbind_interface+0x55/0x198)
[   20.427428] [] (usb_unbind_interface) from [] (__device_release_driver+0x4d/0x9c)
[   20.427440] [] (__device_release_driver) from [] (device_release_driver+0x1b/0x24)
[   20.427450] [] (device_release_driver) from [] (bus_remove_device+0x9d/0xdc)
[   20.427460] [] (bus_remove_device) from [] (device_del+0xc1/0x184)
[   20.427470] [] (device_del) from [] (usb_disable_device+0x73/0x1d0)
[   20.427479] [] (usb_disable_device) from [] (usb_disconnect+0x8d/0x1a8)
[   20.427488] [] (usb_disconnect) from [] (hub_event+0x5db/0xeb0)
[   20.427509] [] (hub_event) from [] (process_one_work+0xdf/0x384)
[   20.427521] [] (process_one_work) from [] (worker_thread+0xfd/0x380)
[   20.427535] [] (worker_thread) from [] (kthread+0xaf/0xc4)
[   20.427552] [] (kthread) from [] (ret_from_fork+0x11/0x1c)
[   20.427558] ---[ end trace<PHONE_NUMBER>000002 ]---
[   20.879258] brcmfmac: brcmf_usb_send_ctl: usb_submit_urb failed -16
[   20.890767] brcmfmac: brcmf_usb_tx_ctlpkt: fail -16 bytes: 45
[   20.900735] brcmfmac: brcmf_usb_send_ctl: usb_submit_urb failed -16
[   20.912283] brcmfmac: brcmf_usb_tx_ctlpkt: fail -16 bytes: 20
[   20.923900] brcmfmac: brcmf_dongle_scantime: Scan assoc time error (-52)
[   20.936226] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[   20.949276] brcmfmac: brcmf_netdev_open: failed to bring up cfg80211
[   21.757053] usb 1-1: new high-speed USB device number 3 using musb-hdrc
[   21.907939] usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd1e
[   21.918777] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   21.938454] usb 1-1: Product: Remote Download Wireless Adapter
[   21.948171] usb 1-1: Manufacturer: Broadcom
[   21.956169] usb 1-1: SerialNumber:<PHONE_NUMBER>01
[   22.395811] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr  3 2014 04:43:32 version <IP_ADDRESS> (r467479) FWID 01-32bd010e
[   22.460773] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   22.808285] usb 1-1: USB disconnect, device number 3
[   25.328949] usb 1-1: new high-speed USB device number 4 using musb-hdrc
[   25.480541] usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd1e
[   25.492722] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   25.507406] usb 1-1: Product: Remote Download Wireless Adapter
[   25.518972] usb 1-1: Manufacturer: Broadcom
[   25.527632] usb 1-1: SerialNumber:<PHONE_NUMBER>01
[   25.909968] net_ratelimit: 8 callbacks suppressed
[   25.909975] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   26.271975] usb 1-1: USB disconnect, device number 4
[   27.968832] brcmfmac: brcmf_usb_rx_ctlpkt: rxctl wait timed out
[   27.977807] brcmfmac: brcmf_usb_send_ctl: usb_submit_urb failed -16
[   27.992168] brcmfmac: brcmf_usb_tx_ctlpkt: fail -16 bytes: 45
[   28.003659] brcmfmac: brcmf_usb_send_ctl: usb_submit_urb failed -16
[   28.012161] brcmfmac: brcmf_usb_tx_ctlpkt: fail -16 bytes: 20
[   28.028148] brcmfmac: brcmf_dongle_scantime: Scan assoc time error (-52)
[   28.046464] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[   28.063265] brcmfmac: brcmf_netdev_open: failed to bring up cfg80211
[   28.900837] usb 1-1: new high-speed USB device number 5 using musb-hdrc
[   29.051818] usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd1e
[   29.062907] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   29.078970] usb 1-1: Product: Remote Download Wireless Adapter
[   29.095371] usb 1-1: Manufacturer: Broadcom
[   29.105472] usb 1-1: SerialNumber:<PHONE_NUMBER>01
[   29.476115] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr  3 2014 04:43:32 version <IP_ADDRESS> (r467479) FWID 01-32bd010e
[   29.894867] usb 1-1: USB disconnect, device number 5
[   32.392865] usb 1-1: new high-speed USB device number 6 using musb-hdrc
[   32.532531] usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd1e
[   32.540978] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   32.553709] usb 1-1: Product: Remote Download Wireless Adapter
[   32.564530] usb 1-1: Manufacturer: Broadcom
[   32.572082] usb 1-1: SerialNumber:<PHONE_NUMBER>01
[   33.279879] usb 1-1: USB disconnect, device number 6
[   34.976970] net_ratelimit: 10 callbacks suppressed
[   34.976977] brcmfmac: brcmf_usb_rx_ctlpkt: rxctl wait timed out
[   34.997947] brcmfmac: brcmf_usb_send_ctl: usb_submit_urb failed -16
[   35.008345] brcmfmac: brcmf_usb_tx_ctlpkt: fail -16 bytes: 45
[   35.026766] brcmfmac: brcmf_usb_send_ctl: usb_submit_urb failed -16
[   35.040945] brcmfmac: brcmf_usb_tx_ctlpkt: fail -16 bytes: 20
[   35.059102] brcmfmac: brcmf_dongle_scantime: Scan assoc time error (-52)
[   35.074260] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[   35.092038] brcmfmac: brcmf_netdev_open: failed to bring up cfg80211
[   35.932821] usb 1-1: new high-speed USB device number 7 using musb-hdrc
[   36.084153] usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd1e
[   36.090912] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   36.104198] usb 1-1: Product: Remote Download Wireless Adapter
[   36.112514] usb 1-1: Manufacturer: Broadcom
[   36.129126] usb 1-1: SerialNumber:<PHONE_NUMBER>01
[   36.453621] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr  3 2014 04:43:32 version <IP_ADDRESS> (r467479) FWID 01-32bd010e
[   36.513031] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   36.854725] usb 1-1: USB disconnect, device number 7
[   39.368859] usb 1-1: new high-speed USB device number 8 using musb-hdrc
[   39.523872] usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd1e
[   39.538792] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   39.568493] usb 1-1: Product: Remote Download Wireless Adapter
[   39.588042] usb 1-1: Manufacturer: Broadcom
[   39.606350] usb 1-1: SerialNumber:<PHONE_NUMBER>01
[   40.016745] net_ratelimit: 7 callbacks suppressed
[   40.016753] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr  3 2014 04:43:32 version <IP_ADDRESS> (r467479) FWID 01-32bd010e
[   40.075197] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   40.428891] usb 1-1: USB disconnect, device number 8
[   42.124831] brcmfmac: brcmf_usb_rx_ctlpkt: rxctl wait timed out
[   42.130853] brcmfmac: brcmf_usb_send_ctl: usb_submit_urb failed -16
[   42.142168] brcmfmac: brcmf_usb_tx_ctlpkt: fail -16 bytes: 45
[   42.151347] brcmfmac: brcmf_usb_send_ctl: usb_submit_urb failed -16
[   42.161099] brcmfmac: brcmf_usb_tx_ctlpkt: fail -16 bytes: 20
[   42.170311] brcmfmac: brcmf_dongle_scantime: Scan assoc time error (-52)
[   42.179383] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[   42.191234] brcmfmac: brcmf_netdev_open: failed to bring up cfg80211
[   43.000738] usb 1-1: new high-speed USB device number 9 using musb-hdrc
[   43.145953] usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd1e
[   43.154670] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   43.168189] usb 1-1: Product: Remote Download Wireless Adapter
[   43.177879] usb 1-1: Manufacturer: Broadcom
[   43.184385] usb 1-1: SerialNumber:<PHONE_NUMBER>01
[   43.883589] usb 1-1: USB disconnect, device number 9
[   45.580842] net_ratelimit: 2 callbacks suppressed
[   45.580849] brcmfmac: brcmf_usb_rx_ctlpkt: rxctl wait timed out
[   45.605799] brcmfmac: brcmf_usb_send_ctl: usb_submit_urb failed -16
[   45.620080] brcmfmac: brcmf_usb_tx_ctlpkt: fail -16 bytes: 45
[   45.634397] brcmfmac: brcmf_usb_send_ctl: usb_submit_urb failed -16
[   45.645993] brcmfmac: brcmf_usb_tx_ctlpkt: fail -16 bytes: 20
[   45.660109] brcmfmac: brcmf_dongle_scantime: Scan assoc time error (-52)
[   45.678356] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[   45.697851] brcmfmac: brcmf_netdev_open: failed to bring up cfg80211
[   46.528837] usb 1-1: new high-speed USB device number 10 using musb-hdrc
[   46.684266] usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd1e
[   46.691029] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   46.703271] usb 1-1: Product: Remote Download Wireless Adapter
[   46.712665] usb 1-1: Manufacturer: Broadcom
[   46.720360] usb 1-1: SerialNumber:<PHONE_NUMBER>01
[   47.067937] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr  3 2014 04:43:32 version <IP_ADDRESS> (r467479) FWID 01-32bd010e
[   47.116878] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   47.463194] usb 1-1: USB disconnect, device number 10
[   50.036930] usb 1-1: new high-speed USB device number 11 using musb-hdrc
[   50.207877] usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd1e
[   50.223318] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   50.266638] usb 1-1: Product: Remote Download Wireless Adapter
[   50.283498] usb 1-1: Manufacturer: Broadcom
[   50.298209] usb 1-1: SerialNumber:<PHONE_NUMBER>01
[   50.690980] net_ratelimit: 7 callbacks suppressed
[   50.690987] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr  3 2014 04:43:32 version <IP_ADDRESS> (r467479) FWID 01-32bd010e
[   50.755130] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   51.116054] usb 1-1: USB disconnect, device number 11
[   52.812853] brcmfmac: brcmf_usb_rx_ctlpkt: rxctl wait timed out
[   52.821413] brcmfmac: brcmf_usb_send_ctl: usb_submit_urb failed -16
[   52.835001] brcmfmac: brcmf_usb_tx_ctlpkt: fail -16 bytes: 45
[   52.844732] brcmfmac: brcmf_usb_send_ctl: usb_submit_urb failed -16
[   52.856708] brcmfmac: brcmf_usb_tx_ctlpkt: fail -16 bytes: 20
[   52.871066] brcmfmac: brcmf_dongle_scantime: Scan assoc time error (-52)
[   52.883160] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[   52.899106] brcmfmac: brcmf_netdev_open: failed to bring up cfg80211
[   53.732850] usb 1-1: new high-speed USB device number 12 using musb-hdrc
[   53.888734] usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd1e
[   53.896772] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   53.916281] usb 1-1: Product: Remote Download Wireless Adapter
[   53.928116] usb 1-1: Manufacturer: Broadcom
[   53.940735] usb 1-1: SerialNumber:<PHONE_NUMBER>01
[   54.660897] usb 1-1: USB disconnect, device number 12
[   56.356728] net_ratelimit: 2 callbacks suppressed
[   56.356735] brcmfmac: brcmf_usb_rx_ctlpkt: rxctl wait timed out
[   56.371636] brcmfmac: brcmf_usb_send_ctl: usb_submit_urb failed -16
[   56.384067] brcmfmac: brcmf_usb_tx_ctlpkt: fail -16 bytes: 45
[   56.395351] brcmfmac: brcmf_usb_send_ctl: usb_submit_urb failed -16
[   56.404064] brcmfmac: brcmf_usb_tx_ctlpkt: fail -16 bytes: 20
[   56.412965] brcmfmac: brcmf_dongle_scantime: Scan assoc time error (-52)
[   56.423040] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do.
[   56.433607] brcmfmac: brcmf_netdev_open: failed to bring up cfg80211
[   57.232818] usb 1-1: new high-speed USB device number 13 using musb-hdrc
[   57.383857] usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd1e
[   57.392500] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   57.405552] usb 1-1: Product: Remote Download Wireless Adapter
[   57.415003] usb 1-1: Manufacturer: Broadcom
[   57.422790] usb 1-1: SerialNumber:<PHONE_NUMBER>01
[   57.743009] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Apr  3 2014 04:43:32 version <IP_ADDRESS> (r467479) FWID 01-32bd010e
[   57.792386] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
[   58.135736] usb 1-1: USB disconnect, device number 13
[   60.660789] usb 1-1: new high-speed USB device number 14 using musb-hdrc
[   60.804119] usb 1-1: New USB device found, idVendor=0a5c, idProduct=bd1e
[   60.814943] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[   60.836083] usb 1-1: Product: Remote Download Wireless Adapter
[   60.850348] usb 1-1: Manufacturer: Broadcom
And with the Ralink dongle:
[   17.711634] net eth0: initializing cpsw version 1.12 (0)
[   17.736824] net eth0: initialized cpsw ale version 1.4
[   17.754362] net eth0: ALE Table size 1024
[   17.773725] net eth0: phy found : id is : 0x7c0f1
[   17.831485] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[   17.895232] ieee80211 phy0: rt2x00lib_request_firmware: Info - Loading firmware file 'rt2870.bin'
[   17.928788] ieee80211 phy0: rt2x00lib_request_firmware: Info - Firmware detected - version: 0.29
[   18.182381] IPv6: ADDRCONF(NETDEV_UP): wlan0: link is not ready
[   19.668745] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x07 failed for offset 0x1004 with error -110
[   19.710730] usb 1-1: USB disconnect, device number 2
[   19.732788] ieee80211 phy0: rt2x00usb_vendor_request: Error - Vendor Request 0x06 failed for offset 0x1004 with error -19
[   19.885614] ieee80211 @ rt2800usb_tx_sta_fifo_read_completed: Warning - TX status read failed -108
[   19.925410] Unable to handle kernel NULL pointer dereference at virtual address 00000048
[   19.971719] pgd = c0004000
[   19.983914] [00000048] *pgd=00000000
[   20.003333] Internal error: Oops: 17 [#1] PREEMPT SMP THUMB2
[   20.003411] Modules linked in: xt_connmark iptable_mangle bnep bluetooth arc4 rt2800usb rt2x00usb rt2800lib rt2x00lib crc_ccitt mac80211 omap_aes_driver omap_sham cfg80211 omap_rng rng_core snd_soc_davinci_mcasp snd_soc_edma snd_soc_o
map snd_soc_core rfkill snd_pcm_dmaengine snd_pcm snd_timer snd soundcore spi_omap2_mcspi evdev uio_pdrv_genirq uio sch_fq_codel
[   20.003423] CPU: 0 PID: 80 Comm: kworker/0:2 Not tainted 4.4.21+ #1
[   20.003426] Hardware name: Generic AM33XX (Flattened Device Tree)
[   20.003450] Workqueue: usb_hub_wq hub_event
[   20.003454] task: ddbd9680 ti: ddc94000 task.ti: ddc94000
[   20.003473] PC is at rt_spin_lock+0x22/0x4c
[   20.003491] LR is at migrate_disable+0x67/0xb4
[   20.003498] pc : []    lr : []    psr: 40070133
[   20.003498] sp : ddc95cb0  ip : 00000000  fp : 00000001
[   20.003501] r10: ddb1631c  r9 : ddb16010  r8 : ddb1631c
[   20.003506] r7 : 00000000  r6 : 0000003c  r5 : 0000003c  r4 : 00000001
[   20.003509] r3 : 00000048  r2 : ddbd9680  r1 : 00000001  r0 : 00000000
[   20.003516] Flags: nZcv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[   20.003521] Control: 50c5387d  Table: 99520019  DAC: 00000051
[   20.003526] Process kworker/0:2 (pid: 80, stack limit = 0xddc94218)
[   20.003530] Stack: (0xddc95cb0 to 0xddc96000)
[   20.003538] 5ca0:                                     000001e0 00000001 00000000 bfaeead3
[   20.003547] 5cc0: 00000000 00000078 ddded0e0 bfb1c7f7 00000400 ddded0e0 ddded438 ddc3ba00
[   20.003556] 5ce0: 00000000 bfb1c969 00000000 c0520a1b 00006384 d735bbc0 ddf59800 bfb152f7
[   20.003565] 5d00: bfb152e1 ddf59800 ffffff94 c0520be5 ddc20c00 ddb16010 ddf59800 0000134c
[   20.003574] 5d20: 00000000 c055a6ff 00000000 c0134abd 00200018 c0134abd 00080003 00000001
[   20.003583] 5d40: c0bcb008 c0134a33 ddf59e80 00000000 00000080 ddf59800 ddb1631c c055b1ab
[   20.003592] 5d60: ddbd9680 00000000 ddc94000 ddb1631c 00000080 ddf59800 e0852c10 00000080
[   20.003601] 5d80: 00000001 00000200 00000000 c055b3a3 ddf59800 ddf59e80 ddb16010 00000000
[   20.003610] 5da0: 00000080 00000001 00000200 c055b7b9 ddcfe848 ddc95dd0 ddc3ba00 c0031ee9
[   20.003619] 5dc0: ddbd9680 ddf59800 ddcfe838 ddcfe848 c0ca6430 ddc3ba00 c0995ba0 c05229a3
[   20.003627] 5de0: c0bcc170 00000001 ddc95de4 00000001 ddcfe838 ddcfe800 00000000 00000000
[   20.003636] 5e00: c0ca6640 00000014 ddc3ba00 c0524957 00000000 ddcfe800 00000001 c0524af5
[   20.003645] 5e20: ddc95e18 dc8ba615 00000000 ddcfe800 ddcfe89c ddcfe868 ddbfd200 00000001
[   20.003654] 5e40: ddbfd000 c051d59d ddcfe800 00000000 ddbfd200 00000001 00000001 ddc20c00
[   20.003662] 5e60: 00000001 ddbfd000 00000000 c051ef87 df9128c0 c0061c15 1bf2decd 00000000
[   20.003671] 5e80: ddc3be00 ddbfd154 ddbfd3e4 ddbfd208 ddc20c9c ddbfd09d ddbfd034 c0ca5c80
[   20.003680] 5ea0: ddc3be20 ddbfd040 ddbfd038 00000001 ddc20c00 00000105 c0bcb008 ddbfd3e4
[   20.003689] 5ec0: ddbfd200 c0d7a734 ddc3ba00 c0031e2f 00006384 00010105 df9123c0 dc8ba615
[   20.003698] 5ee0: 00000000 ddbfd154 ddc5f900 df9123c0 df917100 00000000 ddbfd158 00000000
[   20.003707] 5f00: c0c9b078 c004535f df9123c0 c0050d4b ddc95f18 ddc5f900 df9123c0 ddc5f918
[   20.003716] 5f20: df9123e8 ddc94000 df9123c0 c0c9ac5a 00000000 c0045701 c0bc1600 ddc5f900
[   20.003725] 5f40: ddc95f58 00000000 ddc60400 ddc5f900 c0045605 00000000 00000000 00000000
[   20.003733] 5f60: 00000000 c00493f7 00000000 ffffffff ddc5f900 00000000 00000000 ddc95f7c
[   20.003742] 5f80: ddc95f7c 00000000 00000000 ddc95f8c ddc95f8c dc8ba615 ddc95fa0 ddc60400
[   20.003751] 5fa0: c0049349 00000000 00000000 c000ee15 00000000 00000000 00000000 00000000
[   20.003759] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   20.003768] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff
[   20.003869] [] (rt_spin_lock) from [] (rt2x00queue_get_entry+0x1a/0x58 [rt2x00lib])
[   20.003938] [] (rt2x00queue_get_entry [rt2x00lib]) from [] (rt2800usb_txstatus_pending+0x16/0x50 [rt2800usb])
[   20.003961] [] (rt2800usb_txstatus_pending [rt2800usb]) from [] (rt2800usb_tx_sta_fifo_read_completed+0x78/0xe8 [rt2800usb])
[   20.003998] [] (rt2800usb_tx_sta_fifo_read_completed [rt2800usb]) from [] (rt2x00usb_register_read_async_cb+0x16/0x34 [rt2x00usb])
[   20.004020] [] (rt2x00usb_register_read_async_cb [rt2x00usb]) from [] (__usb_hcd_giveback_urb+0x49/0xd4)
[   20.004043] [] (__usb_hcd_giveback_urb) from [] (musb_giveback+0x3f/0xa0)
[   20.004056] [] (musb_giveback) from [] (musb_advance_schedule+0x97/0x208)
[   20.004068] [] (musb_advance_schedule) from [] (musb_cleanup_urb+0x87/0x98)
[   20.004079] [] (musb_cleanup_urb) from [] (musb_urb_dequeue+0x101/0x118)
[   20.004091] [] (musb_urb_dequeue) from [] (usb_hcd_flush_endpoint+0xd3/0x13c)
[   20.004104] [] (usb_hcd_flush_endpoint) from [] (usb_disable_endpoint+0x33/0x60)
[   20.004114] [] (usb_disable_endpoint) from [] (usb_disable_device+0x13d/0x1d0)
[   20.004123] [] (usb_disable_device) from [] (usb_disconnect+0x8d/0x1a8)
[   20.004131] [] (usb_disconnect) from [] (hub_event+0x5db/0xeb0)
[   20.004151] [] (hub_event) from [] (process_one_work+0xdf/0x384)
[   20.004164] [] (process_one_work) from [] (worker_thread+0xfd/0x380)
[   20.004179] [] (worker_thread) from [] (kthread+0xaf/0xc4)
[   20.004196] [] (kthread) from [] (ret_from_fork+0x11/0x1c)
[   20.004207] Code: 021f 6912 f893 f000 (e853) 4f00
[   21.166620] ---[ end trace<PHONE_NUMBER>000002 ]---
[   21.172899] Unable to handle kernel paging request at virtual address ffffffec
[   21.172905] pgd = c0004000
[   21.172918] [ffffffec] *pgd=9fdf2861, *pte=00000000, *ppte=00000000
[   21.172930] Internal error: Oops: 37 [#2] PREEMPT SMP THUMB2
[   21.172993] Modules linked in: xt_connmark iptable_mangle bnep bluetooth arc4 rt2800usb rt2x00usb rt2800lib rt2x00lib crc_ccitt mac80211 omap_aes_driver omap_sham cfg80211 omap_rng rng_core snd_soc_davinci_mcasp snd_soc_edma snd_soc_o
map snd_soc_core rfkill snd_pcm_dmaengine snd_pcm snd_timer snd soundcore spi_omap2_mcspi evdev uio_pdrv_genirq uio sch_fq_codel
[   21.173004] CPU: 0 PID: 80 Comm: kworker/0:2 Tainted: G      D         4.4.21+ #1
[   21.173008] Hardware name: Generic AM33XX (Flattened Device Tree)
[   21.173023] task: ddbd9680 ti: ddc94000 task.ti: ddc94000
[   21.173042] PC is at kthread_data+0xa/0x10
[   21.173058] LR is at wq_worker_sleeping+0xd/0x80
[   21.173064] pc : []    lr : []    psr: a0070133
[   21.173064] sp : ddc95a98  ip : 00000000  fp : c071c496
[   21.173068] r10: 00000002  r9 : ddbd99dc  r8 : ddc95ab4
[   21.173072] r7 : ddc95aa0  r6 : ddc9573c  r5 : ddbd9680  r4 : ddbd9680
[   21.173075] r3 : 00000000  r2 : 00000040  r1 : ddbd9908  r0 : ddbd9680
[   21.173082] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[   21.173086] Control: 50c5387d  Table: 9c438019  DAC: 00000051
[   21.173090] Process kworker/0:2 (pid: 80, stack limit = 0xddc94218)
[   21.173095] Stack: (0xddc95a98 to 0xddc96000)
[   21.173101] 5a80:                                                       ddbd9680 c071a105
[   21.173110] 5aa0: ddbd9680 ddc95ab4 ddc9573c c0034925 c0bd1ab4 ddc95ab4 ddc95ab4 dc8ba615
[   21.173119] 5ac0: 0000000b ddc95c60 c071c496 c0012935 ddc94218 0000000b c0bd1ab4 c071c49a
[   21.173128] 5ae0: 00000020 ddc94000 00000000 00000004 00000000 30000001 20663132 32313936
[   21.173136] 5b00: 39386620 30662033 28203030 33353865 66342029 00203030 00000001 c007968b
[   21.173145] 5b20: c0a5f564 ddc95b4c 00000000 dc8ba615 ddc95b4c 00000048 ddc95c60 00000017
[   21.173154] 5b40: 00000000 00000000 ddb16010 ddc95c60 00000001 c001dfb9 00000048 c071d533
[   21.173162] 5b60: 00000000 00000000 ddc95bd4 0000002a c0cf6e54 0000005a 00330013 00000000
[   21.173171] 5b80: 60070113 dc8ba615 ddc95bd4 c0bcb008 00000048 00000017 dc8ba615 c0bd202c
[   21.173180] 5ba0: ddb16010 ddc95c60 00000001 c0009281 c0a20c6c ddc95c9c 00000014 c04a530b
[   21.173188] 5bc0: c0a20c6c ddc95c9c ddf1e00c 00000013 00000000 53425553 45545359 65693d4d
[   21.173198] 5be0: 30386565 00313132 49564544 2b3d4543 65656569 31323038 1b403a31 c000ddee
[   21.173206] 5c00: 00000000 c0134abd 0020001d c0134abd c0bcb008 c071c16f dd800dc0 60070113
[   21.173215] 5c20: 00040004 ddd9014f ddd90890 ddc95c74 00000000 000000ff 00000000 dc8ba615
[   21.173224] 5c40: 00000010 c071c492 40070133 ffffffff ddc95c94 ddb1631c ddb1631c c071c97b
[   21.173232] 5c60: 00000000 00000001 ddbd9680 00000048 00000001 0000003c 0000003c 00000000
[   21.173241] 5c80: ddb1631c ddb16010 ddb1631c 00000001 00000000 ddc95cb0 c0050d4b c071c492
[   21.173249] 5ca0: 40070133 ffffffff 00000051 c071c47f 000001e0 00000001 00000000 bfaeead3
[   21.173258] 5cc0: 00000000 00000078 ddded0e0 bfb1c7f7 00000400 ddded0e0 ddded438 ddc3ba00
[   21.173267] 5ce0: 00000000 bfb1c969 00000000 c0520a1b 00006384 d735bbc0 ddf59800 bfb152f7
[   21.173276] 5d00: bfb152e1 ddf59800 ffffff94 c0520be5 ddc20c00 ddb16010 ddf59800 0000134c
[   21.173284] 5d20: 00000000 c055a6ff 00000000 c0134abd 00200018 c0134abd 00080003 00000001
[   21.173293] 5d40: c0bcb008 c0134a33 ddf59e80 00000000 00000080 ddf59800 ddb1631c c055b1ab
[   21.173301] 5d60: ddbd9680 00000000 ddc94000 ddb1631c 00000080 ddf59800 e0852c10 00000080
[   21.173310] 5d80: 00000001 00000200 00000000 c055b3a3 ddf59800 ddf59e80 ddb16010 00000000
[   21.173319] 5da0: 00000080 00000001 00000200 c055b7b9 ddcfe848 ddc95dd0 ddc3ba00 c0031ee9
[   21.173327] 5dc0: ddbd9680 ddf59800 ddcfe838 ddcfe848 c0ca6430 ddc3ba00 c0995ba0 c05229a3
[   21.173336] 5de0: c0bcc170 00000001 ddc95de4 00000001 ddcfe838 ddcfe800 00000000 00000000
[   21.173345] 5e00: c0ca6640 00000014 ddc3ba00 c0524957 00000000 ddcfe800 00000001 c0524af5
[   21.173354] 5e20: ddc95e18 dc8ba615 00000000 ddcfe800 ddcfe89c ddcfe868 ddbfd200 00000001
[   21.173363] 5e40: ddbfd000 c051d59d ddcfe800 00000000 ddbfd200 00000001 00000001 ddc20c00
[   21.173371] 5e60: 00000001 ddbfd000 00000000 c051ef87 df9128c0 c0061c15 1bf2decd 00000000
[   21.173380] 5e80: ddc3be00 ddbfd154 ddbfd3e4 ddbfd208 ddc20c9c ddbfd09d ddbfd034 c0ca5c80
[   21.173389] 5ea0: ddc3be20 ddbfd040 ddbfd038 00000001 ddc20c00 00000105 c0bcb008 ddbfd3e4
[   21.173397] 5ec0: ddbfd200 c0d7a734 ddc3ba00 c0031e2f 00006384 00010105 df9123c0 dc8ba615
[   21.173406] 5ee0: 00000000 ddbfd154 ddc5f900 df9123c0 df917100 00000000 ddbfd158 00000000
[   21.173415] 5f00: c0c9b078 c004535f df9123c0 c0050d4b ddc95f18 ddc5f900 df9123c0 ddc5f918
[   21.173423] 5f20: df9123e8 ddc94000 df9123c0 c0c9ac5a 00000000 c0045701 c0bc1600 ddc5f900
[   21.173432] 5f40: ddc95f58 00000000 ddc60400 ddc5f900 c0045605 00000000 00000000 00000000
[   21.173441] 5f60: 00000000 c00493f7 00000000 ffffffff ddc5f900 00000000 00000000 ddc95f7c
[   21.173449] 5f80: ddc95f7c 00000001 00010001 ddc95f8c ddc95f8c dc8ba615 ddc95fa0 ddc60400
[   21.173457] 5fa0: c0049349 00000000 00000000 c000ee15 00000000 00000000 00000000 00000000
[   21.173466] 5fc0: 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
[   21.173474] 5fe0: 00000000 00000000 00000000 00000000 00000013 00000000 ffffffff ffffffff
[   21.173496] [] (kthread_data) from [] (wq_worker_sleeping+0xd/0x80)
[   21.173514] [] (wq_worker_sleeping) from [] (schedule+0x69/0x9c)
[   21.173527] [] (schedule) from [] (do_exit+0x57d/0x820)
[   21.173537] [] (do_exit) from [] (die+0x395/0x3b0)
[   21.173559] [] (die) from [] (__do_kernel_fault.part.0+0x55/0x1d0)
[   21.173578] [] (__do_kernel_fault.part.0) from [] (do_page_fault+0x2e3/0x2ec)
[   21.173590] [] (do_page_fault) from [] (do_DataAbort+0x41/0xa8)
[   21.173599] [] (do_DataAbort) from [] (__dabt_svc+0x3b/0x80)
[   21.173603] Exception stack(0xddc95c60 to 0xddc95ca8)
[   21.173612] 5c60: 00000000 00000001 ddbd9680 00000048 00000001 0000003c 0000003c 00000000
[   21.173620] 5c80: ddb1631c ddb16010 ddb1631c 00000001 00000000 ddc95cb0 c0050d4b c071c492
[   21.173624] 5ca0: 40070133 ffffffff
[   21.173636] [] (__dabt_svc) from [] (rt_spin_lock+0x22/0x4c)
[   21.173724] [] (rt_spin_lock) from [] (rt2x00queue_get_entry+0x1a/0x58 [rt2x00lib])
[   21.173774] [] (rt2x00queue_get_entry [rt2x00lib]) from [] (rt2800usb_txstatus_pending+0x16/0x50 [rt2800usb])
[   21.173794] [] (rt2800usb_txstatus_pending [rt2800usb]) from [] (rt2800usb_tx_sta_fifo_read_completed+0x78/0xe8 [rt2800usb])
[   21.173830] [] (rt2800usb_tx_sta_fifo_read_completed [rt2800usb]) from [] (rt2x00usb_register_read_async_cb+0x16/0x34 [rt2x00usb])
[   21.173851] [] (rt2x00usb_register_read_async_cb [rt2x00usb]) from [] (__usb_hcd_giveback_urb+0x49/0xd4)
[   21.173875] [] (__usb_hcd_giveback_urb) from [] (musb_giveback+0x3f/0xa0)
[   21.173887] [] (musb_giveback) from [] (musb_advance_schedule+0x97/0x208)
[   21.173898] [] (musb_advance_schedule) from [] (musb_cleanup_urb+0x87/0x98)
[   21.173909] [] (musb_cleanup_urb) from [] (musb_urb_dequeue+0x101/0x118)
[   21.173920] [] (musb_urb_dequeue) from [] (usb_hcd_flush_endpoint+0xd3/0x13c)
[   21.173934] [] (usb_hcd_flush_endpoint) from [] (usb_disable_endpoint+0x33/0x60)
[   21.173944] [] (usb_disable_endpoint) from [] (usb_disable_device+0x13d/0x1d0)
[   21.173953] [] (usb_disable_device) from [] (usb_disconnect+0x8d/0x1a8)
[   21.173962] [] (usb_disconnect) from [] (hub_event+0x5db/0xeb0)
[   21.173972] [] (hub_event) from [] (process_one_work+0xdf/0x384)
[   21.173983] [] (process_one_work) from [] (worker_thread+0xfd/0x380)
[   21.173994] [] (worker_thread) from [] (kthread+0xaf/0xc4)
[   21.174009] [] (kthread) from [] (ret_from_fork+0x11/0x1c)
[   21.174020] Code: f85d eb04 f8d0 33b4 (f853) 0c14
[   21.935650] ---[ end trace<PHONE_NUMBER>000003 ]---
[   21.935655] Fixing recursive fault but reboot is needed!
[   21.935674] Unable to handle kernel paging request at virtual address ffffffec
[   21.935679] pgd = c0004000
[   21.935689] [ffffffec] *pgd=9fdf2861, *pte=00000000, *ppte=00000000
[   21.935695] Internal error: Oops: 37 [#3] PREEMPT SMP THUMB2
[   21.935749] Modules linked in: xt_connmark iptable_mangle bnep bluetooth arc4 rt2800usb rt2x00usb rt2800lib rt2x00lib crc_ccitt mac80211 omap_aes_driver omap_sham cfg80211 omap_rng rng_core snd_soc_davinci_mcasp snd_soc_edma snd_soc_o
map snd_soc_core rfkill snd_pcm_dmaengine snd_pcm snd_timer snd soundcore spi_omap2_mcspi evdev uio_pdrv_genirq uio sch_fq_codel
[   21.935756] CPU: 0 PID: 80 Comm: kworker/0:2 Tainted: G      D         4.4.21+ #1
[   21.935759] Hardware name: Generic AM33XX (Flattened Device Tree)
[   21.935773] task: ddbd9680 ti: ddc94000 task.ti: ddc94000
[   21.935782] PC is at kthread_data+0xa/0x10
[   21.935789] LR is at wq_worker_sleeping+0xd/0x80
[   21.935794] pc : []    lr : []    psr: a0070133
[   21.935794] sp : ddc95880  ip : 00000000  fp : c004986e
[   21.935797] r10: 00000002  r9 : 0000000b  r8 : 60070113
[   21.935801] r7 : ddc95888  r6 : c0bcb008  r5 : ddbd9680  r4 : ddbd9680
[   21.935805] r3 : 00000000  r2 : 00000002  r1 : c09b39f4  r0 : ddbd9680
[   21.935810] Flags: NzCv  IRQs on  FIQs on  Mode SVC_32  ISA Thumb  Segment none
[   21.935814] Control: 50c5387d  Table: 9c438019  DAC: 00000051
[   21.935818] Process kworker/0:2 (pid: 80, stack limit = 0xddc94218)
[   21.935821] Stack: (0xddc95880 to 0xddc96000)
[   21.935831] 5880: ddbd9680 c071a105 ddbd9680 0000000b ddc95a48 c0034a5f c0bd1ab4 c0bcb008
[   21.935839] 58a0: ddc95a48 dc8ba615 0000000b ddc95a48 c004986e c0012935 ddc94218 0000000b
[   21.935848] 58c0: c0bd1ab4 c0049872 00000020 ddc94000 bf000000 00000004 00000000 66000001
[   21.935857] 58e0: 20643538 34306265 64386620 33332030 28203462 33353866 63302029 00203431
[   21.935865] 5900: c071c496 c007968b c0a5f564 ddc95934 00000000 dc8ba615 ddc95934 ffffffec
[   21.935874] 5920: ddc95a48 00000037 00000000 00000000 ddbd99dc ddc95a48 c071c496 c001dfb9
[   21.935882] 5940: ffffffec c071d533 c0bcb008 00000000 00000004 c0cb4a14 00000000 c0cb3830
[   21.935891] 5960: c0cbde00 c03e4875 ddc95988 dc8ba615 ddc9598c c0bcb008 ffffffec 00000037
[   21.935899] 5980: dc8ba615 c0bd202c ddbd99dc ddc95a48 c071c496 c0009281 000c000b c071c281
[   21.935908] 59a0: dd800c08 c0134b55 c0bf2f7c 0000000d c0bcb008 c0152a87 000c000b 00000001
[   21.935917] 59c0: c0bcb008 ddc724c0 60070113 ddc95a37 ddc95a0c c0bc2240 000c000b ddc95a20
[   21.935925] 59e0: dd0021e0 ddc60440 00000000 00000050 ddc60440 c0152b23 dc8ba615 000c000b
[   21.935934] 5a00: ddc95a37 c045d0cd dd81f410 0000001a 00000013 dc8ba615 0000
U-Boot SPL 2015.07 (Aug 24 2016 - 10:52:03)
Other information
Reported by: Florin Sarbu
Test configuration: Beaglebone Green
Test case number: TC02
Test run: https://resinio.testlodge.com/projects/16238/runs/230391?tab=2&run_section_id=253424&executed_case_id=10655726#executed_case_10655726

This issue was moved to resin-os/resinos#82


Remove unnecessary codecs, clean up and write tests for codecs we want to keep, and move all codecs to htsjdk

this is done #363


[FEATURE] Read and write the message just by message buffer memory space

Is your feature request related to a problem? Please describe.

Currently there is difference between the message header and the message body, while the message header is read/write from the stack:
https://github.com/EmbeddedRPC/erpc/blob/932a8aa2ef603ca52a4c37d62bb3f59a60e17c05/erpc_c/infra/erpc_framed_transport.cpp#L54
https://github.com/EmbeddedRPC/erpc/blob/932a8aa2ef603ca52a4c37d62bb3f59a60e17c05/erpc_c/infra/erpc_framed_transport.cpp#L115
the problems with it are:

the send happens in two chunks, which is slower
In devices that there is difference between memory regions, it may make life harder

Describe the solution you'd like

for read:
read first 4 bytes to the message buffer, (and with the curser read from the buffer?)
for write:
In the autogenerated code, after reset the cursor, do dummy write of 4 bytes with the cursor. In FramedTransport::send write to the first 4 bytes the header (if want with the cursor, need to fix first #283 ) and send the whole message in one chunk
Describe alternatives you've considered

can do just the write to the buffer in the way I described.
Steps you didn't forgot to do

[X] I checked if there is no related issue opened/closed.
[X] I checked that there doesn't exist opened PR which is solving this issue.

Additional context

This may impact negativelly (forbidden bytes in buffer) transports which doesn't use framedtransport features.

The PR not really solved this issue. @Hadatko \ @MichalPrincNXP can you please re-open it?

@MichalPrincNXP this is not yet solved. RPMSG tty is not solving this issue. Myabe it was closed automatically so i reopened it.


Cleanup tests and code base

Coverage decreased (-1.2%) to 94.824% when pulling 5adc211306454a4c71f5c78987a5408a9136acbc on MarkusH:cleanup/tests into ab51f1f01a510c9deb39707fc006dba13516dec6 on Bouke:master.


Select multiple columns as one

Is it possible to select multiple columns as one? Like this:

SELECT  (house || " " || building || " " || street || "," || postal) as address FROM addressTable

I'd like to use this:

table.select()

Any idea? Thanks.

use the + operator.


[Build Issue]: OpenSSL 1.1 has reached its end of life and is unsupported on some distros

Have you read through the build instructions before reading this?

[X] I have read the build instructions

What operating system are you seeing the problem on?
Linux (any distro)
Describe the build issue
See https://openssl-corporation.org/post/2023-09-11-eol-111/. This specifically affects NixOS/Nixpkgs where Etterna will refuse to build by default since OpenSSL 1.1 is regarded as an unsupported, broken dependency.
Relevant log output
No response
Anything else?
No response

Please make this a higher priority. I'm helping a friend who is trying to get this to run on Bazzite, and since its base operating system Fedora has depreciated OpenSSL 1.1 as an option in version 40, this is a hurdle for my friend.

See: https://github.com/etternagame/etterna/issues/1215
@WilliamImm even if Fedora doesn't let you install openssl 1.1 through it's package manager, you should still be able to manually install it from its latest release within https://openssl-library.org/source/old/1.1.1/index.html
Just make sure you appropriately set LD_LIBRARY_PATH and co to wherever you install it to :)

@WilliamImm even if Fedora doesn't let you install openssl 1.1 through it's package manager, you should still be able to manually install it from its latest release within https://openssl-library.org/source/old/1.1.1/index.html Just make sure you appropriately set LD_LIBRARY_PATH and co to wherever you install it to :)

Already worked it out. Bazzite uses a different method of installing external deps, installing the Fedora 39 package for OpenSSL1.1 via rpm-ostree got it working.
However, this should still be nipped in the bud whenever possible, since as time goes on this is more and more likely gonna be an issue that makes Etterna harder and harder to run and build.

It's been on our radar for a while now, as per that issue I linked you to :)
Have no fear, we're going to work on this, I was just trying to give you an easy workaround in the meantime.

superceded by https://github.com/etternagame/etterna/issues/1330


Name/Identifier bug on 21.4.0

Branch: 21.4.0_Branch

This prints the name "B.<IP_ADDRESS>.5"

#511
The refactoring will affect/simplify #511

@Marco-Pellegrino I have started working on these two issues, and I think I have a good solution that I am happy to discuss with you.


Add all emma subscriptions endpoints

Added all subscription endpoints and models. Tested each in our company's Emma environment.
Usage is as follows:
Get Subscriptions:
var getallsubs = emmasharp.GetAccountSubscritpions();
Get Subscription Details:
var getasub = emmasharp.GetAccountSubscription("sub id");
Get Members of a Subscription:
var getmembersofasub = emmasharp.GetSubscriptionMembers("sub id");
Get Opted-Out Members of a Subscription:
var checkforoptout = emmasharp.GetOptOutSubscriptionMembers("sub id");
Create a New Subscription Option:
SubscriptionNew newSub = new SubscriptionNew             {                 Name = "Test New API",                 Description = "This was programmatically added by the API"                             };
var postNewSub = emmasharp.PostNewSubscription(newSub);
Subscribe Member IDs in Bulk:
SubscriptionBulk memberIds = new SubscriptionBulk             {                 MemberIds = new List<long> { memberid, memberid}             };
var bulkmemmeers = emmasharp.PostBulkMemberSubscrpitions(memberIds, "sub id");
Update Name or Description of an Existing Subscrpition:
SubscriptionNew editSub = new SubscriptionNew{ Name = "Test New API - UPDATED",  Description = "This was programmatically added by the API - UPDATED" };
var editasub = emmasharp.EditSubscrpition(editSub, "sub id");
Delete an Existing Subscrpition:
var deleteasub = emmasharp.DeleteSubscrpition("sub id");

@joseph3114 can you add tests?

Hi joseph3114,
I'm checking out your PR as you seem to have implemented the Subscriptions model.  Only thing I noticed is "SubscriptionImportBulk" seems to be missing.  Would you be able to commit that object / source file to this pull request?  Otherwise, I fixed the missing angle iron on the one tag that the CI test was complaining about on Line 22 of Methods/Subscriptions.cs:
 was missing it's leading angle iron: /parm>
Otherwise, I also updated the two Nuget dependencies "RestSharp" and "Netwonsoft" to current versions.

@lwg-galuise the latest commit on my repo's branch was updated to also support bulk subscriptions by importID, something that was missed in this original PR. Make sure that's the one you're grabbing.
Also, same use case on my end, my company only needed the API to manage subscriptions....the one thing this package was missing. Hope it's working!

It works like a charm!  Thank you!


572 | Subtree of Another Tree | Java

Title - Subtree of Another Tree
What will change - Add solution to the problem in java language
Type of Issue -

[x] Adding New Code

Programming Language

[x] Java

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

@SSKale1 @Yashica7 can you pls assign me this task

please assign this to me


Is it currently possible to use Rx.NET in Blazor?

I'm trying to implement the Angular tutorial Tour of Heroes (HTTP) section in our dear Blazor. Here is the Angular sample: https://stackblitz.com/angular/xkyalvboyrj
As you can see, there is an input textbox to enter a search term. The search is performed whenever the user changes the content of the text box. To make the search efficient, rxjs is used. Now I want to emulate this functionality in Blazor, and I wondered if this can be done employing Rx.NET...
God Blazor you!

Long term this should definitely work.
As for whether it works effortlessly or involves some friction with Blazor 0.3.0, I don't know because I haven't personally tested it. If you encounter issues and can describe them with repro steps, please let us know!

@enetstudio I believe @lohithgn also did a Tour of Heroes port: https://github.com/lohithgn/blazor-tour-of-heroes. Take a look and see if it helps.

@danroth27  thanks... I've seen this project. Problem is that the search feature is completely different from that of the Angular sample, where observable features are used to enable active and efficient search while the user types the search term in a text box...
God Blazor you!

I agree that one-way-binding to IObservable<T> and two-way-binding to ISubject<T> should work.

Seems like the real issue in making this work, is that mono-wasm has no TFM.
https://github.com/NuGet/Home/issues/8186. Can we come up with a solution to that, even something temporary so we can start working with the Rx in wasm or extending it without having to fork it?


how to use "convert to arrow function" under "menu -> edit"?

I'm running Adobe brackets Release 1.14 Build 1.14.2-17770 (release-1.14.2 f71f00acc) on a Macbook Pro.
In the edit menu when I try to run "convert to arrow function" on a normal function declaration, it says "Place the cursor inside a function expression". I just started with javascript programming like one week ago and don't know exactly what that means.
Can anybody clarify for me? This is the function I'm trying to convert into an arrow function:
function addElement () {   var newDiv = document.createElement("div");   var newContent = document.createTextNode("Hi there and greetings!");   newDiv.appendChild(newContent);   var currentDiv = document.getElementById("div");   document.body.insertBefore(newDiv, currentDiv); }

const addElement = () => { var newDiv = document.createElement("div"); var newContent = document.createTextNode("Hi there and greetings!"); newDiv.appendChild(newContent); var currentDiv = document.getElementById("div"); document.body.insertBefore(newDiv, currentDiv); }
I suppose this is what you needed!!

const addElement = () => { var newDiv = document.createElement("div"); var newContent = document.createTextNode("Hi there and greetings!"); newDiv.appendChild(newContent); var currentDiv = document.getElementById("div"); document.body.insertBefore(newDiv, currentDiv); }
I suppose this is what you needed!!


Introducing a generator configuration for GoTag customization

This patch introduces a new configuration, go_tag, to allow ACK
developers to customize the "Go tags" in the generated structures.
With this configuration users can easily override the default Go tags,
making adjustements like changing the tag name, adding omitempty
directives or even introducing new ones (yaml, gorm, protobuf etc).
This change helps ACK users overcome the challenge imposed by our names
utility package (aws-controllers-k8s/pkg/names/) which adds an
underscore suffix to field names that matches Golang keywords. Resulting
in an odd UX when consuming the generated ACK  CRDs (e.g using
type_: <...> instead of type: <...>)
We purposefully avoided directly modifying the names utility package
(trimming the underscores when generating the go tags) as it will break
compatibility with the already existing CRDs (yep we missed this).
Without some sort of mutating webhooks that will handle field renames,
we'll avoid going that route, and instead start using go_tag configs
for future CRDs/fields.
This patch will help in tweaking the generated code for
https://github.com/aws-controllers-k8s/eks-controller/pull/84
Signed-off-by: Amine Hilaly<EMAIL_ADDRESS>By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/hold

/retest

experiencing some etcd timeouts with the ec2-controller, restarting to see if it's consistent
/test ec2-controller-test

/unhold

/test all


Switched to Quay from Dockerhub

Summary by OpenAI
Release Notes
This pull request switches the default container image registry from Dockerhub to Quay. This change has been made across various files, including .circleci/continue-workflows.yml, Makefile, and several others. This update is a "Chore" and does not introduce any new features or bug fixes.

Closing this PR as we decided to continue with DockerHub


Native methods require a JavaScript implementation enclosed with /-{ and }-/

I wanted to use your library in my project where I use GWT and SmartGWT. But when I add map creation in my code I get compile errors as below. Could you tell what the problem is?
[INFO]    [ERROR] Errors in 'com/gwidgets/api/leaflet/L.java'
[INFO]       [ERROR] Line 76: Native methods require a JavaScript implementation enclosed with /*-{ and }-*/
[INFO]       [ERROR] Line 85: Native methods require a JavaScript implementation enclosed with /*-{ and }-*/
[.........]
[INFO]    [ERROR] Errors in 'com/gwidgets/api/leaflet/LatLng.java'
[INFO]       [ERROR] Line 65: Native methods require a JavaScript implementation enclosed with /*-{ and }-*/
[........]
etc.

What GWT version are you using?

    <properties>
        <!-- Convenience property to set the GWT version -->
        <gwtVersion>2.8.2</gwtVersion>
        [....]
    </properties>

    <dependencies>
        [....]
        <dependency>
            <groupId>com.isomorphic.smartgwt.lgpl</groupId>
            <artifactId>smartgwt-lgpl</artifactId>
            <version>6.1-p20170914</version>
        </dependency>
        <dependency>
            <groupId>com.isomorphic.smartgwt.lgpl</groupId>
            <artifactId>smartgwt-skins</artifactId>
            <version>6.1-p20170914</version>
        </dependency>
        [....]
    <dependencies>

I am guessing Smart GWT is not compatible with the latest versions of GWT 2.8.x and thus JsInterop. I have not tried though, maybe their support can confirm this to you.


Make a timeout for interrupt ask for a restart

For #4369
The jupyterNotebook class was being used for interrupting. The problem is the jupyterNotebook assumes it was the one that started an execution and waits for the last pending execution to finish before saying in interrupt succeeded. Since there wasn't any, interrupt returns super fast and doesn't wait for the keyboard exception.
Changed interrupt to happen in the cellExecution class instead.
Also added an interruptTimedOut event because interrupt doesn't actually go through the notebook editor (where the code lives to show a restart if a timeout occurs). This allows the UI for this to remain in the notebook editor.
Interrupt is working for me in native notebooks now but only if I make sure the jsonrpc stuff is setup.

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[x] Has a news entry file (remember to thank yourself!).
[x] Appropriate comments and documentation strings in the code.
[x] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated.
[ ] Test plan is updated as appropriate.
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed).

Codecov Report

Merging #4414 (130dffb) into main (e8f311a) will decrease coverage by 0%.
The diff coverage is 54%.

@@          Coverage Diff          @@
##            main   #4414   +/-   ##
=====================================
- Coverage     75%     75%   -1%
=====================================
  Files        392     392
  Lines      25627   25704   +77
  Branches    3661    3673   +12
=====================================
+ Hits       19371   19420   +49
- Misses      4753    4778   +25
- Partials    1503    1506    +3

Impacted Files
Coverage Δ

src/client/datascience/jupyter/kernels/types.ts
72% <ø> (ø)

.../client/datascience/notebook/kernelWithMetadata.ts
85% <0%> (ø)

src/client/datascience/notebook/notebookEditor.ts
44% <20%> (ø)

src/client/datascience/jupyter/kernels/kernel.ts
66% <38%> (-8%)
:arrow_down:

...lient/datascience/jupyter/kernels/cellExecution.ts
75% <54%> (-3%)
:arrow_down:

...ent/datascience/jupyter/kernels/kernelExecution.ts
80% <68%> (-1%)
:arrow_down:

...ient/datascience/jupyter/kernels/kernelProvider.ts
84% <88%> (-2%)
:arrow_down:

src/client/datascience/baseJupyterSession.ts
76% <100%> (+<1%)
:arrow_up:

src/client/common/application/debugService.ts
46% <0%> (-7%)
:arrow_down:

...ience/notebook/emptyNotebookCellLanguageService.ts
65% <0%> (-5%)
:arrow_down:

... and 24 more

Codecov Report

Merging #4414 (130dffb) into main (e8f311a) will decrease coverage by 0%.
The diff coverage is 54%.

@@          Coverage Diff          @@
##            main   #4414   +/-   ##
=====================================
- Coverage     75%     75%   -1%
=====================================
  Files        392     392
  Lines      25627   25704   +77
  Branches    3661    3673   +12
=====================================
+ Hits       19371   19420   +49
- Misses      4753    4778   +25
- Partials    1503    1506    +3

Impacted Files
Coverage Δ

src/client/datascience/jupyter/kernels/types.ts
72% <ø> (ø)

.../client/datascience/notebook/kernelWithMetadata.ts
85% <0%> (ø)

src/client/datascience/notebook/notebookEditor.ts
44% <20%> (ø)

src/client/datascience/jupyter/kernels/kernel.ts
66% <38%> (-8%)
:arrow_down:

...lient/datascience/jupyter/kernels/cellExecution.ts
75% <54%> (-3%)
:arrow_down:

...ent/datascience/jupyter/kernels/kernelExecution.ts
80% <68%> (-1%)
:arrow_down:

...ient/datascience/jupyter/kernels/kernelProvider.ts
84% <88%> (-2%)
:arrow_down:

src/client/datascience/baseJupyterSession.ts
76% <100%> (+<1%)
:arrow_up:

src/client/common/application/debugService.ts
46% <0%> (-7%)
:arrow_down:

...ience/notebook/emptyNotebookCellLanguageService.ts
65% <0%> (-5%)
:arrow_down:

... and 24 more

However we can make native notebooks automatically restart if they take too long like we do for the old editor.

We have tests that do this today. So not sure what this is fixing.

However we can make native notebooks automatically restart if they take too long like we do for the old editor.

We have tests that do this today. So not sure what this is fixing.

However we can make native notebooks automatically restart if they take too long like we do for the old editor.

We have tests that do this today. So not sure what this is fixing.
Tests are here src/test/datascience/notebook/interrupRestart.vscode.test.ts

The test passes if the interrupt succeeds. The old code would ALWAYS think it succeeded while the cell UI would actually still be running.

However we can make native notebooks automatically restart if they take too long like we do for the old editor.

We have tests that do this today. So not sure what this is fixing.
Tests are here src/test/datascience/notebook/interrupRestart.vscode.test.ts

The test passes if the interrupt succeeds. The old code would ALWAYS think it succeeded while the cell UI would actually still be running.

The old code would ALWAYS think it succeeded while the cell UI would actually still be running.

Not sure about this, as it works for me.
Anyways, like the new code. Approving it.

The old code would ALWAYS think it succeeded while the cell UI would actually still be running.

Not sure about this, as it works for me.
Anyways, like the new code. Approving it.

@DonJayamanne can you have another look?

@DonJayamanne can you have another look?


DSND-3110: Update readme and pom

Update version of parent pom
Update readme to add summary, dev and terraform info

CI: Security warnings found!

CI: No security warnings found

CI: No security warnings found


[Independent-Publisher] v1 Jira Connector

Extends the existing Jira connector. Added apiDefinition, apiProperties and Readme

When submitting a connector, please check the following conditions for your PR.

[x] I attest that the connector works and I verfied by deploying and testing all the operations.
[x] I validated the swagger file, apiDefinition.swagger.json, by running paconn validate command.
[x] I confirm that apiProperties.json has a valid brand color and doesn't use an invalid brand color, #007ee5 or #ffffff.

@Flow-Joe I'm just checking in to see how things are going with updating your connector artifacts as per the given feedback. Please feel free to reach out with any questions you may have, Thanks.

All changes have been fixed/made and submitted

[[certify-connector]]


⚠ Samsung has degraded performance

In d509e46, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2202 ms

Resolved: Samsung performance has improved in 8962555.


Bump sphere-product-import version

Summary
Bump version of sphere-product-import module which has support for custom prices references.

@junajan Travis build is currently failing, can you please check it out?

bump

Workin' on It 😁

Closing in favor of https://github.com/sphereio/sphere-node-cli/pull/55


Implement HashiCorp Consul ConfigStore in Node.js SDK

Implement HashiCorp Consul ConfigStore in Node.js SDK
Description

Plan a Config accommodation in HashiCorp Consul.
Add ConsulConfigStore class to the Node.js SDK stores.
Authentication:

If the user has the Consul CLI working and configured, use that as the primary source of authentication.
If not, search for the variables Consul uses either in the .configu file or in the environment variables. See the variables here.

Motivation
Extending Configu's available stores collection. This ConfigStore will be made available in the Configu CLI since the Node.js SDK is used internally.
Additional context

HashiCorp Consul Docs
HashiCorp Vault Implementation in Configu
Configu Config Store Documentation
ConfigStore TypeScript Definition
Configu Node.js SDK Stores

May I take this up?

@Azanul, thank you for your willingness to take this up! We appreciate your initiative. I'll go ahead and assign this issue to you. If you have any questions or need any further information, please feel free to ask here or in our Discord.

Hi @Azanul
I hope you're doing well. It's been over a week since the issue was assigned to you, and we haven't seen any progress or a pull request from your side yet.
We truly appreciate your commitment and contributions to the project, but we also want to make sure that other contributors have a fair opportunity to participate. In the spirit of collaboration and ensuring a balanced workload, we decided to kindly unassign you from this issue.
This doesn't mean that you can't continue working on it or that you're not welcome to contribute in the future. We encourage your continued involvement in the project. However, this will allow others to step in and make progress on this particular issue.
If you have any questions, or concerns, or need assistance, please feel free to reach out to us. We're here to help and support one another in making this project a success.
Thank you for your understanding, and we look forward to your ongoing contributions to the project on other tasks or issues.

@RichardAkman I completely understand and I welcome other contributors to step in if they'd like to.
The issue does interest me but I haven't been able to dedicate much time to it due to other commitments. I'll drop in a comment if the issue is still available when I can work on it.


update to conduit 0.8.3

Description
Updates to conduit 0.8.3, allows conduit be optionally used in the engine for queries.
Type of change

[ ] Bug fix~~
[ ] New feature~~
[ ] Documentation update~~
[x] Other~~
tpl update

How Has This Been Tested?
Tested building on my mac.
Checklist:

[x] I have followed the style guidelines of this project.~~
[x] I have performed a self-review of my own code.~~
[x] I have commented my code where applicable.~~
- [ ] I have updated the release notes.
- [ ] I have made corresponding changes to the documentation.
- [ ] I have added debugging support to my changes.
- [ ] I have added tests that prove my fix is effective or that my feature works.
- [ ] I have confirmed new and existing unit tests pass locally with my changes.
- [ ] I have added new baselines for any new tests to the repo.
[x] I have NOT made any changes to protocol or public interfaces in an RC branch.~~
[x] I have assigned reviewers (see VisIt's PR procedures for more information).~~

I am having a hard time getting the linking dirs right here.
I did check manually in docker with my last change and it worked, so I need to dive into docker again and see what is going on.

@biagas I included the cmake logic fix you suggested, any other windows blockers?

@biagas I included the cmake logic fix you suggested, any other windows blockers?

That was the only issue I encountered when compiling your branch. I didn't run any tests, though.

@biagas thanks! I think we are ready to merge then.


[5.4]  The payload is invalid : DecryptException on Session

Laravel Version: 5.4.*
PHP Version: 5.6 & 7.1
Database Driver & Version: Postgresql 9.4 & 9.6

Description:
I've upgraded 2 Laravel applications on 5.4 few months ago.
Those application were created on 5.1, and I've always follow the upgrade guide 1 month after any major release.
Since 5.4, I often have this kind of error on POST/PUT request :
Illuminate\Contracts\Encryption\DecryptException·The payload is invalid

app/Http/Middleware/CheckForMaintenanceMode.php:43 App\Http\Middleware\CheckForMaintenanceMode::handle
             throw new HttpException(503);
        }
        return $next($request); //line 43
    }
}

This is the actual code for this middleware :
namespace App\Http\Middleware;

use Closure;
use Illuminate\Foundation\Application;
use Symfony\Component\HttpKernel\Exception\HttpException;

class CheckForMaintenanceMode
{

    /**
     * @var Application
     */
    protected $app;

    public function __construct(Application $app)
    {
        $this->app = $app;
    }

    /**
     * Handle an incoming request.
     *
     * @param  \Illuminate\Http\Request $request
     * @param  \Closure $next
     * @return mixed
     * @throws HttpException
     */
    public function handle($request, Closure $next)
    {
        if ($this->app->isDownForMaintenance()&&
            !in_array($request->ip(),])) {
            throw new HttpException(503);
        }

        if (!is_null($this->app->context->context)
            && $this->app->context->maintenance == true
            && !in_array($request->ip(), [])) {
            throw new HttpException(503);
        }

        return $next($request);
    }
}

Steps To Reproduce:
On those applications, there is around 5000 unique users per day. It happened around 300 times in the last 2 months. I've never find a way to reproduce it.
I'm using bugsnag with the last laravel lib version, and this has been introduced with 5.4.
There was no server change when this issue appears the first time, and I don't use encrypt() or decrypt() directly, it's related to the session. The session driver is file on both applications.
I had the issue with php 5.6 on Debian 8, and still have it with php 7.1 on Debian 9.
The only one place where this exception is thrown is in the Encrypter class, getJsonPayload()  method.
Middleware configuration:
protected $middleware = [
        \App\Http\Middleware\CheckForMaintenanceMode::class,
        \Illuminate\Foundation\Http\Middleware\ValidatePostSize::class,
        \App\Http\Middleware\TrimStrings::class,
        \Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull::class,
    ];

    /**
     * The application's route middleware groups.
     *
     * @var array
     */
    protected $middlewareGroups = [
        'web' => [

            \App\Http\Middleware\EncryptCookies::class,
            \Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse::class,
            \Illuminate\Session\Middleware\StartSession::class,
            \Illuminate\View\Middleware\ShareErrorsFromSession::class,
            \App\Http\Middleware\VerifyCsrfToken::class,
            \Illuminate\Routing\Middleware\SubstituteBindings::class,
        ],

        'api' => [
            'throttle:60,1',
            'bindings',
        ],
    ];

Please ask on the forums, this repo is for bug reporting only.

Don't you consider it's a bug ?

Based on the information you gave it's tightly related to your specific applications, without any indication that it might be framework related, you said I've never find a way to reproduce it so without being able to replicate it having an opened issue will lead us nowhere :)
My advice is start sharing the issue on the forums, it's the place where you might start some discussions, once you find an actual problem with part of Laravel code then go ahead and open an issue where we can replicate and discuss.

I've already tried Laracasts forums, and StackOverflow actually.

Well it's hard to tell, keep monitoring your application until you find a recognizable pattern where this happen and start debugging from there.


[Snyk] Upgrade gatsby from 5.11.0 to 5.12.5

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade gatsby from 5.11.0 to 5.12.5.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 8 versions ahead of your current version.
The recommended version was released 22 days ago, on 2023-09-27.

The recommended version fixes:

Severity
Issue
PriorityScore (*)
Exploit Maturity

Denial of Service (DoS) SNYK-JS-GRAPHQL-5905181
372/1000  Why? Proof of Concept exploit, CVSS 5.3
Proof of Concept

Heap-based Buffer Overflow SNYK-JS-SHARP-5922108
372/1000  Why? Proof of Concept exploit, CVSS 5.3
Mature

Denial of Service (DoS) SNYK-JS-SOCKETIOPARSER-5596892
372/1000  Why? Proof of Concept exploit, CVSS 5.3
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Release notes

Package name: gatsby

5.12.5 - 2023-09-27

5.12.4 - 2023-09-05

5.12.3 - 2023-08-28

5.12.2 - 2023-08-28

5.12.1 -<EMAIL_ADDRESS>

5.12.0 - 2023-08-24

5.12.0-next.1 - 2023-07-03

5.12.0-next.0 - 2023-06-15

5.11.0 - 2023-06-15

    from gatsby GitHub release notes

Commit messages

Package name: gatsby

aefefa9 chore(release): Publish
9ffed29 feat(gatsby-graphiql-explorer): lower minimum node version (#38577) (#38579)
d055a99 chore(release): Publish
56ddcce fix(gatsby-adapter-netlify): handle cases with large cached _redirects and/or _headers files (#38559) (#38564)
68be864 chore(release): Publish
dfcc546 Update gatsby-cloud-plugin README (#38479) (#38550)
0642eb7 chore(release): Publish
232ec13 fix(gatsby): don't break builds when using features unsupported by adapter (#38520) (#38521)
4b082d3 chore(release): Publish
da050e5 fix(gatsby): fix api function compilation on Windows (#38489) (#38491)
b6f1a10 chore(release): Publish
6a73ee1 fix: fix fetching adapters manifest from latest gatsby version (#38475) (#38482)
1fe0cf1 chore(release): Publish
1f9e806 fix: fix fetching adapters manifest from latest gatsby version
a1c87bc chore(release): Publish
b2d4aef feat(gatsby): Adapters (#38232)
7a2778b fix(gatsby-source-contentful): handle nullable fields (#38358)
2e08202 chore(docs): clarify react upgrade with --legacy-peer-deps (#38359)
e5126f9 fix(gatsby-source-wordpress): Set empty default alt tag for inline images (#38341)
668aa5f fix(deps): update dependency algoliasearch to ^4.18.0 for gatsby-source-npm-package-search (#38308)
06015b9 fix(deps): update minor and patch dependencies for gatsby-source-contentful (#38322)
544862b fix(deps): update minor and patch dependencies for gatsby (#38297)
cde8b49 fix(deps): update dependency verdaccio to ^5.25.0 for gatsby-dev-cli (#38318)
b074b85 fix(deps): update minor and patch dependencies for gatsby-source-wordpress (#38293)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

👷 Deploy Preview for sage-dragon-9196d9 processing.

Name
Link

🔨 Latest commit
af5fe06e848de4a54eb10b01d4bfbe99657380f2

🔍 Latest deploy log
https://app.netlify.com/sites/sage-dragon-9196d9/deploys/65304274dfd8a200083c67bb


:construction: Feat(state): Make blockTag public

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1032
#1031
#1030
#1029
#1028  👈
#1027
#1026
#1025
#1024
#1023
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @roninjin10 and the rest of your teammates on  Graphite


Simplify Templates (first pass)

Updates to most of the templates
Gets rid of huge bumblebee stylesheet and uses updated bootstrap 4
Look and feel are a little different from normal bumblebee, but I can make any changes we want to update the styling (much easier to do now).
Still need to test fully for any logic errors introduced in the templates, as of now everything is working properly afaict.
Added a small js script that checks for the presence of a use_core cookie and sets a class on the document element if it is there.  This also generally checks if javascript is available.

In order for the styles to work you will need to run sass
https://sass-lang.com/install
and then:
sass adscore/static/scss/index.scss:adscore/static/css/style.css


GitHub actions 1

PR to migrate from Travis CI to Github Actions CI.

@rohityadavcloud Please review.


Media files - odd tenant-related behaviour

Describe the bug
The system returns inconsistent paths to media files.
To Reproduce

Execute the following in the shell:

with schema_context('dalme'):
    from wagtail.images import get_image_model

    Image = get_image_model()

    for image in Image.objects.all():
    	print(image.title)

It will fail unless the image files are located in directories tenant-specific directories under media, e.g.:
/media/dalme/images//header_homepage_xgmLK1S.original.jpg
/media/dalme/original-images//header_homepage_xgmLK1S.original.jpg

Load the public site on a browser. If files are located as above, then they won't be found by the template renderers, leading to 404 errors across the board:

GET http://dalme.localhost:8000/media/images/header_homepage_xgmLK1S.original.jpg 404 (Not Found)

Expected behavior
The same path, ideally the tenanted-version, can be used in both Python and templates.

The problem is that paths stored in FileFields have to be updated to include the tenant. That includes all instances of ida.Attachment, public.BaseImage, public.CustomRendition, and wagtaildocs.Document.
A secondary problem is that, by default, FileFields are—for some incomprehensible reason—defined as varchar 100. Naturally, many of our paths are longer than a 100 characters once you add the tenant. So, in all the aforementioned models, the corresponding fields have to be subclassed locally to add max_length=255 to its attributes.
The changes are applied in commits 39fed19, 4bf502f, 50d3bf4, 586c145, and e8324d12.


message deleted by bot (suggestion)

hello, this is a suggestion
is there a way to make the bot check if the message was deleted by another bot before of being sent?, because in my server exist a channel that no one can send link, and when this person send the link, the bot (Mee6 example) deleted this message but the bot (Cross-Server) send the message anyway
i hope this can be made! :D

The issue here is that, the message is sent instantly. Mee6 will actually delete the first message after the other messages are sent.
Maybe it doesn't looks like it because of discord latency but that's actually how it works.
We could eventually delete the message just sent in all other channels if it is delete in one channel.
However there are no really simple and convenient way to do this either

In theory, it's not too difficult to achieve, however, it will add to the wait time to send the message on top of the latency of the server and the latency from the server and Discord.
Now the idea is...
Message is sent, wait for 1 to 2 seconds to try and retrieve the message from Discord. If the message no longer exists, terminate the function then. Otherwise, send the message.
Add the message to a map, and listen for the delete event.
When the delete event fires, if the message ID is within the map of messages, delete the message from Discord and remove it from the map.

yes that's also a solution to achieve this. However this adds latency to the whole process. Delaying every message by even one second could quickly get annoying
Also this would be quite vulnerable to edge case (delay in suppression, spam etc...)
Might still be the easiest way to do this though.
Otherwise if you start listening to the delete event, you'd better send the message everywhere and then delete I think 🤷♂
This brings in the whole complexity of keeping tracks of all messages sent.
Adding this features correctly, would actually mean rewriting the whole thing in a slightly better structured bot instead of this one file script put together. Since adding more and more features actually changes this simple bot in a more complex one.

Alright, here a mergeable implementation I would accept without too much refactoring and an effective design.
I will personally not do it yet so anyone feel free to PR:

Create a Structure that extends Map and add a limit (eg: only store 50 items.) Adding new items would delete the older one (older = first added. Reminder that Map keeps elements order).
Add an object of { "channelID": customMap() }.
The Map map messageID => [ { channelID, messageID } ]
This basically link the original message to all the crossposted messages.

Then listen to messageDelete event. Get the message and delete the message accordingly if needed.

Alright, here a mergeable implementation I would accept without too much refactoring and an effective design.
I will personally not do it yet so anyone feel free to PR:

Create a Structure that extends Map and add a limit (eg: only store 50 items.) Adding new items would delete the older one (older = first added. Reminder that Map keeps elements order).
Add an object of { "channelID": customMap() }.
The Map map messageID => [ { channelID, messageID } ]
This basically link the original message to all the crossposted messages.

Then listen to messageDelete event. Get the message and delete the message accordingly if needed.

So until this functionality is added the bot will not delete any message pushed by the webhook.. this also means deleting messages in one channel will make any changes in other connected channels.
I've also noticed the bot will not require any sort of permissions to push messages to linked channels because of the use of webhooks. This is actually pretty nice and I consider this to be a feature but because it doesn't send any messages itself it creates this issue around managing webhook messages.

Yes you are right, the bot at the current state would never delete any messages.
There are unfortunately no way (at least any that I can see) to reflect reaction, as the bot could at max add ONE reaction to a message, and that's granted he has access to the emoji the user used which would not necessarily be the case.
As for the permission yes you are right, since webhook creation is handled by the user setting up the bot, the bot actually only need read messages permission.
I'm however planning to add message reaction support as it has been in this thread but also for the community I am primarily developing this bot for.
The bot will then need the manage message reaction to be able to delete messages.
Be assured that not giving the bot this permission will simply prevent him to delete any messages, so if you don't trust the script and don't want to give permission to the bot, it should still function without issues..

implemented in latest release. It is optional through the deleteMessage option

How about we try an out-of-the-box solution for reactions.
What about instead of trying to recreate reactions, which is impossible, instead just send a reply to the user's message with the same emoji as the message content. I know it wouldn't be the same, but at least it would cover many use cases.

This can quickly gets very spammy and will imho obfuscate the channel for nothing. I guess depending the use case it can work. But in most case I don't think this is a very good idea.
This could eventually work as an optional feature but I'd love to know more about the use case, because for my perspective this wouldn't work out very well. Maybe I am missing something though


correct format strings when building with SWIFT_TASK_DEBUG_LOG enabled

the argument is a size_t so the compiler complains with an error that it must use a z

@swift-ci please smoke test and merge


How to use call.respond in non-suspended function.

Hello there.
I am using ktor 0.3.2 with netty, kotlin1.1 and Java8.
And thank you to make those great framework.
I'm trying to make JDBC middle ware for communication .NET main server via RESTful way.
However i have a problem to call.respond in non-suspended function.
post("query") {
    Connection.connect {
         // call.respond occurs an error. (Message: Suspension functions can be called only within coroutine body)
         call.respond(JsonResponse(query("SELECT * FROM someTable").toList())
    }
}

Connection.connect function is non-suspended function.
I think the functions as post(), get() is using lambda function that chanined by pipeline.
And that pipeline is also represented PipelineContext, And that function is suspended function.
However Connection.connect function can't be implemented pipeline patterns that designed ktor.
How do i solve this problem?
This is the source part of Connection.connect.
class Connection private constructor() {
    companion object {
        fun connect(init: Database.() -> Unit): Database {
            return connect("default", init);
        }

        fun connect(name: String, init: Database.() -> Unit): Database {
            var properties: Properties = Properties()
            val config: HashMap<String, Object>? = Config.get(name)

            if (config === null) {
                throw ConfigureNotFoundException("The configuration for connection to JDBC is not founded.")
            }

            DriverManager.registerDriver(com.amazonaws.athena.jdbc.AthenaDriver())
            val conn: Connection = DriverManager.getConnection(
                    config.get("host")?.toString(),
                    config.get("name")?.toString(),
                    config.get("password")?.toString()
            )

            var database = Database(conn)
            database.init()

            return database
        }
    }
}

Thank you.

I solved this issue myself.
Thank you.

@KennethanCeyer would be good let people know what the solution was...

Hello all you guys
This is very old issue...
I almost forgotten what is the problem.. :cry:
However perhaps i had ignored contribution culture at kotlin ecosystem then.
So i would try to remember what the solution was now!
In this issue, The problem was suspension function does not support with post("query") in follows snippet
post("query") {
    Connection.connect {
         // call.respond occurs an error. (Message: Suspension functions can be called only within coroutine body)
         call.respond(JsonResponse(query("SELECT * FROM someTable").toList())
    }
}

When I looked at Commit in the past, I seem to have solved it like follows.
@location("/athena/query")
data class ControllerName(val credential: Credential, val query: String)

fun Route.controllerName() {
    location<ModelName> {
        method(HttpMethod.Post) {
            handle<ModelName> {
                Connection.connect(it.credential) {
                     call.respond(JsonResponse(query(it.query).toList()))
                }
            }
        }
    }
}

Thanks @KennethanCeyer! This lead me down the correct path...
For reference - https://github.com/Kotlin/kotlin-coroutines/blob/master/kotlin-coroutines-informal.md#wrapping-callbacks is the correct way to wrap callbacks within a coroutine and avoid.

Suspension functions can be called only within coroutine body


Disease section

Adds module for disease specific financing

Thanks @lpicci96, where can I see the final charts?

Thanks @lpicci96, where can I see the final charts?

https://app.flourish.studio/visualisation/14182221/edit
https://app.flourish.studio/visualisation/13994099/edit

@lpicci96 I'm concerned about the missing data and our grouping strategy may not deal with this case in the best way.
The total_usd_spending function in common (L467) checks for data completeness assuming that there are gaps but that overall there's a good amount of data available. It doesn't do a cartesian product of the index + additional grouper... so if too much data is missing, it will sort of assume that there's never data for certain entities (countries/income groups/continents), so when assessing "completeness" it doesn't see it as missing since it doesn't expect it to be there in the first place.
To get around this we could:

a) improve the functions that go into _callable_by such that they create independent cartesian products of the index/grouper that take into account all the values that are actually possible. <-- this seems hard but it would probably be the most abstract/flexible solution long term
b) add a step before piping the data to total_usd_spending where we create a complete index of the countries, diseases are sources that are theoretically possible (for all countries, diseases, sources). That would create a much more sparse dataframe, which will mean the subsequent functions assess the level of missing data in a much better way.

The result of either approach will be that the output will have even more missing data (for country/income groupings), since less years/indicators will pass the threshold. That will make the results more consistent/coherent with our approach elsewhere... but may make some of the visualisations less appropriate/clear.
Thoughts? I realise the above may not be totally clear so happy to have a go at implementing or huddle to discuss further.

I've also committed a couple of tweaks to section5.py for a bit clearer documentation

I'm glad this worked (in terms of colouring only one side). However, I think it's the sources that should be colour differentiated (since there are only 3) and the diseases shouldn't. That would make it much easier to spot where the funding is going, and on the other side, from which source the money is coming.

I checked the dataframe before aggregating for groups and it is already a sparse dataframe with all possible combinations of country-year-disease-source, with missing values filled as NaN, so the issue must be somewhere else

It turns out it is happening here:
https://github.com/ONEcampaign/topic_health_financing/blob/4141ab10e2dbacdd74092d2fbd2072c5b74d37d1/scripts/tools.py#L332-L342
The df is sparse until the fowardfill and then it isn't. I meant that by design because it's not a real issue elsewhere, but it turns out it is here because of the amount of missing data even after the fill.
Let me propose a tweak

@lpicci96 @nupur-parikh... the problem is at 95% we get no data for Africa or any of the income groupings.

I've just run the rest of the analysis and it doesn't make a difference to the chart we have online. But it does mean that for this section there are no country groupings. We could massively lower the threshold (elsewhere we seem to be using >50%)
With that, we get some data for section 5 chart 1:

Africa 2015, 2016, 2017,
LIC for 2016,2017,2018
LMIC for 2018

And for section5 chart 2:

Africa 2020 HIV AIDS/ Tuberculosis (both OOP), family planning (domestic gov)
LIC 2020 Maternal conditions OOP
and a couple others

I would be in favor of not having aggregates but @nupur-parikh I defer to you

Thanks both this is extremely helpful and thank you for all your work on this! Based on what I'm understanding from the above, even if we lower the threshold for the groupings we will still have incomplete data right? If so, I would also prefer we do not do aggregates as well for this section and instead just show individual countries given the limitations listed above and the already limited data we have for disease specific financing. I think this data at an individual country level would provide extremely useful to the sector as it's difficult to find/understand anywhere else.


Strange character appeared

https://github.com/ecomfe/zrender/blob/master/src/contain/text.js#L466
It's not two spaces, but some weird character and the space.

@cryogenian Thanks for report. It's fixed and will be updated in next release.


Release 0.14.0

v0.14.0
This release adds compatibility for OCI v1.0.0-rc2 types, introduces supports for converting image labels, and fixes some issues related to automatic fallback to registry API v1.

log: introduce Logger interface (#218)
lib/internal: set UserLabels to be Docker image labels (#223).
fetch: annotate originally requested name (#224).
types: update OCI image-spec to rc2 (#226).
lib/internal: fix v2 registry check URL (#220)
lib/internal: allow auto fallback from v2 API to v1 (#222).

/cc @dgonyeo @euank @jonboulle

LGTM


[fix][doc] fix a link for StackOverflow in docs/docs/zh/development/have-questions.md

Purpose of the pull request
fix a link  for StackOverflow  in docs/docs/zh/development/have-questions.md

Brief change log
befor fix

after fix

Verify this pull request

This pull request is code cleanup without any test coverage.
(or)
This pull request is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:

I test in both website https://dolphinscheduler.apache.org/zh-cn/development/have-questions.html and github source https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/zh/development/have-questions.md and it work correctly. could you please rebase to latest code @liubo1990

I test in both website https://dolphinscheduler.apache.org/zh-cn/development/have-questions.html and github source https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/zh/development/have-questions.md and it work correctly. could you please rebase to latest code @liubo1990

I just updated the code again from the github source, then opened the docs/docs/en/development/have-questions.md file in IntelliJ IDEA, still the same problem, but the test website https://github.com/apache/dolphinscheduler/blob/dev/docs/docs/zh/development/have-questions.md is correct, I don't understand what's going on  @zhongjiajie

It work fine in my computer