Firmware for ESP32-C3

Good day, dear Michael and creators of microlite!
Thanks for your wonderful project. This is a very handy item. It seems to me that his appearance is a very big event in the world of micropython.
Let me ask you, is it possible to create a firmware for the increasingly popular ESP32-C3 based on RISC-V?

At  the moment I'm not building for all boards only the ones that people ask for and can verify.  If you have an ESP32-C3 to test with I can add a build for it.
Normally I copy the board configs from micropython and then customize as needed for the microlite module. Which board config are you using?

I've started work on this but the build isn't quite working yet.  You may also want to take a look at https://github.com/espressif/tflite-micro-esp-examples
Which is Espressif's tflm repository, the only downside is you have to compile using C/C++ instead of using micropython.
The C3 is only a single core so you may need the acceleration library integrated there to get acceptable speed.
Its a work in progress to get the esp_nn library merged into this repo.  I tried a few months ago but it locked up my normal esp32's when trying to run inference and I haven't been back around to try again.

Thank you so much for getting started!
Unfortunately, working with ESP-IDF is problematic for many reasons for beginners.
So far, we are using your build for a regular ESP32 under MicroPython and are very happy with it.
We are ready to wait as long as necessary, and will make every effort to test and debug it.
Thank you very much again.

I thought how I could be useful to your project? Decided to make a logo for it.
Logo for Tensorflow Micropython Examples

Hmmm, Link does not work for me.

Sorry, added access

@robostart-io my latest change built the firmware successfully.  Can you download the applicable zip from here: https://github.com/mocleiri/tensorflow-micropython-examples/actions/runs/3662193220
You have to unzip the file and then flash using the different parts.  This comment shows how the bits in the zip file can be combined into a flashable .bin file:
https://github.com/mocleiri/tensorflow-micropython-examples/issues/99#issuecomment-1272576632
There are a couple of more changes needed for the other ports before this work will merge down into the main branch.  But you should be able to confirm if the build is producing working firmware or not.

