Segfault from commit e0ec4fddc3fdcc7e8de18e9e494806fb9a8659b2

What happened?
chore(bpfassets): Refactor to reduce the API exposed by bpfassets (#1413) seems to cause a segfault when running Kepler. The error is shown below.
I used git bisect to determine the offending commit.
to reproduce:

use make build to build Kepler.
then echo -n "true" > ./_output/ENABLE_PROCESS_METRICS then try to run kepler locally on my server as shown below:

[root@3e5ef333d785 kepler]# _output/bin/kepler -enable-gpu=true -v "8" &
[1] 47014
[root@3e5ef333d785 kepler]# I0520 14:20:16.194567   47014 gpu.go:38] Trying to initialize GPU collector using dcgm
W0520 14:20:16.194706   47014 gpu_dcgm.go:104] There is no DCGM daemon running in the host: libdcgm.so not Found
W0520 14:20:16.194722   47014 gpu_dcgm.go:108] Could not start DCGM. Error: libdcgm.so not Found
I0520 14:20:16.194728   47014 gpu.go:45] Error initializing dcgm: not able to connect to DCGM: libdcgm.so not Found
I0520 14:20:16.194737   47014 gpu.go:38] Trying to initialize GPU collector using nvidia-nvml
I0520 14:20:16.194761   47014 gpu.go:45] Error initializing nvidia-nvml: failed to init nvml. ERROR_LIBRARY_NOT_FOUND
I0520 14:20:16.194764   47014 gpu.go:38] Trying to initialize GPU collector using habana
I0520 14:20:16.194768   47014 gpu.go:42] Using habana to obtain gpu power
E0520 14:20:16.194823   47014 utils.go:167] cpuid command start failure: exec: "cpuid": executable file not found in $PATH
E0520 14:20:16.194837   47014 utils.go:265] failed to read cpus.yaml: open /var/lib/kepler/data/cpus.yaml: no such file or directory
E0520 14:20:16.194841   47014 utils.go:139] getCPUArch failure: open /var/lib/kepler/data/cpus.yaml: no such file or directory
I0520 14:20:16.196966   47014 exporter.go:85] Kepler running on version: e0ec4fdd
I0520 14:20:16.196978   47014 config.go:283] using gCgroup ID in the BPF program: true
I0520 14:20:16.196996   47014 config.go:285] kernel version: 5.14
I0520 14:20:16.197031   47014 config.go:310] The Idle power will be exposed. Are you running on Baremetal or using single VM per node?
I0520 14:20:16.197036   47014 config.go:151] ENABLE_EBPF_CGROUPID: true
I0520 14:20:16.197039   47014 config.go:152] ENABLE_GPU: true
I0520 14:20:16.197042   47014 config.go:153] ENABLE_QAT: false
I0520 14:20:16.197046   47014 config.go:154] ENABLE_PROCESS_METRICS: false
I0520 14:20:16.197050   47014 config.go:155] EXPOSE_HW_COUNTER_METRICS: true
I0520 14:20:16.197054   47014 config.go:156] EXPOSE_CGROUP_METRICS: true
I0520 14:20:16.197058   47014 config.go:157] EXPOSE_IRQ_COUNTER_METRICS: true
I0520 14:20:16.197062   47014 config.go:158] EXPOSE_ESTIMATED_IDLE_POWER_METRICS: true. This only impacts when the power is estimated using pre-prained models. Estimated idle power is meanin
gful only when Kepler is running on bare-metal or with a single virtual machine (VM) on the node.
I0520 14:20:16.197069   47014 config.go:159] EXPERIMENTAL_BPF_SAMPLE_RATE: 0
I0520 14:20:16.197093   47014 power.go:53] use sysfs to obtain power
I0520 14:20:16.197099   47014 redfish.go:169] failed to get redfish credential file path
I0520 14:20:16.199811   47014 acpi.go:69] Using the ACPI power meter path: /sys/devices/LNXSYSTM:00/LNXSYBUS:00/ACPI000D:00/
I0520 14:20:16.199817   47014 power.go:73] using acpi to obtain power
I0520 14:20:16.219855   47014 attacher.go:140] found bpf object file: bpfassets/libbpf/bpf.o/kepler.bpfel.o
libbpf: loading bpfassets/libbpf/bpf.o/kepler.bpfel.o
libbpf: elf: section(3) tp/sched/sched_switch, size 1864, link 0, flags 6, type=1
libbpf: sec 'tp/sched/sched_switch': found program 'kepler_sched_switch_trace' at insn offset 0 (0 bytes), code size 233 insns (1864 bytes)
libbpf: elf: section(4) .reltp/sched/sched_switch, size 288, link 32, flags 40, type=9
libbpf: elf: section(5) tp/irq/softirq_entry, size 144, link 0, flags 6, type=1
libbpf: sec 'tp/irq/softirq_entry': found program 'kepler_irq_trace' at insn offset 0 (0 bytes), code size 18 insns (144 bytes)
libbpf: elf: section(6) .reltp/irq/softirq_entry, size 16, link 32, flags 40, type=9
libbpf: elf: section(7) fexit/mark_page_accessed, size 104, link 0, flags 6, type=1
libbpf: sec 'fexit/mark_page_accessed': found program 'kepler_read_page_trace' at insn offset 0 (0 bytes), code size 13 insns (104 bytes)
libbpf: elf: section(8) .relfexit/mark_page_accessed, size 16, link 32, flags 40, type=9
libbpf: elf: section(9) tp/writeback/writeback_dirty_folio, size 104, link 0, flags 6, type=1
libbpf: sec 'tp/writeback/writeback_dirty_folio': found program 'kepler_write_page_trace' at insn offset 0 (0 bytes), code size 13 insns (104 bytes)
libbpf: elf: section(10) .reltp/writeback/writeback_dirty_folio, size 16, link 32, flags 40, type=9
libbpf: elf: section(11) .rodata.config, size 12, link 0, flags 2, type=1
libbpf: elf: section(12) .bss, size 4, link 0, flags 3, type=8
libbpf: elf: section(13) .maps, size 352, link 0, flags 3, type=1
libbpf: elf: section(14) license, size 13, link 0, flags 3, type=1
libbpf: license of bpfassets/libbpf/bpf.o/kepler.bpfel.o is Dual BSD/GPL
libbpf: elf: section(23) .BTF, size 5656, link 0, flags 0, type=1
libbpf: elf: section(25) .BTF.ext, size 2072, link 0, flags 0, type=1
libbpf: elf: section(32) .symtab, size 1128, link 1, flags 0, type=2
libbpf: looking for externs among 47 symbols...
libbpf: collected 0 externs total
libbpf: map 'processes': at sec_idx 13, offset 0.
libbpf: map 'processes': found type = 1.
libbpf: map 'processes': found key [6], sz = 4.
libbpf: map 'processes': found value [10], sz = 112.
libbpf: map 'processes': found max_entries = 32768.
libbpf: map 'pid_time': at sec_idx 13, offset 32.
libbpf: map 'pid_time': found type = 1.
libbpf: map 'pid_time': found key [6], sz = 4.
libbpf: map 'pid_time': found value [12], sz = 8.
libbpf: map 'pid_time': found max_entries = 32768.
libbpf: map 'cpu_cycles_event_reader': at sec_idx 13, offset 64.
libbpf: map 'cpu_cycles_event_reader': found type = 4.
libbpf: map 'cpu_cycles_event_reader': found key [2], sz = 4.
libbpf: map 'cpu_cycles_event_reader': found value [6], sz = 4.
libbpf: map 'cpu_cycles_event_reader': found max_entries = 128.
libbpf: map 'cpu_cycles': at sec_idx 13, offset 96.
libbpf: map 'cpu_cycles': found type = 2.
libbpf: map 'cpu_cycles': found key [6], sz = 4.
libbpf: map 'cpu_cycles': found value [12], sz = 8.
libbpf: map 'cpu_cycles': found max_entries = 128.
libbpf: map 'cpu_instructions_event_reader': at sec_idx 13, offset 128.
libbpf: map 'cpu_instructions_event_reader': found type = 4.
libbpf: map 'cpu_instructions_event_reader': found key [2], sz = 4.
libbpf: map 'cpu_instructions_event_reader': found value [6], sz = 4.
libbpf: map 'cpu_instructions_event_reader': found max_entries = 128.
libbpf: map 'cpu_instructions': at sec_idx 13, offset 160.
libbpf: map 'cpu_instructions': found type = 2.
libbpf: map 'cpu_instructions': found key [6], sz = 4.
libbpf: map 'cpu_instructions': found value [12], sz = 8.
libbpf: map 'cpu_instructions': found max_entries = 128.
libbpf: map 'cache_miss_event_reader': at sec_idx 13, offset 192.
libbpf: map 'cache_miss_event_reader': found type = 4.
libbpf: map 'cache_miss_event_reader': found key [2], sz = 4.
libbpf: map 'cache_miss_event_reader': found value [6], sz = 4.
libbpf: map 'cache_miss_event_reader': found max_entries = 128.
libbpf: map 'cache_miss': at sec_idx 13, offset 224.
libbpf: map 'cache_miss': found type = 2.
libbpf: map 'cache_miss': found key [6], sz = 4.
libbpf: map 'cache_miss': found value [12], sz = 8.
libbpf: map 'cache_miss': found max_entries = 128.
libbpf: map 'task_clock_ms_event_reader': at sec_idx 13, offset 256.
libbpf: map 'task_clock_ms_event_reader': found type = 4.
libbpf: map 'task_clock_ms_event_reader': found key [2], sz = 4.
libbpf: map 'task_clock_ms_event_reader': found value [6], sz = 4.
libbpf: map 'task_clock_ms_event_reader': found max_entries = 128.
libbpf: map 'task_clock': at sec_idx 13, offset 288.
libbpf: map 'task_clock': found type = 2.
libbpf: map 'task_clock': found key [6], sz = 4.
libbpf: map 'task_clock': found value [12], sz = 8.
libbpf: map 'task_clock': found max_entries = 128.
libbpf: map 'cpu_freq_array': at sec_idx 13, offset 320.
libbpf: map 'cpu_freq_array': found type = 2.
libbpf: map 'cpu_freq_array': found key [6], sz = 4.
libbpf: map 'cpu_freq_array': found value [6], sz = 4.
libbpf: map 'cpu_freq_array': found max_entries = 128.
libbpf: map '.rodata.config' (global data): at sec_idx 11, offset 0, flags 80.
libbpf: map 11 is ".rodata.config"
libbpf: map 'kepler.bss' (global data): at sec_idx 12, offset 0, flags 400.
libbpf: map 12 is "kepler.bss"
libbpf: sec '.reltp/sched/sched_switch': collecting relocation for section(3) 'tp/sched/sched_switch'
libbpf: sec '.reltp/sched/sched_switch': relo #0: insn #0 against '.rodata.config'
libbpf: prog 'kepler_sched_switch_trace': found data map 11 (.rodata.config, sec 11, off 0) for insn 0
libbpf: sec '.reltp/sched/sched_switch': relo #1: insn #7 against 'counter_sched_switch'
libbpf: prog 'kepler_sched_switch_trace': found data map 12 (kepler.bss, sec 12, off 0) for insn 7
libbpf: sec '.reltp/sched/sched_switch': relo #2: insn #16 against '.rodata.config'
libbpf: prog 'kepler_sched_switch_trace': found data map 11 (.rodata.config, sec 11, off 0) for insn 16
libbpf: sec '.reltp/sched/sched_switch': relo #3: insn #41 against 'cpu_cycles_event_reader'
libbpf: prog 'kepler_sched_switch_trace': found map 2 (cpu_cycles_event_reader, sec 13, off 64) for insn #41
libbpf: sec '.reltp/sched/sched_switch': relo #4: insn #53 against 'cpu_cycles'
libbpf: prog 'kepler_sched_switch_trace': found map 3 (cpu_cycles, sec 13, off 96) for insn #53
libbpf: sec '.reltp/sched/sched_switch': relo #5: insn #67 against 'cpu_cycles'
libbpf: prog 'kepler_sched_switch_trace': found map 3 (cpu_cycles, sec 13, off 96) for insn #67
libbpf: sec '.reltp/sched/sched_switch': relo #6: insn #77 against 'cpu_instructions_event_reader'
libbpf: prog 'kepler_sched_switch_trace': found map 4 (cpu_instructions_event_reader, sec 13, off 128) for insn #77
libbpf: sec '.reltp/sched/sched_switch': relo #7: insn #87 against 'cpu_instructions'
libbpf: prog 'kepler_sched_switch_trace': found map 5 (cpu_instructions, sec 13, off 160) for insn #87
libbpf: sec '.reltp/sched/sched_switch': relo #8: insn #99 against 'cpu_instructions'
libbpf: prog 'kepler_sched_switch_trace': found map 5 (cpu_instructions, sec 13, off 160) for insn #99
libbpf: sec '.reltp/sched/sched_switch': relo #9: insn #111 against 'cache_miss_event_reader'
libbpf: prog 'kepler_sched_switch_trace': found map 6 (cache_miss_event_reader, sec 13, off 192) for insn #111
libbpf: sec '.reltp/sched/sched_switch': relo #10: insn #122 against 'cache_miss'
libbpf: prog 'kepler_sched_switch_trace': found map 7 (cache_miss, sec 13, off 224) for insn #122
libbpf: sec '.reltp/sched/sched_switch': relo #11: insn #136 against 'cache_miss'
libbpf: prog 'kepler_sched_switch_trace': found map 7 (cache_miss, sec 13, off 224) for insn #136
libbpf: sec '.reltp/sched/sched_switch': relo #12: insn #145 against 'pid_time'
libbpf: prog 'kepler_sched_switch_trace': found map 1 (pid_time, sec 13, off 32) for insn #145
libbpf: sec '.reltp/sched/sched_switch': relo #13: insn #153 against 'pid_time'
libbpf: prog 'kepler_sched_switch_trace': found map 1 (pid_time, sec 13, off 32) for insn #153
libbpf: sec '.reltp/sched/sched_switch': relo #14: insn #165 against 'pid_time'
libbpf: prog 'kepler_sched_switch_trace': found map 1 (pid_time, sec 13, off 32) for insn #165
libbpf: sec '.reltp/sched/sched_switch': relo #15: insn #171 against 'processes'
libbpf: prog 'kepler_sched_switch_trace': found map 0 (processes, sec 13, off 0) for insn #171
libbpf: sec '.reltp/sched/sched_switch': relo #16: insn #195 against 'processes'
libbpf: prog 'kepler_sched_switch_trace': found map 0 (processes, sec 13, off 0) for insn #195
libbpf: sec '.reltp/sched/sched_switch': relo #17: insn #227 against 'processes'
libbpf: prog 'kepler_sched_switch_trace': found map 0 (processes, sec 13, off 0) for insn #227
libbpf: sec '.reltp/irq/softirq_entry': collecting relocation for section(5) 'tp/irq/softirq_entry'
libbpf: sec '.reltp/irq/softirq_entry': relo #0: insn #6 against 'processes'
libbpf: prog 'kepler_irq_trace': found map 0 (processes, sec 13, off 0) for insn #6
libbpf: sec '.relfexit/mark_page_accessed': collecting relocation for section(7) 'fexit/mark_page_accessed'
libbpf: sec '.relfexit/mark_page_accessed': relo #0: insn #4 against 'processes'
libbpf: prog 'kepler_read_page_trace': found map 0 (processes, sec 13, off 0) for insn #4
libbpf: sec '.reltp/writeback/writeback_dirty_folio': collecting relocation for section(9) 'tp/writeback/writeback_dirty_folio'
libbpf: sec '.reltp/writeback/writeback_dirty_folio': relo #0: insn #4 against 'processes'
libbpf: prog 'kepler_write_page_trace': found map 0 (processes, sec 13, off 0) for insn #4
I0520 14:20:16.220404   47014 attacher.go:158] 160 CPU cores detected. Resizing eBPF Perf Event Arrays
libbpf: object 'kepler': failed (-22) to create BPF token from '/sys/fs/bpf', skipping optional step...
libbpf: loaded kernel BTF from '/sys/kernel/btf/vmlinux'
libbpf: map 'processes': created successfully, fd=8
libbpf: map 'pid_time': created successfully, fd=9
libbpf: map 'cpu_cycles_event_reader': created successfully, fd=10
libbpf: map 'cpu_cycles': created successfully, fd=11
libbpf: map 'cpu_instructions_event_reader': created successfully, fd=12
libbpf: map 'cpu_instructions': created successfully, fd=13
libbpf: map 'cache_miss_event_reader': created successfully, fd=14
libbpf: map 'cache_miss': created successfully, fd=15
libbpf: map 'task_clock_ms_event_reader': created successfully, fd=16
libbpf: map 'task_clock': created successfully, fd=17
libbpf: map 'cpu_freq_array': created successfully, fd=18
libbpf: map '.rodata.config': created successfully, fd=19
libbpf: map 'kepler.bss': created successfully, fd=20
libbpf: failed to open '/sys/kernel/tracing/events/sched/sched_switch/id': No such file or directory
libbpf: failed to determine tracepoint 'sched/sched_switch' perf event ID: No such file or directory
libbpf: prog 'kepler_sched_switch_trace': failed to create tracepoint 'sched/sched_switch' perf event: No such file or directory
I0520 14:20:16.233639   47014 attacher.go:186] failed to attach tracepoint/sched/sched_switch: failed to attach program: no such file or directory
libbpf: failed to open '/sys/kernel/tracing/events/irq/softirq_entry/id': No such file or directory
libbpf: failed to determine tracepoint 'irq/softirq_entry' perf event ID: No such file or directory
libbpf: prog 'kepler_irq_trace': failed to create tracepoint 'irq/softirq_entry' perf event: No such file or directory
W0520 14:20:16.233660   47014 attacher.go:200] could not attach irq/softirq_entry: failed to attach program: no such file or directory
libbpf: failed to open '/sys/kernel/tracing/events/writeback/writeback_dirty_folio/id': No such file or directory
libbpf: failed to determine tracepoint 'writeback/writeback_dirty_folio' perf event ID: No such file or directory
libbpf: prog 'kepler_write_page_trace': failed to create tracepoint 'writeback/writeback_dirty_folio' perf event: No such file or directory
W0520 14:20:16.233679   47014 attacher.go:215] failed to attach tp/writeback/writeback_dirty_folio: failed to attach tracepoint writeback_dirty_folio to program kepler_write_page_trace: no s
uch file or directory. Kepler will not collect page cache write events. This will affect the DRAM power model estimation on VMs.
I0520 14:20:16.279749   47014 attacher.go:270] Successfully load eBPF module from libbpf object
I0520 14:20:16.279768   47014 utils.go:85] Available ebpf software counters: [bpf_net_tx_irq bpf_net_rx_irq bpf_block_irq bpf_page_cache_hit]
I0520 14:20:16.279779   47014 utils.go:90] Available ebpf hardware counters: [cpu_cycles cpu_instructions cache_miss task_clock_ms]
I0520 14:20:16.279786   47014 utils.go:103] Available cgroup metrics from cgroup: [cgroupfs_memory_usage_bytes cgroupfs_kernel_memory_usage_bytes cgroupfs_tcp_memory_usage_bytes cgroupfs_cpu
_usage_us cgroupfs_system_cpu_usage_us cgroupfs_user_cpu_usage_us cgroupfs_ioread_bytes cgroupfs_iowrite_bytes block_devices_used]
I0520 14:20:16.279796   47014 exporter.go:116] Initializing the GPU collector
I0520 14:20:16.373129   47014 watcher.go:67] Using in cluster k8s config
I0520 14:20:16.373139   47014 watcher.go:74] failed to get config: unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined
I0520 14:20:16.373145   47014 watcher.go:126] k8s APIserver watcher was not enabled
I0520 14:20:16.373181   47014 prometheus_collector.go:92] Registered Container Prometheus metrics
I0520 14:20:16.373198   47014 prometheus_collector.go:97] Registered VM Prometheus metrics
I0520 14:20:16.373206   47014 prometheus_collector.go:101] Registered Node Prometheus metrics
I0520 14:20:16.373263   47014 model.go:177] Model Config PROCESS_TOTAL: {ModelType:Ratio ModelOutputType:DynPower TrainerName:SGDRegressorTrainer EnergySource:acpi SelectFilter: InitModelURL
: InitModelFilepath: IsNodePowerModel:false ProcessFeatureNames:[] NodeFeatureNames:[] SystemMetaDataFeatureNames:[] SystemMetaDataFeatureValues:[]}
I0520 14:20:16.373289   47014 model.go:94] Using Power Model Ratio
I0520 14:20:16.373298   47014 process_energy.go:113] Using the Ratio/DynPower Power Model to estimate Process Platform Power
I0520 14:20:16.373302   47014 process_energy.go:114] Process feature names: [cpu_instructions]
I0520 14:20:16.373309   47014 model.go:177] Model Config PROCESS_COMPONENTS: {ModelType:Ratio ModelOutputType:DynPower TrainerName:SGDRegressorTrainer EnergySource:intel_rapl SelectFilter: I
nitModelURL: InitModelFilepath: IsNodePowerModel:false ProcessFeatureNames:[] NodeFeatureNames:[] SystemMetaDataFeatureNames:[] SystemMetaDataFeatureValues:[]}
I0520 14:20:16.373318   47014 model.go:94] Using Power Model Ratio
I0520 14:20:16.373324   47014 process_energy.go:123] Using the Ratio/DynPower Power Model to estimate Process Component Power
I0520 14:20:16.373330   47014 process_energy.go:124] Process feature names: [cpu_instructions cpu_instructions cache_miss   gpu_compute_util]
I0520 14:20:16.373393   47014 exporter.go:175] starting to listen on <IP_ADDRESS>:8888
I0520 14:20:16.373400   47014 exporter.go:181] Started Kepler in 176.451253ms
I0520 14:20:19.375761   47014 attacher.go:442] successfully get data with batch get and delete with 0 pids in 120.397µs
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xd1ce2d]

