Random reboot after upgrade

I run 'rpi-update' to update kernel to the latest version, and now it won't be dead, but it randomly reboot for no reason. Sometime it's one hour, sometimes it's 2 hours.
This is when I run 'last reboot'
reboot system boot 3.18.9-v7+ Fri Mar 20 15:46 - 17:54 (02:08)
reboot system boot 3.18.9-v7+ Fri Mar 20 14:17 - 15:46 (01:29)
reboot system boot 3.18.9-v7+ Fri Mar 20 14:03 - 15:46 (01:43)
pi would automatically reboot as I see in /var/log/syslog
Mar 20 15:45:48 205-1-1 /USR/SBIN/CRON[4215]: (CRON) info (No MTA installed, discarding output)
Mar 20 15:46:36 205-1-1 shutdown[4310]: shutting down for system reboot
Mar 20 15:46:36 205-1-1 init: Switching to runlevel: 6
Mar 20 15:46:39 205-1-1 mysqld: 150320 15:46:39 [Note] /usr/sbin/mysqld: Normal shutdown
Mar 20 15:46:39 205-1-1 mysqld:
Mar 20 15:46:39 205-1-1 mysqld: 150320 15:46:39 [Note] Event Scheduler: Purging the queue. 0 events
Mar 20 15:46:39 205-1-1 mysqld: 150320 15:46:39 InnoDB: Starting shutdown...
Mar 20 15:46:41 205-1-1 mysqld: 150320 15:46:41 InnoDB: Shutdown completed; log sequence number 718843536
Mar 20 15:46:41 205-1-1 mysqld: 150320 15:46:41 [Note] /usr/sbin/mysqld: Shutdown complete
Mar 20 15:46:41 205-1-1 mysqld:
Mar 20 15:46:42 205-1-1 mysqld_safe: mysqld from pid file /var/run/mysqld/mysqld.pid ended
Mar 20 15:46:47 205-1-1 kernel: imklog 5.8.11, log source = /proc/kmsg started.
Mar 20 15:46:47 205-1-1 rsyslogd: [origin software="rsyslogd" swVersion="5.8.11" x-pid="2010" x-info="http://www.rsyslog.com"] start
Mar 20 15:46:47 205-1-1 kernel: [ 0.000000] Booting Linux on physical CPU 0xf00
Mar 20 15:46:47 205-1-1 kernel: [ 0.000000] Initializing cgroup subsys cpu
Mar 20 15:46:47 205-1-1 kernel: [ 0.000000] Initializing cgroup subsys cpuacct

My pi is working perfectly for several months on rpi b+, and has problems after I upgrade. I believe it's a problem with kernel. Can someone help me with that? Thanks

I can't see a reason for this being kernel related. Looks like a cron job.
Can you revert to an earlier firmware and confirm the problem goes away? Then we can identify the point where it occurred.
From: https://github.com/Hexxeh/rpi-firmware/commits/master
you can find the hash of any firmware update (the hex number at then end of the URL).
Downgrade with:
[code]sudo rpi-update [/code]
What kernel version were you on before.
Try reverting to a version close to that and check if the issue is present.