Tried to flash from https://github.com/mocleiri/tensorflow-micropython-examples/actions/runs/3666469707 and https://github.com/mocleiri/tensorflow-micropython-examples/actions/runs/3662193220
by using esptool
python esptool.py erase_flash
python esptool.py -p COM6 -b 460800 --before default_reset --after hard_reset --chip esp32c3 write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x1000 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 micropython.bin
Connected and got a constantly repeating string
invalid header: 0xffffffff
Sometimes the following messages appear:
invalid header: 0xffffffff
invalid headeюESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x4004d1f8
invalid header: 0xffffffff
invalid header: 0xffffffff
...
invalid header: 0xffffffff
invalid header: 0xffffffff
invalid header: 0шESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x10 (RTCWDT_RTC_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
invalid header: 0xffffffff
...

Can you try flashing at a slower baud rate?  Sometimes that can help.
I found this esp-idf issue that had the same error message which might help: https://github.com/espressif/esp-idf/issues/9005

Erased without problems
python esptool.py erase_flash
or
python esptool.py -p COM13 --chip esp32c3 erase_flash
PS H:\Electron\esptool\esptool-4.4> python esptool.py erase_flash
esptool.py v4.4
Found 2 serial ports
Serial port COM13
Connecting....
Detecting chip type... ESP32-C3
Chip is ESP32-C3 (revision v0.3)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 34:b4:72:4d:cf:fc
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 16.2s
Hard resetting via RTS pin...
PS H:\Electron\esptool\esptool-4.4> python esptool.py -p COM13 --chip esp32c3 erase_flash
esptool.py v4.4
Serial port COM13
Connecting....
Chip is ESP32-C3 (revision v0.3)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 34:b4:72:4d:cf:fc
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 16.1s
Hard resetting via RTS pin...
PS H:\Electron\esptool\esptool-4.4>

I tried changing speed on 115200 yesterday
Today I tried even lower, up to 10000 (at 9600 the esptool refuses to work with ESP32c3).
PS H:\Electron\esptool\esptool-4.4> python esptool.py -p COM13 --chip esp32c3 er
ase_flash
esptool.py v4.4
Serial port COM13
Connecting....
Chip is ESP32-C3 (revision v0.3)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 34:b4:72:4d:cf:fc
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 16.2s
Hard resetting via RTS pin...
PS H:\Electron\esptool\esptool-4.4> python esptool.py -p COM13 -b 10000 --before
 default_reset --after hard_reset --chip esp32c3 write_flash --flash_mode dio --
flash_size detect --flash_freq 40m 0x1000 bootloader/bootloader.bin 0x8000 parti
tion_table/partition-table.bin 0x10000 micropython.bin
esptool.py v4.4
Serial port COM13
Connecting....
Chip is ESP32-C3 (revision v0.3)
Features: WiFi, BLE
Crystal is 40MHz
MAC: 34:b4:72:4d:cf:fc
Uploading stub...
Running stub...
Stub running...
Configuring flash size...
Auto-detected Flash size: 4MB
Flash will be erased from 0x00001000 to 0x00004fff...
Flash will be erased from 0x00008000 to 0x00008fff...
Flash will be erased from 0x00010000 to 0x001fafff...
Compressed 15984 bytes to 10208...
Wrote 15984 bytes (10208 compressed) at 0x00001000 in 10.6 seconds (effective 12
.0 kbit/s)...
Hash of data verified.
Compressed 3072 bytes to 115...
Wrote 3072 bytes (115 compressed) at 0x00008000 in 0.2 seconds (effective 115.4
kbit/s)...
Hash of data verified.
Compressed 2008688 bytes to 1204669...
Wrote 2008688 bytes (1204669 compressed) at 0x00010000 in 1216.8 seconds (effect
ive 13.2 kbit/s)...
Hash of data verified.

Leaving...
Hard resetting via RTS pin...
PS H:\Electron\esptool\esptool-4.4>

Changed the cable. Changed the board with ESP32c3. Changed the terminal program. The result is the same.
Yesterday I wrote: "After turning off the power and turning it back on, the COM port does not respond and does not output anything". This is not entirely true. After turning off the power and turning it on again, the port in some cases receives a constantly recurring invalid header: 0xffffffff.
How else could I test to help make the build?

I use the following boards for testing
ESP-C3-M1-Kit
ESP-C3-32S(4M)-KIT

I tried with old versions of esptool, but I get it again invalid header: 0xffffffff.

What board config do you use from micropython?  For the microlite C3 images I am building directly from the micropython GENERIC_C3 and GENERIC_C3_USB configurations.
To troubleshoot I just made a new image for the esp32s2 as I do have this board https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/hw-reference/esp32s2/user-guide-devkitm-1-v1.html
Mine got stuck at the power on step until I removed the usb configuration as this dev board has the serial chip.  Have you been flashing the generic_c3 image?

Good catch, Can you try with the firmware starting at 0x0?
I built the MICROLITE_C3 images directly using the upstream board config so any guidance on the placement should be the same.
It looks like its an esp32c3 particularity as some of the other c3 boards also say to flash from 0x0 instead of 0x1000 which is used for the xtensa based boards.

I tried to flash with the key -z
python esptool.py -p COM6 -b 115200 --before default_reset --after hard_reset --chip esp32c3  write_flash -z --flash_mode dio --flash_size detect --flash_freq 40m 0x1000 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 micropython.bin
Got a recurring:
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40047ed2
SPIWP:0xee
mode:DIO, clock div:1
load:0x3c1a0020,len:0x37880
load:0x4d52203a,len:0x72642054
Invalid image block, can't boot.
ets_main.c 333
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x40047ed2
SPIWP:0xee
mode:DIO, clock div:1
load:0x3c1a0020,len:0x37880
load:0x4d52203a,len:0x72642054
Invalid image block, can't boot.
ets_main.c 333

I tried to write the bootloader to address 0x0 with the key -z and without it
python esptool.py -p COM6 -b 460800 --before default_reset --after hard_reset --chip esp32c3 write_flash --flash_mode dio --flash_size detect --flash_freq 40m 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 micropython.bin
python esptool.py -p COM6 -b 460800 --before default_reset --after hard_reset --chip esp32c3 write_flash -z --flash_mode dio --flash_size detect --flash_freq 40m 0x0 bootloader/bootloader.bin 0x8000 partition_table/partition-table.bin 0x10000 micropython.bin
same as in previous post

@robostart-io can you retry using the firmware available on the latest main branch:
https://github.com/mocleiri/tensorflow-micropython-examples/actions/runs/3727394123
I integrated @uraich's script which builds a unified firmware binary that should be directly flashable using the micropython instructions.
Now there will be a single firmware.bin file in the zip file that can be flashed.
I tested flashing the standard esp32 microlite firmware and it worked so I think the c3 version should also work.
esptool.py --chip esp32c3 --port COM6 --baud 460800 write_flash -z 0x0 firmware.bin

So far, unfortunately, it hasn't worked.
Outputs repeated:
ELF file SHA256: 7c88102a732dcb9b

Rebooting...
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0xc (RTC_SW_CPU_RST),boot:0xc (SPI_FAST_FLASH_BOOT)
Saved PC:0x403806fc
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd6100,len:0xe3c
load:0x403ce000,len:0x6f4
load:0x403d0000,len:0x28ec
entry 0x403ce000
Guru Meditation Error: Core  0 panic'ed (Load access fault). Exception was unhandled.

I need to look at the espressif tflite-micro repo to see if they are doing anything special for esp32c3.  On the tensorflow side the generator isn't doing anything xtensa specific.
There is a way to decode the fault or I might need to solder the JTAG pins to debug in visual studio to try and understand where the error is coming from.
90648  RA      : 0x40390660  SP      : 0x3fcc3e00  GP      : 0x3Guru Meditation                                                                         Error: Core  0 panic'ed (Load access fault). Exception was unhandled.

 Thank you so much for your serious efforts.


geographic whitelists

I've thought about this before, but generating whitelists based off geographical locations would be pretty quick and likely work pretty well. This was talked about a bit in the CAge paper based on TLD/ccTLD/gTLDs. I don't know of any such lists existing.
The CCADB does offer all root stores in CSV format AllCertificateRecordsCSVFormat, but that doesn't explicitly list country information.
Our best bet could be to just filter off RFC 2253's C "countryName" field in certs.

Yes I was thinking using the country names or country codes (eg. CN, JP, etc) would suffice and help limit exposure. Each x509 root CA should have two letter country codes populated. This would be a good start. Since https is now starting to outpace http, we are going to start seeing a lot of rogue CA attacks over the next decade or malware that attempts to install root CAs when bundle with other utilities that get downloaded (sourceforge, githib binaries, random websites that people download from, etc). Utilities that track and monitor existing CAs, new CAs installed / changed / updated, and trimming functions will become standard security protections to defend against exposure to intermediation attacks.

Whatever is quickest to implement should suffice for now. In the future, will want ability to alias "Europe" or "Asia" and other continents to expand to groups of country codes.

@DtpEJsaYXDU4GDH8dE4MyI9VrieF0UZpPZ0K76K This is done on master. Here's what US keeps around.
$ cat testdata/us-whitelist.yaml
countries:
  - "US"

$ ./cert-manage whitelist -file testdata/us-whitelist.yaml
Whitelist completed successfully

$ ./cert-manage list -format table
Subject                                                                 Issuer                                                                  Public Key Algorithm SHA256 Fingerprint Not Before Not After
AffirmTrust Commercial                                                  AffirmTrust Commercial                                                  RSA                  0376ab1d54c5f980   2010-01-29 2030-12-31
AffirmTrust Networking                                                  AffirmTrust Networking                                                  RSA                  0a81ec5a929777f1   2010-01-29 2030-12-31
AffirmTrust Premium                                                     AffirmTrust Premium                                                     RSA                  70a73f7f376b6007   2010-01-29 2040-12-31
AffirmTrust Premium ECC                                                 AffirmTrust Premium ECC                                                 ECDSA                bd71fdf6da97e4cf   2010-01-29 2040-12-31
Amazon Root CA 1                                                        Amazon Root CA 1                                                        RSA                  8ecde6884f3d87b1   2015-05-26 2038-01-17
Amazon Root CA 2                                                        Amazon Root CA 2                                                        RSA                  1ba5b2aa8c65401a   2015-05-26 2040-05-26
Amazon Root CA 3                                                        Amazon Root CA 3                                                        ECDSA                18ce6cfe7bf14e60   2015-05-26 2040-05-26
Amazon Root CA 4                                                        Amazon Root CA 4                                                        ECDSA                e35d28419ed02025   2015-05-26 2040-05-26
Apple Root CA                                                           Apple Root CA                                                           RSA                  b0b1730ecbc7ff45   2006-04-25 2035-02-09
Apple Root CA - G2                                                      Apple Root CA - G2                                                      RSA                  c2b9b042dd57830e   2014-04-30 2039-04-30
Apple Root CA - G3                                                      Apple Root CA - G3                                                      ECDSA                63343abfb89a6a03   2014-04-30 2039-04-30
Apple Root Certificate Authority                                        Apple Root Certificate Authority                                        RSA                  0d83b611b648a1a7   2005-02-10 2025-02-10
Apple Worldwide Developer Relations Certification Authority             Apple Root CA                                                           RSA                  ce057691d730f89c   2013-02-07 2023-02-07
Banno CA 2018-02-02                                                     Banno CA 2018-02-02                                                     ECDSA                00e1eed30c6248d2   2018-02-02 2023-02-01
Common Policy                                                           Common Policy                                                           RSA                  04acfb3b24793f30   2007-10-15 2027-10-15
Developer ID Certification Authority                                    Apple Root CA                                                           RSA                  7afc9d01a62f03a2   2012-02-01 2027-02-01
DigiCert Assured ID Root CA                                             DigiCert Assured ID Root CA                                             RSA                  3e9099b5015e8f48   2006-11-10 2031-11-10
DigiCert Assured ID Root G2                                             DigiCert Assured ID Root G2                                             RSA                  7d05ebb682339f8c   2013-08-01 2038-01-15
DigiCert Assured ID Root G3                                             DigiCert Assured ID Root G3                                             ECDSA                7e37cb8b4c47090c   2013-08-01 2038-01-15
DigiCert Global Root CA                                                 DigiCert Global Root CA                                                 RSA                  4348a0e9444c78cb   2006-11-10 2031-11-10
DigiCert Global Root G2                                                 DigiCert Global Root G2                                                 RSA                  cb3ccbb76031e5e0   2013-08-01 2038-01-15
DigiCert Global Root G3                                                 DigiCert Global Root G3                                                 ECDSA                31ad6648f8104138   2013-08-01 2038-01-15
DigiCert High Assurance EV Root CA                                      DigiCert High Assurance EV Root CA                                      RSA                  7431e5f4c3c1ce46   2006-11-10 2031-11-10
DigiCert Trusted Root G4                                                DigiCert Trusted Root G4                                                RSA                  552f7bdcf1a7af9e   2013-08-01 2038-01-15
Entrust Root Certification Authority                                    Entrust Root Certification Authority                                    RSA                  73c176434f1bc6d5   2006-11-27 2026-11-27
Entrust Root Certification Authority - EC1                              Entrust Root Certification Authority - EC1                              ECDSA                02ed0eb28c14da45   2012-12-18 2037-12-18
Entrust Root Certification Authority - G2                               Entrust Root Certification Authority - G2                               RSA                  43df5774b03e7fef   2009-07-07 2030-12-07
Federal Common Policy CA                                                Federal Common Policy CA                                                RSA                  894ebc0b23da2a50   2010-12-01 2030-12-01
GeoTrust Global CA                                                      GeoTrust Global CA                                                      RSA                  ff856a2d251dcd88   2002-05-21 2022-05-21
GeoTrust Primary Certification Authority                                GeoTrust Primary Certification Authority                                RSA                  37d51006c512eaab   2006-11-27 2036-07-16
GeoTrust Primary Certification Authority - G2                           GeoTrust Primary Certification Authority - G2                           ECDSA                5edb7ac43b82a06a   2007-11-05 2038-01-18
GeoTrust Primary Certification Authority - G3                           GeoTrust Primary Certification Authority - G3                           RSA                  b478b812250df878   2008-04-02 2037-12-01
Go Daddy Root Certificate Authority - G2                                Go Daddy Root Certificate Authority - G2                                RSA                  45140b3247eb9cc8   2009-09-01 2037-12-31
IdenTrust Commercial Root CA 1                                          IdenTrust Commercial Root CA 1                                          RSA                  5d56499be4d2e08b   2014-01-16 2034-01-16
IdenTrust Public Sector Root CA 1                                       IdenTrust Public Sector Root CA 1                                       RSA                  30d0895a9a448a26   2014-01-16 2034-01-16
ISRG Root X1                                                            ISRG Root X1                                                            RSA                  96bcec06264976f3   2015-06-04 2035-06-04
Network Solutions Certificate Authority                                 Network Solutions Certificate Authority                                 RSA                  15f0ba00a3ac7af3   2006-12-01 2029-12-31
Secure Global CA                                                        Secure Global CA                                                        RSA                  4200f5043ac8590e   2006-11-07 2029-12-31
SecureTrust CA                                                          SecureTrust CA                                                          RSA                  f1c1b50ae5a20dd8   2006-11-07 2029-12-31
Starfield Root Certificate Authority - G2                               Starfield Root Certificate Authority - G2                               RSA                  2ce1cb0bf9d2f9e1   2009-09-01 2037-12-31
Starfield Services Root Certificate Authority - G2                      Starfield Services Root Certificate Authority - G2                      RSA                  568d6905a2c88708   2009-09-01 2037-12-31
Starfield Technologies, Inc., Starfield Class 2 Certification Authority Starfield Technologies, Inc., Starfield Class 2 Certification Authority RSA                  1465fa205397b876   2004-06-29 2034-06-29
Symantec Class 1 Public Primary Certification Authority - G4            Symantec Class 1 Public Primary Certification Authority - G4            ECDSA                363f3c849eab03b0   2011-10-05 2038-01-18
Symantec Class 1 Public Primary Certification Authority - G6            Symantec Class 1 Public Primary Certification Authority - G6            RSA                  9d190b2e31456668   2011-10-18 2037-12-01
Symantec Class 2 Public Primary Certification Authority - G4            Symantec Class 2 Public Primary Certification Authority - G4            ECDSA                fe863d0822fe7a23   2011-10-05 2038-01-18
Symantec Class 2 Public Primary Certification Authority - G6            Symantec Class 2 Public Primary Certification Authority - G6            RSA                  cb627d18b58ad56d   2011-10-18 2037-12-01
Symantec Class 3 Public Primary Certification Authority - G4            Symantec Class 3 Public Primary Certification Authority - G4            ECDSA                53dfdfa4e297fcfe   2012-10-18 2037-12-01
Symantec Class 3 Public Primary Certification Authority - G6            Symantec Class 3 Public Primary Certification Authority - G6            RSA                  b32396746453442f   2012-10-18 2037-12-01
thawte Primary Root CA                                                  thawte Primary Root CA                                                  RSA                  8d722f81a9c113c0   2006-11-17 2036-07-16
thawte Primary Root CA - G2                                             thawte Primary Root CA - G2                                             ECDSA                a4310d50af18a644   2007-11-05 2038-01-18
thawte Primary Root CA - G3                                             thawte Primary Root CA - G3                                             RSA                  4b03f45807ad70f2   2008-04-02 2037-12-01
The Go Daddy Group, Inc.,  Go Daddy Class 2 Certification Authority      RSA                  c3846bf24b9e93ca   2004-06-29 2034-06-29
USERTrust ECC Certification Authority                                   USERTrust ECC Certification Authority                                   ECDSA                4ff460d54b9c86da   2010-02-01 2038-01-18
USERTrust RSA Certification Authority                                   USERTrust RSA Certification Authority                                   RSA                  e793c9b02fd8aa13   2010-02-01 2038-01-18
UTN - DATACorp SGC                                                      UTN - DATACorp SGC                                                      RSA                  85fb2f91dd12275a   1999-06-24 2019-06-24
UTN-USERFirst-Hardware                                                  UTN-USERFirst-Hardware                                                  RSA                  6ea54741d004667e   1999-07-09 2019-07-09
VeriSign Class 1 Public Primary Certification Authority - G3            VeriSign Class 1 Public Primary Certification Authority - G3            RSA                  cbb5af185e942a24   1999-10-01 2036-07-16
VeriSign Class 2 Public Primary Certification Authority - G3            VeriSign Class 2 Public Primary Certification Authority - G3            RSA                  92a9d9833fe1944d   1999-10-01 2036-07-16
VeriSign Class 3 Public Primary Certification Authority - G3            VeriSign Class 3 Public Primary Certification Authority - G3            RSA                  eb04cf5eb1f39afa   1999-10-01 2036-07-16
VeriSign Class 3 Public Primary Certification Authority - G4            VeriSign Class 3 Public Primary Certification Authority - G4            ECDSA                69ddd7ea90bb57c9   2007-11-05 2038-01-18
VeriSign Class 3 Public Primary Certification Authority - G5            VeriSign Class 3 Public Primary Certification Authority - G5            RSA                  9acfab7e43c8d880   2006-11-08 2036-07-16
VeriSign Universal Root Certification Authority                         VeriSign Universal Root Certification Authority                         RSA<PHONE_NUMBER>a57125   2008-04-02 2037-12-01
Visa eCommerce Root                                                     Visa eCommerce Root                                                     RSA                  69fac9bd55fb0ac7   2002-06-26 2022-06-24
Visa Information Delivery Root CA                                       Visa Information Delivery Root CA                                       RSA                  c57a3acbe8c06ba1   2005-06-27 2025-06-29
XRamp Global Certification Authority                                    XRamp Global Certification Authority                                    RSA                  cecddc905099d8da   2004-11-01 2035-01-01


fix: fixes the popular dashboard issue

Signed-off-by: verdan<EMAIL_ADDRESS>
Summary of Changes
This makes the popular resources endpoint backward compatible. so in case if the function is not implemented by any proxy, this will call the popular tables function instead.
Tests

Documentation

CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ ] PR includes a summary of changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