goroutine 110 [running]:
github.com/sustainable-computing-io/kepler/pkg/collector/stats/types.(*UInt64StatCollection).SumAllDeltaValues(...)
/kepler/pkg/collector/stats/types/types.go:135
github.com/sustainable-computing-io/kepler/pkg/collector/stats.(*NodeStats).CalcIdleEnergy(0xc000041900, {0x191a6b5, 0x12}, {0x191bff4, 0x13}, {0x1915db8, 0xf})
/kepler/pkg/collector/stats/node_stats.go:73 +0x6d
github.com/sustainable-computing-io/kepler/pkg/collector/stats.(*NodeStats).UpdateIdleEnergyWithMinValue(0xc000041900, 0x1?)
/kepler/pkg/collector/stats/node_stats.go:64 +0xb9
github.com/sustainable-computing-io/kepler/pkg/collector/energy.UpdateNodeIdleEnergy(0xc000041900)
/kepler/pkg/collector/energy/node_energy_collector.go:83 +0x4d
github.com/sustainable-computing-io/kepler/pkg/collector/energy.UpdateNodeEnergyMetrics(0xc000041900)
/kepler/pkg/collector/energy/node_energy_collector.go:105 +0xf3
github.com/sustainable-computing-io/kepler/pkg/collector.(*Collector).UpdateNodeEnergyUtilizationMetrics(...)
/kepler/pkg/collector/metric_collector.go:143
github.com/sustainable-computing-io/kepler/pkg/collector.(*Collector).UpdateEnergyUtilizationMetrics(0xc000041900)
/kepler/pkg/collector/metric_collector.go:134 +0x1b
github.com/sustainable-computing-io/kepler/pkg/collector.(*Collector).Update(0xc000041900)
/kepler/pkg/collector/metric_collector.go:109 +0x65
github.com/sustainable-computing-io/kepler/pkg/manager.(*CollectorManager).Start.func1()
/kepler/pkg/manager/manager.go:74 +0x7b
created by github.com/sustainable-computing-io/kepler/pkg/manager.(*CollectorManager).Start in goroutine 1
/kepler/pkg/manager/manager.go:66 +0x65