My kernel version is 3.12.28 on pi b+, it's working fine.
Then, I upgrade to 3.18.7 for pi2, it will random be dead, I have to replug the power to reboot it manually.
Now, I am on 3.18.9, it will random reboot, not dead. At least I don't need to unplug and plug the power from time to time.
I cannot go back, because it won't support rpi2 with old version. And I am sure it's not a crob job problem. The only thing I do using cron is to take picture with a webcam, and that should not cause reboot.
However, it has error message like this:
uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
But I happened before, nothing happened, and the webcam is working fine. So I just ignore it.
Also, here is my dmesg output if you have interest to read. Thanks.
[ 0.000000] Booting Linux on physical CPU 0xf00
[ 0.000000] Initializing cgroup subsys cpu
[ 0.000000] Initializing cgroup subsys cpuacct
[ 0.000000] Linux version 3.18.9-v7+ (dc4@dc4-XPS13-9333) (gcc version 4.8.3 20140303 (prerelease) (crosstool-NG linaro-1.13.1+bzr2650 - Linaro GCC 2014.03) ) #768 SMP PREEMPT Sun Mar 15 19:41:56 GMT 2015
[ 0.000000] CPU: ARMv7 Processor [410fc075] revision 5 (ARMv7), cr=10c5387d
[ 0.000000] CPU: PIPT / VIPT nonaliasing data cache, VIPT aliasing instruction cache
[ 0.000000] Machine model: Raspberry Pi 2 Model B
[ 0.000000] cma: Reserved 8 MiB at 0x36800000
[ 0.000000] Memory policy: Data cache writealloc
[ 0.000000] On node 0 totalpages: 225280
[ 0.000000] free_area_init_node: node 0, pgdat 80809440, node_mem_map b6113000
[ 0.000000] Normal zone: 1760 pages used for memmap
[ 0.000000] Normal zone: 0 pages reserved
[ 0.000000] Normal zone: 225280 pages, LIFO batch:31
[ 0.000000] [bcm2709_smp_init_cpus] enter (8620->f3003010)
[ 0.000000] [bcm2709_smp_init_cpus] ncores=4
[ 0.000000] PERCPU: Embedded 10 pages/cpu @b60e1000 s11456 r8192 d21312 u40960
[ 0.000000] pcpu-alloc: s11456 r8192 d21312 u40960 alloc=10*4096
[ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 223520
[ 0.000000] Kernel command line: dma.dmachans=0x7f35 bcm2708_fb.fbwidth=656 bcm2708_fb.fbheight=416 bcm2709.boardrev=0xa21041 bcm2709.serial=0x76b23710 smsc95xx.macaddr=B8:27:EB:B2:37:10 bcm2708_fb.fbswap=1 bcm
0000 vc_mem.mem_base=0x3dc00000 vc_mem.mem_size=0x3f000000 dwc_otg.lpm_enable=0 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 elevator=deadline rootwait
[ 0.000000] PID hash table entries: 4096 (order: 2, 16384 bytes)
[ 0.000000] Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
[ 0.000000] Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
[ 0.000000] Memory: 875832K/901120K available (5705K kernel code, 397K rwdata, 1740K rodata, 384K init, 763K bss, 25288K reserved)
[ 0.000000] Virtual kernel memory layout:
[ 0.000000] vector : 0xffff0000 - 0xffff1000 ( 4 kB)
[ 0.000000] fixmap : 0xffc00000 - 0xffe00000 (2048 kB)
[ 0.000000] vmalloc : 0xb7800000 - 0xff000000 (1144 MB)
[ 0.000000] lowmem : 0x80000000 - 0xb7000000 ( 880 MB)
[ 0.000000] modules : 0x7f000000 - 0x80000000 ( 16 MB)
[ 0.000000] .text : 0x80008000 - 0x8074d700 (7446 kB)
[ 0.000000] .init : 0x8074e000 - 0x807ae000 ( 384 kB)
[ 0.000000] .data : 0x807ae000 - 0x8081147c ( 398 kB)
[ 0.000000] .bss : 0x8081147c - 0x808d01d4 ( 764 kB)
[ 0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=4, Nodes=1
[ 0.000000] Preemptible hierarchical RCU implementation.
[ 0.000000] NR_IRQS:608
[ 0.000000] Architected cp15 timer(s) running at 19.20MHz (virt).
[ 0.000013] sched_clock: 56 bits at 19MHz, resolution 52ns, wraps every<PHONE_NUMBER>256ns
[ 0.000037] Switching to timer-based delay loop, resolution 52ns
[ 0.000339] Console: colour dummy device 80x30
[ 0.001795] console [tty1] enabled
[ 0.001845] Calibrating delay loop (skipped), value calculated using timer frequency.. 38.40 BogoMIPS (lpj=192000)
[ 0.001929] pid_max: default: 32768 minimum: 301
[ 0.002332] Mount-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.002393] Mountpoint-cache hash table entries: 2048 (order: 1, 8192 bytes)
[ 0.003671] Initializing cgroup subsys memory
[ 0.003762] Initializing cgroup subsys devices
[ 0.003817] Initializing cgroup subsys freezer
[ 0.003870] Initializing cgroup subsys net_cls
[ 0.003937] Initializing cgroup subsys blkio
[ 0.004048] CPU: Testing write buffer coherency: ok
[ 0.004161] ftrace: allocating 19576 entries in 58 pages
[ 0.052398] CPU0: update cpu_capacity 1024
[ 0.052478] CPU0: thread -1, cpu 0, socket 15, mpidr 80000f00
[ 0.052518] [bcm2709_smp_prepare_cpus] enter
[ 0.052680] Setting up static identity map for 0x525438 - 0x52546c
[ 0.112326] [bcm2709_boot_secondary] cpu:1 started (0) 18
[ 0.112632] CPU1: Booted secondary processor
[ 0.112641] [bcm2709_secondary_init] enter cpu:1
[ 0.112690] CPU1: update cpu_capacity 1024
[ 0.112699] CPU1: thread -1, cpu 1, socket 15, mpidr 80000f01
[ 0.132301] [bcm2709_boot_secondary] cpu:2 started (0) 18
[ 0.132557] CPU2: Booted secondary processor
[ 0.132563] [bcm2709_secondary_init] enter cpu:2
[ 0.132592] CPU2: update cpu_capacity 1024
[ 0.132601] CPU2: thread -1, cpu 2, socket 15, mpidr 80000f02
[ 0.152377] [bcm2709_boot_secondary] cpu:3 started (0) 17
[ 0.152622] CPU3: Booted secondary processor
[ 0.152628] [bcm2709_secondary_init] enter cpu:3
[ 0.152656] CPU3: update cpu_capacity 1024
[ 0.152664] CPU3: thread -1, cpu 3, socket 15, mpidr 80000f03
[ 0.152760] Brought up 4 CPUs
[ 0.152892] SMP: Total of 4 processors activated (153.60 BogoMIPS).
[ 0.152926] CPU: All CPU(s) started in SVC mode.
[ 0.153944] devtmpfs: initialized
[ 0.178638] VFP support v0.3: implementor 41 architecture 2 part 30 variant 7 rev 5
[ 0.180672] pinctrl core: initialized pinctrl subsystem
[ 0.183767] NET: Registered protocol family 16
[ 0.189374] DMA: preallocated 4096 KiB pool for atomic coherent allocations
[ 0.190530] bcm2709.uart_clock = 3000000
[ 0.193282] hw-breakpoint: found 5 (+1 reserved) breakpoint and 4 watchpoint registers.
[ 0.193338] hw-breakpoint: maximum watchpoint size is 8 bytes.
[ 0.193397] mailbox: Broadcom VideoCore Mailbox driver
[ 0.193533] bcm2708_vcio: mailbox at f300b880
[ 0.193893] bcm_power: Broadcom power driver
[ 0.193931] bcm_power_open() -> 0
[ 0.193958] bcm_power_request(0, 8)
[ 0.694637] bcm_mailbox_read -> 00000080, 0
[ 0.694671] bcm_power_request -> 0
[ 0.694820] Serial: AMBA PL011 UART driver
[ 0.694971] dev:f1: ttyAMA0 at MMIO 0x3f201000 (irq = 83, base_baud = 0) is a PL011 rev3
[ 0.764981] SCSI subsystem initialized
[ 0.765274] usbcore: registered new interface driver usbfs
[ 0.765410] usbcore: registered new interface driver hub
[ 0.765581] usbcore: registered new device driver usb
[ 0.767450] Switched to clocksource arch_sys_counter
[ 0.797749] FS-Cache: Loaded
[ 0.798093] CacheFiles: Loaded
[ 0.809316] NET: Registered protocol family 2
[ 0.810749] TCP established hash table entries: 8192 (order: 3, 32768 bytes)
[ 0.810937] TCP bind hash table entries: 8192 (order: 4, 65536 bytes)
[ 0.811171] TCP: Hash tables configured (established 8192 bind 8192)
[ 0.811306] TCP: reno registered
[ 0.811344] UDP hash table entries: 512 (order: 2, 16384 bytes)
[ 0.811430] UDP-Lite hash table entries: 512 (order: 2, 16384 bytes)
[ 0.811799] NET: Registered protocol family 1
[ 0.812419] RPC: Registered named UNIX socket transport module.
[ 0.812465] RPC: Registered udp transport module.
[ 0.812497] RPC: Registered tcp transport module.
[ 0.812527] RPC: Registered tcp NFSv4.1 backchannel transport module.
[ 0.813502] hw perfevents: enabled with armv7_cortex_a7 PMU driver, 5 counters available
[ 0.813800] bcm2708_dma: DMA manager at f3007000
[ 0.813991] vc-mem: phys_addr:0x00000000 mem_base=0x3dc00000 mem_size:0x3f000000(1008 MiB)
[ 0.815565] futex hash table entries: 1024 (order: 4, 65536 bytes)
[ 0.815835] audit: initializing netlink subsys (disabled)
[ 0.815926] audit: type=2000 audit(0.789:1): initialized
[ 0.832252] VFS: Disk quotas dquot_6.5.2
[ 0.832650] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 0.835644] FS-Cache: Netfs 'nfs' registered for caching
[ 0.836718] NFS: Registering the id_resolver key type
[ 0.836816] Key type id_resolver registered
[ 0.836847] Key type id_legacy registered
[ 0.838112] msgmni has been set to 1726
[ 0.839957] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 252)
[ 0.840195] io scheduler noop registered
[ 0.840243] io scheduler deadline registered (default)
[ 0.840611] io scheduler cfq registered
[ 0.843252] BCM2708FB: allocated DMA memory f6c00000
[ 0.843321] BCM2708FB: allocated DMA channel 0 @ f3007000
[ 0.849048] Console: switching to colour frame buffer device 82x26
[ 0.854814] bcm2708-dmaengine bcm2708-dmaengine: Load BCM2835 DMA engine driver
[ 0.856773] uart-pl011 dev:f1: no DMA platform data
[ 0.858966] vc-cma: Videocore CMA driver
[ 0.860540] vc-cma: vc_cma_base = 0x00000000
[ 0.862086] vc-cma: vc_cma_size = 0x00000000 (0 MiB)
[ 0.863609] vc-cma: vc_cma_initial = 0x00000000 (0 MiB)
[ 0.876695] brd: module loaded
[ 0.883897] loop: module loaded
[ 0.885598] vchiq: vchiq_init_state: slot_zero = 0xb6800000, is_master = 0
[ 0.887855] Loading iSCSI transport class v2.0-870.
[ 0.890259] usbcore: registered new interface driver smsc95xx
[ 0.891846] dwc_otg: version 3.00a 10-AUG-2012 (platform bus)
[ 1.093721] Core Release: 2.80a
[ 1.095214] Setting default values for core params
[ 1.096702] Finished setting default values for core params
[ 1.298614] Using Buffer DMA mode
[ 1.300089] Periodic Transfer Interrupt Enhancement - disabled
[ 1.301628] Multiprocessor Interrupt Enhancement - disabled
[ 1.303174] OTG VER PARAM: 0, OTG VER FLAG: 0
[ 1.304740] Dedicated Tx FIFOs mode
[ 1.306584] WARN::dwc_otg_hcd_init:1047: FIQ DMA bounce buffers: virt = 0xb6c14000 dma = 0xf6c14000 len=9024
[ 1.309733] FIQ FSM acceleration enabled for :
[ 1.309733] Non-periodic Split Transactions
[ 1.309733] Periodic Split Transactions
[ 1.309733] High-Speed Isochronous Endpoints
[ 1.315939] dwc_otg: Microframe scheduler enabled
[ 1.316015] WARN::hcd_init_fiq:412: FIQ on core 1 at 0x803d6a28
[ 1.317667] WARN::hcd_init_fiq:413: FIQ ASM at 0x803d6d84 length 36
[ 1.319329] WARN::hcd_init_fiq:438: MPHI regs_base at 0xb780a000
[ 1.320954] dwc_otg bcm2708_usb: DWC OTG Controller
[ 1.322580] dwc_otg bcm2708_usb: new USB bus registered, assigned bus number 1
[ 1.324236] dwc_otg bcm2708_usb: irq 32, io mem 0x00000000
[ 1.325863] Init: Port Power? op_state=1
[ 1.327405] Init: Power Port (0)
[ 1.329219] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[ 1.330823] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.332411] usb usb1: Product: DWC OTG Controller
[ 1.333960] usb usb1: Manufacturer: Linux 3.18.9-v7+ dwc_otg_hcd
[ 1.335523] usb usb1: SerialNumber: bcm2708_usb
[ 1.337964] hub 1-0:1.0: USB hub found
[ 1.339540] hub 1-0:1.0: 1 port detected
[ 1.341457] dwc_otg: FIQ enabled
[ 1.341471] dwc_otg: NAK holdoff enabled
[ 1.341482] dwc_otg: FIQ split-transaction FSM enabled
[ 1.341521] Module dwc_common_port init
[ 1.341903] usbcore: registered new interface driver usb-storage
[ 1.343630] mousedev: PS/2 mouse device common for all mice
[ 1.345746] bcm2835-cpufreq: min=600000 max=900000
[ 1.347612] sdhci: Secure Digital Host Controller Interface driver
[ 1.349145] sdhci: Copyright(c) Pierre Ossman
[ 1.350860] DMA channels allocated for the MMC driver
[ 1.387487] Load BCM2835 MMC driver
[ 1.390729] sdhci-pltfm: SDHCI platform and OF driver helper
[ 1.397354] ledtrig-cpu: registered to indicate activity on CPUs
[ 1.399260] hidraw: raw HID events driver (C) Jiri Kosina
[ 1.402171] usbcore: registered new interface driver usbhid
[ 1.404823] usbhid: USB HID core driver
[ 1.410873] TCP: cubic registered
[ 1.412493] Initializing XFRM netlink socket
[ 1.415210] NET: Registered protocol family 17
[ 1.417689] Key type dns_resolver registered
[ 1.419564] Registering SWP/SWPB emulation handler
[ 1.421974] registered taskstats version 1
[ 1.423738] vc-sm: Videocore shared memory driver
[ 1.425229] [vc_sm_connected_init]: start
[ 1.427541] [vc_sm_connected_init]: end - returning 0
[ 1.430146] Waiting for root device /dev/mmcblk0p2...
[ 1.447801] mmc0: host does not support reading read-only switch, assuming write-enable
[ 1.454316] mmc0: new high speed SDHC card at address aaaa
[ 1.456468] mmcblk0: mmc0:aaaa SU16G 14.8 GiB
[ 1.462163] mmcblk0: p1 p2
[ 1.537932] Indeed it is in host mode hprt0 = 00021501
[ 1.563028] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
[ 1.566150] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[ 1.577666] devtmpfs: mounted
[ 1.579912] Freeing unused kernel memory: 384K (8074e000 - 807ae000)
[ 1.727582] usb 1-1: new high-speed USB device number 2 using dwc_otg
[ 1.729505] Indeed it is in host mode hprt0 = 00001101
[ 1.927868] usb 1-1: New USB device found, idVendor=0424, idProduct=9514
[ 1.929741] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 1.932480] hub 1-1:1.0: USB hub found
[ 1.934381] hub 1-1:1.0: 5 ports detected
[ 2.217905] usb 1-1.1: new high-speed USB device number 3 using dwc_otg
[ 2.317999] usb 1-1.1: New USB device found, idVendor=0424, idProduct=ec00
[ 2.322202] usb 1-1.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[ 2.327713] smsc95xx v1.0.4
[ 2.391285] smsc95xx 1-1.1:1.0 eth0: register 'smsc95xx' at usb-bcm2708_usb-1.1, smsc95xx USB 2.0 Ethernet, b8:27:eb:b2:37:10
[ 2.859906] udevd[197]: starting version 175
[ 3.147702] usb 1-1.4: new high-speed USB device number 4 using dwc_otg
[ 3.325470] usb 1-1.4: New USB device found, idVendor=1e4e, idProduct=0109
[ 3.329965] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 3.332492] usb 1-1.4: Product: USB2.0 Camera
[ 3.334718] usb 1-1.4: Manufacturer: Etron Technology, Inc.
[ 3.786494] media: Linux media interface: v0.10
[ 3.806159] Linux video capture interface: v2.00
[ 3.841906] uvcvideo: Found UVC 1.00 device USB2.0 Camera (1e4e:0109)
[ 3.847071] uvcvideo: UVC non compliance - GET_DEF(PROBE) not supported. Enabling workaround.
[ 3.853420] input: USB2.0 Camera as /devices/platform/bcm2708_usb/usb1/1-1/1-1.4/1-1.4:1.0/input/input0
[ 3.857667] usbcore: registered new interface driver uvcvideo
[ 3.859845] USB Video Class driver (1.1.1)
[ 3.982025] usb 1-1.4: Warning! Unlikely big volume range (=4096), cval->res is probably wrong.
[ 3.985976] usb 1-1.4: [3] FU [Mic Capture Volume] ch = 1, val = -4097/-1/1
[ 3.989020] usbcore: registered new interface driver snd-usb-audio
[ 5.622288] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 5.919825] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
[ 6.507733] i2c /dev entries driver
[ 6.610615] lirc_dev: IR Remote Control driver registered, major 245
[ 6.659289] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 6.669313] lirc_rpi: gpio chip not found!
[ 9.071929] FAT-fs (mmcblk0p1): Volume was not properly unmounted. Some data may be corrupt. Please run fsck.
[ 10.593671] random: dd urandom read with 125 bits of entropy available
[ 11.079653] random: nonblocking pool is initialized
[ 11.100826] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
[ 12.552590] smsc95xx 1-1.1:1.0 eth0: link up, 100Mbps, full-duplex, lpa 0x4DE1
[ 17.430230] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.
[ 17.437502] lirc_rpi: gpio chip not found!
[ 22.673839] ip_tables: (C) 2000-2006 Netfilter Core Team
[ 373.588235] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 674.420659] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 854.280900] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 1275.053744] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 1453.708466] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 1808.639728] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 2059.469137] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 2427.624575] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 2801.499533] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 3079.373394] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 3081.085504] uvcvideo: Failed to resubmit video URB (-1).
[ 3254.291254] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 3627.569133] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 3629.252706] uvcvideo: Failed to resubmit video URB (-1).
[ 3863.486070] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 4262.473649] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 4469.283906] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 4816.051512] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 5069.844567] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 5408.636693] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 5642.583470] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 5951.223345] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 6330.229578] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 6578.240840] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 6855.174948] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 6856.973911] uvcvideo: Failed to resubmit video URB (-1).
[ 7146.162878] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).
[ 7472.168087] uvcvideo: Failed to query (GET_DEF) UVC control 5 on unit 3: -32 (exp. 1).