@mgorsk1 FYI


Add javascript templates support

Add a new field Response.JsTemplate which stores javascript code for generation response body.
It is possible to use plain text value as well as base64 string

Coverage increased (+1.06%) to 69.824% when pulling 2bc7c18e777b47503ed3fe3ebf5f30a118b1342f on add-templates-support into 2399f1f5f71024b9ebd8e15b26f919243bbbbd68 on master.


how about implement Graphic APIs via canvas and WebGL?

how about implement Graphic APIs via canvas and WebGL?

I don't know what graphics API you are referring to. If you mean JavaFX, there's an issue about that. If you mean AWT/Swing, there's a issue/comment describing why this is hard. If you mean jogl / webgl, I recently received an email from someone interested in working on that.
I personally do not have time to implement one of these graphics APIs, but I welcome pull requests and proposals on how to do so.

yes i mean jogl/webgl, can you point me the link that guys's project?


Fix github actions issues

WIP to fix #9.

Finally stable on Ubuntu. https://open.cdash.org/builds/9907137
Now focusing on the Windows failure: https://open.cdash.org/builds/9907141


List all work items

I think it would be awesome if there was a way to list all work items easily. I see the commands to get and show a work item by id but I'm not sure how to find that Id.
It could be as simple as calling the query endpoint with wiql to fetch all work items. The other option would be to have a cmdlet where you could pass wiql direct and fetch work items that way.

Hi @Tiberriver256
it is some time ago, but from your perspective how would you see this cmdlet regarding to parameters?
I see the following possibilities:

fill in the full custom wiql query
only give project & team and give all (or top=X) work items back from that team
give the option to expand the id to full work items

What do you think @DarqueWarrior especially for number 3. Should the work items be automatically expanded? This should then be done by the cmdlet itself. Unless there is an API option.
A basic call with VSTeam work with this example already:
Set-VSTeamAccount -Profile <organization name>

$apiWorkItemUrl = "https://dev.azure.com/<organziation name>/<project>/<team name>/_apis/wit/wiql?api-version=5.1"

[array]$requestlist = @();

$request = @{ query = "Select [System.Id], [System.Title], [System.State] From WorkItems"}

$jsonString = ConvertTo-Json -Depth 50 -inputobject $request

$items = Invoke-VSTeamRequest -method POST -Url $apiWorkItemUrl -ContentType 'application/json' -body $jsonString

@DarqueWarrior I am currently checking how to implement this.
The API requires you to give the project, team, resource (wit) and area (wiql). However, the function _callApi and _buildRequestURI do not allow me to add a team so it can be reflected in the URL.
I could use the Invoke-VSTeamRequest, but that would be a different implementation from the rest. Do you have an idea of how I should proceed?

I solve it this way until it works with the command:
$ids = 1..200
$AZWorkItems = Get-VSTeamWorkItem -ids $ids -ErrorPolicy Omit
Unfortunately it adds empty items for each number between the highest number of WorkItems and the choosen range.

@SebastianSchuetze
Check this module. With this module, you are able to get all items by a filter.
https://github.com/igoravl/TfsCmdlets
for example:
Get-TfsWorkItem -Filter '[System.WorkItemType] = "Bug"'

Thanks!
I am using the same API approach as this cmdlet, although with different parameters. It uses basically WIQL in the API.
If you look at the linked PR you will see that it uses the same approach.
But I will have a look if that can be improved somehow.

I had a look at your PR
Looks good!
Thanks for your work :)

@Tiberriver256 @ferwe the PR was just merged some hours ago. So for the next release the requested feature should be possible then.

@DarqueWarrior can you close it if the creator is not closing it?

Creating merging the changes for the PR now.


add testing deps to environment file

When looking at https://xclim.readthedocs.io/en/latest/contributing.html#get-started there's a number of steps i.e.