What did you expect to happen?
No segfault
How can we reproduce it (as minimally and precisely as possible)?
On a machine with a GPU:
# `make build` to build Kepler.
# `echo -n "true" > ./_output/ENABLE_PROCESS_METRICS` then try to run kepler locally on my server as shown below:
# _output/bin/kepler -enable-gpu=true -v "8" &

Anything else we need to know?
No response
Kepler image tag

Just using the main Kepler branch

Kubernetes version

Wasn't running in K8s

Cloud provider or bare metal

bare metal

OS version

# On Linux:
$ cat /etc/os-release
RHEL 9.4
$ uname -a
Linux 3e5ef333d785 5.14.0-427.13.1.el9_4.x86_64

Install tools

Kepler deployment config

For on kubernetes:
$ KEPLER_NAMESPACE=kepler

# provide kepler configmap
$ kubectl get configmap kepler-cfm -n ${KEPLER_NAMESPACE}
# paste output here

# provide kepler deployment description
$ kubectl describe deployment kepler-exporter -n ${KEPLER_NAMESPACE}

For standalone:
put your Kepler command argument here

Container runtime (CRI) and version (if applicable)

Related plugins (CNI, CSI, ...) and versions (if applicable)

currently debugging

Can't replicate in a RHEL 9.4VM so closing as an anomaly for now. will reopen if I can reproduce it again.


cFS-Caelum Review, EVS and FS, CFS-41

Description
This is a "bookkeeping" Pull Request meant for the cFS-Caelum Review code inspection (full-scale code review).
This PR is solely focused on "CFS-41". For more info see this readme
The Included files are
https://github.com/astrogeco/cFE/blob/caelum-code-review-cfs41/.gitignore

# EVS

# EVS
!modules/evs/fsw/**/**
!modules/core_api/fsw/inc/cfe_evs*
!modules/core_private/fsw/inc/cfe_evs_log_typedef.h
!modules/evs/CMakeLists.txt

# FS
!cfe_fs*
!modules/fs/fsw/*
!modules/fs/CMakeLists.txt

Objectives

This review starts on 04/12/2021 and ends on 04/16/2021.

Dispositions of findings is on 04/19/2021.

See also "The Power of 10" rules for safety-critical code. https://en.wikipedia.org/wiki/The_Power_of_10:_Rules_for_Developing_Safety-Critical_Code#:~:text=The Power of 10 Rules,to review or statically analyze

NOTE: Don't spend too much time over coding standard violations. The Static Code Analysis tool will enforce the coding standards. This code is developed by GSFC, so GSFC coding standards will be enforced for this code base.

Notes
If there's anything else that is observed as a repeated pattern, feel free to document as a general commen
There are several places that would trigger warnings with some common compilers/warning options. It would be nice to follow rule 10 in "The Power of 10".
Quick summary/references for currently enforced settings on the FSW
Compiler options (note -Wall and -Werror) - https://github.com/nasa/cFE/blob/0850b19a09417dd7730e9c1b44e0f5687ef0f721/cmake/sample_defs/arch_build_custom.cmake#L28-L37
cppcheck - https://github.com/nasa/cFE/blob/0850b19a09417dd7730e9c1b44e0f5687ef0f721/.github/workflows/run_fsw_cppcheck.sh#L3
CodeQL - https://github.com/nasa/cFE/blob/0850b19a09417dd7730e9c1b44e0f5687ef0f721/.github/workflows/codeql-build.yml#L35-L39
CodeSonar - currently using default set for cFE, extending to JPL and MISRA is future work
For CodeQL and CodeSonar we don't eliminate all warnings, but we do analyze and disposition them all (plan to report dispositions as part of certification package)
This approach is compliant with the latest GSFC-582 standard (that is still going through review). Happy to discuss any additional settings that you have concerns about.

Review closed 4/19.  For any future comments please open a new issue.


Configs for custom fluid fuels

There should be a config option for every jetpack type that specifies what kind of fuel it uses. This would be either plain old RF, or a fluid specified by name.
The required fuel type would be displayed in the tooltips of the jetpacks. All displays would adapt accordingly to display in either RF or mB.

inb4 Global Warming by Rocket Fuel


hessianSerialize not implement

[x] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
Just paste your stack trace here!

Ⅲ. Describe what you expected to happen
io.seata.core.rpc.netty.MessageCodecHandler#hessianSerialize

private static byte[] hessianSerialize(Object object) throws Exception {
        if (object == null) {
            throw new NullPointerException();
        }
        //todo user defined exx
        throw new RuntimeException("hessianSerialize not support");

    }

The code seems that is not finish.
Ⅳ. How to reproduce it (as minimally and precisely as possible)
Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version :
OS :
Others:

I will close this issue,if you have further question about this issue,please comment here.thank you!


Multiple suppress don't work

Multiple suppress don't work
ERROR: UnusedClass - database/factories/AttributeGroupFactory.php:12:7 - Class Database\Factories\AttributeGroupFactory is never used (see https://psalm.dev/075)
class AttributeGroupFactory extends Factory

<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @psalm-suppress UnusedClass, MissingTemplateParam
 */
class AttributeGroupFactory extends Factory
{
    /**
     * Define the model's default state.
     */
    public function definition(): array
    {
        $title = faker_translation('lastName');

        return [
            'title' => $title,
        ];
    }
}

Hey @keizah7
This is psalm-related issue (not the plugin one), can you please report about it on https://github.com/vimeo/psalm repository?

Hey @keizah7 This is psalm-related issue (not the plugin one), can you please report about it on https://github.com/vimeo/psalm repository?

https://github.com/vimeo/psalm/issues/10144

Hey @keizah7 This is psalm-related issue (not the plugin one), can you please report about it on https://github.com/vimeo/psalm repository?

I think it's related to this package, because after installing core package, problem dissapears

@keizah7
it's failed with this package/plugin because this package adds TemplateParam checks. But Psalm itself checks for suppressed issues, plugin does not do anything with @psalm-suppress annotations - it just delegates it to psalm.
The best you can do is to specify template type:

<?php

namespace Database\Factories;

use Illuminate\Database\Eloquent\Factories\Factory;

/**
 * @psalm-suppress UnusedClass, MissingTemplateParam
 * @extends \Illuminate\Database\Eloquent\Factories\Factory<\App\Models\AttributeGroup>
 */
class AttributeGroupFactory extends Factory
{
    /**
     * Define the model's default state.
     */
    public function definition(): array
    {
        $title = faker_translation('lastName');

        return [
            'title' => $title,
        ];
    }
}


Feedback for "Regions and API Endpoints Available for the Cloud Foundry Environment"

https://help.sap.com/docs/BTP/65de2977205c403bbc107264b8eccf4b/f344a57233d34199b2123b9620d0bb41.html?locale=en-US
To my knowledge API management tenant uses IP: <IP_ADDRESS>, <IP_ADDRESS> for EU20 (AZURE). Shouldn't they be part of this list?

Hi @jklingelhoefer, thanks for reaching out about this. We will look into it.


Fix crash in rb_vm_raise