Does it reboot when you access the camera? Might be a power supply issue and enabling the camera causes a voltage drop and reboots the Pi.
Can you try a different power supply or measure the voltage when running with camera working?

No. I took camera every 5 minutes. It's usually fine. I will try a different power.
And do you know at what power voltage it will reboot? What's the required power range for pi2?

Pi needs 5V +/- 5%
You need to measure the voltage when under load (e.g. with camera running).

@ljcljc is this still an issue?

Yes. I had to switch back to old B+ version of Pi, and there is no problem
then.
On Mon, Jun 15, 2015 at 12:35 AM, Rasmus Christiansen <
<EMAIL_ADDRESS>wrote:

@ljcljc https://github.com/ljcljc is this still an issue?
—
Reply to this email directly or view it on GitHub
https://github.com/Hexxeh/rpi-update/issues/168#issuecomment-111847732.

--
Best wishes
Jiechao Li

Is the B+ happy with latest kernel?
I'm sure this is a power supply issue.

Yes. B+ is stable without any problem. I have tried many different power
with RPI 2, but none of them work, after then I just gave up.
On Mon, Jun 15, 2015 at 7:35 PM, popcornmix<EMAIL_ADDRESS>wrote:

Is the B+ happy with latest kernel?
I'm sure this is a power supply issue.
—
Reply to this email directly or view it on GitHub
https://github.com/Hexxeh/rpi-update/issues/168#issuecomment-112026909.

--
Best wishes
Jiechao Li

@ljcljc can this be closed or how do we her any further? I'm thinking that the issue is/was locally else we would have seen a lot of people writting in hear.

@ljcljc is this still an issue? I'm thinking that the issue is/was locally else we would have seen a lot of people writting in here... Please consider closing this issue. Thanks.

ok, I will close it


chore(deps): Upgraded to Angular 2 RC1

Includes RC1 upgrade commit from @NathanWalker
Closes #8

Published as version 0.3.0


room.announce() has some serious delays

A few requests took minutes to return. Log appeared normal.

Are you still seeing these delays recently?

Close for now since no response for months.


Initial investigation and changes for Avro 1.9.2 upgrade.

Avro 1.9 upgrade HI: https://jira01.corp.linkedin.com:8443/browse/DEPEND-15444
Avro upgrade wiki: https://iwww.corp.linkedin.com/wiki/cf/pages/viewpage.action?spaceKey=ENGS&title=Avro+Initiative+2021
Highlights from Avro 1.9 upgrade: https://godatadriven.com/blog/highlights-from-the-new-apache-avro-1-9-0-release/
Below are some of the high level changes in Avro 1.9 (based on above highlight and initial investigation)

Deprecation of Joda time librarty and usage of Java 8 library.
Move from Jackson 1.x to 2.9. As part of this Jackson classes are removed from the public API. All the public method dealing with older version of Jackson are removed.
Below are some of methods no longer available

getJsonProps of Scheam, Schema.Field is no longer public.
getJsonProp of Schema, Scheam.Field is no longer available

Changes related to Schema.Field default value. The "defaultValue" method of Schema.field is no longer available and is replaced by "defaultVal" method. Also observed that some of the generated schemas missing "default":null. As a result corresponding tests are failing.
Avro 1.9 is leaner now and all avro shaded google guava libararies are removed.
 Some of the tests are fixed and for some TODO list is added in the test itself.
There are still lot more unidentified failed tests.
To fix some of the tests is required to fix some of the existing Gobblin classes.
Some of the tests are failing due to Helix, Hadoop, Hive libraries are using older Jackson version. Added jackson 1.x dependency as required by helix-core and hive-serde library.
Some of the tests are failing due to handling of NULL values in the schema.
This is a bigger and breaking change and more analysis and discussion is required.

Codecov Report

Merging #3328 (255d918) into master (b87b12b) will decrease coverage by 3.68%.
The diff coverage is 26.31%.

@@             Coverage Diff              @@
##             master    #3328      +/-   ##
============================================
- Coverage     46.40%   42.72%   -3.69%
+ Complexity     9997     1933    -8064
============================================
  Files          2030      395    -1635
  Lines         78982    16938   -62044
  Branches       8829     2090    -6739
============================================
- Hits          36655     7236   -29419
+ Misses        38928     8898   -30030
+ Partials       3399      804    -2595

Impacted Files
Coverage Δ

...rg/apache/gobblin/util/AvroCompatibilityUtils.java
13.79% <13.79%> (ø)

...in/java/org/apache/gobblin/util/AvroFlattener.java
71.52% <60.00%> (+0.18%)
:arrow_up:

...c/main/java/org/apache/gobblin/util/AvroUtils.java
56.35% <69.23%> (+0.55%)
:arrow_up:

...lin/util/filesystem/FileSystemInstrumentation.java
92.85% <0.00%> (-7.15%)
:arrow_down:

...in/java/org/apache/gobblin/cluster/HelixUtils.java
32.23% <0.00%> (-2.48%)
:arrow_down:

.../org/apache/gobblin/metastore/MysqlStateStore.java
8.16% <0.00%> (-0.04%)
:arrow_down:

...main/java/org/apache/gobblin/util/WriterUtils.java
38.52% <0.00%> (ø)

...n/java/org/apache/gobblin/cli/CliTablePrinter.java
0.00% <0.00%> (ø)

...a/org/apache/gobblin/aws/GobblinAWSTaskRunner.java
0.00% <0.00%> (ø)

... and 1645 more

Continue to review full report at Codecov.

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


[WIP] Move gproc related code into an 'adapter'

The end goal is to allow for a Redis adapter for event propagation (instead gproc).
This will allow users to have the flexibility of using Redis when running multi tenant setups.
Yet to add:

[ ] method and module docs for Gproc
[ ] method and module docs for Registry
[ ] test the Registry module
[ ] test the GProc module
[x] remove :gproc from all the test files
[ ] either lock to Elixir 1.2 and above, or have Travis test more combos

thanks for the feedback @edgurgel, incorporated and pushed

I have three instances of gproc to move into the GProc adapter, sooooooo close!

@edgurgel all gproc code as been moved into GProc with the full test suite passing
could you please review the changes so far?
next up is to improve the test suite to not use gproc everywhere, and to test the GProc adapter itself.
any and all advice welcomed :)

@joshk why you need redis adapter?
Erlang/Elixir have build in cluster functionality. Gproc also support cluster (global registry) mode.

@arrowcircle setting up gproc to work across hosts is not super simple, while redis provides a simpler config for easier scaling.
We require Poxa to run across hosts, and since Redis is already a major part of our infrastructure it seems like a reasonable opt-in.

@arrowcircle I'm fine supporting Redis as an adapter as well as pushing forward the distributed gproc set up.
The Registry will be a nice extraction either way as we had gproc calls every where and it was hard to maintain.
I would also like to run benchmarks to see how the performance is affected having a runtime configuration for the adapter. If it's too costly we may need to enforce it during compile time so the release will be tied to adapter selected at that time.

@edgurgel @joshk Sure distributed erlang is much complicated compared to redis and few single nodes.
FYI https://github.com/doubleyou/dps distributed pub sub erlang project with full replication.

@arrowcircle I'm pretty confident that having just the nodes with gproc will be a lot faster than having to communicate with Redis. I still bet that distributed gproc will be the best solution if we find a nice way to coordinate them and keep them connected.
If somebody is interested I would love to see how Rabbitmq and Riak deal with this and how people use Docker as well with them.

And BTW even if/when we have a Redis adapter I would use Redis just for what needs to be "distributed" across nodes but still using gproc to publish locally. So Redis would simply "aggregate" counters, sets of user_ids and do what needs to be done to relay messages. Publishing locally should still simply use gproc.

That is a very nice idea! @edgurgel would you have some time this week to meet for a coffee and talk about what is next to get this stuff merged in (hints and pointers) and then maybe we can talk about the redis adapter a bit?

Sure! Let's keep in touch.

Ok, so I have added a round of module docs, and some syntax bits, maybe all this work is not wanted, or over the top.
I also now test against other Erlang and Elixir versions, but the odd thing is the flapping tests. Any idea what I'm doing wrong?
Next up is adding some tests for the GProc Registry, and some docs for the Registry.

Ignore the flappy tests! I will try to fix on master.

Also please do not change stuff that is not related to the PR. Do you mind removing credo and everything that can't be considered part of this work. I would like to keep everything as small as possible and not prolong too much. We already got 32 files changed :/
Cheers!

This is really cool stuff! I'd love to learn about what the next steps are after this PR to get it to something we can use on production (or maybe this PR is stable enough to use on production today?). I'm currently using Slanger in distributed setup with Redis, and we're on the same boat as @joshk; with an existing Redis infrastructure.

I really like this idea, any progress on this @joshk? If you cannot finish it now, I'd be glad to take on this task of moving gproc code into an adapter.

We implemented this idea in #74. Now we can plug new adapters to poxa :muscle:


Event groups

fix checkTimeslot functioneert

Codecov Report

Merging #147 (1c043a5) into main (8e581c4) will decrease coverage by 16.40%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main     #147       +/-   ##
===========================================
- Coverage   41.17%   24.77%   -16.41%
===========================================
  Files          65       48       -17
  Lines        2460     1659      -801
  Branches      666      504      -162
===========================================
- Hits         1013      411      -602
+ Misses       1251     1076      -175
+ Partials      196      172       -24

Flag
Coverage Δ