install environment (xclim)
install testing deps (pytest, black, ...) (https://github.com/Ouranosinc/xclim/blob/master/requirements_dev.txt)

The testing deps could be added to the same file (https://github.com/Ouranosinc/xclim/blob/master/environment.yml) i.e. similar to https://github.com/pydata/xarray/blob/main/ci/requirements/environment.yml

Closed with #798


Plugin keys and tasks for basic functionality

We need to implement the actual settings keys and tasks for the plugin to start building the basic functionality of sbt-hood (i.e.: loading JMH source files, perform comparisons, and return results through the console/GitHub comment - no support for GitHub statuses on our first iteration). Based on the original hood plugin I've thought of the following ones:
Settings:

previousBenchmarkPath: File with previous or master benchmark location. By default: master.csv.

currentBenchmarkPath: List of files with current or pull request benchmark location. By default is an empty list.

keyColumnName: Column name to distinct each benchmark on the comparison. By default: Benchmark.

compareColumnName: Column name of the column to compare (the values must to be a
Double). By default: Score.

thresholdColumnName: Column name to get the threshold per benchmark. By default: Score Error (99.9%).

generalThreshold: Common threshold to all benchmarks overriding the value coming from thresholdColumnName. Optional.

benchmarkThreshold: Map with a custom threshold per benchmark key overriding the value coming from thresholdColumnName or generalThreshold. Optional.

token: The Github access token.

repositoryOwner: The repository owner.

repositoryName: The repository name.

pullRequestNumber: The pull request number.

Tasks:

compareBenchmarks: Compare two benchmarks and print the result.
compareBenchmarksCI: Compare two benchmarks and post/edit a Github comment for a Pull Request (in a later stage this will perform a status update on the PR).

You don't need the pullRequestNumber and the pullRequestNumber?
Recently I added statusTargetUrl to add a URL on the status directly to the travis job

@AdrianRaFo Oops forgot the PR number! For the PR Sha, I was planning to use the PR's merge_commit_sha once that field is published by GitHub4s (I added code for that, we just need to release it) so we can always post our statuses there.
@fedefernandez and I discussed on directions to take and we thought that as a first version just posting the benchmark results in the console and/or in a GitHub comment is enough as an MVP. Later we can add status handling with a target url and stuff.
What do you think?


[INLONG-1920]Failed to start up MultiSession factory by following the demo code

Title Name: [INLONG-1920]Failed to start up MultiSession factory by following the demo code
Fixes #
Motivation
Modifications
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

Codecov Report

Merging #1937 (fad6fd6) into master (fccece5) will decrease coverage by 0.00%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #1937      +/-   ##
============================================
- Coverage     12.28%   12.28%   -0.01%
+ Complexity     1159     1157       -2
============================================
  Files           413      413
  Lines         35225    35225
  Branches       5542     5542
============================================
- Hits           4329     4327       -2
  Misses        30127    30127
- Partials        769      771       +2

Impacted Files
Coverage Δ

.../producer/qltystats/DefaultBrokerRcvQltyStats.java
45.31% <0.00%> (-0.79%)
:arrow_down:

Continue to review full report at Codecov.

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


Preserve column positions/ordering when exporting tabular data

Boda-Lite Version:  0.2.3
Operating System:  Windows, Linux, MacOSX
When exporting tabular report data after reordering the columns, the exported file does not preserve the new column order.

Resolved by PR #20


Update TypeScript AST to look more swc_ecma_ast

Codecov Report
Attention: 249 lines in your changes are missing coverage. Please review.

Comparison is base (9db368f) 83.47% compared to head (7831acf) 76.21%.
Report is 2 commits behind head on main.

Files
Patch %
Lines

src/Escalier.Codegen/Printer.fs
33.33%
200 Missing :warning:

src/Escalier.Codegen/Codegen.fs
77.98%
35 Missing :warning:

src/Escalier.Codegen/TypeScript.fs
0.00%
10 Missing :warning:

src/Escalier.Parser/Parser.fs
87.50%
3 Missing :warning:

src/Escalier.Codegen/Library.fs
0.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #33      +/-   ##
==========================================
- Coverage   83.47%   76.21%   -7.27%
==========================================
  Files           4        7       +3
  Lines        1743     2190     +447
  Branches      249      300      +51
==========================================
+ Hits         1455     1669     +214
- Misses        288      521     +233

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


about RL in the Paper

Hello Sir,
I have read your paper and I am curious about the time to train an RL agent for MNIST dataset by using 80% no-iid dataset. Do you mind to tell that?
Best wishes

Thanks for your question. I think you can infer the RL training from and Fig. 5 and Fig. 6 in the paper. An episode includes an whole training procedure of federated learning.


Speed up walkback part of simulation

its slow.
Success: "significant runtime improvement of simulation"

Need to make a signal from simulation to gui that communicates to the gui what data in the datastore has been updated

Need to make a signal from simulation to gui that communicates to the gui what data in the datastore has been updated


is it possible to avoid allCaps in the action buttons?

I would need this buttons to be in lowercase.
I tried to use <item name="android:textAllCaps">false</item> in my app style but it doesn't affects to your view.
Could you help me?

I don't think right now there's a way to override the style because of how the Snackbar is created.
The specs say the action button must be all caps. Why do you want to change it?

Hi William and thank you very much for your fast reply.
I don't know where are these specs, but in the case of my app, all texts
are in lowercase, even the first word, so I need the text I set in the
button to be exactly the same that the text is showing.
I think this is happening because of the compileSdkVersion or the android
support library used in your library. In both cases we are using version 19
and you are using 21. Do you think this could be the cause of the caps
change of the buttons?
I will be looking forward to you response.
Best regards,
Miguel
El sáb., 28 de febrero de 2015 a las 13:15, William Mora (<
<EMAIL_ADDRESS>escribió:

I don't think right now there's a way to override the style because of how
the Snackbar is created.
The specs say the action button must be all caps. Why do you want to
change it?
—
Reply to this email directly or view it on GitHub
https://github.com/nispok/snackbar/issues/89#issuecomment-76523700.


[Docs] Edits for educational note on PATs

Some edits for the educational note on PATs, to accompany the educational note on existential types.
Initial changes are just some grammatical changes and edits to try to improve the text's flow, but @theblixguy points out an interesting issue over at #33735 that we should incorporate here.
Additionally, the restriction on using PATs as existential types may be easily lifted, but we will need to do an even better job of explaining why some APIs are missing, so this text will need to be fleshed out.

cc @theblixguy

@owenv I must have had higher ambitions initially for this revision when I left it as a draft, but as an incremental improvement, I think it's in a state that's worth landing; more can always be added later. WDYT?

@swift-ci smoke test


Issue #3 happening again

https://github.com/josdemmers/NewWorldCompanion/issues/3
posted update in there for your reference.

leaving it in debug mode and changing the debug resolution and applying settings seems to work again - but outside of debug mode, it won't stay working.

Lets move discussion to #3


change dataset from  has  header= yes  to  has header = No does not reset  column to predict and wrong data preview

Model Builder Version: In which Model Builder version was the bug encountered?
Visual Studion Version: In which Visual Studio version was the bug encountered?
Bug description
A clear and concise description of what the bug is.
Steps to Reproduce

select any text scenario
use a dataset with a header
pass all steps and make sure that all tabs enabled
back to data tab and  go to advanced options, change has a header with no header, save
Thanks for reporting!

Expected Experience
A description of what you expected to happen. If applicable, add screenshots or "Machine Learning" Output Logs to help explain what you expected.
Actual Experience

Additional Context
Add any other context about the problem here, such as unusual system configurations, network restrictions, etc.

Data preview also does not preview  properly , when we chnge from has haeder yes  to has header no the row it has been header does not shown in preview
Note : the reverse has also the same issues.

This issue seems the same family to  https://github.com/dotnet/machinelearning-modelbuilder/issues/1436 &
https://github.com/dotnet/machinelearning-modelbuilder/issues/1347


windows default close button location moved on its own when updating to v1.71.0

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

VS Code Version: 1.71.0
OS Version: Windows 10

BEFORE UPDATING:

AFTER UPDATING:

Steps to Reproduce:

update vscode to version 1.71.0
vscode decides to move the closing button location

Are you using a right-to-left language for your OS?
Mitigation: Disable the window.experimental.windowControlsOverlay.enabled setting and reload the window.

Are you using a right-to-left language for your OS?
Mitigation: Disable the window.experimental.windowControlsOverlay.enabled setting and reload the window.

yes, I am using an RTL language for my OS but this has never been an issue in previous versions.

I'm curious whether native Windows apps show their controls at top-left when using an RTL language?

This is expected since the controls are drawn natively by the runtime rather than the application drawing it before 1.71. Other native windows application also move the controls to top-left for RTL languages. We should adjust the rest of titlebar contents to match this behavior.

I'm curious whether native Windows apps show their controls at top-left when using an RTL language?

This is what Google Chrome title bar looks like if that answers your question

I have the same bug.
How can I solve this problem?

I have the same bug.
How can I solve this problem?

Disable the window.experimental.windowControlsOverlay.enabled setting

@deepak1556 I don't think VS Code should move the titlebar contents if it is still displaying the text in English.
In the screenshot below, I have VS Code, Notepad++, Paint, and Office loaded, and Paint is the only one with both RTL text and mirrored controls.

P.S. I can't read Farsi.

open setting by ctrl + ,
search about window.experimental.windowControlsOverlay.enabled
uncheck it.

@rzhao271 I agree. I was under the impression this bug also affected users who had RTL display language set in VSCode. Native applications I had tested was when application also had the same display language as the system. I can confirm the alignment behavior of WCO when application has LTR while system has RTL.

As suggested above, disabling window.experimental.windowControlsOverlay.enabled solved the issue.


Regex 2.0 wrapper

Verified and designed according to the guidelines (I hope so).
Two existing wrappers have been extended (DotNet_Array and DotNet_Regex) and a number of others added.
DotNet_RegexOptions have some deviations from the guidelines because it implements piped / bitwise manipulation of option values.

Closed as per request. Replaced by #107.


Build for sifive P870

Hi,
I want to buid a .bin for sifive P870 core, can I reuse any of the targets in TargetList.txt? Or should I modify the Makefile? could you give me some guidence please, thank you~

I think this would be the RISCV64_ZVL128B target (if I remember correctly that P870 has 128b vector length)

Thank you. So I think I just need to modify Makefile.riscv64:
ifeq ($(CORE), x280)
CCOMMON_OPT += -march=rv64imafdcv_zba_zbb_zfh_zvl512b -mabi=lp64d -ffast-math //change zvl512b to zvl128b
FCOMMON_OPT += -march=rv64imafdcv_zba_zbb_zfh -mabi=lp64d -static
endif

Right?

Which version of OpenBLAS are you trying to build ? Don't you have COMMON_OPT settings for the RISCV64_ZVL128B target in Makefile.riscv64 ? (Modifying the entries for x280 will probably not be enough, as all the BLAS kernels for x280 require the longer vector length)

Yes I think this should be the appropriate one for the P870.


Can alphageometry calculate the length of a particular line? Or tell the angle ?

Can alphageometry calculate the length of a particular line?
Or tell the angle ?

no, you have to provide a proposition for it to prove, it does not calculation results on its own.


tools/flow: cannot define tasks inside array

What version of CUE are you using (cue version)?

commit 59080b65a5ba539bb3f3cb45d3346f39df67cf01

Does this issue reproduce with the latest stable release?
Yes
What did you do?
exec go mod tidy
exec go run main.go
stdout task1
stdout task2

-- go.mod --
module test
require cuelang.org/go v0.6.0-0.dev.0.20230324092610-eea60b9cd229
-- main.go --

package main

import (
	"context"
	"fmt"
	"log"

	"cuelang.org/go/cue"
	"cuelang.org/go/cue/cuecontext"
	"cuelang.org/go/tools/flow"
)

var cueCode = `
task1: {
	isTask: true
}
task2: [{
	isTask: true
}]
`

func main() {
	ctx := cuecontext.New()
	v := ctx.CompileString(cueCode)
	if err := v.Err(); err != nil {
		log.Fatal("cannot compile: %v", err)
	}
	ctl := flow.New(nil, v, getTask)
	if err := ctl.Run(context.Background()); err != nil {
		log.Fatalf("error running flow: %v", err)
	}
}

func getTask(v cue.Value) (flow.Runner, error) {
	if v := v.LookupPath(cue.MakePath(cue.Str("isTask"))); v.Err() != nil {
		return nil, nil
	}
	fmt.Printf("task %v\n", v.Path())
	return flow.RunnerFunc(func(t *flow.Task) error {
		return nil
	}), nil
}

What did you expect to see?
A passing test.
What did you see instead?
> exec go mod tidy
> exec go run main.go
[stdout]
task task1
> stdout task1
> stdout task2
FAIL: /tmp/testscript1319682935/x.txtar/script.txtar:4: no match for `task2` found in stdout

The tools/flow package does not appear to be finding tasks that are defined inside an array.

One thing that would be helpful is for a way to run tasks sequentially, without having to create the dependencies by hand.
I once considered using lists of tasks, but found this gap in the implementation, the tasks not being found, so put it on the back burner. There is an intuitiveness to lists of tasks being sequentially run.
Thoughts?


x/tools/godoc: Anchors for variables and constants no longer added

Before 1.8.1, I was able to go to https://golang.org/pkg/archive/tar/#TypeBlock and it would scroll to the relevant constant. This no longer works.
Somewhat related: this makes it impossible for Dash to index constants and variables in the Go docs.

There was nothing in Go 1.8.1 changing godoc.
Or do you mean before Go 1.8?
Even then, I don't think this is true. We added #anchors in Go 1.8 but didn't change or remove any.

Ah, you're right. The change seems to have happened with the 1.8 release, not 1.8.1.
If you go to this snapshot from Feb 2017 (Go 1.7.5) you'll be able to jump to the TypeBlock constant: https://web.archive.org/web/20170211005446/https://golang.org/pkg/archive/tar/#TypeBlock.
This doesn't work with the live version anymore: https://golang.org/pkg/archive/tar/#TypeBlock.
Notice the span id in the screenshot below:

There's no more span id in the latest docs:

Hm, strange.
It'd be nice if somebody could bisect (or manually review godoc commits--- there aren't many) and figure out when we (I?) broke it.
/cc @odeke-em @shurcooL

I bisected x/tools/cmd/godoc.
The problem starts with https://github.com/golang/tools/commit/e1bdc76d0461f7041136c70e0a1356ea0f5e01d0.
With the parent commit, the generated HTML looks like this:

With https://github.com/golang/tools/commit/e1bdc76d0461f7041136c70e0a1356ea0f5e01d0, you get:

I'm not up to date with how cmd/godoc handles anchor links in the latest version. I recall seeing some changes that pushed their generation on the frontend via JavaScript. So at this point, I'm not sure if the anchor is supposed to be generated on backend or frontend. I might be misremembering this (perhaps that was for other pages of golang.org, not /pkg/ pages).

Here's a diff of the generated HTML at localhost:6060/pkg/archive/tar/:

```diff
@@ -333,40 +333,40 @@

 Header type flags.

			<pre>const (

TypeReg           = '0'    // regular file
TypeRegA          = '\x00' // regular file
TypeLink          = '1'    // hard link
TypeSymlink       = '2'    // symbolic link
TypeChar          = '3'    // character device node
TypeBlock         = '4'    // block device node
TypeDir           = '5'    // directory
TypeFifo          = '6'    // fifo node
TypeCont          = '7'    // reserved
TypeXHeader       = 'x'    // extended header
TypeXGlobalHeader = 'g'    // global extended header
TypeGNULongName   = 'L'    // Next file has a long name
TypeGNULongLink   = 'K'    // Next file symlinks to a file w/ a long name
TypeGNUSparse     = 'S'    // sparse file

TypeReg           = '0'    // regular file

TypeRegA          = '\x00' // regular file

TypeLink          = '1'    // hard link

TypeSymlink       = '2'    // symbolic link

TypeChar          = '3'    // character device node

TypeBlock         = '4'    // block device node

TypeDir           = '5'    // directory

TypeFifo          = '6'    // fifo node

TypeCont          = '7'    // reserved

TypeXHeader       = 'x'    // extended header

TypeXGlobalHeader = 'g'    // global extended header

TypeGNULongName   = 'L'    // Next file has a long name

TypeGNULongLink   = 'K'    // Next file symlinks to a file w/ a long name

TypeGNUSparse     = 'S'    // sparse file
)
   <h2 id="pkg-variables">Variables</h2>

   	<pre>var (

ErrWriteTooLong    = errors.New("archive/tar: write too long")
ErrFieldTooLong    = errors.New("archive/tar: header field too long")
ErrWriteAfterClose = errors.New("archive/tar: write after close")

ErrWriteTooLong    = errors.New("archive/tar: write too long")

ErrFieldTooLong    = errors.New("archive/tar: header field too long")

ErrWriteAfterClose = errors.New("archive/tar: write after close")
)
   	<pre>var (

ErrHeader = errors.New("archive/tar: invalid tar header")

ErrHeader = errors.New("archive/tar: invalid tar header")
)

@@ -409,11 +409,11 @@
			<h3 id="FileInfoHeader">func <a href="/src/archive/tar/common.go?s=5687:5752#L189">FileInfoHeader</a>
				<a class="permalink" href="#FileInfoHeader">¶</a>
			</h3>

  		<pre>func FileInfoHeader(fi <a href="/pkg/os/">os</a>.<a href="/pkg/os/#FileInfo">FileInfo</a>, link <a href="/pkg/builtin/#string">string</a>) (*<a href="#Header">Header</a>, <a href="/pkg/builtin/#error">error</a>)</pre>

  		<pre>func <a href="#FileInfoHeader">FileInfoHeader</a>(fi <a href="/pkg/os/">os</a>.<a href="/pkg/os/#FileInfo">FileInfo</a>, link <a href="/pkg/builtin/#string">string</a>) (*<a href="#Header">Header</a>, <a href="/pkg/builtin/#error">error</a>)</pre>
  		<p>

FileInfoHeader creates a partially-populated Header from fi.
If fi describes a symlink, FileInfoHeader records link as the link target.
If fi describes a directory, a slash is appended to the name.
Because os.FileInfo's Name method returns only the base name of
@@ -428,11 +428,11 @@
			<h3 id="Header.FileInfo">func (*Header) <a href="/src/archive/tar/common.go?s=2353:2392#L56">FileInfo</a>
				<a class="permalink" href="#Header.FileInfo">¶</a>
			</h3>

  		<pre>func (h *<a href="#Header">Header</a>) FileInfo() <a href="/pkg/os/">os</a>.<a href="/pkg/os/#FileInfo">FileInfo</a></pre>

  		<pre>func (h *<a href="#Header">Header</a>) <a href="#FileInfo">FileInfo</a>() <a href="/pkg/os/">os</a>.<a href="/pkg/os/#FileInfo">FileInfo</a></pre>
  		<p>

FileInfo returns an os.FileInfo for the Header.

@@ -467,11 +467,11 @@
			<h3 id="NewReader">func <a href="/src/archive/tar/reader.go?s=3242:3277#L90">NewReader</a>
				<a class="permalink" href="#NewReader">¶</a>
			</h3>

  		<pre>func NewReader(r <a href="/pkg/io/">io</a>.<a href="/pkg/io/#Reader">Reader</a>) *<a href="#Reader">Reader</a></pre>

  		<pre>func <a href="#NewReader">NewReader</a>(r <a href="/pkg/io/">io</a>.<a href="/pkg/io/#Reader">Reader</a>) *<a href="#Reader">Reader</a></pre>
  		<p>

NewReader creates a new Reader reading from r.

@@ -481,11 +481,11 @@
			<h3 id="Reader.Next">func (*Reader) <a href="/src/archive/tar/reader.go?s=3409:3450#L95">Next</a>
				<a class="permalink" href="#Reader.Next">¶</a>
			</h3>

  		<pre>func (tr *<a href="#Reader">Reader</a>) Next() (*<a href="#Header">Header</a>, <a href="/pkg/builtin/#error">error</a>)</pre>

  		<pre>func (tr *<a href="#Reader">Reader</a>) <a href="#Next">Next</a>() (*<a href="#Header">Header</a>, <a href="/pkg/builtin/#error">error</a>)</pre>
  		<p>

Next advances to the next entry in the tar archive.

 io.EOF is returned at the end of the input.
@@ -497,11 +497,11 @@
			<h3 id="Reader.Read">func (*Reader) <a href="/src/archive/tar/reader.go?s=22332:22377#L685">Read</a>
				<a class="permalink" href="#Reader.Read">¶</a>
			</h3>

  		<pre>func (tr *<a href="#Reader">Reader</a>) Read(b []<a href="/pkg/builtin/#byte">byte</a>) (<a href="/pkg/builtin/#int">int</a>, <a href="/pkg/builtin/#error">error</a>)</pre>

  		<pre>func (tr *<a href="#Reader">Reader</a>) <a href="#Read">Read</a>(b []<a href="/pkg/builtin/#byte">byte</a>) (<a href="/pkg/builtin/#int">int</a>, <a href="/pkg/builtin/#error">error</a>)</pre>
  		<p>

Read reads from the current entry in the tar archive.
It returns 0, io.EOF when it reaches the end of that entry,
until Next is called to advance to the next entry.

@@ -543,11 +543,11 @@
			<h3 id="NewWriter">func <a href="/src/archive/tar/writer.go?s=1468:1503#L36">NewWriter</a>
				<a class="permalink" href="#NewWriter">¶</a>
			</h3>

  		<pre>func NewWriter(w <a href="/pkg/io/">io</a>.<a href="/pkg/io/#Writer">Writer</a>) *<a href="#Writer">Writer</a></pre>

  		<pre>func <a href="#NewWriter">NewWriter</a>(w <a href="/pkg/io/">io</a>.<a href="/pkg/io/#Writer">Writer</a>) *<a href="#Writer">Writer</a></pre>
  		<p>

NewWriter creates a new Writer writing to w.

@@ -557,11 +557,11 @@
			<h3 id="Writer.Close">func (*Writer) <a href="/src/archive/tar/writer.go?s=10589:10620#L336">Close</a>
				<a class="permalink" href="#Writer.Close">¶</a>
			</h3>

  		<pre>func (tw *<a href="#Writer">Writer</a>) Close() <a href="/pkg/builtin/#error">error</a></pre>

  		<pre>func (tw *<a href="#Writer">Writer</a>) <a href="#Close">Close</a>() <a href="/pkg/builtin/#error">error</a></pre>
  		<p>

Close closes the tar archive, flushing any unwritten
data to the underlying writer.

@@ -571,11 +571,11 @@
			<h3 id="Writer.Flush">func (*Writer) <a href="/src/archive/tar/writer.go?s=1585:1616#L39">Flush</a>
				<a class="permalink" href="#Writer.Flush">¶</a>
			</h3>

  		<pre>func (tw *<a href="#Writer">Writer</a>) Flush() <a href="/pkg/builtin/#error">error</a></pre>

  		<pre>func (tw *<a href="#Writer">Writer</a>) <a href="#Flush">Flush</a>() <a href="/pkg/builtin/#error">error</a></pre>
  		<p>

Flush finishes writing the current file (optional).

@@ -584,11 +584,11 @@
			<h3 id="Writer.Write">func (*Writer) <a href="/src/archive/tar/writer.go?s=10168:10220#L314">Write</a>
				<a class="permalink" href="#Writer.Write">¶</a>
			</h3>

  		<pre>func (tw *<a href="#Writer">Writer</a>) Write(b []<a href="/pkg/builtin/#byte">byte</a>) (n <a href="/pkg/builtin/#int">int</a>, err <a href="/pkg/builtin/#error">error</a>)</pre>

  		<pre>func (tw *<a href="#Writer">Writer</a>) <a href="#Write">Write</a>(b []<a href="/pkg/builtin/#byte">byte</a>) (n <a href="/pkg/builtin/#int">int</a>, err <a href="/pkg/builtin/#error">error</a>)</pre>
  		<p>

Write writes to the current entry in the tar archive.
Write returns the error ErrWriteTooLong if more than
hdr.Size bytes are written after WriteHeader.

@@ -599,11 +599,11 @@
			<h3 id="Writer.WriteHeader">func (*Writer) <a href="/src/archive/tar/writer.go?s=2275:2323#L69">WriteHeader</a>
				<a class="permalink" href="#Writer.WriteHeader">¶</a>
			</h3>

  		<pre>func (tw *<a href="#Writer">Writer</a>) WriteHeader(hdr *<a href="#Header">Header</a>) <a href="/pkg/builtin/#error">error</a></pre>

  		<pre>func (tw *<a href="#Writer">Writer</a>) <a href="#WriteHeader">WriteHeader</a>(hdr *<a href="#Header">Header</a>) <a href="/pkg/builtin/#error">error</a></pre>
  		<p>

WriteHeader writes hdr and prepares to accept the file's contents.
WriteHeader calls Flush if it is not the first header.
Calling after a Close will return ErrWriteAfterClose.

```

It affects quite a few things, not just constants.

@shurcooL, thanks!
/cc @jayconrod @alandonovan

I looked into this today. After my change, linksFor generates empty links for const and var declarations. Previously, it included the identifier name. LinkifyText skips over these, since it doesn't know what id to write.
I should have a fix for this tomorrow.

Thanks!

Reopening for cherry-pick.

Any chance the golang.org docs could be regenerated using the fixed version of godoc?

@Kapeli, yes, that's what I mean by "reopening for cherry-pick".

@bradfitz, you said "reopening", but the issue continues to be closed. Is there a different meaning to the word "reopening", or did you forget to actually reopen it?

Forgot.

Cherry-pick doesn't apply cleanly. I've asked @jayconrod to take a look.

Cherry-pick doesn't apply cleanly.

3bcb6efb399c5289003b99a1c165bd9797ff406c (the commit that closed this issue) is a minor patch/bug fix for e1bdc76d0461f7041136c70e0a1356ea0f5e01d0, where this regression was introduced. But that one is milestoned for Go 1.9. If it's not a part of 1.8 release, then this fixup shouldn't be needed either.

@shurcooL, thanks!

Confirming what @shurcooL, this bug is not on the 1.8 branch and does not need to be cherry-picked.


[Test-1] add test for FrameworkException

Ⅰ. Describe what this PR did
add test for FrameworkException
Ⅱ. Does this pull request fix one issue?

fix #195
Ⅲ. Why don't you add test cases (unit test/integration test)?
already add
Ⅳ. Describe how to verify it
run ut first
Ⅴ. Special notes for reviews

Codecov Report

Merging #523 into develop will increase coverage by 0.57%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop     #523      +/-   ##
=============================================
+ Coverage      31.81%   32.38%   +0.57%
- Complexity       735      749      +14
=============================================
  Files            195      195
  Lines           7595     7595
  Branches         911      911
=============================================
+ Hits            2416     2460      +44
+ Misses          4926     4880      -46
- Partials         253      255       +2

Impacted Files
Coverage Δ
Complexity Δ

...ba/fescar/common/exception/FrameworkException.java
77.77% <0%> (+77.77%)
12% <0%> (+12%)
:arrow_up:

...ba/fescar/common/exception/FrameworkErrorCode.java
95.83% <0%> (+95.83%)
2% <0%> (+2%)
:arrow_up:

Continue to review full report at Codecov.

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


How to use React in content scripts?

Im trying use the react in content script, but  my console print this message
"Uncaught SyntaxError: Cannot use import statement outside a module (at index.js:1:1)".
how to fix this problem?

my code:

If it can help, I overcome this issue by splitting my content script into two files.

content.ts: contains the actual content script code in which I can import what I need
index.ts: entry point of the content script in the manifest. In this file I somehow defer the execution using:

// ! Trick chrome to not load the module, which contains the polyfill
(() => {
    import("./content");
})();

Especially, I'm using import browser from "webextension-polyfill"; in my import to support multiple browsers


Missing "track_get_key_indices"-methods for TYPE_AUDIO, TYPE_ANIMATION, ...

Godot version:
Godot 3.1 Beta 11
OS/device including version:
Windows 7
Issue description:
I was looking on the Animation class for a method to get key indices in a range for TYPE_ANIMATION.
I tried "value_track_get_key_indices". But in C++ Engine Code i saw this:
void Animation::value_track_get_key_indices(int p_track, float p_time, float p_delta, List<int> *p_indices) const {

	ERR_FAIL_INDEX(p_track, tracks.size());
	Track *t = tracks[p_track];
	ERR_FAIL_COND(t->type != TYPE_VALUE);

        ....

(with ERR_FAIL_COND(t->type != TYPE_VALUE); is blocking other TYPES of Tracks)
So i can not use it for Animation Tracks.
So i guess that the methods:
animation_track_get_key_indices
audio_track_get_key_indices
are missing
or maybe the value_track_get_key_indices has to be opened for it!?
Steps to reproduce:
Try to find via GDScript key indices you placed on an AnimationTrack.
-> you will not find a method for this
I can implement them. Thats no problem. But devs, do you ever looked into all the Boilerplate-Code that is in the Animation classes?
 Like much other code there. Why are they not more generalized? This will produce bugs in the future! Code-Update-Bugs or how you call it. I would remove all the Boilerplate-Code first. Looking for commonalities on the code to simplify it and make it less buggy on changes.

If you think you know how to improve the animation classes, then please do! We are always happy for new users to contribute back to the engine codebase if they can. 😄

If you think you know how to improve the animation classes, then please do! We are always happy for new users to contribute back to the engine codebase if they can.

i already did improve it. There is a big major bug as well. Animations are not seeking well when using the Editor. But there is much more bugs. Look at my replacements and code fixes in my branch.

What is the progress on this?

The method no longer exists.


OpenCV make instruction order

I don't think the instructions are in the correct order as presented:
cd /usr/src
sudo wget https://github.com/opencv/opencv/archive/4.2.0.zip
sudo mv 4.2.0.zip OpenCV-4.2.0.zip
sudo unzip -q OpenCV-4.2.0.zip
cd opencv-4.2.0
sudo mkdir release
cd cmake
cd release
sudo cmake -D CMAKE_BUILD_TYPE=RELEASE -D CMAKE_INSTALL_PREFIX=/usr/local -D ENABLE_PRECOMPILED_HEADERS=OFF ..
sudo make -j2
sudo make install
The release directory is created in the opencv-4.2.0 directory
Then you cannot cd to cmake
I think you need to cd to cmake first then execute the mkdir release, but if you cd to cmake how can you sudo cmake ?

Thank you. I have removed the "cd cmake". I cd to release and then execute the sudo cmake...

Closing.


Update dx-graphics-hlsl-to-sample.md

@briannagerads : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@briannagerads : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks, @briannagerads. In fact, the original url is actually correct, and it works. We don't use fully-qualified urls where we can avoid them (as in this case), and in cases where we can't avoid them, we don't include the language tag.
I'll go ahead and close this one.
-Steve


the gm/convert binaries can't be found

Error: Could not execute GraphicsMagick/ImageMagick: gm "identify" "-ping" "-format" "%wx%h" "input.png" this most likely means the gm/convert binaries can't be found

This package uses gm. Try installing GraphicsMagick or ImageMagick.
https://www.npmjs.com/package/gm

alternative solution for me is installing ImageMagick and installing https://www.npmjs.com/package/imagemagick-dynamic-watermark

In my case, I changed line 17 of index.js...
From
var gm = require('gm');

To
var gm = require('gm').subClass({imageMagick: true});

Source: Use ImageMagick instead of gm
Related to #5


Error ios run - NSInvalidArgumentException

hI,
When i run the app i  have this error on console and the app doesn't work.
NSInvalidArgumentException', reason: '+[NSData gtm_dataByGzippingData:error:]: unrecognized selector sent to class 0x1035f3338'
*** First throw call stack:
(
0   CoreFoundation                      0x0000000103339b0b __exceptionPreprocess + 171
1   libobjc.A.dylib                     0x0000000102c93141 objc_exception_throw + 48
2   CoreFoundation                      0x00000001033a9074 +[NSObject(NSObject) doesNotRecognizeSelector:] + 132
3   CoreFoundation                      0x00000001032c0840 forwarding + 1024
4   CoreFoundation                      0x00000001032c03b8 _CF_forwarding_prep_0 + 120
5   App                             0x0000000100bc0f82 -[FIRNetwork postURL:payload:queue:usingBackgroundSession:completionHandler:] + 331
6   App                             0x0000000100bb6c4a -[FIRClearcutLogger sendNextPendingRequestWithCompletionHandler:] + 570
7   App                             0x0000000100bb66f0 -[FIRClearcutLogger sendLogsWithCompletionHandler:] + 447
8   libdispatch.dylib                   0x0000000106a3c4a6 _dispatch_call_block_and_release + 12
9   libdispatch.dylib                   0x0000000106a6505c _dispatch_client_callout + 8
10  libdispatch.dylib                   0x0000000106a4394f _dispatch_queue_serial_drain + 221
11  libdispatch.dylib                   0x0000000106a44669 _dispatch_queue_invoke + 1084
12  libdispatch.dylib                   0x0000000106a44b32 _dispatch_queue_override_invoke + 654
13  libdispatch.dylib                   0x0000000106a46ec4 _dispatch_root_queue_drain + 634
14  libdispatch.dylib                   0x0000000106a46bef _dispatch_worker_thread3 + 123
15  libsystem_pthread.dylib             0x0000000106dfc616 _pthread_wqthread + 1299
16  libsystem_pthread.dylib             0x0000000106dfc0f1 start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
What is the solution?

hi,
no solution?

This error is caused by the firebase config file being missing (GoogleService-Info.plist for ios and google-services.json for android).


cursorPaginate() doesn't work with through()

Larastan Version: 2.1.2
--level used: 5 (occurs from level 2)
Pull request with failing test:

Description
When using ->cursorPaginate()->through() larastan reports: Call to an undefined method Illuminate\Contracts\Pagination\CursorPaginator::through(), however when using ->paginate()->through() larastan doesn't
Laravel code where the issue was found
Works:
return User::paginate()
            ->through(function(User $user) {
                return [
                    'name' => Str::upper($user->name),
                    'email' => $user->email,
                ];
            });

Doesn't work:
return User::cursorPaginate()
            ->through(function(User $user) {
                return [
                    'name' => Str::upper($user->name),
                    'email' => $user->email,
                ];
            });

Same when using DB:
return DB::table('users')
            ->select([
                'name',
                'email',
            ])
            ->orderBy('id')
            ->paginate()
            ->through(function($user): array {
                return [
                    'name' => Str::upper($user->name),
                    'email' => $user->email,
                ];
            });

and
return DB::table('users')
            ->select([
                'name',
                'email',
            ])
            ->orderBy('id')
            ->cursorPaginate()
            ->through(function($user): array {
                return [
                    'name' => Str::upper($user->name),
                    'email' => $user->email,
                ];
            });

Hello Bram! 👋
You may close your own issue with a PR :)
Simple add cursorPaginate
https://github.com/nunomaduro/larastan/blob/eef292ffc5a65c15fa9ce32aec602aa68e19550d/stubs/EloquentBuilder.stub#L445-L456

Can you help with this?

Stubs are weird creatures. 🦕 Stubs need every class mentioned in PHPDoc blocks.
Please add them to https://github.com/nunomaduro/larastan/blob/master/stubs/Pagination.stub


Add support for configuring namespaces

Proposed changes
Currently, almost all resources being supplied by these charts are defaulting to .Release.Namespace. This is generally fine, but it's not configurable, and it doesn't support Gitops because helm template does not add .Release.Namespace for manifests (https://github.com/helm/helm/issues/3553). The result is that if you try to create the manifests and then apply them without using helm install, everything will be put in the default namespace
This makes Namespace explicit on all relevant resources.
Types of changes
What types of changes does your code introduce?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply.

[x] I have read the CONTRIBUTING doc
[x] I have read the CLA
[x] I have added necessary documentation (if appropriate)
[x] Any dependent changes have been merged and published in downstream modules

@FalconerTC can you fix failed tests?

@harshit-splunk I can't seem to get the e2e tests to work. Any advice here?


Add standard plugins and fix checkstyle errors

Resolves: https://jira.duraspace.org/browse/FCREPO-2161

👍


closing issues via commit on non-default branch

it's possible to close issues via commit message by pushing to a non-default branch, expected behavior should be that an issue only closes on commits on default branch (master). this is important for code reviewing workflows, where the code-reviewer megres/rebases a feature branch to master.
related: gogits/gogs#4699

@lafriks I think this is a feature not a bug.

@lunny I would call it undesired behaviour :) so it is somewhere in between :)

:trollface:

would consider this as bug, closing issue via commit in a feature branch should not be possible


MassTransit batch processing is failing all messages when one of them throws exception

Is this a bug report?
Yes
Can you also reproduce the problem with the latest version?
Yes
Environment

Dotnet version: .Net 6
Operating system: Linux Ubuntu
IDE (Rider, VS Code, Visual Studio):  Rider

Steps to Reproduce

Create a MassTransit batch consumer , actually we have created a framework level AggregateConsumer that auto wires to the Aggregates.
Send a batch of messages to be consumed.
Create a scenario , where while processing of the messages in the batch there is an exception .
Tried to use the NotifyFaulted on the message, however did not change behaviour.

Expected Behavior
Expectation is that the fault messages should be faulted and remaining to be processed.
Actual Behavior
The entire batch of messages is being faulted.
Reproducible Demo

This isn't an issue. The batch is delivered as a batch, it succeeds or fails as a batch.
If you don't treat them as a batch, don't use a batch.


Handle connections towards Neon

I just created a new Neon project and used the connection params with "ssl=true" and it works.
I can navigate the database.


[textanalytics] Throw exception on service warning about data limits

Teams thread here.
Service will eventually return a 400 for this, but we should raise an exception now so it doesn't become a breaking change in the future (an exception thrown where there wasn't one before).

merged into feature branch


AdminLTE problem with table

Hi, I'm trying the template AdminLTE, I must say it is very well done. My compliments. I have only one problem, I do I need to use some grids crud that when they have too many columns SFOR from the screen and I can not see them. Unfortunately I wont be able to use AdminLTE not only for this reason, so for this I ask your help. At this link you can find the source code modified by the insertion of the grid, you can find over the calendar:
www.lazaruspascal.it/download_personali/AdminLTE-master.zip
I think you need a box entry covering the horizontal scrollbar. But I do not know how!
Thank you

Hello @XinYiMan
I am not sure I get what you mean. Could you please clarify a bit more?
Thank you!

Download the .zip file link. Then displays the index.html in a browser, scroll to the bottom of the page and you will see a grid with many columns that go to the right, you should see the column1 column10 instead see only until column3 because the columns are too many. How do I see all of them?

You have a few problems in your html markup.
Here is a guide as to how to fit that much data into a box:

YOUR TITLE HERE

Thank you.

No problem. Did it work?

Yessss

:+1:

I didn't work for me?


bslizr: 1.2.8 -> 1.2.10

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/BSlizr/versions.
meta.description for bslizr is: "Sequenced audio slicing effect LV2 plugin (step sequencer effect)"
meta.homepage for bslizr is: "https://github.com/sjaehn/BSlizr"
meta.changelog for bslizr is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

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.

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

du listing: https://gist.github.com/01caf0e9df65410c71f9117ff9e871c9

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
bslizr

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/417xpr3jzlnyrp4anrglfibncpiihc4l-BSlizr-1.2.10 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A bslizr https://github.com/r-ryantm/nixpkgs/archive/6053f46fe7715a71bbdb086ee5b46a1fe03e56c0.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/417xpr3jzlnyrp4anrglfibncpiihc4l-BSlizr-1.2.10
ls -la /nix/store/417xpr3jzlnyrp4anrglfibncpiihc4l-BSlizr-1.2.10/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

bslizr

Maintainer pings
cc @magnetophon for testing.

Result of nixpkgs-review pr 112861 at 6053f46f run on aarch64-linux 1

1 package built:

bslizr

1 suggestion:

warning: unclear-gpl
gpl3 is a deprecated license, check if project uses gpl3Plus or gpl3Only and change meta.license accordingly.
Near pkgs/applications/audio/bslizr/default.nix:26:5:
   |
26 |     license = licenses.gpl3;
   |     ^


Can't take photos on iOS 10.2.1

We're using DBCamera library in our product. Since iOS 10.2.1 it's not possible to use pictures taken with camera.

Open Camera and take a photo
It's not possible to click on "USE PHOTO", so the image can't be used.
It's possible to click on "RETAKE" but then it's not possible to click on X to leave the view.
So the user gets stuck, he can't take a picture and he can't leave the view.

Same is happening , Please suggest a workaround.


Fix broken links in the "Formal Confluence for φ-Calculus in Lean 4" paper

Problem
Currently, the paper contains broken links. Examples:

https://www.objectionary.com/proof/docs/Minimal/ARS.html#ReflTransGen.trans
https://www.objectionary.com/proof/docs/Minimal/Calculus.html#Minimal/Calculus

Closed in #49

@deemp Hey there! 👋 Thanks for submitting the ticket, even though it wasn't accepted this time. As per our policy, there's a -16 point deduction, but don't let that discourage you! Your current balance is still +41, which is great. Keep reporting those bugs and suggesting improvements – it's crucial for our project's quality. Just be a bit more careful next time, and remember, bugs are always welcome!

Actually closed in #50


Fix android template issues

PR Details
Noticed 3 issues in the android template :

possible "app_text"/"app_name" confusion
The project  name is not picked up in the layout
The resources.designer.cs contains const int and are tried to be set, possible resource file issue

Types of changes

[x] Bug fix (non-breaking change which fixes an issue)

Checklist

[x] Update template app_text to app_name.
[ ] Find issue with the resources.designer.cs generation.
[x] Find issue with the project name replacement

It seems the PR doesn't contain all those 3 changes, only 1 of them (and one unrelated gitignore change)?

Yes! i'm still investigating it, i should mark it as a draft so far

I've solved two out of three issues but i have one last related to the resource.designer.cs file generated by xamarin.
It creates const fields and sets them in a static function which breaks everything, so i assume there might be a xamarin dependency version issue somewhere, but i can't find anything to help me with that.
If any one has a better guess i'd love to hear it

@ykafia any ideas how to build nuget packages (....nuget\packages folders) also for net6.0-android when building Stride solution? It builds only for net6.0 and I can't reference some of the stride nuget packages inside Android project. Working on current master branch to resolve the issue with resources and this problem got in my way...

@Feralnex so I'm not a msbuild expert but I build both Stride.sln and Stride.Android.sln
They get added to a local storage, just building is enough to have them available on your machine.
There might be another way to build both with one command though

You can set  StridePlatforms=Windows;Android and StrideGraphicsApiDependentBuildAll=true properties in Directory.Build.props

@manio143 couldn't find file to set those properties, but I noticed that i can run script:
set StridePlatforms=Windows;Android
set StrideGraphicsApiDependentBuildAll=true
Stride.sln

But it produces errors inside Visual Studio when i try to build GameStudio...
Error	NETSDK1005	Assets file 'E:\Stride Projects\stride\sources\engine\Stride.UI\obj\project.assets.json' doesn't have a target for 'net6.0-android'. Ensure that restore has run and that you have included 'net6.0-android' in the TargetFrameworks for your project.	Stride.UI	C:\Program Files\dotnet\sdk\6.0.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets	267
Error	NETSDK1005	Assets file 'E:\Stride Projects\stride\sources\tools\Stride.Graphics.RenderDocPlugin\obj\project.assets.json' doesn't have a target for 'net6.0-android'. Ensure that restore has run and that you have included 'net6.0-android' in the TargetFrameworks for your project.	Stride.Graphics.RenderDocPlugin	C:\Program Files\dotnet\sdk\6.0.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets	267
Error	NETSDK1005	Assets file 'E:\Stride Projects\stride\sources\engine\Stride.Voxels\obj\project.assets.json' doesn't have a target for 'net6.0-android'. Ensure that restore has run and that you have included 'net6.0-android' in the TargetFrameworks for your project.	Stride.Voxels	C:\Program Files\dotnet\sdk\6.0.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets	267
Error	NETSDK1005	Assets file 'E:\Stride Projects\stride\sources\engine\Stride.SpriteStudio.Runtime\obj\project.assets.json' doesn't have a target for 'net6.0-android'. Ensure that restore has run and that you have included 'net6.0-android' in the TargetFrameworks for your project.	Stride.SpriteStudio.Runtime	C:\Program Files\dotnet\sdk\6.0.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets	267
Error	NETSDK1005	Assets file 'E:\Stride Projects\stride\sources\engine\Stride.Rendering\obj\project.assets.json' doesn't have a target for 'net6.0-android'. Ensure that restore has run and that you have included 'net6.0-android' in the TargetFrameworks for your project.	Stride.Rendering	C:\Program Files\dotnet\sdk\6.0.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets	267
Error	NETSDK1005	Assets file 'E:\Stride Projects\stride\sources\engine\Stride.Physics\obj\project.assets.json' doesn't have a target for 'net6.0-android'. Ensure that restore has run and that you have included 'net6.0-android' in the TargetFrameworks for your project.	Stride.Physics	C:\Program Files\dotnet\sdk\6.0.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets	267
Error	NETSDK1005	Assets file 'E:\Stride Projects\stride\sources\engine\Stride.Particles\obj\project.assets.json' doesn't have a target for 'net6.0-android'. Ensure that restore has run and that you have included 'net6.0-android' in the TargetFrameworks for your project.	Stride.Particles	C:\Program Files\dotnet\sdk\6.0.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets	267
Error	NETSDK1005	Assets file 'E:\Stride Projects\stride\sources\engine\Stride.Navigation\obj\project.assets.json' doesn't have a target for 'net6.0-android'. Ensure that restore has run and that you have included 'net6.0-android' in the TargetFrameworks for your project.	Stride.Navigation	C:\Program Files\dotnet\sdk\6.0.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets	267
Error	NETSDK1005	Assets file 'E:\Stride Projects\stride\sources\engine\Stride.Input\obj\project.assets.json' doesn't have a target for 'net6.0-android'. Ensure that restore has run and that you have included 'net6.0-android' in the TargetFrameworks for your project.	Stride.Input	C:\Program Files\dotnet\sdk\6.0.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets	267
Error	NETSDK1005	Assets file 'E:\Stride Projects\stride\sources\engine\Stride.Engine\obj\project.assets.json' doesn't have a target for 'net6.0-android'. Ensure that restore has run and that you have included 'net6.0-android' in the TargetFrameworks for your project.	Stride.Engine	C:\Program Files\dotnet\sdk\6.0.403\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets	267

Probably i'm doing something wrong, but before changing those properties everything was fine.

Maybe the problem lies somewhere else... The reason why I'm asking about it is that after creating Android project in built Stride (and Android earlier) the MyGameActivity.cs has errors:
Severity	Code	Description	Project	File	Line	Suppression State
Error	CS0103	The name 'GameContext' does not exist in the current context	MyGame6.Android	E:\Stride Projects\MyGame6\MyGame6.Android\MyGame6Activity.cs	24	Active
Error	CS0246	The type or namespace name 'StrideActivity' could not be found (are you missing a using directive or an assembly reference?)	MyGame6.Android	E:\Stride Projects\MyGame6\MyGame6.Android\MyGame6Activity.cs	15	Active
Error	CS0234	The type or namespace name 'Starter' does not exist in the namespace 'Stride' (are you missing an assembly reference?)	MyGame6.Android	E:\Stride Projects\MyGame6\MyGame6.Android\MyGame6Activity.cs	6	Active

Did you try to rebuild (or clean, then build)? Regarding props file - you can see examples on the web, it's very similar to how csproj is written.

@manio143 even during clean similar errors pop up... when trying to rebuild over 12k errors pop up...

@manio143 even during clean similar errors pop up... when trying to rebuild over 12k errors pop up...

Just a sanity check, did you check out the stride sources with git lfs enabled?

@tebjan yes

Is this still an issue after this merge? https://github.com/stride3d/stride/pull/1428

Changed this to draft given the conflicts introduced by #1833


Fix Linux upgrade

This patchset should fix Linux upgrade. I believe the actual issue is not so much the working directory (though this had to be fixed anyway) but the fact that the upgrade script had lost its execution rights in e44711ee330cee55b9b0a23fab98739da9a4c042, breaking all upgrades on Linux (ie. not only when started from KDE Plasma).

Am I correct in thinking this change, although necessary, is not enough to get the update fully working on macOS?

You are correct: the grep issue remains :-/


Problem when using with the back-end side of Google App Engine Endpoints

gradle-retrolambda plugin skips auto-generated client sources (seems like the problem in dependencies order)
This issue seems to be related to #105, has the same symptoms: reproducible for clean build only (and only if clean runs separately), but none of suggested in #105 work arounds (jvmArgs '-noverify', incremental false) works. Currently the only work around I know is to run build twice.
At the first time backend:compileRetrolambdaEndpointsSrc task is skipped, while at the second one it runs:

:backend:compileRetrolambdaEndpointsSrc SKIPPED

I guess that compileRetrolambdaEndpointsSrc should run after endpointsSrcClasses, but currently if I try to add this dependency manually I get circular dependencies.
I've created a sample project, reproducing the issue here: https://github.com/denis-itskovich/retrolambda-bug-repro
Here is the gradle log:
:backend:appengineDownloadSdk
:backend:compileJava
:backend:compileRetrolambdaMain
:backend:processResources UP-TO-DATE
:backend:classes
:backend:appengineEndpointsGetClientLibs
API client library written to D:\Dev\test-test\tmp\testapp\backend\build\client-libs\myApi-v1-java.zip
:backend:appengineEndpointsExpandClientLibs
:backend:war
:backend:appengineExplodeApp
:backend:assemble
:backend:compileFunctionalTestJava UP-TO-DATE
:backend:compileRetrolambdaFunctionalTest SKIPPED
:backend:processFunctionalTestResources UP-TO-DATE
:backend:functionalTestClasses UP-TO-DATE
:backend:appengineRun UP-TO-DATE
:backend:appengineFunctionalTest UP-TO-DATE
:backend:appengineStop SKIPPED
:backend:compileTestJava UP-TO-DATE
:backend:compileRetrolambdaTest SKIPPED
:backend:processTestResources UP-TO-DATE
:backend:testClasses UP-TO-DATE
:backend:test UP-TO-DATE
:backend:check UP-TO-DATE
:backend:build
:client:compileLint
:client:copyDebugLint UP-TO-DATE
:client:mergeDebugProguardFiles UP-TO-DATE
:backend:compileEndpointsSrcJava
:backend:compileRetrolambdaEndpointsSrc SKIPPED
:backend:processEndpointsSrcResources UP-TO-DATE
:backend:endpointsSrcClasses
:backend:_appengineEndpointsAndroidArtifact
:client:preBuild UP-TO-DATE
:client:preDebugBuild UP-TO-DATE
:client:checkDebugManifest
:client:prepareDebugDependencies
:client:compileDebugAidl
:client:compileDebugRenderscript
:client:generateDebugBuildConfig
:client:generateDebugAssets UP-TO-DATE
:client:mergeDebugAssets
:client:generateDebugResValues UP-TO-DATE
:client:generateDebugResources
:client:packageDebugResources
:client:processDebugManifest
:client:processDebugResources
:client:generateDebugSources
:client:processDebugJavaRes UP-TO-DATE
:client:compileDebugJavaWithJavac
D:\Dev\test-test\tmp\testapp\client\src\main\java\com\test\client\Client.java:8: error: package com.test.backend.myApi does not exist
import com.test.backend.myApi.MyApi;
                             ^
D:\Dev\test-test\tmp\testapp\client\src\main\java\com\test\client\Client.java:9: error: package com.test.backend.myApi.model does not exist
import com.test.backend.myApi.model.MyBean;
                                   ^
D:\Dev\test-test\tmp\testapp\client\src\main\java\com\test\client\Client.java:24: error: cannot find symbol
    public MyBean hello() throws IOException {
           ^
  symbol:   class MyBean
  location: class Client
D:\Dev\test-test\tmp\testapp\client\src\main\java\com\test\client\Client.java:25: error: package MyApi does not exist
        return new MyApi.Builder(AndroidHttp.newCompatibleTransport(), AndroidJsonFactory.getDefaultInstance(), credential)
                        ^
4 errors
:client:compileDebugJavaWithJavac FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':client:compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

I think I know the root cause: when the plugin creates retrolambda task, it sets enabled flag based on set.allJava.isEmpty(), which is OK, when sourceSet is not going to change by other tasks. But in case of GAE endpoints (and I guess in some other cases of code generation) sourceSet is filled later. In this case compileRetrolambda task is just skipped, despite the fact that at the moment it should run, the relevant sourceSet contains java files in it.

Meanwhile the patched version is available in Jitpack maven repository:
buildscript {
    repositories {
        maven { url "https://jitpack.io" }
    }
    dependencies {
        classpath 'com.github.denis-itskovich:gradle-retrolambda:3.2.3-fix-134'
    }
}


Fix flying and jumping on boxes

Prop flying is a pretty common glitch that is well suited for some environments, so I wouldn't go as far as to strip it completely. Make it a room option/setting! :+1:
(In regards to jumping, I don't know what to suggest.)

I wouldn't go as far as to strip it completely

Maintaining such an option would need effort and leave less time to polish for proper physics (and other aspects), so i suggest to commit to one style of physics.

this was fixed with the introduction of the new kinematic character controller provided by rapier https://github.com/matrix-org/thirdroom/pull/536
closing


Add Heade to the project.

Description

This PR adds the header component from the vocabulary.
Screenshots

Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the master branch of the repository.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[ ] I added tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no
visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

It looks good and related to Vocabulary, but the spacing seems very off. And the logo isn't showing up correctly.

Hey @kgodey, there was a bug in the vocabulary for the spacing part which is fixed and the spacing thing will be fixed after the release. I will update the logo rn. Sorry for the delay!


Why can't  I "submit a pull request to one repo that requests a merge to a base of another repo"?

This is explicitly disallowed in the documentation.  Why? (Here is why I want to do this.)

This would be a useful feature, but it seems the GitHub API itself disallows this, or at least it says it does:
https://developer.github.com/v3/pulls/#create-a-pull-request

Oh, I am misinterpreting this.  Thanks!


fifo 0.9.0

Sorry. I don't know how to merge the branch back to my branch, and I click the wrong button. Close it.


hack: fix OCS Operator image in source-manifests.sh

Signed-off-by: Umanga Chapagain<EMAIL_ADDRESS>

/override ci/prow/red-hat-storage-ocs-ci-e2e-aws

/lgtm
as it is required immediately.

#973 makes this obsolete. Do not backport.


Please add a clickable file link

Please add a clickable file link to the console error message
Instead:
src/directory/component.tsx
Something like this:
file://$(pwd)/src/directory/component.tsx

This will greatly speed up bug fixes!)
Thanks)

Please follow the issue template and provide more detail.

When the Typescript compiler encounters an error, it displays the following message in the console:

There is a link to the file and line number where the error occurred, and it's cool!
But it would also be good. be able to go to the problem area by clicking the link ...
It would be nice to show the full path with the prefix file: //, as I suggested above ...

FWIW these links are already clickable in the VS Code terminal and in iTerm 2. Sadly not in Terminal.app. 😕 In VS Code it even takes you to the exact line and number. I personally don’t think the extra verbosity is worth it for what seems should just be a terminal feature, and already is a feature of many terminals.

Clickability differs per-tool. For example, the above output is clickable when you compile inside emacs.

Yes, thanks, the links are clickable in VS Code.
I work at WebStorm and before that I thought the only way to make them clickable was to add the prefix file: // or http: //, ftp: // and so on.
So this is a question for WebStorm developers.
Thank you all for your time!)