Version: 0.12 (321) | be.michotte.hstracker
Stacktrace
-;rb_vm_raise;;
-;rb_exc_raise;;
-;rb_raise;;
-;rb_cmperr;;
-;rb_cmpint;;
-;sort_bang;;
-;rb_vm_dispatch;;
-;vm_dispatch;;
-;rb_scope__sort_cards!__;ns_array.rb;15
-;rb_vm_dispatch;;
-;vm_dispatch;;
-;rb_scope__get:__;player_tracker.rb;284
-;rb_vm_dispatch;;
-;vm_dispatch;;
-;rb_scope__player_get:__;game.rb;405
-;rb_vm_dispatch;;
-;vm_dispatch;;
-;rb_scope__tag_change:__;log_observer.rb;615
-;rb_vm_dispatch;;
-;vm_dispatch;;
-;rb_scope__analyze:__;log_observer.rb;366
-;rb_vm_dispatch;;
-;vm_dispatch;;
-;rb_scope__changes_in_file__block__3;log_observer.rb;121
-;vm_block_eval(RoxorVM*, rb_vm_block*, objc_selector*, unsigned long, int, unsigned long const*);;
-;rb_vm_yield_args;;
-;rb_yield;;
-;rary_each;;
-;rb_vm_dispatch;;
-;vm_dispatch;;
-;rb_scope__changes_in_file__block__2;log_observer.rb;120
-;vm_block_eval(RoxorVM*, rb_vm_block*, objc_selector*, unsigned long, int, unsigned long const*);;
-;rb_gcd_block_dispatcher;;
Reason
*** Terminating app due to uncaught exception 'ArgumentError', reason: 'in sort_cards!': comparison of PlayCard with PlayCard failed (ArgumentError) 	from in get:'
from in player_get:' 	from in tag_change:'
from in `analyze:'
'
Link to HockeyApp

https://rink.hockeyapp.net/manage/apps/219389/crash_reasons/42938268

dup #123


Catch all fires before static twig templates

If using a static template with no entry (e.g. users/login or anything that is not tied to an actually entry). the catch all system jumps in beforehand breaking access to the static template.
Suggest only firing on a 404 exception event?

Yup, I'm experiencing this too. My workaround is to set up standard static routes to the templates themselves

same here... it's a problem because we have many requests directly to twig templates, mostly for xhr requests.
I'd like to fix it myself, what 'd be the procedure to create a fork?

You can provide a pull request in the development branch after making
changes/improvements.
On Sun, 30 Dec 2018 at 14:43, 24HOURSMEDIA<EMAIL_ADDRESS>wrote:

same here... it's a problem because we have many requests directly to twig
templates, mostly for xhr requests.
I'd like to fix it myself, what 'd be the procedure to create a fork?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Dolphiq/craft3-plugin-redirect/issues/65#issuecomment-450561691,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEhJ8eFky8J-k8rA2eIclayUDop7FQMFks5u-ML5gaJpZM4Y5EBe
.

--
Met vriendelijke groet, Johan Zandstra Dolphiq Technical director +31 (0)35
20 30 052 | Rembrandtlaan 1b | 3723 BG Bilthoven

This is fixed by @24HOURSMEDIA with thanks! just updated the plugin to v1.0.20


Narrow Spring Formatter

For detailed information, please refer to https://jira.spring.io/browse/SPR-12472


Revert "Personal/arnav/cancel enumeration fix scandir err"

Reverts Azure/azure-storage-azcopy#1806

No Changes. Closing the PR.


#17941 fix conficting controller creation

This is the final proposal on the #13433 and #17941 fixing conflicting controller creation. now all test passes

Q
A

Is bugfix?
❌

New feature?
❌

Breaks BC?
❌

Tests pass?
✔

Fixed issues
#17941,

It's not clear what the code does currently. Is it possible to create a unit test that fails with master but passes with this code?

In fact this is where the issue #13433 is solved. The code was failing because misspelled  enh  I think.
Thanks

@djidji01 yes, I know which issue is that but I'd like to have a unit tests to:

Prove it needs to be fixed.
Ensure it won't be broken in the future. Especially considering that the code isn't straightforward.


go/wasm support

I've started work on go/wasm support.  See the wasm branch, here.

Current usage instructions:

cd path/to/hvue
go run examples/server/main.go
Navigate to http://localhost:8081/examples/01-introduction/

Examples through 06 work in GopherJS and wasm.
wasm doesn't have synchronous function calls from JS to wasm, so right now hvue.Computed() and friends just panic.  In the examples I simulated it via hvue.Watch().
Oh and I added hvue.Watch().
Updated the README in the wasm branch with usage instructions.  See https://github.com/HuckRidgeSW/hvue/blob/wasm/README.md.

can you check this ?
I dont get any errors, but get nothing in the web browser..
  Sorry about that.)
Also you need to run the server from the hvue directory:
cd $(LIB_FSPATH) && go run examples/server/main.go

Did you check your browser console for error messages?  I would've expected that you'd get 404s for everything, run that way.

Example 07 updated.

thanks @HuckRidgeSW that fixed it.
maybe include a Makefile so its clear how to get going.
Anyway Its funny when the examples load in the web GUI. YOu see the template and then about 1 second later it fills in the data.  Pretty interesting stuff.

Anyway Its funny when the examples load in the web GUI. YOu see the template and then about 1 second later it fills in the data.

Yeah, that's something libraries like this (that is, Vue) see a lot.  Angular had some way around it (I forget what, it's been a while); Vue may too, but I don't know.

Finished converting the last example, 08-directives, tonight.  All done.  🎉

Great stuff. Very useful for making SPA and actually understand what's
going on :)
On Wed, 12 Sep 2018, 03:38 Larry Clapp<EMAIL_ADDRESS>wrote:

Finished converting the last example, 08-directives, tonight. All done. 🎉
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/HuckRidgeSW/hvue/issues/10#issuecomment-420482500,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ATuCwuIfAdbVjdW6p53FUY6CWjOV-5r8ks5uaGWigaJpZM4WW744
.

This is able to be closed now

I'd still like to a) tag the current master in some way ("v1", probably), and obviously b) merge to master.
Also I'd like to update the examples.  The Vue Guide has moved on, too, and some of the examples have changed.  I may open a separate ticket for that, though.

Closed by #11.


upstream: original dst cluster support for host override header

Signed-off-by: Rama<EMAIL_ADDRESS>Description:
Supports the ability to route a request to a given host (specified in header) using original dst cluster
Risk Level: Low
Testing: Automated and Manual
Docs Changes: Updated
Release Notes: Updated

@ramaraochavali thanks will look tomorrow

@rshriram x-envoy-original-dst-cluster-override - does it have to have any specific value? I am assuming you want me to add this to the headers to be forwarded to upstream when original dst cluster is used?

@mattklein123 addressed the review comments. PTAL.

I was referring to adding a header uniformly for all cluster types, if Envoy captured the traffic using original dst listener. This allows you to forward traffic from one client Envoy to another server Envoy via standard round robin from client and let the server envoy do the actual task of forwarding to the original destination.
I can do this in a separate PR if this is too much work.  Thanks for the current pr though as it lays the foundation for these types of ideas.


Survey: Docutils needs your help, how can we improve?

Hi readthedocs contributors,
I'm helping out with the Docutils project, one of the most important, yet underrated python packages out there! For those who don't know, the Documentation Utilities are working underneath the hood of readthedocs to help sphinx build great documentation.
Docutils has its' own great documentation both on it's website and in the internals of it's code. You just have to look deep:

http://docutils.sourceforge.net/docutils/statemachine.py
http://docutils.sourceforge.net/docutils/parsers/rst/__init__.py

If any of you would like to help participate in the docutils project, you can check out the Docutils-develop list at http://docutils.sourceforge.net/docs/user/mailing-lists.html. Readthedocs.org and the documentation community relies heavily on docutils, perhaps some of you could join the conversation.
Since docutils is on SourceForge and most of open source activity is underway here, I'd like to get more understanding as to why docutils is so underrepresented.
Users: What do you think docutils could do to make things easier for users to understand reST and use docutils? Have you ever seen docutils' internals documentation? Documentation on the website? What is your experience, how could it be improved?
Developers: Are you interested in contributing to docutils? Have you tried? How was your experience? If not, what has prevented you? What could be improved?

Hello @tony, thanks for bringing this up. I agree with you that docutils is both important and underrepresented, and I have considered these same questions in the past so let me give you my two cents.
As a user I find the docutils web documentation extremely difficult to navigate. 100 % of the times I rely on Google to find a specific topic. Putting aside the aesthetics, it's ironic that the package that powers RTD and Sphinx has such a bad user experience regarding its own documentation.
As a developer the one thing that discourages me from contributing is having to go through SourceForge. Last time I checked they were using subversion but I am not sure this is still true.
Hope you manage to bring docutils to the place it deserves, good luck!

Closing this, as it's not actually a bug. But good luck with docutils!

Thanks for letting us have it open!
On Wed, May 27, 2015 at 3:58 PM, Eric Holscher<EMAIL_ADDRESS>wrote:

Closed #1228 https://github.com/rtfd/readthedocs.org/issues/1228.
—
Reply to this email directly or view it on GitHub
https://github.com/rtfd/readthedocs.org/issues/1228#event-315367937.


Allow insecure connections while in development

Add a global flag (e.g.: allow_insecure_connections) that allows consuming self-signed certificates and other insecure backends while in development.
#321

This feature is added on KrakenD 2.1


Allow signing using node keys via L0/L1 node context

Summary
Added method Hash => F[SignatureProof] to L0NodeContext and L1NodeContext to allow for signing data using the node key pair within the Data Application scope.
Changes

Updated node context traits, implementations, and calling locations to include KeyPair argument

Testing

unit tests pass
integration tests pass

Tickets
PROT-577

Do we really need to allow signing an arbitrary data using the node's key? I see it as a simple vector of attack - just pass a transaction and you can withdraw funds from the node

Do you just want to retrieve the SignatureProof using the node keypair? If so, besides Marcin concern, maybe we can choose a different name for the method

I agree that node keys should be handled with care but I don't see how this could be a vector of attack since it is on the developer interface and not publicly facing. As such it seems like it is up to the developer to not compromise the security of their application by maintaining operational security of their API and infrastructure.
The data application that I am working on requires the node to generate a keypair to sign data that is incoming (as shown here). As such, without this functionality I will need to recreate the key storage utilities to load and unload keys from disk or a configuration in order to maintain a stable identity for the node.

after speaking with @ryle-goehausen this can be closed since the node is expected to receive externally signed updates from the EVM contracts. This will alleviate the need for the data application to add signatures when synchronizing updates into the L1 data queue.


Git's interactive.singlekey configuration setting does not work

Issue description
When setting interactive.singlekey = true in ~/.gitconfig, the user gets a warning when using any command that use git-add--interactive under the hood:
missing Term::ReadKey, disabling interactive.singlekey

The setting is ineffective. Users still need to press the Enter key at each prompt.
Steps to reproduce
Add the above mentioned setting to ~/.gitconfig.
Technical details

System: 18.03pre116347.272c0bf88c (Impala)
Nix version: nix-env (Nix) 1.11.15
Nixpkgs version: 18.03pre116572.9824ca6975

Fixed by #30001


⚠ Jenkins Plugins Artifactory has degraded performance

In e44bd9e, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1371 ms

Resolved: Jenkins Plugins Artifactory performance has improved in ccd6e9e after 12 minutes.


ShadowOpacity, ShadowRadius and ShadowColor varying

Thanks for the PR. Could you set the defaults on your properties the same as they were set statically?

Sorry :) That was just for testing and I forgot change it back. Done.

Please can you say, when it will be distributed to nuget?

@martijn00 owns the NuGet for this. I'll try to get it into the Xamarin Component in the next couple days.

I can update the nuget for this!
Btw. @jdehlin i can easily add you to the nuget management for this so you can manage it as well.

@martijn00 Hello! Can I do anything to speed things up?

New version is online: https://www.nuget.org/packages/SidebarNavigation/1.9.4
@DarthRamone @jdehlin


Configure the git clone and fetch with the current user SSH keys if t…

…hey are available.

LGTM on fedora
➜  trustify git:(git-ssh-keys) cargo nextest run test_walker
    Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s
    Starting 2 tests across 24 binaries (173 skipped)
        PASS [   0.542s] trustify-module-importer runner::osv::walker::test::test_walker_fail_escape
        PASS [   1.050s] trustify-module-importer runner::osv::walker::test::test_walker
------------
     Summary [   1.051s] 2 tests run: 2 passed, 173 skipped

I think this can be closed as the code was added in this commit:
https://github.com/trustification/trustify/commit/8652bfecf889e8a8cf7b76e30364157cc3146cf0


Useless  "Documentation for " in some page titles.

From splitting #1212
remove the "Documentation for " string that's prepended to the title of some pages (it seems useless; why was it added?) to make more room ;

Can you provide an example of a page that contains this?

@AlexDaniel Can you provide examples?

Some (all?) of the routine pages, eg https://docs.perl6.org/routine/Date

So it should simply say “Method Date”, right?
LHF then, just change these:
https://github.com/perl6/doc/blob/c46c96b77b3f4e226ba7ec258f8f9a548cf10691/htmlify.p6#L901-L902
https://github.com/perl6/doc/blob/c46c96b77b3f4e226ba7ec258f8f9a548cf10691/htmlify.p6#L929

@W4anD0eR96 I think it should be “Method Date” and not “method Date”. I guess a call to .tc won't hurt?

@AlexDaniel , should it?
I will agree with that about "Method Date". it requires change "method" to "Method"
https://github.com/perl6/doc/blob/9659f324ebe600436a2ae098284d5e2da9861452/htmlify.p6#L929
However, "infix" should not be "Infix", I think.
https://github.com/perl6/doc/blob/9659f324ebe600436a2ae098284d5e2da9861452/htmlify.p6#L901

@AlexDaniel , now my opinion is opposite of yours.

In /type/*, like https://docs.perl6.org/type/AST, we use method and class

change code at line 929 will not convert all method to Method

For details, it works on https://docs.perl6.org/routine/(cont).∋.html,
but fails on https://docs.perl6.org/routine/old.
That's because the logic used to build there two sites are different. If we insist convert all method to Method(while keep infix asinfix), then we should test if $subkind eq 'method', that's quite dirty

@W4anD0eR96 OK. Then let's keep it lowercase and if somebody else complains, we'll do something about it. Until then, this can be closed! :)
Thanks!


add zk

Added zk a lsp server for markdown managed through the zk tool.

Sure - Can you point me to a good example that installs the latest tag with a non constant/versioned name ? Perhaps using a regex ? Cheers.

Can you point me to a good example that installs the latest tag with a non constant/versioned name ?

Sure! The denols server is probably very similar. The call to context.use_github_release_file(repo, release_file) will call the GitHub API to fetch the latest release for the given repo, and then using the resolved release version it'll produce the URL to the release_file asset (in this case it'd be either zk-%s-linux-amd64.tar.gz, zk-%s-linux-arm64.tar.gz, and so on). For Windows, this function can simply return nil, which means no release file is available for the current OS.
I see they also do .tar.gz for Linux releases, and .zip for macOS, so that needs to be taken into account in the next installer step, which accesses the context via context.capture() (see std.untargz_remote() and std.unzip_remote())


Integrating to current iOS Project

I'm new to cmake and having problems integrating this.
When I make it for iOS it gives me a blank project with default src(header/Implementation) files and resource (storyboards).
But I don't want that, what I need is to integrate existing iOS project in to my cmake environment. Or if I make it from the scratch and then move to other computer where I want to use the project and not make it again from scratch.
How that can be achieve?
I'll be grateful for little help.
Thanks

Hi @sajadkhan, we're currently developing an iOS interface for tangram-es that will be much easier to use in a typical iOS workflow (CMake has a steep learning curve and it doesn't fit iOS development especially well). @msmollin is leading the work on that, he may be able to provide advice.

Hello @sajadkhan - thanks for reaching out. Like @blair1618 mentioned we're in the development stages of a much easier workflow for integrating tangram-es into native iOS code using a binary framework that you can install manually or using Cocoapods. If there's an alternative approach that would be easier for you let us know!
While we're putting the finishing touches on that from having something to show for that, you can always using the existing cmake process to generate a build for iOS, and then create an Xcode workspace which you can import multiple distinct projects into and make them dependent upon each other. The downside with this approach is the build time increase and general management overhead associated with workspaces, but it should get the job done for now.

Thanks, I have also found a work around for my scenario. But good news that we are having a binary framework for it in the future, that will make life a lot easier.

Glad you found a solution! Progress on the iOS SDK will be noted here. Closing this issue.


Can't see USB in lsblk

Version
Microsoft Windows [Version 10.0.22000.739]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>-microsoft-standard-WSL2
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
I followed this instruction to get my USB seen by WSL2:
https://github.com/dorssel/usbipd-win
PS C:\Users\isaac> usbipd wsl list
>>
BUSID  VID:PID    DEVICE                                                        STATE
1-4    046d:0892  HD Pro Webcam C920                                            Not attached
1-12   8087:0aa7  Intel(R) Wireless Bluetooth(R)                                Not attached
1-19   1058:0730  USB Mass Storage Device                                       Attached - Ubuntu-20.04
5-6    931c:6c65  USB Input Device                                              Not attached
6-1    b58e:9e84  Yeti Classic, USB Input Device                                Not attached
6-2    046d:c539  USB Input Device                                              Not attached
6-4    04d9:0192  USB Input Device                                              Not attached
7-4    043e:9a8a  USB Input Device                                              Not attached

❯ lsusb
Bus 002 Device 002: ID 1058:0730 Western Digital Technologies, Inc. My Passport Essential (WDBACY)
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Expected Behavior
I'd expect Device 002 to show up as a block device when running lsblk
Actual Behavior
❯ lsblk
NAME MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda    8:0    0   256G  0 disk
sdb    8:16   0 339.8M  1 disk
sdc    8:32   0   256G  0 disk /

Diagnostic Logs
No response

@elsaco is there a guide on how to simply do this?
I saw that someone wrote this guide but it seems very complicated

MS is using a different approach to share USB devices in WSL, USB over IP with the usbipd daemon running on host. Since this is usbip it works both ways, a WSL client can attach a remote device also.
To get support  for USB storage devices <IP_ADDRESS> kernel needs to be rebuild. However, if you don't want to go this route I could share a kernel built with USB storage support. This is a diff between the custom kernel config and https://github.com/microsoft/WSL2-Linux-Kernel/blob/linux-msft-wsl-5.10.y/Microsoft/config-wsl:
diff config config-wsl
5c5
< CONFIG_CC_VERSION_TEXT="gcc (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0"
---
> CONFIG_CC_VERSION_TEXT="x86_64-msft-linux-gcc (GCC) 9.3.0"
7c7
< CONFIG_GCC_VERSION=90400
---
> CONFIG_GCC_VERSION=90300
11,12d10
< CONFIG_CC_CAN_LINK=y
< CONFIG_CC_CAN_LINK_STATIC=y
24c22
< CONFIG_LOCALVERSION="-custom-WSL2"
---
> CONFIG_LOCALVERSION="-microsoft-standard-WSL2"
748a747
> # CONFIG_GCC_PLUGINS is not set
2418,2433c2417
< CONFIG_USB_STORAGE=y
< # CONFIG_USB_STORAGE_DEBUG is not set
< # CONFIG_USB_STORAGE_REALTEK is not set
< # CONFIG_USB_STORAGE_DATAFAB is not set
< # CONFIG_USB_STORAGE_FREECOM is not set
< # CONFIG_USB_STORAGE_ISD200 is not set
< # CONFIG_USB_STORAGE_USBAT is not set
< # CONFIG_USB_STORAGE_SDDR09 is not set
< # CONFIG_USB_STORAGE_SDDR55 is not set
< # CONFIG_USB_STORAGE_JUMPSHOT is not set
< # CONFIG_USB_STORAGE_ALAUDA is not set
< # CONFIG_USB_STORAGE_ONETOUCH is not set
< # CONFIG_USB_STORAGE_KARMA is not set
< # CONFIG_USB_STORAGE_CYPRESS_ATACB is not set
< # CONFIG_USB_STORAGE_ENE_UB6250 is not set
< # CONFIG_USB_UAS is not set
---
> # CONFIG_USB_STORAGE is not set
3541c3525,3531
< # CONFIG_DEBUG_INFO is not set
---
> CONFIG_DEBUG_INFO=y
> # CONFIG_DEBUG_INFO_REDUCED is not set
> # CONFIG_DEBUG_INFO_COMPRESSED is not set
> # CONFIG_DEBUG_INFO_SPLIT is not set
> # CONFIG_DEBUG_INFO_DWARF4 is not set
> CONFIG_DEBUG_INFO_BTF=y
> # CONFIG_GDB_SCRIPTS is not set

Nothing different beside CONFIG_USB_STORAGE=y and CONFIG_DEBUG_INFO=n

Got it. Thanks for the info @elsaco. So it should be as simple as

Cloning the kernel git clone https://github.com/microsoft/WSL2-Linux-Kernel.git
Modifying WSL2-Linux-Kernel/Microsoft/config-wsl
Running sudo make $new_config
Copy the kernel to windows host
Create C:\\Users\\ischan\\.wslconfig which points to new kernel

[wsl2]
kernel=C:\\Users\\your-user-name\\bzImage
swap=0
localhostForwarding=true

Restart wsl


Support More Python 3 Versions

Arch now ships with Python 3.8 (released end of last year), the latest Ubuntu LTS (18.04) still uses Python 3.6.
Right now, however, the Makefile fixes the required python version to 3.7, see https://github.com/vanhauser-thc/AFLplusplus/blob/c7167190a6abe9884787b0aae9e0728848971163/Makefile#L66
I suggest to, instead, fix it to python3 (any) and potentially parse python3 --version if we want to enforce a min version.

as you proposed, python3 --version, python --version, python2 --version should be better


Create a login component

What this PR does.
Creates a static login component and a login route.

Coverage remained the same at 83.568% when pulling 2e50b9655aa7cd8c1e0c513fed2b50f2a1dc2fe6 on feature/login-component into c68c57c9a07ba902ba6e09a19190e2fc7d0e5c3e on develop.


Hide overview app and its links

Description
We have been asked to hide the overview app.
Initially, this change was applied in #15, but this change as enough context to be treated as an independent work unit, hence this issue.
Port the changes from #22 to a new pull request.

Re-opened in https://github.com/wazuh/wazuh-dashboard/pull/54
See https://github.com/wazuh/wazuh-dashboard/issues/1#issuecomment-1516555068 for details.


Column separator option cannot be changed successful on the "Advanced data options->Data formatting" dialog.

System Information (please complete the following information):
Windows OS: Windows-11-Enterprise-21H2
ML.Net Model Builder 2019&2022: <IP_ADDRESS>1103 (Main Build)
Microsoft Visual Studio Enterprise: 2019(16.11.18); 2022(17.3.0)
.Net: 5.0 & 6.0
Describe the bug

On which step of the process did you run into an issue:
Column separator cannot be changed successful on the "Advanced data options->Data formatting" dialog.

To Reproduce
Steps to reproduce the behavior:

Select Create a new project from the Visual Studio start window.
Choose the C# Console App (.NET Core) project template.
Add model builder by right click on the project.
Select any scenario.
On Data page, select the data source and label column, then click "Advanced data option..." link.
Click "Data formatting" tab on the "Advanced data options" dialog.
Change "Column separator" option to the other item, then click "Save" button.
Open the "Advanced data options->Data formatting" dialog again and you will see that the value of Column separator option is still the original one.

Expected behavior
Column separator option should be changed successful.
Screenshot

Gif

The root cause was that the call to update columns was failing to return the new columns. This made the whole update process cancel.

The bug has been fixed on the latest main branch: <IP_ADDRESS>1702 for both VS2022&2019.


Update translation for es locale

Awesome! I'm going through this now.
Quick question: I noticed the menu entries are now sentence cased (e.g. start_pomodoro_cycle). They were originally capitalized to match the Chrome menu styles on Mac (notice they're all Title Cased below). Unfortunately, it looks like Chrome uses "Casing like this" on Windows, so it's inconsistent between platforms. Given that the platforms use different casing, would you recommend sentence case or Title Case?

The rest looks great. Thanks for updating and filling in the gaps. I didn't even notice the "Aviso Legal" placeholder before...oops.

Hi,
I have put all the entries in lower case so that they follow the Spanish grammar rules. Moreover, Chrome menu styles are sentence cased for Spanish in both Mac and Windows. That's why I'd recommend keeping them sentence cased. You can see the Mac version below:

However, if you prefer that they are capitalized to keep the consistency with the English version, I'll be happy to make the changes. :smiley:

Perfect. Even better that it's consistent across platforms for Spanish. Thanks again for the contribution. I encourage you to add yourself to the contributors list.
I am going to publish this to the Chrome Web Store soon, but I will hold off if you still intend to add Catalan translations (no pressure, and no problem if not).

Great! Thank you for the app! It's really helping me boost my productivity, and what a better way to show my appreciation that helping with the translation.
I plan to finish the Catalan translation over the weekend. I will add myself to the contributors list when doing the pull request.


Issue with macros and in-memory (virtual) source files

Compiler version
All Scala 3 and Scala 2 versions.
Background information
IntelliJ IDEA is very particular when it comes to saving files to disk. IDEA likes to work with in-memory files and occasionally, in a very controlled manner, persist the files to disk.
In order to avoid more frequent than absolutely necessary saving to disk, I recently implemented compilation of in-memory files in IntelliJ IDEA, as part of this ticket, when using the Scala 3 compiler to provide error highlighting. This has been rolled out in an EAP version of IDEA 2024.2. If anyone wants to reproduce this project, it is enough to run IDEA 2024.2 EAP with Scala Plugin 2024.2.6 (or 2024.2.405+ nightly), clone https://github.com/scala/scala3-example-project and open the MySuite.scala MUnit test suite.
Initially, everything worked fine. But I didn't think to test it with sources that contain macro expansion.
Since then, there has been the following report.
When in-memory source files are used, the following MUnit macro implementation throws an NPE.
For easy reference, here's the exception:
Exception occurred while executing macro expansion. java.lang.NullPointerException: Cannot invoke "java.nio.file.Path.toString()" because the return value of "scala.quoted.Quotes$reflectModule$SourceFileMethods.jpath(Object)" is null at munit.internal.MacroCompat$.locationImpl(MacroCompat. scala:18)

This specific MUnit Location macro is a perfectly well-written macro. In fact, the Scala 3 documentation shows the same idiom.
What I think the problem is
I searched for "def jpath" in the Scala 3 repo and found the following:

NoAbstractFile
VirtualDirectory
VirtualFile

all of which are implemented as:
  /** Returns null. */
  def jpath: JPath = null

To be fair, these are completely legitimate implementations of the dotty.tools.io.AbstractFile interface, which says:
  /** Returns the underlying Path if any and null otherwise. */
  def jpath: JPath

(in both cases, JPath is a type alias for java.nio.file.Path)
What I tried
I modified VirtualFile.scala in the Scala 3 repo to return:
class VirtualFile(val name: String, override val path: String) extends AbstractFile {
  ...
  def jpath: JPath = Paths.get(path)
  ...
}

I published a local snapshot and rebased https://github.com/scala/scala3-example-project on it, and the issue was gone.
What will we do
Obviously, I will have to disable in-memory sources and revert to always using file system sources for providing error highlighting using the compiler. I will keep the feature around with the hope of enabling it for future versions of Scala.
I will also open the same ticket in Scala 2, as it also contains the same null implementations. That ticket will most likely be just a reference to this one, as the relevant details are the same.
Discussion
How should this problem be handled? When a proper solution for this problem is attempted, it should also be covered by tests, not just for the regular compilation part, but also macro expansion, and any other places that might be using AbstractFile#jpath.
It also feels like the macro documentation should be revised, as it clearly shows unsafe usage of methods that are documented to be nullable.
Looking forward to a discussion.
Thank you in advance.

I would suggest that it is munit at fault - if the source file path is null then it should recover from this

@bishabosha Can you please comment on the fact that the Scala 3 documentation shows the exact same code, which I presume the MUnit implementation is based on? Thanks.
https://docs.scala-lang.org/scala3/reference/metaprogramming/reflection.html#positions-1

Well that code is not great either - we now have an optional variant also - getJPath

Where exactly is getJPath defined? What about Scala 2?

My technical lead @pavelfatin created a nice reproduction. You have to have MUnit 1.0.0 resolved locally:
dotr -cp .cache/coursier/v1/https/repo1.maven.org/maven2/org/scalameta/munit_3/1.0.0/munit_3-1.0.0.jar
scala> class FooTestSuite extends munit.FunSuite {
     |   test("foo") {
     |     assert(true)
     |   }
     | }
-- Error:
 3 |    assert(true)
   |                ^
   |                Exception occurred while executing macro expansion.
   |                java.lang.NullPointerException
   |                    at munit.internal.MacroCompat$.locationImpl(MacroCompat.scala:18)
   |Inline stack trace
   |This location contains code that was inlined from MacroCompat.scala:11
1 error found

Where exactly is getJPath defined?

If I type "getJPath" into the API docs search bar, then I can see that it is an extension method in the same scope that path is defined: https://www.scala-lang.org/api/3.4.2/scala/quoted/Quotes$reflectModule$SourceFileMethods.html

What about Scala 2?

Nothing wrong with just wrapping the call in Option.apply?

I would expect code to use path uniformly. The fix on munit tries jpath and then uses path as a fallback, as though jpath were more authentic or reliable.
The Scala 2 usages by munit and sourcecode use path and are unaffected. There is no tempting jpath.

@som-snytt Just to be clear, you're advocating for making no changes in Scala 2 and 3, instead address specific issues in libraries as they arise?
That's totally fine, I just want to clarify things.
Do you see an issue with the fix in MUnit?
https://github.com/scalameta/munit/issues/795
https://github.com/scalameta/munit/pull/796
Thank you.

Yes, with respect to this issue.
The underlying problem is that the API is hard to use. But if the genie gave you only three wishes, would you use one on this problem?

Can you please patch the examples using jpath at:

https://docs.scala-lang.org/scala3/guides/migration/tutorial-macro-cross-building.html
https://dotty.epfl.ch/docs/reference/metaprogramming/reflection.html
https://docs.scala-lang.org/scala3/reference/metaprogramming/reflection.html

To avoid future issues related to following them in other libraries


Changes on URL alias did not revalidate on previous URL

When URL alias of a page is changed on Drupal, it did not trigger revalidate on the previous URL
Example:
URL alias change from /something/something-here to /something/something-there, revalidate only trigger on the new URL alias /something/something-there, but not the previous URL /something/something-here
This will cause /something/something-here that should show a 404 page still showing the original content

We're looking into this. Thank you for reporting.

Any updates on this issue?

Any information about this. We have a similar bug.
Drupal use change a site and a auto redirect will be created from the redirect module. But this will not update the next cache. If I disable the auto generate redirect on alias change in the redirect module and create a redirect manual it will work as intended

Any updates on this?
We are experiencing same symptoms - previous url not being purged / revalidated in cache-
leading to this situation:
/old-url <-- nextjs frontend responds with (stale) cached version
/new-url <-- nextjs frontend responds as expected with updated cached version
the expected redirect from /old-url to /new-url is not followed.
Only (cumbersome) workaround is to rebuild frontend.


feat(frontend): avoid pk duplication

I hereby agree to the terms of the Singularity Data, Inc. Contributor License Agreement.
As title, note that we allow join_key duplication, but avoid join_key and input_pk are duplicated.
Checklist

[x] I have written necessary rustdoc comments
[x] I have added necessary unit tests and integration tests
[x] All checks passed in ./risedev check (or alias, ./risedev c)

Documentation
If your pull request contains user-facing changes, please specify the types of the changes, and create a release note. Otherwise, please feel free to remove this section.
Types of user-facing changes
Please keep the types that apply to your changes, and remove those that do not apply.

Installation and deployment
Connector (sources & sinks)
SQL commands, functions, and operators
RisingWave cluster configuration changes
Other (please specify in the release note below)

Release note
Please create a release note for your changes. In the release note, focus on the impact on users, and mention the environment or conditions where the impact may occur.
Refer to a related PR or issue link (optional)
close https://github.com/risingwavelabs/risingwave/issues/6784 https://github.com/risingwavelabs/risingwave/issues/3708

Something went wrong with mergify 😇


⚠ ZV800.com has degraded performance

In 2187c20, ZV800.com (https://www.zv800.com//) experienced degraded performance:

HTTP code: 200
Response time: 1060 ms

Resolved: ZV800.com performance has improved in 4b12549 after 21 minutes.


ModuleNotFoundError

Describe the bug
Running the nightly on my C3. Since today, OP crashes with a "ModuleNotFound" error. Commit hash is from the last working master version.
Provide a route where the issue occurs
534e3360c3936247|2023-08-04--18-37-51--1
openpilot version
0.9.5 / 932375f7e9b318d100672af5c881c6c41e987d2e\n2023-07-20T14:43:46
Additional info

Should be fixed now. https://github.com/commaai/openpilot/issues/29248


Usage instructions don't match repo (cont.)

This issue is a continuation of the issue entitled "Usage instructions don't match repo" #97 that was closed (and I cannot reopen).
Please see the discussion of Issue #97 for background information.
The restored demo-data/sample.html file seems to be incorrect. It uses a client.draw() function calls where no draw() function seems to exist. As a result, the usage instructions will still not enable anyone to get an example of the repo up and running, at least not quickly.
I investigated, and I figured out that, if one replaces the cutting and pasting of the erroneous content of the sample.html file with a script reference to the file examples/starter-kit/starter-kit.js, the quick start process can be made to work. Reason: That script uses client.query() instead of client.draw(), and client.query() is a function that actually exists (and seems to work).
Script reference placed just before the  tag:
  <script type="text/javascript" src="/examples/starter-kit/starter-kit.js"></script>
I would also like to suggest that whoever attempts to correct this issue should verify that the solution works from the POV of the current repo, lest this issue linger one. It seems to be a major barrier for repo adoption by new users.

Also, the instructions for using an existing Keen query are essentially nonexistent. The instructions for step 4 and on only reference sample.html. Because I remembered the "Embed" button from Keen's UI and can parse the code well enough, I got the chart to show up in my new dashboard.

Noticed another thing - the sample layouts don't seem to play nice with the embed snippets from inside keen. Since I imagine many people will be trying to do that it would be nice if it all worked together.

demo-data/sample.html has been updated with the latest version of sdks here v.3.0.1


Incomplete instructions for regaining access to local SQL Server instance

I get to this step Connect with Object Explorer using Windows Authentication, which includes your Administrator credentials. Expand Security, expand Logins, and double-click your own login. On the Server Roles page, select sysadmin, and then click OK.
But this isn't possible. When I connect it says Cannot connect to INSTANCENAME. Additional Information: Cannot open user default database. Login failed. Login failed for user 'ADDOMAIN\myfirstname.mysecondname'. (Microsoft SQL Server, Error: 4064).
Thanks in advance for any help!

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

ID: d41367fc-38cf-0c73-3ea8-93bff726f421
Version Independent ID: 07b2d0b3-2013-a133-9d1e-ee2d249740d5
Content: Connect to SQL Server when system administrators are locked out - SQL Server
Content Source: docs/database-engine/configure-windows/connect-to-sql-server-when-system-administrators-are-locked-out.md
Product: sql
Technology: configuration
GitHub Login: @markingmyname
Microsoft Alias: maghan

@drk-mtr -- thank you for your feedback.  Please consider these resources:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

@markingmyname -- please look into this potential documentation issue.

Thanks very much for taking a look at this.
I now understand this better and this was a case of user error. I thought the instructions were telling me to use an account with administrator privileges, rather than specifically the Administrator account. I should really have realised it was asking me to use the Administrator account to be honest, so apologies! For me, the steps were:

Enable the Administrator account, which happened to be disabled in my case
Shift right-click on SSMS and use "run as a different user" instead of "run as administrator"
Enter ADDOMAIN\Administrator as the user, along with the password for this account

I realise this is more a case of "user error" than "bad documentation", so please feel free to close the issue - however I have left it open for now just in case you decide you would like to update the instructions to make this slightly more explicit.

@drk-mtr -- thank you for your followup.  No apology needed -- this is complex material!

thank you, @drk-mtr and @WilliamAntonRohm


Support Puppet 6

Description of problem
Looks like Puppet 6.0.0 was released today which is why suddenly facter 3.12.0 broke all tests.  Should be easy to support Puppet 6 tests once #982 is merged.

@ghoneycutt What acceptance tests should we target for puppet6 collection?  I was thinking at minimum the one with BEAKER_sensu_full=yes, but that won't fully validate the classes.  Should we test all supported OSes?

If you're interested: on Vox Pupuli we run the full spec tests and acceptance tests on puppet5 and on puppet6.

Sensu v1 needs to drop support for Puppet 4 since Puppet 6 is out as well as use the current versions of ruby for Puppet 5 (2.4.4).

We are not changing the interface to the software, so no. It will likely keep working with v4, though not a supported platform. We support the current major release and the last one.

Do not close until PR #986 and #988 are both closed.


feat: Add a class method to base Simulator that create a state dictionary

Overview
As mentioned in Issue https://github.com/uw-ssec/caustics/issues/44. The state dictionary should be able to be exported to a safetensor format. This means that whatever the parameter inputs shall be in the form of Dict[str, Tensor]. Additionally, extra metadata should be encoded into a string.

Specification

Method: Similar to pytorch's model class, the way to access the state dictionary should be a method called state_dict.

Return type: I think that the state dictionary should be a MappingProxyType. The reasoning for this is that so state dictionary is a read-only dictionary, making it immutable. This protects from unexpected changes after it's returned.

Dictionary structure: Two simple keys should be used, which are params and _metadata. This seem pretty clear as which one is the actual parameter and which is the metadata. From this structure, conversion to a safetensor can be done by simply putting the _metadata dictionary to __metadata__.
{
    "params": Dict[str, Tensor],
    "_metadata": Dict[str, str]
}


docs: docs housekeeping

List of changes:

add changelog link to module info page
add title to license page
link changelog to releases page

Thank you so much! CI is failing btw it seems you need to run the formatter

:partying_face: :partying_face: :partying_face: :partying_face: :partying_face:

(correction, it is much, and deeply appreciated) you always remind me this meme


Working cec commands

I am not the best git user yet, however, I think I did all of this right. I found two commands that work in your module to turn the TV on and off the original two commands you had just turn the signal to the HDMI off. Please let me know if you have any questions or if there is a better way for me to do this pull request.

Hi thank you.
I will take a look at this!


[FIX]: Docker Configs in Dev Mode

Description
Docker configurations not working properly in development mode
Steps to reproduce

Follow the how to run steps;
Open frontend on yout browser (http://localhost:3000) and try login
Appears a connection error

Expected result
Request's between frontend and backend working properly, without any connection error message.

[x] Update How to Run on Wiki;
[x] Update .env variables;


train controlnet

Hello, I want to ask if you want to train with multiple conditional inputs, such as input openpose and depth, how to change it, and if you use sd2, does the input image size have to be 512*512? Thank you, looking forward to your reply

duplicate: https://github.com/lllyasviel/ControlNet/discussions/30


dependency changes

resolves #

Description
PR is to update the dbt-teradata dependency
Checklist

[ ] I have run this code in development and it appears to resolve the stated issue
[ ] This PR includes tests, or tests are not required/relevant for this PR
[ ] I have updated the CHANGELOG.md with information about my change

All testcases are passing after dependency changes.


conf_int method takes as argument confidence level instead of alpha

The method conf_int() of the OLS result of normal statsmodels (statsmodels.regression.linear_model.RegressionResultsWrapper
) takes as argument alpha, but in linearmodels the conf_int() of the OLS result of linearmodels (linearmodels.panel.results.PanelResults) takes as argument the 1 - alpha.
It is not a problem since instead of 0.05 you just have to write 0.95, but is it normal?

I closed it since I do not think is an important problem.

I closed it since I do not think is an important problem.


Incompatibility with the latest GOWIN FPGA Designer 1.9.9 Beta4

Be aware that the Verilog/VHDL code synthetizes but the Place & Route phase (Floor Planning) cannot complete on the latest GowinSemi FPGA Designer educational version. There ar eincompatibilities with the memory management that blocks that version to finish the process. Download and use the <IP_ADDRESS> version from https://cdn.gowinsemi.com.cn/Gowin_V<IP_ADDRESS>_Education_win.zip

I can confirm that this was fixed in commit 5715d2c "support to Gowin Beta 1.9.9 Beta-4" so this issue can be closed.


SVG Fallback logo

Related component
https://design-system.service.gov.uk/components/header/
<image src="/assets/images/govuk-logotype-crown.png" xlink:href="data:," display="none" class="govuk-header__logotype-crown-fallback-image" width="36" height="32"></image>
Context
Our application uses more than 1 header logo and some image 404s lead to an investigation on the need for fallback PNGs due to our browser support being IE11+ (SVG support is very wide). We would like to keep parity with govuk-frontend as much as possible so will be introducing a fix of our own.
It did raise a question on the image tag and more specifically xlink:href attribute shown above. It appears to be deprecated and href being the recommended method. https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href
Is there a fix in mind for this?
Has alternative logo support for the header component been discussed? A tricky issue certainly but possibly some further documentation for when you are changing the default logo.
Additional information (if applicable)

We have also noticed this feature working well on the GOV.UK Design System site (falling back to an img) but on GOV.UK (The logo does not show at all. I assume the headers are completely different markup).

Hi @Dawdre 👋 We add the xlink:href attribute to support IE8 - without it, IE will download the fallback image even when it's not needed. I believe that even with this attribute the IE dev tools may still show a request for the fallback image, but it should abort.
Are you able to expand on the issue that you're experiencing with this?

Thanks for you swift response.
Less of an issue on our end and more of a question regarding the use for it. I am assuming the fall back PNG image is only for IE8? Therefore IE8 would always request it. My tests have shown me that removing xlink:href (and even adding href and removing it again) doesn't make a request in IE9 and above (granted I am not fully emulating IE, so could be some inconsistencies). Again in IE8 the logo on GOVUK Design System shows fine. In GOV.UK it does not (a black crown logo image is being requested however so maybe just invisible on the black background).
Freemarker template example
<image<EMAIL_ADDRESS>display="none" class="govuk-header__logotype-crown-fallback-image" width="36" height="32"></image>
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/image shows the href (and deprecated xlink:href) being the recommended attribute. Therefore I assume you are using the src attribute to "trick" IE8 into it being an img tag with a valid src attribute (as the image tag is just a synonym for img)?
Additionally I am somewhat confused on the need for https://stackoverflow.com/questions/5775469/whats-the-valid-way-to-include-an-image-with-no-src#answer-53365710 (my confusion is off the assumption that href and xlink:href are redundant).
As href can be used for local images, I also tested without the src tag at all and just used href. The behaviour you specified that you wanted to avoid is occurring in this instance - IE9 displaying the SVG and requesting the PNG, and IE8 not showing at all. <image href="/assets/images/govuk-logotype-crown.png" display="none" class="govuk-header__logotype-crown-fallback-image" width="36" height="32"></image>.
My testing may not able to replicate what you were able to so happy to close this with some clarification on the below.
Furthermore a question about browser support. What is the official stance on IE8 generally?
https://github.com/alphagov/govuk-frontend here states "GOVUK Frontend supports: Internet Explorer 8, 9 and 10, although components may not look perfect".
https://www.gov.uk/service-manual/technology/designing-for-different-browsers-and-devices shows IE11 compliant. Our application's browser support are mirroring the information in that table - IE11+. I appreciate it does go further in defining what "compliant" means and GOVUK Frontend needs to make sure the majority can access the information they need. Thus building for IE8+.
Does this mean our markup will contain markup only written for IE8? As consumers of GOVUK Frontend, I am sure you can appreciate we want to remain as aligned with your HTML markup (and code in general) as we can. Divergences does make maintenance tricky.
A fairly minor issue certainly but as a consumer who copies your HTML almost verbatim into our environment. I figured I would ask the question.

Again in IE8 the logo on GOVUK Design System shows fine. In GOV.UK it does not (a black crown logo image is being requested however so maybe just invisible on the black background).

Yes, that’s expected behaviour as the GOV.UK implementation doesn’t currently use the design system component - this is something the GOV.UK team are working on at the moment.
In terms of use of xlink:href and src, there are a couple of related issues which may be of interest to you and give some background information on why they’re being used:
https://github.com/alphagov/govuk-frontend/pull/2045
https://github.com/alphagov/govuk-frontend/issues/1688

Furthermore a question about browser support. What is the official stance on IE8 generally?

As you noticed, GOV.UK Frontend supports IE 8, 9 and 10 whereas the service manual only specifies IE11+. Generally, the service manual is the minimum level of support that we’d expect from services, but we recommend services look into the browsers used to access their services and use that to inform their support levels too. We know there are services with a higher percentage of traffic from older versions of IE and GOV.UK Frontend needs to work for these services too, so we aim for a higher level of support than specified in the service manual.
I'm going to close this issue for now as don’t think there’s anything for us to do here at the moment, but please feel free to comment on this issue if you have any follow-up questions and we will get back to you.


string parameter with only numbers is coerced into number

This seems to be introduced by node-sqlite, because node-sqlite3 does not have the issue:
First with node-sqlite3:
$ node
> var sqlite3 = require('sqlite3').verbose()
undefined
> var db = new sqlite3.Database(':memory:');
undefined
db.run(`CREATE TABLE "testing"("id" STRING PRIMARY KEY, json JSON)`)
Database { open: true, filename: ':memory:', mode: 65542 }
> db.run(`INSERT OR REPLACE
...             INTO
...                 "testing"("id","json")
...             VALUES(?,?)`, [ '234234239874972349872342', '{}' ])
Database { open: true, filename: ':memory:', mode: 65542 }
> db.all("select * from testing",console.log)
Database { open: true, filename: ':memory:', mode: 65542 }
> null [ { id: '2340912837409871234098734', j: '{}'} ]

Notice that id is now a string
vs sqlite:
> s = require('sqlite')
Database { driver: null, Promise: [Function: Promise], open: [Function] }
> let d
undefined
> s.open(':memory:).then(db => d = db)
> d.all(`CREATE TABLE "testing"("id" STRING PRIMARY KEY, json JSON)`)
Promise {...
> d.all(`INSERT OR REPLACE
... 			INTO
... 				"testing"("id","json")
... 			VALUES(?,?)`, [ '234234239874972349872342', '{}' ])
Promise {...
> d.all(`select * from testing`).then(console.log)
Promise {...
> [ { id: 2.3423423987497237e+23, json: '{}' } ]

uhm - now it's also failing with node-sqlite3. Opening issue over there.


[Log Conflict] with LogNeuter, cause issue that will made no changes to method: GameNetcodeStuff.PlayerControllerB|ItemSecondaryUse_performed

so in vanilla game, u will see some trash logs similar like:
secondary use A
secondary use B
secondary use C
secondary use D
secondary use E
secondary use F
secondary use G
and if u install LogNeuter, u can see this is from [GameNetcodeStuff.PlayerControllerB|ItemSecondaryUse_performed], but this mod will cause LogNeuter to made no changes to that method, this is a big conflict and will stop people diagnosing by seeing logs

if u don't know what can cause that, here the config

BlueAmulet.LogNeuter.zip

Sorry for the late reply. I'm not sure why this mod would do that. I can look into this later, though. Thanks for letting me know!

Maybe I'm confused what you're trying to say. What changes does LogNeuter make to this method that my mod is blocking?
I thought you were trying to say those logs don't appear anymore when TooManyEmotes is enabled.

what i trying to do is block spamming logs, bc that hindering me from investigating the issues, idk why logneuter refuse to block that method, but that did cause some spamming logs appear again, so i like to know why


AHRS-dev branch

Testing pull request.

PNI AHRS Compass Feature complete.
Please advise on steps toward integrating into the ROS system.
I know that the current location of the files needs to change, and I want to know where they need to go.
Thanks!

awesome, this looks good. Let's talk Tuesday about integrating this with the rest of the branch. am I correct in thinking this is to get the dev board talking to the AHRS? or is this to run on the main PC? we still need to get our embedded branch integrated properly with master..

This is completely independent of the embedded software. The AHRS is connected to the main computer through USB and this software is the bridge between the unix device and the formatted data needed inside ROS.


Updating the version and removing old imports

Summary

Checklist
Delete items not relevant to your PR:

[ ] Unit and integration tests covering the common scenarios were added
[ ] A human-readable description of the changes was provided to include in CHANGELOG
[ ] For significant changes, documentation in https://github.com/ClickHouse/clickhouse-docs was updated with further explanations or tutorials

Almost all test are failing do you know why?


[T2A5][W13-A1]Yong Zhi Yuan

Not easy doing this :(

@Zhiyuan-Amos good job with this PR :+1:

i noticed some coding standard violations (pl. see code comments)
some food for thought:
how would using a hash map make this code different? (easy or difficult?) you could have carried over T1 activity here as well instead of using string arrays
what else can you do to enhance this address book (apart from edit, sort, find?) just think and comment here if time permits, no need to code all that :-)

Thanks for your review Akshay! :D
Will converting it to hashmap make the code better? The implementation seems pretty the same to me, since person[0], [1], [2] refers to the name, phone and email, while person.get("name"), person.get("phone"), person.get("email") returns the same results as well, and this is implemented using ArrayList. Am I missing something? ><
Possible ways to enhance addressbook:

sort can be done in alphabetical order for email addresses
mass import the details (name, email address and phone number) from Yahoo email etc? =0
allow natural language + variations: "add" / "a" / "insert" etc refers to the same command

The advantage of doing it via HashMap is code readability; other than that
there is not much that makes it better;
This stackoverflow answer
http://stackoverflow.com/questions/6462055/hashmap-vs-array-performancewill
give an idea (you can dig deeper if you wish ;-) )

Among the enhancements I like the idea of 1  and 3; 2 well, it depends what
is the use-case!

Noted, thanks again Akshay! :)
See you in class tomorrow!


Add a reference counted container

This pull requests resolves #37 by adding Arc and Weak types to the portable-atomic-util crate that use portable_atomic::AtomicUsize in their operation. The goal is to allow for portable using of Arc on platforms that may have allocation but not atomics. Arduino AVR comes to mind for this.
These new types are based off of the ones in libstd, but I explicitly avoid using unstable features. I do not implement unstable functions, like new_uninit. I also avoided certain functions like new_cyclic and take_mut because I didn't get around to it.

It looks like, since embedded targets don't come with an allocator, building portable-atomic-util fails on those targets. I've just removed --workspace from build.sh for now

Hmm, it's failing on nightly when building with bpfeb-unknown-none with errors like these:
 error[E0599]: no method named `fetch_add` found for reference `&portable_atomic::AtomicUsize` in the current scope
   --> portable-atomic-util/src/arc.rs:152:46
    |
152 |         let old_size = self.inner().strong().fetch_add(1, Relaxed);
    |

Looks like, on BPF targets, the compare_exchange-type functions are unavailable.

Ah, it's https://github.com/taiki-e/portable-atomic/issues/29.
Could you add args+=(--exclude portable-atomic-util) to the following line for now?
https://github.com/taiki-e/portable-atomic/blob/a30490390fd4f748eef0baea9307c31180bea144/tools/build.sh#L221

Thanks!

bors r+


Avoid hardcoding localhost

It seems to be a bug (at least for non-localhost use) that the following lines hard-code localhost:
https://github.com/FusionAuth/fusionauth-example-5-minute-guide/blob/22652f49d2c4d2bb62a74947124bc72106c35937/routes/index.js#L55
https://github.com/FusionAuth/fusionauth-example-5-minute-guide/blob/22652f49d2c4d2bb62a74947124bc72106c35937/views/index.pug#L12

Great point. We should use the fusionAuthURL variable.

More suggestions:

Introduce development.env and production.env in place of .env (see tutorial I followed) to store environment-specific values such as APP_PROTOCOL_AND_DOMAIN, APP_PORT, and possibly the license ID revealed at https://account.fusionauth.io/account/plan/ (however I can't recall where this is needed in one's app).
Rename env vars that are specific to FusionAuth to begin with something like "FA_" because there could be several other integrations that an app must make, each with their own client ID and secret.
Rename route /oath-redirect to something like /decodeOauthSuccess to aid understanding. I found that the imperative phrasing of /authorize and /register helped me understand what the FA instance would do, and the non-imperative, non-descriptive route /oauth-redirect made it quite difficult to understand what my app should do to handle it. I figured it out from the sample code, but using imperative phrasing consistently would help in a 5-min example app.
Assign a local var such as sQueryPath_decodeOauthSuccess to the route mentioned above. Then assign sUrlThatAuthenticationServerShouldRedirectToAfterProcessingUserLoginResponse = sProtocolDomainAndPortOfThisApp + sQueryPath_decodeOauthSuccess so that at the index.js location highlighted in OP, provide the value as sUrlThatAuthenticationServerShouldRedirectToAfterProcessingUserLoginResponse. Similarly, when defining the route to handle the authorization or registration result request from the FA instance, use oRouter.get(sQueryPath_decodeOauthSuccess, ... to emphasize that this route handler is the intended recipient of the redirect specified in the /authorize or /register request.
Instead of composing login and signup urls in layout.ejs, provide them in the locals used to render 'home':

oResponse1.render(
    'home',
    {
        user: oRequest1.session.user,
        urlToSignup:    `${sBaseUrl_FusionAuth}/oauth2/register?client_id=${sClientId_FusionAuth}&response_type=code&redirect_uri=${sUrlThatAuthenticationServerShouldRedirectToAfterProcessingUserLoginResponse}&scope=offline_access&state=${dStateValue}&code_challenge=${sChallenge}&code_challenge_method=S256`,
        urlToLogin:     `${sBaseUrl_FusionAuth}/oauth2/authorize?client_id=${sClientId_FusionAuth}&response_type=code&redirect_uri=${sUrlThatAuthenticationServerShouldRedirectToAfterProcessingUserLoginResponse}&scope=offline_access&state=${dStateValue}&code_challenge=${sChallenge}&code_challenge_method=S256`,
        urlToMyProfile: `${sBaseUrl_FusionAuth}/account/?client_id=${sClientId_FusionAuth}`
    }
    );

so that layout.ejs can reference them like this:
<a class="ui item" href="<%= locals.urlToLogin %>">

Change the first bullet of the README to indicate that the value of sUrlThatAuthenticationServerShouldRedirectToAfterProcessingUserLoginResponse for every environment one's app will be running in must be entered into the texbox of Authorized redirect URLs in one's FA admin webconsole (for FA Cloud instances: by going to https://makingpatientsheard.fusionauth.io/admin/application/ and clicking the edit button for one's app).


Remove "keep funds in Jam" from scheduler

As discussed in Call 22.

[x] Remove option to "keep funds in Jam"
[x] User has to enter external addresses manually
[ ] Question: show warning if internal address is used via manual copy-paste?

* [ ]  Question: show warning if internal address is used via manual copy-paste?

Voting for "Yes". Would also prevent scheduler from starting, tbh.
But there is only so much we can do.. if a user generates addresses from an xpub, which are not yet "known" to jm,.. this cannot (reasonably) be prevented (and probably shouldn't).
Do you think this is the right time to introduce client-side address validation?
I think (need to verify!) that JM does this too but there is no immediate response when starting the scheduler (it subsequently fails silently).

Would also prevent scheduler from starting, tbh.

Not sure about that one.

Should a warning still be displayed if an "internal" addresses is used?


Questions about dataset

According to the paper, there a 2 datasets for finetuning which come from Github and books seperately. But it seems that only Github Corpus is released under your huggingface account. Could you share another one?
Another question is that I' ve noticed that there is another dataset in your huggingface account called CodeGen_RE_data. Could you explain the source of this dataset?
Thanks!

Could you please share the url of Github Corpus found here? I also need it to build my model. Thank you.


ICEFinder container

ICEfinder container will be generated by the user following the instructions on README file after getting their own copy of the tool. Therefore, we don't need this dockerfile anymore


hotfix: Zap bridge addresses on Arbitrum and Moonbeam

Required confirmations vis a vis bridges for a few chains also
added/updated

Coverage increased (+0.007%) to 99.514% when pulling 0f9fbc54d0b6d922b3476a62317774af25b03341 on hotfix.l2bridgezapaddresses into 2c2fe5536407d5d6bf7e591753eb83b9c3e5ce4d on master.


Broken link and missing config option for data disk in /etc/fstab settings

This section of the documentation should be pointing to the validate.sh script in the github repository but instead it just take us to the root of the repository:
https://github.com/ejarvi/ade-cli-getting-started
"the Azure Disk Encryption prerequisites CLI script (lines 244-248)"
Also, the lines referred don't complete the configuration of the file /etc/fstab
The correct lines go from 245 to 251 as shown below:

The most important detail is that the documentation refers the reader to the script repository instead or clearly stating that the configuration of the data disk should include the "nofail" option, without this option the encryption process fails after the reboot of the virtual machine is executed by the encryption extension.

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

ID: 358673f9-fd9a-3357-bf50-4d9b7fbe6cc6
Version Independent ID: a4978908-6539-17f7-8fb6-3d88cad7237c
Content: Enable Azure Disk Encryption for Linux VMs - Azure Linux Virtual Machines
Content Source: articles/virtual-machines/linux/disk-encryption-overview.md
Service: security
GitHub Login: @msmbaldwin
Microsoft Alias: mbaldwin

@carlosporter Thank you for your feedback. Could you provide us with a URL of the documentation that your feedback is applicable to? That way, we're able to locate the right team that's better suited to address your feedback.

Hello Mike,
This is the link to correct script:
https://github.com/ejarvi/ade-cli-getting-started/blob/master/validate.sh#L245
Also, I think the most important change is to make it clear that the "nofail" needs to be added to the data disk setup on the file /etc/fstab

Thanks @carlosporter! I have assigned this issue to the content author to review further and take the right course of action.

The paragraph to which is issue refers is no longer present in the article. Closing. #please-close