backend
?

frontend
24.77% <ø> (ø)

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

Impacted Files
Coverage Δ

backend/graphql/typeDefs.js

backend/models/email.js

backend/models/forms.js

backend/tests/testData.js

backend/graphql/resolvers.js

backend/utils/timeCalculation.js

backend/utils/config.js

backend/services/mailer.js

backend/tests/testHelpers.js

backend/models/user.js

... and 6 more

Continue to review full report at Codecov.

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


Installation of all distros failed (Interface not supported)

I tried to install openSUSE and WLinux through the Windows Store. The Installation itself was successful. After launching it takes some minutes to install.  I can see now the message "Schnittstelle nicht unterstützt" (english: Interface not supported). After that it asks me for a username. But after typing a username and tapping enter the same message comes again. So i can't do the Setup.
Please fill out the below information:

Your Windows build number:  Microsoft Windows [Version 10.0.18272.1000]
It's a Insider Preview.

What you're doing and what's happening:
Installing, this may take a few minutes...
Schnittstelle nicht unterstützt
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit: https://aka.ms/wslusers
Enter new UNIX username: sascha
Schnittstelle nicht unterstützt
Enter new UNIX username:

What's wrong / what should be happening instead:
I can't finish the Setup process.

#3645

lxrun don't exist !!!


[CND] Add new release of enable/disable CDN custom domain and fix the issue of operation id

Generated from RestAPI PR: https://github.com/Azure/azure-rest-api-specs/pull/943

Codecov Report

Merging #1002 into master will decrease coverage by -0.04%.
The diff coverage is 22.05%.

@@            Coverage Diff             @@
##           master    #1002      +/-   ##
==========================================
- Coverage   57.69%   57.65%   -0.04%
==========================================
  Files        1927     1927
  Lines       53341    53382      +41
==========================================
+ Hits        30773    30776       +3
- Misses      22568    22606      +38

Impacted Files
Coverage Δ

...re-mgmt-cdn/azure/mgmt/cdn/models/custom_domain.py
45.45% <ø> (-4.55%)
:x:

...azure/mgmt/cdn/operations/edge_nodes_operations.py
35.71% <ø> (-4.29%)
:x:

...ure/mgmt/cdn/models/cdn_management_client_enums.py
100% <100%> (ø)
:white_check_mark:

azure-mgmt-cdn/azure/mgmt/cdn/models/init.py
100% <100%> (ø)
:white_check_mark:

...e-mgmt-cdn/azure/mgmt/cdn/cdn_management_client.py
61.38% <100%> (-1.83%)
:x:

...e/mgmt/cdn/operations/custom_domains_operations.py
11.34% <5.55%> (-1.99%)
:x:

...-mgmt-cdn/azure/mgmt/cdn/models/edge_node_paged.py
80% <75%> (ø)

Continue to review full report at Codecov.

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

In https://github.com/Azure/azure-sdk-for-python/pull/1270


PHP Fatal Error

Hi,
In case of a php fatal error is there any way to force crossbar service to restart instead of just the worker exit? Alternative a way of detecting the worker exit to force service restart?
Thanks

see supevisord

Thanks RafaelKa,
I solved it with monit adding the following line:
if children < 3 then restart
3 is the number os child processes that crossbar-controler has on my environment. If any of them exits then crossbar restarts itself and notifies me. You have to check the number of child processes you have running using:
sudo service crossabar status.
Thanks

None of above is necessary nor recommended.
In standalone mode, Crossbar.io will shutdown the whole node when one originally started worker exits. Eg here is what happens if you kill one of the workers hard:
(cpy2711_1) oberstet@office-corei7:~$ crossbar version
     __  __  __  __  __  __      __     __
    /  `|__)/  \/__`/__`|__) /\ |__)  |/  \
    \__,|  \\__/.__/.__/|__)/~~\|  \. |\__/

 Crossbar.io        : 0.14.0
   Autobahn         : 0.14.1 (with JSON, MessagePack, CBOR, UBJSON)
   Twisted          : 16.2.0-EPollReactor
   LMDB             : 0.89/lmdb-0.9.18
   Python           : 2.7.11/CPython
 OS                 : Linux-4.4.0-22-generic-x86_64-with-debian-stretch-sid
 Machine            : x86_64

(cpy2711_1) oberstet@office-corei7:~$ mkdir node1
(cpy2711_1) oberstet@office-corei7:~$ cd node1
(cpy2711_1) oberstet@office-corei7:~/node1$ crossbar init --template hello:python
Initializing application template 'hello:python' in directory '/home/oberstet/node1'
Using template from '/home/oberstet/cpy2711_1/lib/python2.7/site-packages/crossbar/templates/hello/python'
Creating directory /home/oberstet/node1/web
Creating directory /home/oberstet/node1/.crossbar
Creating file /home/oberstet/node1/README.md
Creating file /home/oberstet/node1/hello.py
Creating file /home/oberstet/node1/web/index.html
Creating file /home/oberstet/node1/.crossbar/config.json
Application template initialized

To start your node, run 'crossbar start --cbdir /home/oberstet/node1/.crossbar'

(cpy2711_1) oberstet@office-corei7:~/node1$ crossbar start
2016-06-04T12:28:04+0200 [Controller   3042] New node key generated!
2016-06-04T12:28:04+0200 [Controller   3042]      __  __  __  __  __  __      __     __
2016-06-04T12:28:04+0200 [Controller   3042]     /  `|__)/  \/__`/__`|__) /\ |__)  |/  \
2016-06-04T12:28:04+0200 [Controller   3042]     \__,|  \\__/.__/.__/|__)/~~\|  \. |\__/
2016-06-04T12:28:04+0200 [Controller   3042]
2016-06-04T12:28:04+0200 [Controller   3042]     Crossbar.io Version: 0.14.0
2016-06-04T12:28:04+0200 [Controller   3042]     Node Public Key: de0a91c307327ce307b0efacad583c895c732ffbf82e7a94e54f4b64b65a15d1
2016-06-04T12:28:04+0200 [Controller   3042]
2016-06-04T12:28:04+0200 [Controller   3042] Running from node directory '/home/oberstet/node1/.crossbar'
2016-06-04T12:28:04+0200 [Controller   3042] Controller process starting (CPython-EPollReactor) ..
2016-06-04T12:28:04+0200 [Controller   3042] Node configuration loaded from 'config.json'
2016-06-04T12:28:04+0200 [Controller   3042] Node ID 'office-corei7' set from hostname
2016-06-04T12:28:04+0200 [Controller   3042] Using default node shutdown triggers [u'shutdown_on_worker_exit']
2016-06-04T12:28:04+0200 [Controller   3042] Joined realm 'crossbar' on node management router
2016-06-04T12:28:04+0200 [Controller   3042] Starting Router with ID 'worker-001'...
2016-06-04T12:28:04+0200 [Router       3049] Worker process starting (CPython-EPollReactor) ..
2016-06-04T12:28:05+0200 [Controller   3042] Router with ID 'worker-001' and PID 3049 started
2016-06-04T12:28:05+0200 [Router       3049] Realm 'realm1' started
2016-06-04T12:28:05+0200 [Controller   3042] Router 'worker-001': realm 'realm-001' (named 'realm1') started
2016-06-04T12:28:05+0200 [Controller   3042] Router 'worker-001': role 'role-001' (named 'anonymous') started on realm 'realm-001'
2016-06-04T12:28:05+0200 [Router       3049] Site starting on 8080
2016-06-04T12:28:05+0200 [Controller   3042] Router 'worker-001': transport 'transport-001' started
2016-06-04T12:28:05+0200 [Controller   3042] Starting Container with ID 'worker-002'...
2016-06-04T12:28:05+0200 [Container    3055] Worker process starting (CPython-EPollReactor) ..
2016-06-04T12:28:05+0200 [Controller   3042] Container with ID 'worker-002' and PID 3055 started
2016-06-04T12:28:05+0200 [Controller   3042] Container 'worker-002': component 'component-001' started
2016-06-04T12:28:05+0200 [Container    3055] subscribed to topic 'onhello'
2016-06-04T12:28:05+0200 [Container    3055] procedure add2() registered
2016-06-04T12:28:05+0200 [Container    3055] published to 'oncounter' with counter 0
2016-06-04T12:28:06+0200 [Container    3055] published to 'oncounter' with counter 1
2016-06-04T12:28:07+0200 [Container    3055] published to 'oncounter' with counter 2
2016-06-04T12:28:08+0200 [Container    3055] published to 'oncounter' with counter 3
2016-06-04T12:28:09+0200 [Container    3055] published to 'oncounter' with counter 4
2016-06-04T12:28:10+0200 [Container    3055] published to 'oncounter' with counter 5
2016-06-04T12:28:11+0200 [Container    3055] published to 'oncounter' with counter 6
2016-06-04T12:28:12+0200 [Container    3055] published to 'oncounter' with counter 7
2016-06-04T12:28:13+0200 [Container    3055] published to 'oncounter' with counter 8
2016-06-04T12:28:14+0200 [Container    3055] published to 'oncounter' with counter 9
2016-06-04T12:28:15+0200 [Container    3055] published to 'oncounter' with counter 10
2016-06-04T12:28:16+0200 [Container    3055] published to 'oncounter' with counter 11
2016-06-04T12:28:17+0200 [Container    3055] published to 'oncounter' with counter 12
2016-06-04T12:28:18+0200 [Container    3055] published to 'oncounter' with counter 13
2016-06-04T12:28:19+0200 [Container    3055] published to 'oncounter' with counter 14
2016-06-04T12:28:20+0200 [Controller   3042] Native worker connection closed uncleanly: A process has ended with a probable error condition: process ended by signal 9.
2016-06-04T12:28:20+0200 [Controller   3042] Node worker worker-002 ended with error ([Failure instance: Traceback (failure with no frames): <class 'twisted.internet.error.ProcessTerminated'>: A process has ended with a probable error condition: process ended by signal 9.
])
2016-06-04T12:28:20+0200 [Controller   3042] Node worker ended, and trigger 'shutdown_on_worker_exit' active
2016-06-04T12:28:20+0200 [Controller   3042] Node shutting down ..
2016-06-04T12:28:20+0200 [Controller   3042] Shutting down node...
2016-06-04T12:28:20+0200 [Controller   3042] sending TERM to subprocess 3049
2016-06-04T12:28:20+0200 [Controller   3042] waiting for 3049 to exit...
2016-06-04T12:28:20+0200 [Controller   3042] sending TERM to subprocess 3055
2016-06-04T12:28:20+0200 [Router       3049] Native worker received SIGTERM - shutting down ..
2016-06-04T12:28:20+0200 [Router       3049] Shutdown of worker requested!
2016-06-04T12:28:20+0200 [Router       3049] Connection to node controller closed cleanly
2016-06-04T12:28:20+0200 [Router       3049] (TCP Port 8080 Closed)
2016-06-04T12:28:20+0200 [Controller   3042] Native worker connection closed cleanly.
2016-06-04T12:28:20+0200 [Controller   3042] Node worker worker-001 ended successfully
2016-06-04T12:28:20+0200 [Controller   3042] Node worker ended, and trigger 'shutdown_on_worker_exit' active
2016-06-04T12:28:20+0200 [Controller   3042] Node is already shutting down.
(cpy2711_1) oberstet@office-corei7:~/node1$