Monitoring v2 - cluster member cannot install monitoring in his project

What kind of request is this (question/bug/enhancement/feature request):
bug that is found when validating this issue https://github.com/rancher/rancher/issues/29038
Steps to reproduce (least amount of steps as possible):
I see this happens in the latest-master head 67e24f2

log in as a cluster member, create a project

go to dashboard -> go to the monitoring installation page

I need to set the target project then click install

an error shows in UI: the server rejects our request due to an error in our request (get namespaces)

also notice the namespace cattle-monitoring-system is created in the project, but NO helm-operation pod is created

try to install the app again, this time there is NO option for setting the project

click install, a helm-operation pod is created in the system-project, and it fails with the following logs ("u-lkgx6" is the cluster member's id)

helm --debug install --create-namespace=true --namespace=cattle-monitoring-system --timeout=10m0s --values=/home/shell/helm/values-rancher-monitoring-crd-9.4.200.yaml --version=9.4.200 --wait=true rancher-monitoring-crd /home/shell/helm/rancher-monitoring-crd-9.4.200.tgz
install.go:172: [debug] Original chart version: "9.4.200"
install.go:189: [debug] CHART PATH: /home/shell/helm/rancher-monitoring-crd-9.4.200.tgz
Error: rendered manifests contain a resource that already exists. Unable to continue with install: could not get information about the resource: clusterroles.rbac.authorization.k8s.io "rancher-monitoring-crd-manager" is forbidden: User "u-lkgx6" cannot get resource "clusterroles" in API group "rbac.authorization.k8s.io" at the cluster scope
helm.go:94: [debug] clusterroles.rbac.authorization.k8s.io "rancher-monitoring-crd-manager" is forbidden: User "u-lkgx6" cannot get resource "clusterroles" in API group "rbac.authorization.k8s.io" at the cluster scope
could not get information about the resource

Expected Results:

cluster member should be able to install the monitoring v2 in his project

Questions:

why the first attempt of installing monitoring v2 fails but create the namespace?

This is moved to the root issue as a comment: https://github.com/rancher/rancher/issues/29038#issuecomment-697038635


TileLayer maxNativeZoom option for scaling tiles on unsupported zoom levels

Implements #1798. Suppose you have a tile layer with maxZoom 18, but you need it up to 20 and OK with scaling of tiles. Then you would do this:
var tiles = L.tileLayer(..., {
    maxZoom: 20,
    maxNativeZoom: 18
});

Tested and seems to work well for both simple tile layers and WMS layers.

Sorry if off-topic, but seems related: Is there a 'tweening' option for tile services that do not provide tiles at each zoom level? (For example, on offline mobile devices with local tile servers where space is at a premium and may only store tiles at every other zoom level). See related SO question: http://stackoverflow.com/questions/28904160/how-to-use-chunky-coarse-grained-zoom-levels-with-leaflet-maps