Add missing requirement

Using https://github.com/incf-nidash/nidm-results_fsl/pull/42, this pull request add missing requirements for nidmresults.
Also, use of parse_requirements is removed from setup.py to avoid issue with different versions of pip (parse_requirements was not supported for pip < 1.4 and require two arguments for pip 6.0.7 ).

+1
-Tom

On Jun 2, 2015, at 8:01 AM, Camille Maumet<EMAIL_ADDRESS>wrote:
Using incf-nidash/nidm-results_fsl#42, this pull request add missing requirements for nidmresults.
Also, use of parse_requirements is removed from setup.py to avoid issue with different versions of pip (not supported for pip < 1.4 and require two arguments for pip 6.0.7 ).
You can view, comment on, or merge this pull request online at:
https://github.com/incf-nidash/nidmresults/pull/7
Commit Summary
Add scipy to requirements
Remove use of parse_requirements
File Changes
M requirements.txt (3)
M setup.py (5)
Patch Links:
https://github.com/incf-nidash/nidmresults/pull/7.patch
https://github.com/incf-nidash/nidmresults/pull/7.diff
—
Reply to this email directly or view it on GitHub.

Given that:

scipy needs some configuration in order to be installed with pip install scipy (cf. this post) and;
we were only using scipy to compute the uncorrected p-value corresponding to the equivalent z-statistic in the peaks,

I have decided to remove the dependency on scipy and instead use the math package in python (and in particulat the erf function) as suggested in math.erf documentation.

Tests now pass at https://github.com/incf-nidash/nidm-results_fsl/pull/42. I am going to merge this PR so that https://github.com/incf-nidash/nidm-results_fsl/pull/42 can rely on nidmresults/master branch (instead of scipy_requirement  branch).


Multi select onChange method

How to add multi-select options to a form element?
How to add the onChange event for that element?

We can continue this on your Stack Overflow post


TASK - Implement OpenAI API in Kotlin

https://github.com/Aallam/openai-kotlin

code in openai-demo branch


TypeScript built-in support plugin problems with relative paths in baseUrl

VSCode Version: Code 1.19.2 (490ef761b76b3f3b3832eff7a588aac891e5fe80, 2018-01-10T15:49:04.682Z)
OS Version: Darwin x64 17.3.0
Extensions: the listing length exceeds browsers' URL characters limit

Steps to Reproduce:

Go to (or clone) the project 'https://github.com/Microsoft/roosterjs-react'
Open the samples content: https://github.com/Microsoft/roosterjs-react/tree/master/sample/script
Open Sample.tsx

Reproduces without extensions: Yes
The TypeScript support is built-into VSCode
Description:
The tsproject.json supports baseUrl property and the code is correctly transpiled as the non-relative modules are resolved correctly according to tsproject.json settings:
"baseUrl": "../../",

The built-in VScode support cannot resolve, instellisense and navigate to roosterjs-react' package, that should be resolved according to baseUrl` path:

Thanks!

Seems like a bug in the project.  Here's what I see when I run tsc from the root of the project:
 ./node_modules/.bin/tsc -p sample/script/tsconfig.json
sample/script/sample.tsx(10,8): error TS2307: Cannot find module 'roosterjs-react'.


Support custom sensors

🎉 New feature
Closes #9
Builds on top of #90
Summary
Add support for custom sensors that aren't installed together with ign-sensors, so that external users can implement their own sensors. This adds:

The environment variable IGN_SENSORS_PATH that users can set to find sensors.
An example with a custom sensor
An example with an executable that can loop any non-rendering sensor, and can be used to test the custom sensor

It also makes the deprecated Update function non-pure-virtual, so downstream developers aren't forced to implement a deprecated function.
I decided to work on this to validate that the work being done on #90 was flexible enough to support external sensors.
Test it
Follow the instructions on each example's READMEs.
Checklist

[x] Signed all commits for DCO
[ ] Added tests :warning: TODO
[ ] Added example and/or tutorial :warning: TODO I want to move the READMEs to tutorials
[ ] Updated documentation (as needed) :warning: TODO document IGN_SENSORS_PATH somewhere
[x] Updated migration guide (as needed)
[ ] codecheck passed (See contributing)
[x] All tests passed (See test coverage)
[x] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge

Great you started working on this. So how does this go together with the SDF spec? In #9, you mentioned custom namespaces, but that's not the case used in the example. What if I needed a some XML parameters completely unknown to the SDF spec?
Also, the wording of http://sdformat.org/spec?ver=1.7&elem=sensor#sensor_type could be changed to better reflect the fact that plugins can add more supported sensor types.

Removing beta label, we won't have time to wrap this up before code freeze. Let's retarget at Ignition-F.


"Nullstill"-button should uncheck all checkboxes

Steps to reproduce:

Check one or more of the boxes
Click "Nullstill"
Boxes remain checked

Expected behaviour:

All boxes should be unchecked upon clicking "nullstill"

fixed in pr #7 by removing the 'Nullstill' button


Using RE to boot Tow-boot installer from SD because prw+vol.dn failed.  This is the serial output.

          Using RE to boot Tow-boot installer from SD because prw+vol.dn failed.  This is the serial output.