Oberstet,
I also thought that node exit after the php fatal error was the expected behavior, but what do i need to configure to have a node exit after the worker exit? Can you please describe your configuration? Why my worker exit after a php fatal errror only exits the worker?
Thanks

In your example i see that the worker that exited is a node worker and mine is a guest worker. Can i force the same behavior in a guest worker?

Hi Oberstet,
Can you please advise based on my 2 last comment? I would really like to do this the right way.
Tnanks


RoR group project: Set up Kanban board

Link Github Project
Link Kanban Board
We are working as a team of 2 members: @Olamarx and @dqarias.

Hi Team,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Approved :ok_hand: :ok_hand: :ok_hand:
Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Have you tried GFlownet on MATH/GSM8K?

Have you tried GFlownet on MATH/GSM8K?

Hi, we have not yet tried GFlowNet on GSM8K, which is an open domain problem. Current work only focuses on those problems with restricted action space. Extending GFlowNet to more general reasoning/planning tasks is a promising exploration direction. Our future work will explore this topic.
Thanks for your question and attention!


fix: imageresizer docker branch

The Dockefile for the imageresizer crafter uses an old branch, removed.

some idea? I only removed one tag and merged from master. Also, I don't see any error message.

some idea? I only removed one tag and merged from master. Also, I don't see any error message.

yes, my fault, I close this.

yes, my fault, I close this.


Gh 190 refactor accumulo store

Please pay close attention to the modified expected test values.

Codecov Report

Merging #951 into develop will decrease coverage by 0.79%.
The diff coverage is 82.35%.

@@             Coverage Diff              @@
##             develop     #951     +/-   ##
============================================
- Coverage      63.56%   62.76%   -0.8%
+ Complexity       956      909     -47
============================================
  Files            480      480
  Lines          13900    13886     -14
  Branches        1577     1574      -3
============================================
- Hits            8835     8716    -119
- Misses          4428     4543    +115
+ Partials         637      627     -10

Impacted Files
Coverage Δ
Complexity Δ

...hbasestore/serialisation/ElementSerialisation.java
77.57% <50%> (-0.34%)
0 <0> (ø)

.../core/AbstractCoreKeyAccumuloElementConverter.java
81.6% <85.1%> (+1.16%)
0 <0> (ø)
:arrow_down:

...java/uk/gov/gchq/gaffer/proxystore/ProxyStore.java
0% <0%> (-69.5%)
0% <0%> (-30%)

...uk/gov/gchq/gaffer/proxystore/ProxyProperties.java
0% <0%> (-44.83%)
0% <0%> (-17%)

...gaffer/rest/service/GraphConfigurationService.java
88.73% <0%> (-1.41%)
0% <0%> (ø)

...n/java/uk/gov/gchq/gaffer/cache/impl/JcsCache.java
84.84% <0%> (ø)
12% <0%> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Test and build need to be restarted.
"The job exceeded the maximum time limit for jobs, and has been terminated."


HiGHS DualObjectiveValue speedup

I have some models for which this is a problem: https://github.com/jump-dev/HiGHS.jl/pull/226
We should make sure to document this.

Needs https://github.com/jump-dev/HiGHS.jl/pull/227

Done in my slides.


0.28.0 regression: hiding annotation layers does not work anymore

Make sure these boxes are checked before submitting your issue - thank you!

[X] I have checked the superset logs for python stacktraces and included it here as text if any
[X] I have reproduced the issue with at least the latest released version of superset
[X] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.28.0 release
Expected results
When selecting "Hide layer", the events or interval layer should not be displayed.
Actual results
When selecting "Hide layer", the events or interval layer shows.

The blue area is the annotation layer. It should be hidden.

not fixed with 2.8.1

the annotation_layer.show boolean is not respected
"annotation_layers": [
      {
        "name": "work",
        "annotationType": "INTERVAL",
        "sourceType": "table",
        "value": 57,
        "overrides": {
          "since": null,
          "until": null
        },
        "show": false,     <--- setting this "false" still displays the annotation.
        "titleColumn": "libelle",
        "descriptionColumns": [
          "libelle"
        ],
        "timeColumn": "datestart",
        "intervalEndColumn": "dateend",
        "color": null,
        "opacity": "",
        "style": "solid",
        "width": 1,
        "showMarkers": false,
        "hideLine": false
      }

added a screenshot

I think the bug is at https://github.com/apache/incubator-superset/blob/master/superset/assets/src/visualizations/nvd3/NVD3Vis.js#L750
There is only a test on annotationData (which contains the annotation data even when the layer is hidden), and we should add a test on layer.show==true


Gui

Created a gui for the program. Completed till Text steganography. Not customized correctly yet. Check the initial code roughly. Not completed yet. Customization will be done after making every gui components functional. No need to merge yet.

Sample version complete, check if the functions are working


HTML Validation Errors

Hi @naomileron
Absolutely awesome submission for Assignment 02 🎉! Your code is beautiful.
Issue Description
I ran your code through the HTML Validator and there are a couple of errors caused by using spaces " " in your file names for the images.
If you would like to take some additional time to address these small items, or make any further tweaks to your page, you may make changes to your code for the the next 72 hours without penalty.
Please note, no issues were found in when I ran your CSS through the validator! Great job there.
HTML Validator Results
Here is the link to the full results:
https://validator.w3.org/nu/?doc=https%3A%2F%2Fimd1005-web-development-winter-2023.github.io%2Fassignment-02-naomileron%2F
Screenshot

Thank you so much! I'll definitely fix these things.
I just had one question. One of the errors in this list is placing button tags inside "a" tags. I noticed that too while I was working on the assignment, but when I tried to get rid of the a tags, it changed the alignment of some of the buttons. What could I do to fix that?

Ideally if the “button” is linking a user to another page on your site you should use an a anchor element instead of a button.
If however the “button” is controlling a user interaction like a button on a form, or a button on an app, you should use the button element.
Depending where on your page these buttons are, first determine if you are using an a or a button and then use whatever CSS flex or grid styles to style them all.
If you can share a screenshot of the alignment problems you have I can try to make some smarter recommendations.
Thanks.

Okay, this makes a lot more sense, thank you for the clarification. Before I change anything, I wanted to ask:
My buttons were supposed to be linking to other pages. Since the site isn't functional, would it be okay if I just left them as buttons, or should I change my code entirely to have them as a tags?
Thank you!

For the purpose of this assignment you can absolutely leave them as button elements!
For future projects, before you use a a or a button just consider what they might be linking to / what use action is being taken.

Okay thank you!
I also figured out why my button alignment got changed when I deleted the "a" tag - it was because it was deleting the div too so that changed its position.
Thank you so much for all your help!


Prettify profile URL

Right now the profile URL looks like vscode-insiders://profile-github/https%3A//gist.github.com/725177503274136f427527008dbf1463
We should prettify it to look like vscode-insiders://profile/gist/725...
Idea by @joaomoreno

Looks great -> verified
Current profile url is vscode-insiders://profile/github/74980f797f903f2e479a72c817a177dc
Can we even shorten it further - by shortening the UUID? Similar to how git shortens commits sometimes?

Can we even shorten it further - by shortening the UUID? Similar to how git shortens commits sometimes?

May be we can using some external libraries. But might not be worth for this usecase.


Refactor amalgamation workflow to avoid dangerous use of pull_request_target

Closes #3945
I've followed the approach recommended by Github Security Lab - Preventing pwn requests. This way the pull_request workflow won't have any write privilege that could be exploit.
I have tested the new workflow to add the comment in case of failure in the amalgamation workflow here https://github.com/joycebrum/json/pull/3, and it worked fine.
Pull request checklist
Read the Contribution Guidelines for detailed information.

[x]  Changes are described in the pull request, or an existing issue is referenced.
[x]  The test suite compiles and runs without error.
[x]  Code coverage is 100%. Test cases can be added by editing the test suite.
[x]  The source code is amalgamated; that is, after making changes to the sources in the include/nlohmann directory, run make amalgamate to create the single-header files single_include/nlohmann/json.hpp and single_include/nlohmann/json_fwd.hpp. The whole process is described here.

Please don't

The C++11 support varies between different compilers and versions. Please note the list of supported compilers. Some compilers like GCC 4.7 (and earlier), Clang 3.3 (and earlier), or Microsoft Visual Studio 13.0 and earlier are known not to work due to missing or incomplete C++11 support. Please refrain from proposing changes that work around these compiler's limitations with #ifdefs or other means.
Specifically, I am aware of compilation problems with Microsoft Visual Studio (there even is an issue label for this kind of bug). I understand that even in 2016, complete C++11 support isn't there yet. But please also understand that I do not want to drop features or uglify the code just to make Microsoft's sub-standard compiler happy. The past has shown that there are ways to express the functionality such that the code compiles with the most recent MSVC - unfortunately, this is not the main objective of the project.
Please refrain from proposing changes that would break JSON conformance. If you propose a conformant extension of JSON to be supported by the library, please motivate this extension.
Please do not open pull requests that address multiple issues.

Coverage: 100.0%. Remained the same when pulling 9380ab096ed8a9161749bc5b277bc8b9e92953ae on joycebrum:develop into b504dca35a6aac16c4596441a78024737bcc95c0 on nlohmann:develop.

Thanks a lot! I will merge once the CI runs through.


Make Mapper lazier

I was doing my workshop examples and tried to write a simple web-service that returns the current time. It looks like this:
def currentTime(): String = Calendar.getInstance().getTime.toString
val time: Router[String] = get(/) { currentTime() }

So in order to make it work I made the value argument lazy for Mapper (pass by name).

Current coverage is 94.02%

Merging #380 into master will not affect coverage as of c31fad2

Powered by Codecov. Updated on successful CI builds.


background monetization on FF

On second thought there is no issue; I misunderstood the visibilitychange event. See https://quirksmode.org/coil/documentation/backgrounded.html for full discussion.

Ok, I will close this for now then


Scenes class

A new class to make the menu(s) visible.

Started the class but got stuck with some of the member functions like events


cpeng: update register and api

Add/update registers based on latest spec.
Add wait_for_verify function to wait for

ssbl
kernel

Add API functions for

fifo1 status
fifo2 status
kernel verify
ssbl verify
soft reset

Among the new APIs, add soft reset and a command line flag to perform
only a soft reset.

Signed-off-by: Rodrigo Rojo<EMAIL_ADDRESS>

Coverage decreased (-0.1%) to 64.206% when pulling e80fd1bb8ad99dd2a8c18e5b8cc7c86d075b3e29 on rrojo/cpeng-changes into 9b92f0b91f003fc023f90619adea1ef0f5f48b6d on master.


Image Upload & Location Issue!

Hi @kwkhaw ,
There is a UI problem when you have the keyboard open and you choose to upload an image, the keyboard overlaps the action view. I think this is an Atlas issue. Should I report the issue on the Atlas-iOS page? Also the location button doesn't send the location.

Thank You!

@EMidee66 I can't reproduce the 1st issue.
Did you see the problem with the latest commit (I upgrade to Atlas 0.16.0 yesterday)?
What is your Xcode version?
Do you encounter the issue in simulator (if so, which simulator?) or your device (iOS version)?
About 2nd issue: mmm... sigh... I can't remember whether it worked previously. Probably need a bit time to check it out.
By the way, thanks for reporting the issue. :-)

Hey @kwkhaw ,
I used the latest commit on Xcode 7, simulator iPhone 6/6S. So if you send an image when the keyboard is open does the alert view appear as a standard alert or as an action sheet?
Thank You!

Hi @EMidee66 I tested it on iPhone 6s/6s Plus simulator. Below is the screencast captured with recordit.co for iPhone 6s simulator. Is it the same as what you did?

Hey @kwkhaw ,
That's perfect. That's what should happen. Maybe there's an issue
with my simulator. I fixed it by adding this code at ATLConversationViewController
[self.view endEditing:(YES)]; line 556.
Thank You!

@EMidee66 Thanks for the info!
As for the location issue, i will check it out another time. :-)


Add cloud-dot-redhat tests

Codecov Report

Merging #47 (b3b2c33) into master (30d7005) will decrease coverage by 0.36%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##           master      #47      +/-   ##
==========================================
- Coverage   85.17%   84.80%   -0.37%
==========================================
  Files           9       10       +1
  Lines        1140     1231      +91
==========================================
+ Hits          971     1044      +73
- Misses        111      122      +11
- Partials       58       65       +7

Flag
Coverage Δ

unittests
84.80% <60.00%> (-0.37%)
:arrow_down:

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

Impacted Files
Coverage Δ

crhchttp/http_cloud_dot_redhat.go
80.21% <60.00%> (ø)

Continue to review full report at Codecov.

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

What? How does it decrease code coverage :scream:


Adds various new features for ease-of-use in Sugarscape

Features include location preview window, logging support, settings.json file, various bug fixes, & more

Merged extra-features into master


tf.train.Checkpoint.restore does not restore the tf.data.Iterator state.

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
No
Source
binary
TensorFlow version
tf 2.13.0
Custom code
Yes
OS platform and distribution
Ubuntu 22.04
Mobile device
No response
Python version
3.10
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
11.8
GPU model and memory
No response
Current behavior?
tf.data.Dataset iterators are supported in tf.train.Checkpoint.  When I try to restore a checkpoint, I always get a StopIteration error.  This should not be the case because :

I save the checkpoint only at the end of an epoch.
Before saving the checkpoint, I always call db_iter=iter(dataset) ,so it should give me a new iterator.

In prior versions of TF there were functions like make_initializable_iterator() which are now deprecated. Since, there is no native mechanism to reset a python iterator to beginning, I wonder why tf.train.Checkpoint.restore() does not save the iterator state properly.
I also understand well that one can just loop over the dataset like:
import tensorflow as tf
ds = tf.data.Dataset.range(50)
for index, data in ds:
    # Do something

However, saving the dataset in the checkpoint has two problems:
a) I have not explicitly tested this  For a very large dataset like MSCOCO or OpenImages or even Imagenet, what does saving the dataset mean , if I already have the dataset as TFRecords ? Will it end up saving the whole dataset again inside the  checkpoint ? At least, tf.data.Dataset.save() points towards this. In case this is it, I would never like to save a large dataset directly into the checkpoint.
b) This is fully tested If I experiment with a small simple dataset ( e.g:- tf.data.Dataset.range(10) ) and save it in the checkpoint, then it does not restore the state of the iterator. This observation is the same as #48178 which is still unresolved.
Standalone code to reproduce the issue
import os
import numpy as np
import tensorflow as tf
from absl import app

class Net(tf.keras.Model):
    def __init__(self):
        super(Net, self).__init__()
        self.x = tf.Variable(tf.keras.initializers.GlorotUniform()(shape=[1]))

    def call(self, inputs):
        return inputs

def main(argv):
    del argv
    tf.random.set_seed(123)
    net = Net()
    optim = tf.optimizers.Adam(learning_rate=0.001)

    dataset = tf.data.Dataset.from_tensor_slices((np.arange(10)))
    dataset = dataset.shuffle(10, reshuffle_each_iteration=True)
    dataset = dataset.batch(2)
    db_iter = iter(dataset)
    step = tf.Variable(0)
    checkpoint = tf.train.Checkpoint(
        step=step, optimizer=optim, net=net, db_iter=db_iter
    )
    manager = tf.train.CheckpointManager(checkpoint, "./ckpts", max_to_keep=50)
    manager.restore_or_initialize()
    print(step)
    for epoch in range(10):
        manager.restore_or_initialize()
        for _ in range(dataset.cardinality()):
            batch = next(db_iter)
            step.assign_add(1)
            print(batch)
        db_iter = iter(dataset)
        manager.save()
        print(f"Epoch {epoch} finished.")

if __name__ == "__main__":
    app.run(main)

### Relevant log output