Tow-Boot TPL 2022.07
Channel 0: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
Channel 1: LPDDR4, 50MHz
BW=32 Col=10 Bk=8 CS0 Row=15 CS1 Row=15 CS=2 Die BW=16 Size=2048MB
256B stride
lpddr4_set_rate: change freq to 400000000 mhz 0, 1
lpddr4_set_rate: change freq to 800000000 mhz 1, 0
Trying to boot from BOOTROM
Returning to boot ROM...
Tow-Boot SPL 2022.07
jedec_spi_nor flash@0: unrecognized JEDEC id bytes: ff, ff, ff
jedec_spi_nor flash@0: unrecognized JEDEC id bytes: ff, ff, ff
Trying to boot from MMC2
NOTICE:  BL31: v2.6(release):
NOTICE:  BL31: Built : 00:00:00, Jan  1 1980
Tow-Boot 2022.07 006 [variant: boot-installer]
SoC: Rockchip rk3399
Reset cause: POR
Model: Pine64 PinePhonePro
DRAM:  3.9 GiB
Initializing Pinephone Pro charger
PMIC:  RK8180 (on=0x80, off=0x08)
Core:  324 devices, 34 uclasses, devicetree: sudo ddd
MMC:   mmc@fe310000: 3, mmc@fe320000: 1, mmc@fe330000: 0
Loading Environment from nowhere... OK
In:    serial
Out:   serial
Err:   serial
Model: Pine64 PinePhonePro
Net:   No ethernet found.
starting USB...
Bus usb@fe380000: ehci_generic usb@fe380000: Failed to get clocks (ret=-19)
Port not available.
Bus usb@fe3a0000: USB OHCI 1.0
Bus usb@fe3c0000: ehci_generic usb@fe3c0000: Failed to get clocks (ret=-19)
Port not available.
Bus usb@fe3e0000: USB OHCI 1.0
scanning bus usb@fe3a0000 for devices... 1 USB Device(s) found
scanning bus usb@fe3e0000 for devices... 1 USB Device(s) found
scanning usb for storage devices... 0 Storage Device(s) found
Please press [ESCAPE] or [CTRL+C] to enter the boot menu.
off
off
switch to partitions #0, OK
mmc1 is current device
Scanning mmc 1:2...
Found U-Boot script /boot.scr
512 bytes read in 3 ms (166 KiB/s)
Executing script at 00500000
::
:: celun FIT image boot script
::
devtype = mmc
devnum = 1
bootpart = 2
:: Auto-booting FIT image -> Reading file9340416 bytes read in 981 ms (9.1 MiB/s)
-> Attempting boot...## Executing script at 00600000
sha1+
:: Auto-booting FIT image...if=IMAGE.img. of=
flatfdtfile=rockchip-rk3399-pinephone-pro.dtb
Loading kernel from FIT Image at 00600000 ...
Using 'default-boot-rockchip-rk3399-pinephone-pro.dtb' configuration
Trying 'kernel' kernel subimage
Description:  Kernel
Type:         Kernel Image
Compression:  lzma compressed
Data Start:   0x006000bc
Data Size:    3896539 Bytes = 3.7 MiB
Architecture: AArch64
OS:          Kali Linux
Load Address: 0x02080000
Entry Point:  0x02080000
Hash algo:    sha1
Hash value:   1e71cac492f308aa392d3e5f0eec742513544151
Verifying Hash Integrity ... sha1+ OK
Loading ramdisk from FIT Image at 00600000 ...
Using 'default-boot-rockchip-rk3399-pinephone-pro.dtb' configuration
Trying 'initrd' ramdisk subimage
Description:  Initrd
Type:         RAMDisk Image
Compression:  uncompressed
Data Start:   0x009b767c
Data Size:    5430124 Bytes = 5.2 MiB
Architecture: AArch64
OS:           Linux
Load Address: unavailable
Entry Point:  unavailable
Hash algo:    sha1
Hash value:   50dd96d1d56e1a48b9d8da8316331c41b3512724
Verifying Hash Integrity ... sha1+ OK
Loading fdt from FIT Image at 00600000 ...
Using 'default-boot-rockchip-rk3399-pinephone-pro.dtb' configuration
Trying 'fdt-rockchip-rk3399-pinephone-pro.dtb' fdt subimage
Description:  DTB
Type:         Flat Device Tree
Compression:  lzma compressed
Data Start:   0x00ee52c8
Data Size:    10978 Bytes = 10.7 KiB
Architecture: AArch64
Load Address: 0x01f00000
Hash algo:    sha1
Hash value:   a90aef16893372ef3cec256384a2401bfd33b462
Verifying Hash Integrity ... sha1+ OK
Loading fdt from 0x00ee52c8 to 0x01f00000
Uncompressing Flat Device Tree
Booting using the fdt blob at 0x1f00000
Uncompressing Kernel Image
Loading Ramdisk to f49bb000, end f4ee8b6c ... OK
Loading Device Tree to 00000000f49a7000, end 00000000f49ba7a9 ... OK
Starting kernel ...
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd034]
[    0.000000] Linux version 5.16.3 (nixbld@localhost) (aarch64-unknown-linux-gnu-gcc (GCC) 9.3.0, GNU ld (GNU Binutils) 2.35.1) #1-celun SMP PREEMPT Tue Jan 1 00:00:00 UTC 1980
[    0.000000] Machine model: Pine64 PinePhonePro
[    0.000000] earlycon: uart8250 at MMIO32 0x00000000ff1a0000 (options '')
[    0.000000] printk: bootconsole [uart8250] enabled
[    0.000000] [Firmware Bug]: Kernel image misaligned at boot, please fix your bootloader!
[    0.000000] NUMA: No NUMA configuration found
[    0.000000] NUMA: Faking a node at [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] NUMA: NODE_DATA [mem 0xf77cea40-0xf77d0fff]
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   empty
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000200000-0x00000000f7ffffff]
[    0.000000] On node 0, zone DMA: 512 pages in unavailable ranges
[    0.000000] cma: Reserved 16 MiB at 0x00000000f6400000
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.2
[    0.000000] percpu: Embedded 27 pages/cpu s77976 r0 d32616 u110592
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] CPU features: detected: ARM erratum 845719
[    0.000000] Fallback order for Node 0: 0
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 999432
[    0.000000] Policy zone: DMA
[    0.000000] Kernel command line: vt.global_cursor_default=0 vt.default_red=0x00,0xD0,0x00,0xB0,0x00,0xA0,0x4F,0xFF,0x99,0xFF,0x00,0xFF,0x00,0xFF,0x00,0xFF vt.default_grn=0x36,0x00,0xB0,0x66,0x00,0x00,0xB3,0xFF,0x99,0x00,0xFF,0xFF,0x00,0x00,0xFF,0xFF vt.default_blu=0x73,0x00,0x00,0x00,0xB0,0xB0,0xC5,0xFF,0x99,0x00,0x00,0x00,0xFF,0xFF,0xFF,0xFF console=ttyS2,115200n8 earlycon=uart8250,mmio32,0xff1a0000
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 246676K/4061184K available (7168K kernel code, 1408K rwdata, 2588K rodata, 1856K init, 334K bss, 97548K reserved, 16384K cma-reserved)
[    0.000000] random: get_random_u64 called from __kmem_cache_create+0x34/0x418 with crng_init=0
[    0.000000] SLUB: HWalign=64, Order=0-3, MinObjects=0, CPUs=6, Nodes=1
[    0.000000] trace event string verifier disabled
[    0.000000] rcu: Preemptible hierarchical RCU implementation.
[    0.000000] rcu: 	RCU event tracing is enabled.
[    0.000000] rcu: 	RCU restricting CPUs from NR_CPUS=64 to nr_cpu_ids=6.
[    0.000000] 	Trampoline variant of Tasks RCU enabled.
[    0.000000] 	Tracing variant of Tasks RCU enabled.
[    0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 100 jiffies.
[    0.000000] rcu: Adjusting geometry for rcu_fanout_leaf=16, nr_cpu_ids=6
[    0.000000] NR_IRQS: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 256 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] GICv3: Distributor has no Range Selector support
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: 16 PPIs implemented
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x00000000fef00000
[    0.000000] ITS [mem 0xfee20000-0xfee3ffff]
[    0.000000] ITS@0x00000000fee20000: allocated 65536 Devices @300000 (flat, esz 8, psz 64K, shr 0) status=progress
[    0.000000] ITS: using cache flushing for cmd queue
[    0.000000] GICv3: using LPI property table @0x00000000002c0000
[    0.000000] GIC: using cache flushing for LPI property table
[    0.000000] GICv3: CPU0: using allocated LPI pending table @0x00000000002d0000
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-0[0] { /cpus/cpu@0[0] /cpus/cpu@1[1] /cpus/cpu@2[2] /cpus/cpu@3[3] }
[    0.000000] GICv3: GIC: PPI partition interrupt-partition-1[1] { /cpus/cpu@100[4] /cpus/cpu@101[5] }
[    0.000000] arch_timer: cp15 timer(s) running at 24.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x588fe9dc0, max_idle_ns:<PHONE_NUMBER>92 ns
[    0.000001] sched_clock: 56 bits at 24MHz, resolution 41ns, wraps every<PHONE_NUMBER>097ns bs=1M
[    0.010358] Console: colour dummy device 80x25
[    0.015393] Calibrating delay loop (skipped), value calculated using timer frequency.. 48.00 BogoMIPS (lpj=24000)
[    0.026709] pid_max: default: 32768 minimum: 301
[    0.032068] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.040250] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.052458] rcu: Hierarchical SRCU implementation.
[    0.058284] Platform MSI: interrupt-controller@fee20000 domain created
[    0.067314] smp: Bringing up secondary CPUs ...
[    0.073334] Detected VIPT I-cache on CPU1
[    0.073394] GICv3: CPU1: found redistributor 1 region 0:0x00000000fef20000
[    0.073419] GICv3: CPU1: using allocated LPI pending table @0x00000000002e0000
[    0.073486] CPU1: Booted secondary processor 0x0000000001 [0x410fd034]
[    0.074647] Detected VIPT I-cache on CPU2
[    0.074697] GICv3: CPU2: found redistributor 2 region 0:0x00000000fef40000
[    0.074719] GICv3: CPU2: using allocated LPI pending table @0x00000000002f0000
[    0.074767] CPU2: Booted secondary processor 0x0000000002 [0x410fd034]
[    0.075880] Detected VIPT I-cache on CPU3
[    0.075928] GICv3: CPU3: found redistributor 3 region 0:0x00000000fef60000
[    0.075949] GICv3: CPU3: using allocated LPI pending table @0x0000000000380000
[    0.075996] CPU3: Booted secondary processor 0x0000000003 [0x410fd034]
[    0.077125] CPU features: detected: Spectre-v2
[    0.077140] CPU features: detected: Spectre-v3a
[    0.077152] CPU features: detected: ARM errata 1165522, 1319367, or 1530923
[    0.077162] Detected PIPT I-cache on CPU4
[    0.077202] GICv3: CPU4: found redistributor 100 region 0:0x00000000fef80000
[    0.077223] GICv3: CPU4: using allocated LPI pending table @0x0000000000390000
[    0.077274] CPU4: Booted secondary processor 0x0000000100 [0x410fd082]
[    0.078395] Detected PIPT I-cache on CPU5
[    0.078433] GICv3: CPU5: found redistributor 101 region 0:0x00000000fefa0000
[    0.078454] GICv3: CPU5: using allocated LPI pending table @0x00000000003a0000
[    0.078495] CPU5: Booted secondary processor 0x0000000101 [0x410fd082]
[    0.078671] smp: Brought up 1 node, 6 CPUs
[    0.236801] SMP: Total of 6 processors activated.
[    0.242002] CPU features: detected: 32-bit EL0 Support
[    0.247666] CPU features: detected: 32-bit EL1 Support
[    0.253335] CPU features: detected: CRC32 instructions
[    0.259209] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.268898] CPU: All CPU(s) started at EL2
[    0.273492] alternatives: patching kernel code
[    0.409706] node 0 deferred pages initialised in 129ms
[    0.416556] devtmpfs: initialized
[    0.439361] Registered cp15_barrier emulation handler
[    0.444954] KASLR disabled due to lack of seed
[    0.450139] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns:<PHONE_NUMBER>275000 ns
[    0.460883] futex hash table entries: 2048 (order: 5, 131072 bytes, linear)
[    0.469194] pinctrl core: initialized pinctrl subsystem
[    0.475725] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.484974] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.493019] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.501926] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.510654] audit: initializing netlink subsys (disabled)
[    0.516890] audit: type=2000 audit(0.285:1): state=initialized audit_enabled=0 res=1
[    0.518074] thermal_sys: Registered thermal governor 'fair_share'
[    0.525442] thermal_sys: Registered thermal governor 'bang_bang'
[    0.532151] thermal_sys: Registered thermal governor 'step_wise'
[    0.538762] thermal_sys: Registered thermal governor 'user_space'
[    0.545381] thermal_sys: Registered thermal governor 'power_allocator'
[    0.552664] cpuidle: using governor ladder
[    0.564393] cpuidle: using governor menu
[    0.568869] hw-breakpoint: found 6 breakpoint and 4 watchpoint registers.
[    0.576639] ASID allocator initialised with 65536 entries
[    0.582668] Serial: AMBA PL011 UART driver
[    0.613697] platform ff770000.syscon:phy@f780: Fixing up cyclic dependency with fe330000.mmc
[    0.625466] platform ff8f0000.vop: Fixing up cyclic dependency with fec00000.dp
[    0.634761] platform ff900000.vop: Fixing up cyclic dependency with fec00000.dp
[    0.645859] platform ff960000.mipi: Fixing up cyclic dependency with ff8f0000.vop
[    0.654179] platform ff960000.mipi: Fixing up cyclic dependency with ff900000.vop
[    0.672371] rockchip-gpio ff720000.gpio: probed /pinctrl/gpio@ff720000
[    0.680524] rockchip-gpio ff730000.gpio: probed /pinctrl/gpio@ff730000
[    0.688592] rockchip-gpio ff780000.gpio: probed /pinctrl/gpio@ff780000
[    0.696593] rockchip-gpio ff788000.gpio: probed /pinctrl/gpio@ff788000
[    0.704658] rockchip-gpio ff790000.gpio: probed /pinctrl/gpio@ff790000
[    0.738141] iommu: Default domain type: Translated
[    0.743535] iommu: DMA domain TLB invalidation policy: strict mode
[    0.753924] SCSI subsystem initialized
[    0.758156] usbcore: registered new interface driver usbfs
[    0.764228] usbcore: registered new interface driver hub
[    0.770117] usbcore: registered new device driver usb
[    0.777616] clocksource: Switched to clocksource arch_sys_counter
[    0.828368] NET: Registered PF_INET protocol family
[    0.833998] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.845104] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.854668] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.863759] TCP bind hash table entries: 32768 (order: 7, 524288 bytes, linear)
[    0.872504] TCP: Hash tables configured (established 32768 bind 32768)
[    0.879845] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.887388] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.895531] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.902683] Unpacking initramfs...
[    0.906735] hw perfevents: enabled with armv8_cortex_a53 PMU driver, 7 counters available
[    0.916348] hw perfevents: enabled with armv8_cortex_a72 PMU driver, 7 counters available
[    0.925951] kvm [1]: IPA Size Limit: 40 bits
[    0.931266] kvm [1]: vgic-v2@fff20000
[    0.935335] kvm [1]: GIC system register CPU interface enabled
[    0.942115] kvm [1]: vgic interrupt IRQ18
[    0.946969] kvm [1]: Hyp mode initialized successfully
[    0.955272] workingset: timestamp_bits=42 max_order=20 bucket_order=0
[    0.969705] zbud: loaded
[    0.973454] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 248)
[    0.981876] io scheduler mq-deadline registered
[    0.986886] io scheduler kyber registered
[    0.996183] rockchip-usb2phy ff770000.syscon:usb2phy@e460: failed to create phy
[    1.007372] pwm-backlight backlight: supply power not found, using dummy regulator
[    1.018561] dma-pl330 ff6d0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    1.026913] dma-pl330 ff6d0000.dma-controller: 	DBUFF-32x8bytes Num_Chans-6 Num_Peri-12 Num_Events-12
[    1.038975] dma-pl330 ff6e0000.dma-controller: Loaded driver for PL330 DMAC-241330
[    1.047329] dma-pl330 ff6e0000.dma-controller: 	DBUFF-128x8bytes Num_Chans-8 Num_Peri-20 Num_Events-16
[    1.059188] Serial: 8250/16550 driver, 8 ports, IRQ sharing enabled
[    1.070311] ff180000.serial: ttyS0 at MMIO 0xff180000 (irq = 39, base_baud = 1500000) is a 16550A
[    1.080325] serial serial0: tty port ttyS0 registered
[    1.087222] ff1a0000.serial: ttyS2 at MMIO 0xff1a0000 (irq = 40, base_baud = 1500000) is a 16550A
[    1.097247] printk: console [ttyS2] enabled
[    1.097247] printk: console [ttyS2] enabled
[    1.106647] printk: bootconsole [uart8250] disabled
[    1.106647] printk: bootconsole [uart8250] disabled
[    1.118924] ff1b0000.serial: ttyS3 at MMIO 0xff1b0000 (irq = 41, base_baud = 1500000) is a 16550A
[    1.132152] rockchip-vop ff8f0000.vop: Adding to iommu group 2
[    1.139796] rockchip-vop ff900000.vop: Adding to iommu group 3
[    1.157010] panel-himax-hx8394 ff960000.mipi.0: 720x1440@53 24bpp dsi 4dl - ready
[    1.167402] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    1.177551] spi-nor spi0.0: gd25lq128e (16384 Kbytes)
[    1.188150] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.195484] ehci-platform: EHCI generic platform driver
[    1.201717] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.208649] ohci-platform: OHCI generic platform driver
[    1.215395] usbcore: registered new interface driver cdc_acm
[    1.221745] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters
[    1.230755] usbcore: registered new interface driver cdc_wdm
[    1.240744] mousedev: PS/2 mouse device common for all mice
[    1.248281] input: gpio-vibrator as /devices/platform/vibrator/input/input0
[    1.257402] i2c_dev: i2c /dev entries driver
[    1.263322] i2c 1-001a: Fixing up cyclic dependency with ff910000.isp0
[    1.275171] i2c 0-001c: Fixing up cyclic dependency with vcc5v0-typec-regulator
[    1.285062] rk808 0-001c: chip id: 0x8180
[    1.295435] rk808-regulator rk808-regulator: there is no dvs0 gpio
[    1.302406] rk808-regulator rk808-regulator: there is no dvs1 gpio
[    1.320304] vcc1v8_dvp: Bringing 800000uV into 1800000-1800000uV
[    1.330451] rk818-battery rk818-battery: DMA mask not set
[    1.339801] random: fast init done
[    1.351580] rk818-bat: dsoc=95 cap=2578 v=4105 ov=4237 rv=0 min=2 psoc=95 pcap=2578
[    1.366941] rk818-bat: driver version 7.1
[    1.376316] rk808-rtc rk808-rtc: registered as rtc0
[    1.382381] rk808-rtc rk808-rtc: setting system clock to 2013-01-18T09:14:57 UTC<PHONE_NUMBER>)
[    1.393551] fan53555-regulator 0-0040: FAN53555 Option[8] Rev[1] Detected!
[    1.404382] fan53555-regulator 0-0041: FAN53555 Option[8] Rev[1] Detected!
[    1.420535] rk818-charger rk818-charger: DMA mask not set
[    1.429123] dw_wdt ff848000.watchdog: No valid TOPs array specified
[    1.438347] cpu cpu0: EM: created perf domain
[    1.444180] cpu cpu4: EM: created perf domain
[    1.452020] sdhci: Secure Digital Host Controller Interface driver
[    1.458994] sdhci: Copyright(c) Pierre Ossman
[    1.463878] Synopsys Designware Multimedia Card Interface Driver
[    1.471520] sdhci-pltfm: SDHCI platform and OF driver helper
[    1.472218] dwmmc_rockchip fe310000.mmc: IDMAC supports 32-bit address mode.
[    1.472854] dwmmc_rockchip fe320000.mmc: IDMAC supports 32-bit address mode.
[    1.472908] dwmmc_rockchip fe320000.mmc: Using internal DMA controller.
[    1.472932] dwmmc_rockchip fe320000.mmc: Version ID is 270a
[    1.473079] dwmmc_rockchip fe320000.mmc: DW MMC controller at irq 29,32 bit host data width,256 deep fifo
[    1.473930] dwmmc_rockchip fe320000.mmc: Got CD GPIO
[    1.478371] SMCCC: SOC_ID: ARCH_SOC_ID not implemented, skipping ....
[    1.482139] mmc2: CQHCI version 5.10
[    1.485847] dwmmc_rockchip fe310000.mmc: Using internal DMA controller.
[    1.488388] mmc_host mmc1: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.493728] hid: raw HID events driver (C) Jiri Kosina
[    1.494005] usbcore: registered new interface driver usbhid
[    1.501225] dwmmc_rockchip fe310000.mmc: Version ID is 270a
[    1.507374] usbhid: USB HID core driver
[    1.508358] mmc2: SDHCI controller on fe330000.mmc [fe330000.mmc] using ADMA
[    1.510507] Initializing XFRM netlink socket
[    1.510925] NET: Registered PF_INET6 protocol family
[    1.512363] Segment Routing with IPv6
[    1.512391] In-situ OAM (IOAM) with IPv6
[    1.512440] sit: IPv6, IPv4 and MPLS over IPv4 tunneling driver
[    1.512846] NET: Registered PF_PACKET protocol family
[    1.512862] NET: Registered PF_KEY protocol family
[    1.513244] registered taskstats version 1
[    1.514468] zswap: loaded using pool lz4hc/z3fold
[    1.518208] dwmmc_rockchip fe310000.mmc: DW MMC controller at irq 28,32 bit host data width,256 deep fifo
[    1.574043] mmc_host mmc1: Bus speed (slot 0) = 50000000Hz (slot req 50000000Hz, actual 50000000HZ div = 0)
[    1.577044] dwmmc_rockchip fe310000.mmc: allocated mmc-pwrseq
[    1.583134] mmc1: new high speed SDHC card at address aaaa
[    1.587871] mmc_host mmc0: card is non-removable.
[    1.669380] mmcblk1: mmc1:aaaa SS32G 29.7 GiB
[    1.682518] panfrost ff9a0000.gpu: clock rate = 500000000
[    1.685774] GPT:Primary header thinks Alt. header is not at the end of the disk.
[    1.696910] GPT:71713 != 62333951
[    1.700672] GPT:Alternate GPT header not at the end of the disk.
[    1.701518] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0
[    1.707413] GPT:71713 != 62333951
[    1.716078] panfrost ff9a0000.gpu: features: 00000000,100e77bf, issues: 00000000,24040400
[    1.719800] GPT: Use GNU Parted to correct GPT errors.
[    1.728937] panfrost ff9a0000.gpu: Features: L2:0x07120206 Shader:0x00000000 Tiler:0x00000809 Mem:0x1 MMU:0x00002830 AS:0xff JS:0x7
[    1.734734]  mmcblk1: p1 p2
[    1.747913] panfrost ff9a0000.gpu: shader_present=0xf l2_present=0x1
[    1.750051] [drm] Initialized panfrost 1.2.0 20180908 for ff9a0000.gpu on minor 0
[    1.770335] ehci-platform fe3c0000.usb: EHCI Host Controller
[    1.777161] ehci-platform fe3c0000.usb: new USB bus registered, assigned bus number 1
[    1.777312] mmc2: Command Queue Engine enabled
[    1.786198] ehci-platform fe3c0000.usb: irq 33, io mem 0xfe3c0000
[    1.790983] mmc2: new HS200 MMC card at address 0001
[    1.793834] mmc_host mmc0: Bus speed (slot 0) = 400000Hz (slot req 400000Hz, actual 400000HZ div = 0)
[    1.804778] ehci-platform fe3c0000.usb: USB 2.0 started, EHCI 1.00
[    1.814734] mmcblk2: mmc2:0001 A3A442 115 GiB
[    1.821771] hub 1-0:1.0: USB hub found
[    1.829815] hub 1-0:1.0: 1 port detected
[    1.834126]  mmcblk2: p1 p2
[    1.835457] ohci-platform fe3e0000.usb: Generic Platform OHCI controller
[    1.838419] mmcblk2boot0: mmc2:0001 A3A442 4.00 MiB
[    1.845129] ohci-platform fe3e0000.usb: new USB bus registered, assigned bus number 2
[    1.851359] mmcblk2boot1: mmc2:0001 A3A442 4.00 MiB
[    1.859300] ohci-platform fe3e0000.usb: irq 34, io mem 0xfe3e0000
[    1.865622] mmcblk2rpmb: mmc2:0001 A3A442 16.0 MiB, chardev (244:0)
[    1.927657] hub 2-0:1.0: USB hub found
[    1.929817] mmc_host mmc0: Bus speed (slot 0) = 148500000Hz (slot req 150000000Hz, actual 148500000HZ div = 0)
[    1.931898] hub 2-0:1.0: 1 port detected
[    1.948482] input: adc-keys as /devices/platform/adc-keys/input/input1
[    2.045927] Goodix-TS 3-0014: ID 1158, version: 0100
[    2.077695] rockchip-drm display-subsystem: bound ff8f0000.vop (ops vop_component_ops)
[    2.086827] [drm] unsupported AFBC format[3231564e]
[    2.094491] rockchip-drm display-subsystem: bound ff900000.vop (ops vop_component_ops)
[    2.103771] rockchip-drm display-subsystem: bound fec00000.dp (ops cdn_dp_component_ops)
[    2.113440] rockchip-drm display-subsystem: bound ff960000.mipi (ops dw_mipi_dsi_rockchip_ops)
[    2.134421] fbcon: Deferring console take-over
[    2.139430] rockchip-drm display-subsystem: [drm] fb0: rockchipdrmfb frame buffer device
[    2.148946] [drm] Initialized rockchip 1.0.0 20140818 for display-subsystem on minor 1
[    2.166426] ehci-platform fe380000.usb: EHCI Host Controller
[    2.173044] ehci-platform fe380000.usb: new USB bus registered, assigned bus number 3
[    2.181936] ehci-platform fe380000.usb: irq 31, io mem 0xfe380000
[    2.195815] ehci-platform fe380000.usb: USB 2.0 started, EHCI 1.00
[    2.203615] hub 3-0:1.0: USB hub found
[    2.207845] hub 3-0:1.0: 1 port detected
[    2.213146] ohci-platform fe3a0000.usb: Generic Platform OHCI controller
[    2.220906] ohci-platform fe3a0000.usb: new USB bus registered, assigned bus number 4
[    2.229765] ohci-platform fe3a0000.usb: irq 32, io mem 0xfe3a0000
[    2.293560] hub 4-0:1.0: USB hub found
[    2.297811] hub 4-0:1.0: 1 port detected
[    2.303540] input: gpio-key-power as /devices/platform/gpio-key-power/input/input2
[    2.313062] input: gpio-key-ri as /devices/platform/gpio-key-ri/input/input3
[    2.424872] Freeing initrd memory: 5300K
[    2.429551] dw-apb-uart ff1a0000.serial: forbid DMA for kernel console
l&\E6F&\96ff6\D6
v{{#K\C3kFm
6\D6F\A6FK\93+\A3fK\93k\BB\93+\C6{#f{\93v{{#K\C3\FB\8BV\86\F6m3;s&KsfKc+#vK\A3CV\93\93{\93\D6&\D6
[    2.429676] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
[    2.447383] Freeing unused kernel memory: 1856K
[    2.466920] Run /init as init process
::
:: Launching busybox linuxrc
::
[    2.479370] input: Goodix Capacitive TouchScreen as /devices/platform/ff130000.i2c/i2c-3/3-0014/input/input4
$ mkdir -p /proc /sys /dev /run /tmp
$ mount -t proc proc /proc
$ mount -t sysfs sys /sys
$ mount -t devtmpfs devtmpfs /dev
$ mount -t tmpfs tmpfs /run
$ hostname Tow-Boot
$ ip link set lo up
$ echo 5
$ systemd-udevd --daemon
Starting version 247
$ sleep 1
[    3.466166] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
$ udevadm trigger
$ move_to_line 999
$ printf '\e[%d;0H' 999
$ pr_info '... waiting for input devices'
$ clear
 $ printf '\e[2K\r%s' '... waiting for input devices'
$ test -e /dev/input/by-path/
$ pr_info '... Launching installer GUI'
$ clear
 $ printf '\e[2K\r%s' '... Launching installer GUI'
$ tow-boot-installer-gui
display/drm_drv: Starting DRM subsystem... (/dev/dri/card0)
display/drm_drv: error: drm device '/dev/dri/card0' does not support dumb buffers
display/drm_drv: error: modeset failed with error 95: Operation not supported
[display/fbdev]: The framebuffer device was opened successfully.
[display/fbdev]: 720x1440, 32bpp
[display/fbdev]: The framebuffer device was mapped to memory successfully.
display/drm_drv: DRM subsystem and buffer mapped successfully
WARNING: Error loading fallback font in FT_New_Face: 1
Error in FT_New_Face: 1
Error: Could not load font; falling back to built-in<EMAIL_ADDRESS>	(/build/source/lvgui/hal.c #118)
libinput error: /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libinput-aarch64-unknown-linux-gnu-1.16.4/share/libinput: failed to find data files
libinput error: Failed to load the device quirks from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libinput-aarch64-unknown-linux-gnu-1.16.4/share/libinput and /etc/libinput/local-overrides.quirks. This will negatively affect device behavior. See https://wayland.freedesktop.org/libinput/doc/1.16.4/device-quirks.html for details.
Touch installer system
======================
Tow-Boot login: unable to add device to libinput context:: No such file or directory
Unable to add device to libinput context:: No such file or directory
libinput error: /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libinput-aarch64-unknown-linux-gnu-1.16.4/share/libinput: failed to find data files
libinput error = status=progress.        quirks from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libinput-aarch64-unknown-linux-gnu-1.16.4/share/libinput and conv=fsync /etc/libinput/local-overrides.quirks. This will negatively affect device behavior. See https://wayland.freedesktop.org/libinput/doc/1.16.4/device-quirks.html for details.
xkbcommon: ERROR: failed to add default include path /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xkeyboard-config-aarch64-unknown-linux-gnu-2.33/etc/X11/xkb
[ERROR] (xkbcommon_init): error: Could not create xkb_context.
libinput error: /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libinput-aarch64-unknown-linux-gnu-1.16.4/share/libinput: failed to find data files
libinput error quirks from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libinput-aarch64-unknown-linux-gnu-1.16.4/share/libinput and /etc/libinput/local-overrides.quirks. This will negatively affect device behavior. See https://wayland.freedesktop.org/libinput/doc/1.16.4/device-quirks.html for details.
xkbcommon: ERROR: failed to add default include path /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xkeyboard-config-aarch64-unknown-linux-gnu-2.33/etc/X11/xkb
[ERROR] (xkbcommon_init): error: Could not create xkb_context.
libinput error: /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libinput-aarch64-unknown-linux-gnu-1.16.4/share/libinput: failed to find data files
libinput error: Failed to load the device quirks from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libinput-aarch64-unknown-linux-gnu-1.16.4/share/libinput and /etc/libinput/local-overrides.quirks. This will negatively affect device behavior. See https://wayland.freedesktop.org/libinput/doc/1.16.4/device-quirks.html for details.
xkbcommon: ERROR: failed to add default include path /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xkeyboard-config-aarch64-unknown-linux-gnu-2.33/etc/X11/xkb
[ERROR] (xkbcommon_init): error: Could not create xkb_context.
libinput error: /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libinput-aarch64-unknown-linux-gnu-1.16.4/share/libinput: failed to find data files
libinput error: Failed to load the device quirks from /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-libinput-aarch64-unknown-linux-gnu-1.16.4/share/libinput and /etc/libinput/local-overrides.quirks. This will negatively affect device behavior. See https://wayland.freedesktop.org/libinput/doc/1.16.4/device-quirks.html for details.
xkbcommon: ERROR: failed to add default include path /nix/store/eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee-xkeyboard-config-aarch64-unknown-linux-gnu-2.33/etc/X11/xkb
[ERROR] (xkbcommon_init): error: Could not create xkb_context.
[    5.514194] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
[    9.546266] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
[   17.610224] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
[   33.994230] cdn-dp fec00000.dp: Direct firmware load for rockchip/dptx.bin failed with error -2
[   66.250019] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work] ERROR Timed out trying to load firmware
The system is going down NOW!
Sent SIGKILL to all processes
Requesting system poweroff
[  115.726693] reboot: Power down
\00
Originally posted by @DiagonalArg in https://github.com/Tow-Boot/Tow-Boot/issues/259#issuecomment-1661889561

Ok

@ChodryShan

Hmm there is a problem I solve it very easily

It's been a year since I've looked at this.  If you have a solution, I'll go back to it, thanks.

Hmm good man
On Sun, Sep 22, 2024, 4:43 AM DiagonalArg @.***> wrote:

@ChodryShan https://github.com/ChodryShan
Hmm there is a problem I solve it very easily
It's been a year since I've looked at this. If you have a solution, I'll
go back to it, thanks.
—
Reply to this email directly, view it on GitHub
https://github.com/Tow-Boot/Tow-Boot/issues/333#issuecomment-2365362228,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BLPM6VBJIMVJF4N5PKPJF5LZXYADPAVCNFSM6AAAAABOT4EFE2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNRVGM3DEMRSHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Static arrays

@ChrisRackauckas

I would need a problem to check if this works, do you have a problem in mind?

I will work on finding the global best setup in the hyper_auto_optimize


feat: EC2 2023 14-Plain and lightly reinforced concrete structures

I have added the code formulas for the Chapter 14 from the new Eurocode 2-2023. This is related to issue #69

By the way, does anyone know why I cannot link this PR with the Issue #69 in the Development section?


compiler error, [-Wimplicit-function-declaration]

I tried to create my own docker image. because the current Carton docker doesn't have lldb debugger and soucekip-lsp. So, I tried to create my own.
But when i typed:
$ swift build -c release

I got the following error:
/app/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:10:12: error: call to undeclared function 'posix_spawn_file_actions_addchdir_np'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
    return posix_spawn_file_actions_addchdir_np(file_actions, path);
           ^
/app/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:10:12: note: did you mean 'SPM_posix_spawn_file_actions_addchdir_np'?
/app/.build/checkouts/swift-tools-support-core/Sources/TSCclibc/process.c:7:5: note: 'SPM_posix_spawn_file_actions_addchdir_np' declared here
int SPM_posix_spawn_file_actions_addchdir_np(posix_spawn_file_actions_t *restrict file_actions, const char *restrict path) {
    ^
1 error generated.
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization
[8/882] Compiling a_object.c

To show my linux version with command, uname -a
Linux 94c915263026 <IP_ADDRESS>-microsoft-standard-WSL2 #1 SMP Fri Jan 27 02:56:13 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

swift's version:
Swift version 5.8 (swift-5.8-RELEASE)
Target: x86_64-unknown-linux-gnu

my clang version with command, clang --version
clang version 13.0.0 (https://github.com/apple/llvm-project.git f0fb631dd1a3a2988b23ba5057cd9106713cd0b4)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

Can confirm I have the same issue on PopOS (which is based on Ubuntu) when trying to build with the install_ubuntu_deps.sh

Thank you for your reports. It will be resolved by https://github.com/apple/swift-tools-support-core/pull/363, which will be included in the next carton release. So just a moment, please :pray:

Can confirm that I no longer have the error after the update.
Built and runs fine on Swift 5.8

Ok. But does it work? I mean, have you tried to run the sample code and see something on the browser?

Also yes.

Ok. But does it work? I mean, have you tried to run the sample code and see something on the browser?

Correct. I've tested it and it works fine.
Tried it on two linux machines with different distros.


Enhancement: Python doesn't have a built-in cbrt, and ours is not great

In general, Python doesn't have a cube root function. Numpy does, but that is a heavy package that we've been trying to not require.
So, generally, people might suggest "cube roots are easy! Just use n ** (1/3).". Well, this is what we've been using, and yes, we are in the ballpark, but it introduces errors for some things that should just be exact.
>>> 64 ** (1/3)
3.9999999999999996
>>> (64 ** (1/3)) ** 3
63.99999999999998

Not great...we should get an even 4.
So what can we do? Just use Numpy? Well, not exactly. We can actually rework ours to be a little fancier, and a little more accurate. How are we going to do this? Using Newton's Method.
Now, keep in mind, not every value has a perfect root, and not every value can be perfectly calculated with a perfect cube root, so sometimes, we are going to have an approximation.
But here we go, now we've implemented a nth_root function using Newton's Method.
>>> (64 ** (1/3)) ** 3
63.99999999999998
>>> nth_root(64, 3) ** 3
64.0

Much better. Now, how does it work with decimals?
>>> nth_root(64, 1.8) ** 1.8
63.999999999999986
>>> (64 ** (1 / 1.8)) ** 1.8
64.00000000000001

Not bad, which is better, going over or going under? :shrug: but we are in the ballpark.
>>> (1.2 ** (1 / 1.8)) ** 1.8
1.2
>>> nth_root(1.2, 1.8) ** 1.8
1.2

And we generally handle negative values to avoid imaginary results:
>>> nth_root(-64, 1.8)
-10.079368399158984
>>> nth_root(64, 1.8)
10.079368399158984

Any requested root below 1 will be handled the old-fashioned way as the algorithm won't handle powers less than 1, and anything less than 0 will throw an error.
Now, what does this do? The hope was generally just to make translations a little more stable. Beyond that, I had no real goals, it was more an evaluation. But looking at things, we can see things are a bit closer and better:
>>> Color('white').convert('lch').convert('hsl')
color(hsl 0 0% 100% / 1)
>>> Color('white').convert('lch-d65').convert('hsl')
color(hsl 0 0% 100% / 1)

>>> Color('white').convert('lab').convert('srgb').coords()
[0.9999999999999997, 1.0000000000000002, 0.9999999999999997]
>>> Color('white').convert('lab-d65').convert('srgb').coords()
[0.9999999999999997, 1.0000000000000002, 0.9999999999999997]

This is just strictly tweaking nth_root calculations to get them more accurate (cube root and others). No tweaking or optimization transform matrices or playing around with rounding, just a better root calculation.
It's never going to be perfect, and none of this was to force perfect Lab results, those are just a bonus. Does it do this for ICtCp, OKLab, or Jzazbz? :laugh: nope! And there was no expectation it would, but all things considering, our results are pretty good.
>>> Color('white').convert('jzazbz').convert('srgb').coords()
[1.0000000000000067, 1.0000000000000038, 0.9999999999999908]
>>> Color('white').convert('oklab').convert('srgb').coords()
[1.0000000000000009, 0.999999999999999, 1.0000000000000007]
>>> Color('white').convert('ictcp').convert('srgb').coords()
[0.9999999999999402, 1.000000000000015, 1.0000000000000204]

OKLab can squeeze out a decent white HSL value, but not OKLch:
>>> Color('white').convert('oklab').convert('hsl').coords()
[nan, 0.0, 100.0]
>>> Color('white').convert('oklch').convert('hsl').coords()
[16.193122576085646, -720.3736700421233,<PHONE_NUMBER>3090708]

Turns out there is no need to use Newton's Method, though it does better, it was still off sometimes, not because the algorithm was bad, but because of precision, precision is the whole issue. Using decimal and having precision high enough, we can get good numbers.
Of course, this precision changes our results a bit and we no longer get the clean HSL values 😢. This is honestly what I was expecting when I first dug into this, but by dumb luck, we got better general values.

We also made sure not to round any calculated matrices. We do get a clean HSL conversion from a pure white CIELAB, just not a CIELAB in D65, but again, our intent was to get more consistent math, not get a clean HSL conversion, that is just a bonus.
This is all fine as the only way you are going to get such nice pretty exact HSL, sRGB value is by rounding things off clean and pretty. Doing so will actually cause our roundtripping to break, so not ideal if we want to preserve that. We can deal with that in another issue at some point if we care.
The fact is that with floating-point math in computers, there is going to be some approximation. Some values, no matter how precise you make them, will never be exactly right, only a better approximation.
I experimented and actually ran our CAT conversions through the decimal lib, and we got values even closer to pure white in sRGB when running round trip through CIELAB. Some white HSL calculations were off (what else is new), but still, it wasn't exact, and if it isn't exact, it can affect the conversions, etc.
Ultimately, it boils down to whether we want clean conversions or to preserve round-tripping (as best as possible).
Anyways, I think I'm happy with the cbrt fix, and will probably push it along with the matrix cleanup and documentation explaining hazards of setting, checking, and fitting values indirectly through unrelated color spaces.

After running a performance check, this high-precision cbrt/nth_root is definitely more expensive. I pulled it back out, and translation results are mainly unchanged. We must have been right on the edge and when we changed cbrt, some results changed. When we regenerated matrices at a slightly better precision and pulled out the cbrt change, things are pretty much the same.
As I mentioned before, this is a consequence of floating-point math. I think, in the end, we'll stick with the more performant solution. The issues were mainly with integers, and there would be a slight rounding difference sometimes. The payoff just isn't there.


keep focus on composer when expand/collapse button is clicked

Details
We can prevent default on mouse down event so focus doesn't change from composer to expand/collapse button
Fixed Issues
$ https://github.com/Expensify/App/issues/11093
PROPOSAL: https://github.com/Expensify/App/issues/11093#issuecomment-1253260668
Tests

Login with any account
Go to any chat room
Type multiple lines in composer
Click on expand button and type something
Click on collapse button and type something
Verify that keyboard is not hidden and composer keeps focused

[x] Verify that no errors appear in the JS console

Offline tests

Login with any account
Turn off network connection
Go to any chat room
Type multiple lines in composer
Click on expand button and type something
Click on collapse button and type something
Verify that keyboard is not hidden and composer keeps focused

QA Steps

Login with any account
Go to any chat room
Type multiple lines in composer
Click on expand button and type something
Click on collapse button and type something
Verify that keyboard is not hidden and composer keeps focused

[ ] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above

[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms

[x] I ran the tests on all platforms & verified they passed on:

[x] iOS / native
[x] Android / native
[x] iOS / Safari
[x] Android / Chrome
[x] MacOS / Chrome
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)

[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product was added in all src/languages/* files
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers

[x] I followed the guidelines as stated in the Review Guidelines

[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)

[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)

[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such

[x] I verified that if a function's arguments changed that all usages have also been updated correctly

[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)

[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.

[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

PR Reviewer Checklist
The reviewer will copy/paste it into a new comment and complete it after the author checklist is completed

[ ] I have verified the author checklist is complete (all boxes are checked off).
[ ] I verified the correct issue is linked in the ### Fixed Issues section above
[ ] I verified testing steps are clear and they cover the changes made in this PR

[ ] I verified the steps for local testing are in the Tests section
[ ] I verified the steps for expected offline behavior are in the Offline steps section
[ ] I verified the steps for Staging and/or Production testing are in the QA steps section
[ ] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[ ] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[ ] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[ ] I checked that screenshots or videos are included for tests on all platforms
[ ] I included screenshots or videos for tests on all platforms
[ ] I verified tests pass on all platforms & I tested again on:

[ ] iOS / native
[ ] Android / native
[ ] iOS / Safari
[ ] Android / Chrome
[ ] MacOS / Chrome
[ ] MacOS / Desktop

[ ] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[ ] I verified proper code patterns were followed (see Reviewing the code)

[ ] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[ ] I verified that comments were added to code that is not self explanatory
[ ] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[ ] I verified any copy / text shown in the product was added in all src/languages/* files
[ ] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[ ] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[ ] I verified the JSDocs style guidelines (in STYLE.md) were followed

[ ] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[ ] I verified that this PR follows the guidelines as stated in the Review Guidelines
[ ] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[ ] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[ ] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[ ] I verified that if a function's arguments changed that all usages have also been updated correctly
[ ] If a new component is created I verified that:

[ ] A similar component doesn't exist in the codebase
[ ] All props are defined accurately and each prop has a /** comment above it */
[ ] The file is named correctly
[ ] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[ ] The only data being stored in the state is data necessary for rendering and nothing else
[ ] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[ ] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[ ] All JSX used for rendering exists in the render method
[ ] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[ ] If a new CSS style is added I verified that:

[ ] A similar style doesn't already exist
[ ] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[ ] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[ ] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[ ] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

Screenshots
Web
https://user-images.githubusercontent.com/96077027/203444273-b77b2ead-98a6-436f-beb7-f3e146dc627f.mov
Mobile Web - Chrome

Mobile Web - Safari
https://user-images.githubusercontent.com/96077027/203444252-f57a8b0e-8c67-4b4a-ab72-e9bc3f5369e5.mp4
Desktop
https://user-images.githubusercontent.com/96077027/203444159-860182ea-cb55-4457-a1ac-4f771355f71e.mov
iOS
https://user-images.githubusercontent.com/96077027/203444189-92c5a3be-ecb1-4a89-81c4-708569a68d9e.mp4
Android

Congrats to @aimane-chnaif
While I'd like to mention a potential UX advantage my proposal might provide. When there's a scrollbar in the composer, by calling textInput.focus after the click of expand/collapse, the input cursor/caret will be shown on the screen automatically.
Below is an example to compare the difference of caret display when collapsing the composer

onMouseDown preventDefault
Call textInput.focus after the click of expand/collapse

I'll be happy to hear your thoughts on this cc @luacmartins @parasharrajat

Will be checking this today/tomorrow. Too tired, and won't be working long.

Testing it in sometime today.

Yeah, looking at this itself. Currently, my Mac is upgrading so it will take some time to approve.
I was also looking into blue highlight issues yesterday because this PR is related to that as well.
Other than this, I am also checking the other proposal even though we impulsively selected your proposal just to be sure.

@parasharrajat any updates here?

It will be reviewed today.

@aimane-chnaif So I tested it and it has a cursor issue on web-based platforms when the composer has scrollable content. This should have been tested during the proposal review but we hurried to wrap up the issue. Can you think of a solution for it?

@parasharrajat what cursor issue did you experience?

Here is a video.
https://user-images.githubusercontent.com/24370807/204906774-3f6b9b39-cbca-486c-864a-32587374005c.mp4
Steps:

Add a multiline message draft on the composer on mWeb so that the scroll bar is visible.
Scroll to the last line and place your cursor at the end.
Press the Expand button and now press the Collapse button.
Cursor is lost and the message is not scrolled at the cursor position.

@aimane-chnaif any updates?

@luacmartins Any thoughts on the above?

I think that we should move forward with the cursor issue. That issue is already present in prod so there's no regression there and this PR fixes a way bigger problem. We can investigate the cursor issue on a separate issue.

@parasharrajat let me know once you get a chance to review this!

Yeah, Adding videos for it.

Screenshots
:black_square_button: iOS / native
:black_square_button: iOS / Safari
https://user-images.githubusercontent.com/24370807/205686827-67700144-f620-4131-9d30-3ee897a1400c.mp4
:black_square_button: MacOS / Desktop
https://user-images.githubusercontent.com/24370807/205683615-45bcb40e-657d-40fc-a378-e300172bafe8.mp4
:black_square_button: MacOS / Chrome
https://user-images.githubusercontent.com/24370807/205683582-a9378e2c-edcd-499f-ae91-bf7f5164a877.mp4
:black_square_button: Android / Chrome
:black_square_button: Android / native

@parasharrajat it seems like this passed your tests?

Reviewer Checklist

[x] I have verified the author checklist is complete (all boxes are checked off).
[x] I verified the correct issue is linked in the ### Fixed Issues section above
[x] I verified testing steps are clear and they cover the changes made in this PR

[x] I verified the steps for local testing are in the Tests section
[x] I verified the steps for Staging and/or Production testing are in the QA steps section
[x] I verified the steps cover any possible failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)

[x] I checked that screenshots or videos are included for tests on all platforms
[x] I included screenshots or videos for tests on all platforms
[x] I verified tests pass on all platforms & I tested again on:

[x] iOS / native
[x] Android / native
[x] iOS / Safari
[x] Android / Chrome
[x] MacOS / Chrome
[x] MacOS / Desktop

[x] If there are any errors in the console that are unrelated to this PR, I either fixed them (preferred) or linked to where I reported them in Slack
[x] I verified proper code patterns were followed (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick).
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product was added in all src/languages/* files
[x] I verified any copy / text that was added to the app is correct English and approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I verified that this PR follows the guidelines as stated in the Review Guidelines
[x] I verified other components that can be impacted by these changes have been tested, and I retested again (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar have been tested & I retested again)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)

[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] I have checked off every checkbox in the PR reviewer checklist, including those that don't apply to this PR.

LGTM except for the cursor issue as discussed.
cc: @luacmartins

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

The composer is losing focus on mWeb Android, and I don't really see what could be the problem. Any ideas? Other platforms are working fine.
https://user-images.githubusercontent.com/2229301/206767168-c920a6f6-8ca6-4990-9458-8038e4aa4ed1.mov

Heh you're right, works well after a hard refresh 👍

🚀 Deployed to production by @chiragsalian in version: 1.2.38-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


No visual results in the example.py. May lack of navmesh files.

Habitat-Lab and Habitat-Sim versions
Habitat-Lab: stable
Habitat-Sim: following the conda install
Ubuntu 20.02
🐛 Bug
When I run the examples/example.py. The simulation window doesn't show up, and the following text is shown:
'''
pybullet build time: Aug 23 2023 23:38:07
2023-08-24 00:03:43,418 Initializing dataset RearrangeDataset-v0
2023-08-24 00:03:53,765 initializing sim RearrangeSim-v0
[00:03:53:806035]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_00.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806074]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_01.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806089]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_02.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806102]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_03.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806123]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_04.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806140]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_05.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806159]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_06.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806202]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_07.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806254]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_08.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806304]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_09.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806320]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_10.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806333]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_11.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806346]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_12.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806359]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_13.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806372]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_14.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806385]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_15.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806401]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_16.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806419]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_17.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806482]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_18.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806530]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_19.navmesh not found on disk as absolute path or relative to data/replica_cad
[00:03:53:806566]:[Warning]:[Metadata] SceneDatasetAttributesManager.cpp(267)::loadAndValidateMap : navmesh_instances Value : navmeshes/v3_sc4_staging_20.navmesh not found on disk as absolute path or relative to data/replica_cad
Renderer: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2 by NVIDIA Corporation
OpenGL version: 4.6.0 NVIDIA 470.82.00
Using optional features:
GL_ARB_vertex_array_object
GL_ARB_separate_shader_objects
GL_ARB_robustness
GL_ARB_texture_storage
GL_ARB_texture_view
GL_ARB_framebuffer_no_attachments
GL_ARB_invalidate_subdata
GL_ARB_texture_storage_multisample
GL_ARB_multi_bind
GL_ARB_direct_state_access
GL_ARB_get_texture_sub_image
GL_ARB_texture_filter_anisotropic
GL_KHR_debug
GL_KHR_parallel_shader_compile
GL_NV_depth_buffer_float
Using driver workarounds:
no-forward-compatible-core-context
nv-egl-incorrect-gl11-function-pointers
no-layout-qualifiers-on-old-glsl
nv-zero-context-profile-mask
nv-implementation-color-read-format-dsa-broken
nv-cubemap-inconsistent-compressed-image-size
nv-cubemap-broken-full-compressed-image-query
nv-compressed-block-size-in-bits
MeshTools::compile(): ignoring Trade::MeshAttribute::TextureCoordinates 1 as its biding slot is already occupied by Trade::MeshAttribute::TextureCoordinates 0
MeshTools::compile(): ignoring Trade::MeshAttribute::TextureCoordinates 1 as its biding slot is already occupied by Trade::MeshAttribute::TextureCoordinates 0
MeshTools::compile(): ignoring Trade::MeshAttribute::TextureCoordinates 1 as its biding slot is already occupied by Trade::MeshAttribute::TextureCoordinates 0
MeshTools::compile(): ignoring Trade::MeshAttribute::TextureCoordinates 1 as its biding slot is already occupied by Trade::MeshAttribute::TextureCoordinates 0
[00:03:54:240140]:[Warning]:[Sim] Simulator.cpp(508)::instanceStageForSceneAttributes : The active scene does not contain semantic annotations : activeSemanticSceneID_ = 0
2023-08-24 00:03:56,115 Initializing task RearrangePickTask-v0
/home/control/.conda/envs/habitat/lib/python3.9/site-packages/gym/spaces/box.py:84: UserWarning: WARN: Box bound precision lowered by casting to float32
logger.warn(f"Box bound precision lowered by casting to {self.dtype}")
Environment creation successful
b3Warning[examples/Importers/ImportURDFDemo/BulletUrdfImporter.cpp,467]:
Bad inertia tensor properties, setting inertia to zero for link: r_gripper_finger_link
b3Warning[examples/Importers/ImportURDFDemo/BulletUrdfImporter.cpp,467]:
Bad inertia tensor properties, setting inertia to zero for link: l_gripper_finger_link
b3Warning[examples/Importers/ImportURDFDemo/BulletUrdfImporter.cpp,467]:
Bad inertia tensor properties, setting inertia to zero for link: r_gripper_finger_link
b3Warning[examples/Importers/ImportURDFDemo/BulletUrdfImporter.cpp,467]:
Bad inertia tensor properties, setting inertia to zero for link: l_gripper_finger_link
Agent acting inside environment.
Renderer: NVIDIA GeForce GTX 1660 Ti/PCIe/SSE2 by NVIDIA Corporation
OpenGL version: 4.6.0 NVIDIA 470.82.00
Using optional features:
GL_ARB_vertex_array_object
GL_ARB_separate_shader_objects
GL_ARB_robustness
GL_ARB_texture_storage
GL_ARB_texture_view
GL_ARB_framebuffer_no_attachments
GL_ARB_invalidate_subdata
GL_ARB_texture_storage_multisample
GL_ARB_multi_bind
GL_ARB_direct_state_access
GL_ARB_get_texture_sub_image
GL_ARB_texture_filter_anisotropic
GL_KHR_debug
GL_KHR_parallel_shader_compile
GL_NV_depth_buffer_float
Using driver workarounds:
nv-egl-incorrect-gl11-function-pointers
no-layout-qualifiers-on-old-glsl
nv-zero-context-profile-mask
nv-implementation-color-read-format-dsa-broken
nv-cubemap-inconsistent-compressed-image-size
nv-cubemap-broken-full-compressed-image-query
nv-compressed-block-size-in-bits
Episode finished after 300 steps.
'''
It seems some navmeshes are missed. But I think I have done the downloading part correctly.
Anyone can help me to check how to get those navmeshes?

How did you resolve it?

can you elaborate on this a little. How do  i overcome this issue

@Kairobo can you elaborate on this a little. How do i overcome this issue

Just find the pictures you can use in the code and save it.


Display pokemon data on selection from dropdown

-Ajax request to database

Make table in html to display neatly all the details

Done!


minor simplfy some code in HMSExternalTable

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


Test for 'Cannot set properties of undefined (setting "serverID") cvat'

https://github.com/cvat-ai/cvat/issues/7879

Moved to internal tracker


why-zulip: Include cartoon of Julia Evans.

http://localhost:9991/why-zulip/

@hackerkid a few tweaks:

I think we should make this the first thing on the page, before that first paragraph (otherwise one just sorta misses that paragraph)
I think we should remove taller green block with the first "Why Zulip" heading from the very top of this page (but keep it for the other pages)
I'd like to add some small text below the image as a caption giving credit, e.g. "Julia Evans' explanation of Zulip" (we'll play with the language)

@timabbott Updated :)

Merged, after changing the caption text a bit.  Thanks @hackerkid!


about thomous featrue?

How are the features extracted from different videos sampled consistently in time dimension? Can you tell us some details about sliding window？thks

Hi, there are two ways to sample videos.
(1) Sampling fixed number of frames for each videos, so that the extracted frame number for all videos is the same.
(2) Sampling by a fixed step, so that the frames can be more consistent is time dimension but the numbers of frame will vary from video to video.
For example, video A and B has 256 and 512 frames respectively.
(1) if output 2 frames in total, then get the 1st, 128-th frames from A and 1-st, 256-th frames from B.
(2) if sample step is 128, then get the 1-st, 128-th frames from A and 1-st, 128-th, 256-th, 384-th frames from B.

Hi,  I meet the problem that Lin Tianwei BSN had different feature extraction from activity data and thousous14 data, now it is resolved. The question you answered:
（1） Corresponding to a relatively short time video, such as the feature extraction of activity, a video extracts a fixed number of frames.
（2）Corresponding to relatively long-term videos, such as thousous14, a video will use sliding windows to extract features, and the last video will correspond to multiple sliding windows, but the time dimension of each window is consistent.
Is this understanding correct?

Hi, using which extraction strategy not only depends on the video length. I think it's better to sample by a fixed step so that each frame represent similar temporal length. But if the video is too long or the program cannot handle different length input, it will be simpler to use a fixed number of frames to represent a video.
Decouple-SSAD samples videos by a fixed step and uses sliding windows as units. BSN represents each video by a fixed number of frames and uses each video as a unit. I think both can work with proper processing.

@HYPJUDY if a label is less than 0.9 in the previous window and the next window, will the label be discarded?how to deal with the problem？

Sorry I don't understand your question. What's the score (label 0.9) means and what's the operation of discarding means?

Hi, HYPJUDY .Thank you for your reply. For example, acording to gen_data_info.py , One video will generate the first window [0,512] and the second window [128,640]. Suppose an action clip [45,595], The ratio with the first window is (512-45)/(595-45) = 0.85, others the second windows ratio is (595-128)/(595-45)=0.85, This clip can't match these two windows, is it discarded?This question has puzzled me for a long time，thks for your reply. @HYPJUDY

In your example, if the config.overlap_ratio_threshold is smaller than 0.85, both sliding windows should be kept (according to the code here).
The clip can match with multiple windows. The ground truth of having action of the first and second window are [45, 512] and [128, 595] respectively. The model can learn to predict them both and the final result by combining the predictions of two windows is still [45, 595].

yes，we can change the config.overlap_ratio_threshold=0.85, but it's not all that flexible.Personally, I prefer the resize method, which only needs one prediction.


Fix some minor documentation spelling errors.

Noticed a few typos in the documentation as I was browsing.  Figured I'd fix them as I came across them.

:+1:


Grouping breaks select * except

What happened?
A small issue where if a select !{...} is followed by a group, the exclude (...) bit goes missing from the SQL output. Regression since v0.10.1.
A workaround is to move the select after the group.
Encountered using bigquery but seems to be an issue in all dialects where SELECT * EXCLUDE is otherwise supported.
PRQL input
prql target:sql.bigquery

from foo
select !{a, b}
group {c} (
  sort {-d}
  take 1
)

SQL output
WITH table_0 AS (
  SELECT
    *,
    ROW_NUMBER() OVER (
      PARTITION BY c
      ORDER BY
        d DESC
    ) AS _expr_0
  FROM
    foo
)
SELECT
  *
EXCEPT
  (_expr_0)
FROM
  table_0
WHERE
  _expr_0 <= 1

-- Generated by PRQL compiler version:0.11.1 (https://prql-lang.org)

Expected SQL output
WITH table_0 AS (
  SELECT
    *,
    ROW_NUMBER() OVER (
      PARTITION BY c
      ORDER BY
        d DESC
    ) AS _expr_0
  FROM
    foo
)
SELECT
  *
EXCEPT
  (_expr_0, a, b)
FROM
  table_0
WHERE
  _expr_0 <= 1

-- Generated by PRQL compiler version:0.11.1 (https://prql-lang.org)

MVCE confirmation

[X] Minimal example
[X] New issue

Anything else?
No response

Agree, thanks for the report @syko

Introduced by https://github.com/PRQL/prql/pull/3826


How to add a css-loader support to cssmodules

I want to use css modules  like this ,but it's inoperative;

what should I do?

Please use StackOverflow for this kind of questions, the team behind this project is small and we can't help everybody with their own personal issues.
Thank you for understanding!

Please use StackOverflow for this kind of questions, the team behind this project is small and we can't help everybody with their own personal issues.
Thank you for understanding!

Admittedly, I understand the size of your team and the current problem. I am not without the answer to this question. Since this plug-in is used to handle create-react-app and does not use eject, but customize-cra does most of the functions of webpack modules and plug-ins, why not add one to css? I looked at your source code before asking questions, and also looked at the related issues of the project. Some people have similar problems, but this is cssmodules. In my previous project, Ant Design Pro project, we can also add cssloader to deal with modularization while implementing this lessloader.
I raised this issue to solve the problem of the project. Although it's no problem not to use cssmodules at present, after all, cssmodules can't be used after adding Less Loader. We can't solve one problem and create another problem, can we?
Your attitude to answering questions makes me doubt your attitude and ability to solve problems.
There are many offences in presumption.

I have solved this problem myself, but the reason for the problem is the problem of the plug-in library. The solution is as follows:
Modify the source code directly:
customize-cra/index.js

add
modules: true,
localIdentName: '[local]'
that is ok

I had the save question as you .But then I found a way to solve it.just change the file name from 'Report.less' to 'Report.module.less' and then it will be OK.


Add code coverage helper

View the parts of jshint that are covered by the tests (file by file or all test files together).
Coverage analysis is done with https://github.com/coveraje/coveraje.
Results are shown in the browser (default http://<IP_ADDRESS>:13337/).

LGTM.
I do have a suggestion though, why don't we add .js to testhelper and coveraje, and invoke them with node. This will make them part of the tests so we can keep the coding style the same between all files.

Hi,
extensionless files in folder /test are part of the JSHint check (after a994b8e0128ad634d5d612321aced14de19b9ee7).
I have simply no opinion on file extensions - let us vote... ;)

I am +1 on using .js extensions—helps with syntax highlighting as well. @WolfgangKluge could you make the extension change as a part of this pull request, please? Otherwise I am +1 to merge.

Let's move renamed helpers into tests/helpers, actual tests into tests/unit and update the expresso command accordingly.


Fix PETR transforms and box handling to work with old checkpoints

Motivation
Current version of the PETR-project does not produce the reported metrics (see https://github.com/open-mmlab/mmdetection3d/issues/2510 for more details). The current state of the project has the following issues:

Incorrect rotation and scaling of the camera pose when doing 3D transforms.
Incorrect normalizing (and denormalizing) of bounding boxes. Current normalizing is not compatible with the checkpoint in the repo, effectively switching length and width, causing large scale errors.

Modification
This PR fixes:

The 3D transforms to work correctly with versions >v1.0.0 (i.e after the coordinate system refactoring).
The normalizing (and denormalizing) of boxes to work with the old checkpoint.

Results from testing the PR on nuScenes validation set (with the old checkpoint):
mAP: 0.3829
mATE: 0.7376
mASE: 0.2702
mAOE: 0.4803
mAVE: 0.8703
mAAE: 0.2040
NDS: 0.4352

Log from the test: 20240305_103838.log

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Wow great catch.
Have you tried training with these changes?

I trained PETR with the current code and with the suggestions in this PR. Both versions end up at the same metrics with only marginal differences:
NuScenes metric/pred_instances_3d_NuScenes/NDS: 0.4353
NuScenes metric/pred_instances_3d_NuScenes/mAP: 0.3771

I would not merge this PR, but rather provide new weights for the current setup.

here's a little weight conversion script -
let me know if i missed something, i only did a quick qualitative check
import torch

ckpt = torch.load('weights/petr.pth')

keys = [
    'pts_bbox_head.reg_branches.0.4.weight',
    'pts_bbox_head.reg_branches.1.4.weight',
    'pts_bbox_head.reg_branches.2.4.weight',
    'pts_bbox_head.reg_branches.3.4.weight',
    'pts_bbox_head.reg_branches.4.4.weight',
    'pts_bbox_head.reg_branches.5.4.weight',
]

for k in keys:
    orig = ckpt['state_dict'][k]

    # weights are (10, 256)
    modified = orig.clone()
    modified[2:3] = orig[3:4]
    modified[3:4] = orig[2:3]

    ckpt['state_dict'][k] = modified

torch.save(ckpt, 'weights/petr_fixed.pth')

I trained PETR with the current code and with the suggestions in this PR. Both versions end up at the same metrics with only marginal differences:
NuScenes metric/pred_instances_3d_NuScenes/NDS: 0.4321
NuScenes metric/pred_instances_3d_NuScenes/mAP: 0.3766

vs.
NuScenes metric/pred_instances_3d_NuScenes/NDS: 0.4353
NuScenes metric/pred_instances_3d_NuScenes/mAP: 0.3771

I would not merge this PR, but rather provide new weights for the current setup.

I trained PETR with the current code and with the suggestions in this PR. Both versions end up at the same metrics with only marginal differences:
NuScenes metric/pred_instances_3d_NuScenes/NDS: 0.4321
NuScenes metric/pred_instances_3d_NuScenes/mAP: 0.3766

vs.
NuScenes metric/pred_instances_3d_NuScenes/NDS: 0.4353
NuScenes metric/pred_instances_3d_NuScenes/mAP: 0.3771

I would not merge this PR, but rather provide new weights for the current setup.

Providing new weights would also suffice. However, I would still suggest keeping some of the fixes in this request (such as the incorrect rotation, misleading naming and unnecessary conversion between torch and numpy).


Support for sending files to the client via a link

Is your feature request related to a problem? Please describe.
When I use LocalSend, I need to send some files to the server, but currently, I have to install the LocalSend client to facilitate this process.
Describe the solution you'd like
It would be beneficial if LocalSend could generate a web page for file transmission, allowing me to send files to the server from other devices without needing to install the LocalSend client.
Describe alternatives you've considered
No response
Additional context
Regarding security, the process is vulnerable to attacks if not conducted over HTTPS. Ideally, this feature should default to using HTTPS encryption, with the option to disable it only after obtaining explicit user consent;
This function should not be turned on for a long time. A countdown should be set for this function, which will automatically turn off after the countdown ends. Alternatively, users can customize the countdown or add a PIN like verification method, or use URL+JSON

I'm confused. What is in your feature request that #629 doesn't do?

I think what @CATXYLS means is to be able to send files to his LocalSend "server" from other computers using a webpage because he doesn't want to install LocalSend on all the computers.
Effectively it would be the inverse of "Send file via link", it would be "Receive files via link". That does bring a lot of security concerns.

I'm confused. What is in your feature request that #629 doesn't do?

Hello.
I've reviewed issue #629, which pertains to enabling HTTPS when sharing via links. My objective, however, is for the LocalSend client to support receiving files through links, with the entire process mandating the use of HTTPS for enhanced security.

I think what @CATXYLS means is to be able to send files to his LocalSend "server" from other computers using a webpage because he doesn't want to install LocalSend on all the computers.
Effectively it would be the inverse of "Send file via link", it would be "Receive files via link". That does bring a lot of security concerns.

Yes
I am aware of the potential security risks that this feature may bring, and I have to say that if so, using FTP can also achieve the same goal. However, FTP requires account and password verification [although anonymous login can be enabled, enabling anonymous login means that everyone can access it]
Although FTP can meet the functions I need, I need to use it on multiple temporary computers, so I chose LocalSend

I support the feature request, now localsend only supports file distribution via HTTP servers, making it convenient for users without localsend to get the files I have. However, it ignores the reverse process; if I want to receive files from users without localsend, I cannot do so. We hope that localsend server not only supports file distribution but also allows other users to upload files via the HTTP page.
A senario case is: I met a stranger and asked them to record a video for me, but I have no reason to ask them to install an extra app just to transfer the video to me


add StatsService.GetSysStats

add StatsService.GetSysStats call to v2ctl to retrieve core running data, example:

$ /usr/bin/v2ray/v2ctl api --server=<IP_ADDRESS>:10085 StatsService.GetSysStats ''
NumGoroutine: 16
NumGC: 5
Alloc: 717048
TotalAlloc: 5185696
Sys: 71762168
Mallocs: 55768
Frees: 48457
LiveObjects: 7311
PauseTotalNs: 706772
Uptime: 589

fixed bug running command v2ctl api without arguments, hangs forever with no output/error.

This pull request have added a 3 second timeout to grpc request in v2ctl. I believe this behavior should be reflected in document to prevent confusion in the future.

Actually the previous behavior is more confusing,  grpc dial have a infinite timeout, the command just hangs forever.

Yes, however, we can't assume all commands can be completed in 3 seconds.

I think we can.
Any cli command does not response in a human bearable time and tells what happened, is bad design.
A three seconds waiting is suitable in this situation.

Currently, this is the case, but I think this change should be documented nonetheless.

a notice line added, heres the help text:
$ ./v2ctl api --help
Usage of api:
  -server string
        Server address (default "<IP_ADDRESS>:8080")
v2ctl api [--server=<IP_ADDRESS>:8080] Service.Method Request
Call an API in an V2Ray process.
The following methods are currently supported:
        LoggerService.RestartLogger
        StatsService.GetStats
        StatsService.QueryStats
API calls in this command have a timeout to the server of 3 seconds.
Examples:
v2ctl api --server=<IP_ADDRESS>:8080 LoggerService.RestartLogger ''
v2ctl api --server=<IP_ADDRESS>:8080 StatsService.QueryStats 'pattern: "" reset: false'
v2ctl api --server=<IP_ADDRESS>:8080 StatsService.GetStats 'name: "inbound>>>statin>>>traffic>>>downlink" reset: false'
v2ctl api --server=<IP_ADDRESS>:8080 StatsService.GetSysStats ''

I believe this pull request is ready to be merged.


[HELP] wire-pod setup page stuck at "Initiating setup..."

Describe the issue:
I have installed the wirepod_arm64-v1.2.13.deb package for my Pi OS (bookworm) 64-bit successfully.  When I navigate to the configuration page as instructed and submit (production bot), I get stuck on "Initiating setup..." message and nothing happens afterwards.
What are you running wire-pod on?

[OS]: Pi OS 64-bit (Debian bookworm)
[Hardware]: Raspberry Pi 4 Model B

Are you setting up a prod (regular) bot or a dev/OSKR (unlocked) bot?
This is for a production bot.  I had previously updated it and had it working on another system.  I wanted to set up wire-pod on a new machine.
What steps have you tried?
I have tried reinstalling the arm64 install package but I'm getting the same issue with "Initiating setup...".  I have also tried to install the armhf install package with the same result.

After a few more uninstall/installs and reboots, wire-pod is working finally.  I'll try a clean/fresh install to try and replicate the issue - if it's still an issue.  For now, it's resolved.


Mismatched operator new[] and delete

Describe the bug

wchar_t* temp is initialized with new[], but deleted with delete.
Steps To Reproduce
I just enabled code analysis. C'mon, Microsoft, it's your own tool!
Additional context

Made a pull request #196 to address this issue.

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.


deepin.dtkcore: 2.0.9 -> <IP_ADDRESS>

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/dtkcore/versions.
meta.description for deepin.dtkcore is: '"Deepin tool kit core modules"'.
Compare changes on GitHub

Checks done (click to expand)

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found <IP_ADDRESS> with grep in /nix/store/hsfrm5zfr85wwv0z3jp2cikpbx0gdf3x-dtkcore-<IP_ADDRESS>

directory tree listing: https://gist.github.com/cbeb71de4eafc0d154314f53cc45c253

du listing: https://gist.github.com/7f2182ff734884a61756945b5d377c4e

Instructions to test this update (click to expand)

One-time optional setup to skip building using Cachix:

Install cachix from https://cachix.org/
Use r-ryantm's cache:cachix use r-ryantm

Test this update by entering a nix shell, seeing what is inside the
result, and if applicable, running some binaries:
nix-shell --pure -I nixpkgs=https://github.com/r-ryantm/nixpkgs/archive/48d1ede048fe319b298878b69a0acd339268f0c1.tar.gz -p deepin.dtkcore
ls -la /nix/store/hsfrm5zfr85wwv0z3jp2cikpbx0gdf3x-dtkcore-<IP_ADDRESS>

cc @romildo for testing.

Success on aarch64-linux (full log)
Attempted: deepin.dtkcore
Partial log (click to expand)
shrinking /nix/store/4c02z8l099bz6dlla7qaq7bgw0qikm39-dtkcore-<IP_ADDRESS>/lib/libdtk-2.0.6/DCore/bin/deepin-os-release
shrinking /nix/store/4c02z8l099bz6dlla7qaq7bgw0qikm39-dtkcore-<IP_ADDRESS>/lib/libdtkcore.so.2.0.6
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/4c02z8l099bz6dlla7qaq7bgw0qikm39-dtkcore-<IP_ADDRESS>/lib
patching script interpreter paths in /nix/store/4c02z8l099bz6dlla7qaq7bgw0qikm39-dtkcore-<IP_ADDRESS>
checking for references to /build in /nix/store/4c02z8l099bz6dlla7qaq7bgw0qikm39-dtkcore-<IP_ADDRESS>...
wrapping `/nix/store/4c02z8l099bz6dlla7qaq7bgw0qikm39-dtkcore-<IP_ADDRESS>/lib/dtk2/dtk-translate.py'...
wrapping `/nix/store/4c02z8l099bz6dlla7qaq7bgw0qikm39-dtkcore-<IP_ADDRESS>/lib/dtk2/dtk-license.py'...
postPatchMkspecs
/nix/store/4c02z8l099bz6dlla7qaq7bgw0qikm39-dtkcore-<IP_ADDRESS>

Success on x86_64-linux (full log)
Attempted: deepin.dtkcore
Partial log (click to expand)
shrinking /nix/store/hsfrm5zfr85wwv0z3jp2cikpbx0gdf3x-dtkcore-<IP_ADDRESS>/lib/libdtk-2.0.6/DCore/bin/deepin-os-release
shrinking /nix/store/hsfrm5zfr85wwv0z3jp2cikpbx0gdf3x-dtkcore-<IP_ADDRESS>/lib/dtk2/dtk-settings
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/hsfrm5zfr85wwv0z3jp2cikpbx0gdf3x-dtkcore-<IP_ADDRESS>/lib
patching script interpreter paths in /nix/store/hsfrm5zfr85wwv0z3jp2cikpbx0gdf3x-dtkcore-<IP_ADDRESS>
checking for references to /build in /nix/store/hsfrm5zfr85wwv0z3jp2cikpbx0gdf3x-dtkcore-<IP_ADDRESS>...
wrapping `/nix/store/hsfrm5zfr85wwv0z3jp2cikpbx0gdf3x-dtkcore-<IP_ADDRESS>/lib/dtk2/dtk-translate.py'...
wrapping `/nix/store/hsfrm5zfr85wwv0z3jp2cikpbx0gdf3x-dtkcore-<IP_ADDRESS>/lib/dtk2/dtk-license.py'...
postPatchMkspecs
/nix/store/hsfrm5zfr85wwv0z3jp2cikpbx0gdf3x-dtkcore-<IP_ADDRESS>

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: deepin.dtkcore
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.