```shell
The first time, it will print something like :

<tf.Variable 'Variable:0' shape=() dtype=int32, numpy=0>
tf.Tensor([3 6], shape=(2,), dtype=int64)
tf.Tensor([4 0], shape=(2,), dtype=int64)
tf.Tensor([1 5], shape=(2,), dtype=int64)
tf.Tensor([7 8], shape=(2,), dtype=int64)
tf.Tensor([2 9], shape=(2,), dtype=int64)
Epoch 0 finished.
tf.Tensor([6 3], shape=(2,), dtype=int64)
tf.Tensor([0 5], shape=(2,), dtype=int64)
tf.Tensor([2 8], shape=(2,), dtype=int64)
tf.Tensor([1 7], shape=(2,), dtype=int64)
tf.Tensor([4 9], shape=(2,), dtype=int64)
Epoch 1 finished.
tf.Tensor([0 3], shape=(2,), dtype=int64)
tf.Tensor([1 4], shape=(2,), dtype=int64)
tf.Tensor([6 7], shape=(2,), dtype=int64)
tf.Tensor([9 8], shape=(2,), dtype=int64)
tf.Tensor([5 2], shape=(2,), dtype=int64)
Epoch 2 finished.
tf.Tensor([3 7], shape=(2,), dtype=int64)
tf.Tensor([0 9], shape=(2,), dtype=int64)
tf.Tensor([4 2], shape=(2,), dtype=int64)
tf.Tensor([1 8], shape=(2,), dtype=int64)
tf.Tensor([5 6], shape=(2,), dtype=int64)

and so on....

From next time onwards:

    raise StopIteration
StopIteration

Code for the issue (CoLab) :
db_iter = iter(dataset)
# ...
for epoch in range(10):
    manager.restore_or_initialize()
    # ...
    db_iter = iter(dataset)  # Reset the iterator
    # ...

The iterator is reset similarly at the beginning of each epoch by reassigning db_iter = iter(dataset). However, there's a subtle issue in this code. After the iterator is reset in the inner loop, it is no longer used in the next iteration because it's overwritten with a new iterator. This means that the checkpoint saves the initial iterator state, but it doesn't affect the dataset iteration because the iterator is recreated in each iteration
To solve this problem I have used it as
iterator = iter(dataset)
# ...
for epoch in range(10):
    manager.restore_or_initialize()
    iterator = iter(dataset)  # Reset the iterator
    # ...

CODE
import numpy as np
import tensorflow as tf
class Net(tf.keras.Model):
    def __init__(self):
        super(Net, self).__init__()
        self.x = tf.Variable(tf.keras.initializers.GlorotUniform()(shape=[1]))

    def call(self, inputs):
        return inputs

def main():
    tf.random.set_seed(123)
    net = Net()
    optim = tf.optimizers.Adam(learning_rate=0.001)
    dataset = tf.data.Dataset.from_tensor_slices((np.arange(10)))
    dataset = dataset.shuffle(10, reshuffle_each_iteration=True)
    dataset = dataset.batch(2)
    # Create a TensorFlow iterator for the dataset
    iterator = iter(dataset)
    step = tf.Variable(0)
    checkpoint = tf.train.Checkpoint(
        step=step, optimizer=optim, net=net
    )
    manager = tf.train.CheckpointManager(checkpoint, "./ckpts", max_to_keep=50)
    manager.restore_or_initialize()
    print(step)
    for epoch in range(10):
        manager.restore_or_initialize()
        iterator = iter(dataset)  # Reset the iterator
        for _ in range(dataset.cardinality()):
            batch = next(iterator)
            step.assign_add(1)
            print(batch)
        manager.save()
        print(f"Epoch {epoch} finished.")

if __name__ == "__main__":
    main()

Hi @arjun988 . Sorry but I failed to get your point. I am elaborating below :
My code snippet

for epoch in range(10):
        manager.restore_or_initialize()
        for _ in range(dataset.cardinality()):
            batch = next(db_iter)
            step.assign_add(1)
            print(batch)
        db_iter = iter(dataset)
        manager.save()
        print(f"Epoch {epoch} finished.")

Let's see it from Epoch 1
Epoch 1

manager  performs initialization as there are no checkpoints in the beginning.
db_iter is in an initialized atate.
At the end db_iter is reset.
manager.save() causes the current state of db_iter which is initialied, to be saved.

Epoch 2

manager now restores the first checkpoint and thus db_iter should be in an initialized state.

However, I would get a StopIterationError. Why is that ? db_iter is in an initialized state.

Hi @ujjwalnur
In your code snippet, you correctly reset db_iter to the beginning of the dataset after each epoch using db_iter = iter(dataset). However, when you save the checkpoint using manager.save(), it's saving the state of the iterator at that point, which is at the beginning of the dataset.
When you restore the checkpoint at the start of the next epoch using manager.restore_or_initialize(), it correctly restores the state of the iterator to where it was at the end of the previous epoch (i.e., the beginning of the dataset). However, when you subsequently call next(db_iter) inside the epoch loop, it will attempt to get the next element from the iterator, which is at the beginning of the dataset. This is why you are getting a StopIterationError because you're trying to iterate beyond the end of the dataset.
Here is the code for the same

db_iter = iter(dataset)  # Move this line here, before the epoch loop

for epoch in range(10):
    manager.restore_or_initialize()
    for _ in range(dataset.cardinality()):
        batch = next(db_iter)
        step.assign_add(1)
        print(batch)
    manager.save()
    print(f"Epoch {epoch} finished.")

With this change, the iterator is reset to the beginning of the dataset only once at the beginning of the training process, and it will correctly continue the iteration after restoring the checkpoint.

db_iter = iter(dataset)  # Move this line here, before the epoch loop
for epoch in range(10):
manager.restore_or_initialize()
for _ in range(dataset.cardinality()):
batch = next(db_iter)
step.assign_add(1)
print(batch)
manager.save()
print(f"Epoch {epoch} finished.")

With this change, the iterator is reset to the beginning of the dataset only once at the beginning of the training process, and it will correctly continue the iteration after restoring the checkpoint.

If you move line db_iter = iter(dataset)  to the top, it will never iterate beyond the first epoch since db_iter will be exhausted. Setting db_iter = iter(dataset) is a compulsion after the end of an epoch since we are working with an iterator directly.
Therefore, I cannot move db_iter = iter(dataset) outside the inner loop in my original code.
About manager.restore_or_initialize() won't be called at the start of every epoch. It will be called once during the beginning of the script. The manager.restore_or_initialize() inside the loop was just a result of some testing.  In reality,
it will be more like the following :
manager.restore_or_initialize()
for epoch in range(10):
    ....

In the description ( thanks a lot !! ) you gave, I was able to follow you nicely until the very last line. If you note, you say that

This is why you are getting a StopIterationError because you're trying to iterate beyond the end of the dataset.

While, the reality is that the iterator is at the beginning of the dataset. It is either I am not catching some very basic concept or there is something not quite right about  restoration of the iterator.

Thanks a lot your explanation have helped , I am sorry for any Confusion caused, Let's talk over this
You are correct in your original code, you have the line db_iter = iter(dataset) inside the epoch loop, which resets the iterator to the beginning of the dataset at the start of each epoch. This is a valid approach when working with iterators in this manner.
The StopIterationError occurs because when you restore the checkpoint, it correctly restores the iterator's state to where it was at the end of the previous epoch, which is at the beginning of the dataset. The error happens because, during the epoch loop, you attempt to get the next element from the iterator using batch = next(db_iter), but there are no elements left to iterate in the dataset since it's already at the beginning. Try to expand after this what are the different approach you have thought .

Hi @ujjwalnur ,
I have replicated the issue and attached gist here. Please check from your side to check is it the same issue you are trying to bring.
During second call all the code executing again starting from dataset creation to iter(dataset) etc. But it also surprised me why iter(dataset) not working even though we ran the complete code again. I am not sure at this point whether this is intended but as per my preliminary observations there seems some issue. Will dig into more or escalate to the concern SME.
Thanks!


Create JSON Schema for events and metrics

Per the investigation performed as described in  #720, we are creating JSON schema for events and metrics. The design rules are defined in issue #723.

PR #727 address the issue.
Implementation details are below:

JSON-Schemas for each of the metrics and events are stored in docs/schemas directory
short manual of how to maintain the schemas is presented here docs/schemas/README.md
to generate documentation in form of the markdown files based on the JSON Schema call in top directory of Appscope project:

make docs-generate

This will result in the creation of Markdown files and put them in docs/md_files


Add version compare lib/func

Describe the problem/challenge you have
I managed to get K8s version and store it in a variable, want to check whether there is some handy lib that can compare version
Describe the solution you'd like
maybe a new func from version module:
def compare_version (a, b):
  // return 1 if version a > b
  // return 0 if version a <= b
  // a could be v1.23.1
  // b could be v1.22.1
enf

Anything else you would like to add:
[Additional information that will assist in solving the issue.]

Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this addressed as soon as possible"
👎 "There are other more important things to focus on right now"
We are also happy to receive and review Pull Requests if you want to help working on this issue.

A workaround (which can serve as a reference implementation):
https://github.com/pivotaljohn/tanzu-framework/blob/ac3165c8/pkg/v1/providers/ytt/lib/helpers.star#L349-L360

While there's some minor questions about naming and proper home of things (if someone's game, sparking a quick conversation on Slack might well resolve this), this would be a nice add to the ytt "standard library". 👍🏻


Transition animation does not work on Nested Lists

Expected Behavior
Transition animation on Nested List component. It works in documentstion https://material-ui-next.com/demos/lists/#nested-list
Current Behavior
Animation transition does not work
Steps to Reproduce (for bugs)
https://codesandbox.io/s/3y17owj85m
Context
"material-ui": "^1.0.0-beta.34",

I don't understand. The transition is working on our codesandbox. What I am missing?

My fail. Please close this issue, and never open again :)


[Custom Pokemons] Icon/Image bugs

Some of the custom pokemon images bug out within both GUI's and PCs/Inventory. It will either pick a random texture of different GUI icons or the pokemon directly above it.

Give yourself an Iron Jet, Primal Kyogre, or Primal Arceus (Note this bug occurs after some time and on initial launch will not be there)
Check your inventory/party gui
See error

For the sprites to always appear properly

Orion Likely all
This seems to occur after sending the pokemon out. and retrieving it?

We've figured out that this was caused by an outdated Journey,Maps, and was fixed by updating!  Closing!


Fetchers trigger unnecessary useLocation/LocationContext updates

What version of Remix are you using?
1.6.3
Steps to Reproduce
Sample component below.  The location component renders 3 times total, even when using React.memo. However, the actual value of useLocation stays the same.
import { useFetcher } from "@remix-run/react";
import React, { useContext, useEffect } from "react";
import { UNSAFE_LocationContext, useLocation } from "react-router-dom";

export default function TestRoute() {
  return (

      <DataComponent />
      <LocationComponent />

  );
}

const LocationComponent = React.memo(() => {
  const locationContext = useContext(UNSAFE_LocationContext);
  const location = useLocation();

  // This prints 3 times: once on the initial page load, once when the fetcher
  // starts loading, and once when the fetcher is done loading.
  useEffect(() => {
    console.log("LocationContext changed");
  }, [locationContext]);

  // useLocation's value doesn't change, this only prints once during the
  // initial render.
  useEffect(() => {
    console.log("Location changed");
  }, [location]);

  // This also prints 3 times with the exact same output, even if we remove the
  // useContext call above.
  //
  // Even though useLocation doesn't change, react devtools say this component
  // is rendering due to "context changes". Removing the useLocation() call
  // makes this render just once.
  console.log("Location: ", JSON.stringify(location));
  return
;
});

const DataComponent = () => {
  const fetcher = useFetcher();
  useEffect(() => {
    fetcher.load("/resources/users");
  }, []);

  return
{JSON.stringify(fetcher.data)}
;
};

Expected Behavior
The useFetcher docs specifically say "Because useFetcher doesn't cause a navigation...". I would assume not causing navigation means that useLocation() shouldn't change.
Actual Behavior
useLocation() causes unnecessary re-renders when using fetchers, which can be costly on large/complex pages.
Digging in, it seems that https://github.com/remix-run/react-router/blob/main/packages/react-router/lib/components.tsx#L235 may be the culprit? Even though location and navigationType aren't actually changing, it's creating a new object with value={{ location, navigationType }} any time the Router component re-renders.
I tested patching this to wrap the context value with useMemo and the re-renders stopped:
let locationValue = useMemo(() => ({ location, navigationType }), [location, navigationType]);
return (
  <NavigationContext.Provider value={navigationContext}>
    <LocationContext.Provider
      children={children}
      value={locationValue}
    />
  </NavigationContext.Provider>
);

I was unsure if this issue is Remix-specific with the fetchers causing unnecessary updates of LocationContext, of if this bug needs to be addressed in react-router instead?

I reproduced the error by adding the route /resources/user which is called in the useEffect
here a test repo https://github.com/wanbinkimoon/remix-use-fetcher-rerender-testing
![Screenshot 2022-07-13 at 17 27 08](https://user-images.githubusercontent.com/10087639/178771793-d3876a2a-db82-
4cf0-a2eb-820ffab1a987.png)

This is something i'm experiencing and its superrrr annoying. Here's my situation:
I have a table of items that can be infinitely paginated, they can also be reordered.
On this same page I have a few links to "modal routes".
In each item component I have a few "useFetcher" hooks that are used to submit things to certain actions (duplicate, delete, archive etc).
When opening any of the modal routes, the url updates, and I can see that the useFetcher hook is causing each item to re-render. This is causing the modal routes to render really slowly, >2seconds as remix/react is re-rendering every single one of the items.
I don't get why the useFetcher hooks, which aren't dependent on the URL/location, need to cause these updates.

https://github.com/remix-run/react-router/pull/9983 was merged which should fix this when that release is published.


🐛 [BUG] lammps/build/lmp: No such file

Describe the bug
In colab tutorial example running LAMMPS fails at finding ''../lammps/build/lmp'':
!cd lammps_run/ && ../lammps/build/lmp -in toluene_minimize.in
>>>/bin/bash: ../lammps/build/lmp: No such file or directory

To Reproduce
Run the colab notebook with max_epochs 200
Expected behavior
LAMMPS runs

Hi @paulelenord ,
Thanks for your interest in our code!
Are you sure you successfully finished running the first two cells of the tutorial, which compile LAMMPS? You can remove the %%capture line at the top of the cells if you want to see the output and check that they are working. Note that compiling LAMMPS in Colab can take some time, usually around 8 minutes depending on the hardware they allocate.

Hi, I ran into the same issues. It looks like on LAMMPS end, the stable version of lammps points to the one at June 2022, and it is somewhat incompatible with the complication with nequip.  It changed line of lammps complie such that it fetches the lammps at Sep 2021 and it seems to work for me consistently afterwards.
I also attached a png on how I modify the complie. Hope this helps.
Best,
Zekun

Hm yes it looks like some compatibility edits need to be made to the tutorial, thanks for the heads up! I'll get something updated up as soon as possible.


Avoid excess load of bots going into search facet links on entity pages

Describe the bug
We're seeing in search console for several of our clients that bots go into facet links on entity pages. Given that this doesn't contribute to the quality of the indexing (e.g. bots shouldn't be going there) and that processing these requests is resource intensive, we better avoid this behaviour al together.
To Reproduce
Steps to reproduce the behavior:

Look at search console for an actively indexed DSpace 7 site, that has entities enabled
Look for the patterns in the reports of crawled urls for things like:

entities/orgunit/25913818-6714-4be5-89a6-f70c8facdf7e?f.author=Wang
Expected behavior
Robots should be blocked from doing this
Proposed solution
Add following disallow directive in robots.txt:
Disallow: /entities/*?f
Related work
Previously incorrectly created in the back-end Git repo as https://github.com/DSpace/DSpace/issues/9227

Thanks @bram-atmire! I can imagine this is a huge load (like crawling search and browse as well) and an obvious win for bots that respect robots.txt. I'm wondering if Google's interpretation of the robot exclusion protocol supports wildcards such as this after path elements. It seems maybe? Have you tried it on a live site?
As a sysadmin I'd block these patterns in Apache / nginx just to be sure—as the Russian saying goes: "trust, but verify".

Side note, we have several patterns with trailing wildcards that will be ignored by Google bot.

Wouldn't it be useful to (additionally) use add the rel="nofollow" attribute to the anchor tags in the search filters? This way we don't have to rely on how wildcards are handled by crawlers

@hutattedonmyarm if we use rel="nofollow" on search pages it would be a sign for bots to not crawl them, but they still have to load the page to read the anchor tags. In theory the robots.txt method should be better because bots can read it before.

@alanorth Not the whole page, I was only talking about the links in search-filters.component. So the checkboxes which check/uncheck all the filters in the search results sidebar. These are implemented as links. Currently, crawlers follow them, because they're part of an entities page. But they only lead to search results

@hutattedonmyarm oh yes, I was confusing the rel=nofollow with other robot instructions in head meta tags. I think you are right that we should make those links rel=nofollow.


ci: enable CodeBuild PR checks to run on multiple AWS accounts

Issue #, if available:
DOTNET-6292
Description of changes:

Created new project AWS.Deploy.Tools.CI which will deploy a Lambda function to our main testing account. This Lambda function will ping multiple test runner accounts (which we will define) to check for availability to run the CodeBuild testing project.
Updated the CloudFormation template ci.template.yml to create needed roles without needing anything to be manually defined.
Added step in GitHub workflow codebuild-ci.yml to call the Lambda function to retrieve the appropriate IAM Role to assume before kicking off the CodeBuild project from GitHub.

Note: The AWS CodeBuild CI PR check is expected to fail for this PR as I am modifying the workflow file to use a different infrastructure which does not yet exist. We need to release this change first for the GitHub workflow to work.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Approved assuming the CodeBuild CI job passes successfully.

The CodeBuild CI is not expected to pass since the new infrastructure is not yet implemented.


Layout of the EventEditor

Let's discuss how the EventEditor (and EventViewer) should look here. See #225 for some first ideas (but please do copy your ideas here).

I wonder if it's a good idea could implement that trend of grey labels inside the textboxes that disappear once you enter text. I'm not sure if that'd be rather confusing than anything else.
For now I suggest making the labels gray, that already helps.

I'm not entirely sure what you mean, but I haven't thought a second
about that color scheme (if you want to call it that).
Quoting Markus Unterwaditzer (2015-07-16 12:22:16)

I wonder if it's a good idea could implement that trend of grey labels inside the textboxes that disappear once you enter text. I'm not sure if that'd be rather confusing than anything else.
For now I suggest making the labels gray, that already helps.

Reply to this email directly or view it on GitHub:
https://github.com/geier/khal/issues/226#issuecomment-121920056

I would like to enter vi (or any external command as specified in the config file) to edit an event.

Related to https://github.com/geier/khal/issues/179 and https://github.com/geier/khal/issues/31
I'm not sure if using an external editor is sensible for anything other than summary or description.

An external editor is suitable for:

summary
description
location
from and start dates (as with the existing editor)
category (to be added to the editor)

Recurrences may be added:

either in the external editor with a simple mini-language (such as [on 1|2|..|31|monday|tuesday|...]) [every [month|week|day] [for n day|week|month])
or by ikhal if "no" is replaced by "yes" in a line such as "Repeat: no"

I think aligned labels and fields would look quite a bit better.
Instead of
Location: ___
Description: ___
From: ___

Location:    ___
Description: ___
From:        ___

The save button does not need to be full-width, and a cancel button might make sense to accompany it.
The rest of the editor looks pretty sensible right now, though we might want to keep an eye open for other fields (recursion details, category, etc).

I would like to second the notion of using an external editor. Possibly similar to how khard does it.

This could be done pretty easily by editing the EventColumn.new_event and EventColumn.edit function to check the config if the user wants to use an external editor and if so open a template for the event and then parse the saved text. This would be the same as khard does this. I would be willing to implement it.

@coachshea is working on this and it's nearly finished I believe
Am 11. Oktober 2015 00:37:28 MESZ, schrieb libre-man<EMAIL_ADDRESS>
This could be done pretty easily by editing the EventColumn.new_event
and EventColumn.edit function to check the config if the user wants to
use an external editor and if so open a template for the event and then
parse the saved text. This would be the same as khard does this. I
would be willing to implement it.

Reply to this email directly or view it on GitHub:
https://github.com/geier/khal/issues/226#issuecomment-147131056

--
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

Proposal:
Add to config for the interactive ikhal
editor = which can be khal or system
Also what would be cool is that if you do khal new and don't specify the minimal argument START and SUMMARY then the program will either start the editor specified in the config or maybe even read from stdin.
Also I'm willing to implement this if we think it's worth it


term.toTextNumber() now works with positive numbers

We can now call toTextNumber directly off of a term.  All test related to toTextNumber except for the commented out -5 are passing.

thanks! yeehaw.


Experimental IOLocalContextStorage

I think this is doomed, but putting it out there to continue the discussion in #202.

I don't think it works at all, because the dispatched fibers have their own IOLocal state.  But #3636 may open a new path.

6b542aa probably belongs on main for general cleanliness.  The motivator here is that the Java SDK loads its own testkit if it's present, in preference to any other SPI implementation, like ours.

I just realised there's a small problem of this not being the same type of context used in the API of the java backend, and I'm not entirely sure how to deal with that

so, with the new context implementation, if we use our own context and just have the custom ContextStorage unbox it, that should work fine. but we also need to expose access to a Local[F, Context] so that scala API users can access the context

just want to drop a note that I've been working on this (with Ross' blessing), and have a working implementation with tests. there's just the teeny, tiny problem that it depends not just on an unreleased cats effect version but on one that's not even merged yet. so, uh. not sure quite what to do about that

this is ready for review. I'm reluctant to mark it as not a draft however, until typelevel/cats-effect#3636 is resolved

@iRevive Has this been accidentally closed?

@razvanz thanks for pointing out! I guess I linked the wrong task/PR, and it closed automatically.

thanks for updating this @iRevive!


adds support for booleans on the left side of a value expression

@sougou
We've hit this a few times now. The first time I just had them fix the query, but it will become painful to do that as we discover more and more examples.

Travis build is passing: https://travis-ci.org/youtube/vitess/builds/261067973


Update docs add new binding AWS SES

What content needs to be created or modified?
Add docs for new binding AWS SES
Describe the solution you'd like

Where should the new material be placed?
https://docs.dapr.io/reference/components-reference/supported-bindings/

The associated pull request from dapr/dapr, dapr/components-contrib, or other Dapr code repos

dapr: https://github.com/dapr/dapr/pull/3550
componentes: https://github.com/dapr/components-contrib/issues/1019

Additional context

Resolved


TypeScript Errors: Wrap Long Lines

If the error line is long, it should wrap around at max of around 500px wide.

Fixed!


Subfamily Name Italic check applies in all correct profiles

Should be triggered if "Italic" is part of the file name, or NameID2, or NameID17.
The ticked cases indicates where you can already find it.
Name ID2 in name table should be "Italic" (or "Bold Italic")
🔥 FAIL: Check name table: FONT_SUBFAMILY_NAME entries.
* [com.google.fonts/check/name/subfamilyname](https://font-bakery.readthedocs.io/en/latest/fontbakery/profiles/googlefonts.html#com.google.fonts/check/name/subfamilyname)
🔥 FAIL SUBFAMILY_NAME for Win "Regular" must be "Italic" [code: bad-familyname]

Profile

[x] in google-font profile
[x] in universal profile
[ ] in opentype profile

Format

[x] in VF check
[x] in static check

This one should also be part of the Universal profile


format at formatOnPaste: true

https://youtu.be/uouQthFaaz0 "editor.formatOnPaste": false vs "editor.formatOnPaste": true.
https://youtu.be/pXra4k309XY mouse jumps far.

// settings.json

{
    // bad case
    "editor.formatOnPaste": true,
    "editor.formatOnSave": true,
    "editor.formatOnType": true,
    "typescript.format.semicolons": "insert",
    "[json-tmLanguage]": {
        "editor.defaultFormatter": "RedCMD.tmlanguage-syntax-highlighter"
    },
}

if "editor.formatOnPaste": true , format will get weird for a moment,
for me, the biggest problem is that the mouse will wander far away, like exp2.
I think may the latest status was not updated (via onDidChangeTextDocument()) before Format.

can confirm
strangely it only occurs when indentation is set to 'spaces'
'tabs' is perfectly fine
this may be a VSCode bug

Fixed in latest Pre-Release
was caused by me not counting for the (spaces) tab width for the initial indentation


Chrimc/priming

Fixes: #3402
DO NOT REVIEW THIS ONE FOR NOW.  Look at chrimc/priming2 PR instead.  I'm keeping this in case people want to look at the prior approach.
This is the PR for adding dynamic priming to SDK.

Pull Request Test Coverage Report for Build 242455

0 of 0   changed or added relevant lines in 0 files are covered.
236 unchanged lines in 18 files lost coverage.
Overall coverage increased (+0.1%) to 78.929%

Files with Coverage Reduction
New Missed Lines
%

/libraries/AdaptiveExpressions/BuiltinFunctions/GetPreviousViableTime.cs
1
93.94%

/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/LanguagePolicy.cs
1
96.3%

/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Recognizers/EntityRecognizers/ChannelMentionEntityRecognizer.cs
1
96.67%

/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Recognizers/EntityRecognizers/TextEntityRecognizer.cs
1
93.75%

/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Recognizers/EntityRecognizers/EntityRecognizerSet.cs
2
90.91%

/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Recognizers/RecognizerSet.cs
2
95.56%

/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Input/NumberInput.cs
3
89.29%

/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Recognizers/CrossTrainedRecognizerSet.cs
3
95.65%

/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Recognizers/MultiLanguageRecognizer.cs
4
83.33%

/libraries/Microsoft.Bot.Builder.Dialogs.Adaptive/Recognizers/RegexRecognizer.cs
5
93.24%

Totals

Change from base Build 241759:
0.1%

Covered Lines:
18298

Relevant Lines:
23183

💛  - Coveralls

We will not address this at the moment.


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit 78d3847:
:clock10: Full build: the average full build time is 6 min(s) 7 sec(s), this is based on the last 429 build(s) for this repository.

Docs Build status updates of commit 78d3847:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.