Remove defunct entity filter from Text Space View

What
Noticed while testing: Removed text entity filter ui; this was already defunct on main and is redundant to entity visibility property.
Was originally part of #2522
Test via python ./examples/python/text_logging/main.py
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct

PR Build Summary: https://build.rerun.io/pr/2544

Docs preview: https://rerun.io/preview/8e1e06b/docs
Examples preview: https://rerun.io/preview/8e1e06b/examples

yep, saw no reason to fix it since it is a redundant mechanism. I believe it is from a time when we didn't have visibility toggles or at least when we didn't have them available via a unified mechanism


Master

@JohnnyVz Can you please stop sending these nonsense pull requests? As I see on your activity page, MahApps is not the only repository where you open empty PRs. Learn how to use Git!


[GSSOC'23] Adding Comments on each Blogs

Actually I want to add a feature of adding comments on each and every blogs so that the users can comment on that specific blog .
Can U please assign me this feature under GSSOC'23

Please assign me  this issue  under GSSOC 2023.

No,it is my idea

@vivxsdb go ahead, make sure to fetch repo before making pr

Actually due to my sem exam It is taking I will complete this issue within this week

I will try my best to complete it


has support app-argument? in content meta

How can I add data like this to content meta tag
 content="app-id=XXXX, app-argument: myapp://resolve?d=ABC"

@cuongnv-ibl for now it's up to you. There is no built-in functionality to place meta tag into DOM.


Apply new loading animation

Before submitting, please confirm you've

[x] read and understood our Contributing Guidelines
[x] completed Mattermost Contributor Agreement
[x] executed npm run lint:js for proper code formatting

Please provide the following information:
Summary
Apply new loading animation.

Issue link
#748
Test Cases

Open the desktop app.
The animation should appear while loading the webapp.

Additional Notes
https://circleci.com/gh/yuya-oc/desktop/804#artifacts

@yuya-oc Mike just updated the animation, please see the ticket: https://mattermost.atlassian.net/browse/MM-8484

@amyblais Thanks! Updated: https://circleci.com/gh/yuya-oc/desktop/809#artifacts
I could get fine result on my monitor, 150% of DPI scaling setting.
150%:

150% (without 2x image):

Thank you @yuya-oc! I tested on Windows and it looks good - I think we are ready to merge this PR and get ready to cut RC-1.


build error

Hi I'm trying to build the solution on Ubuntu linux but I receive this error
src/trlwe_compressed_vaes.c:16:17: warning: AVX512F vector return without AVX512F enabled changes the ABI [-Wpsabi]
16 |   const __m512i clear_exp = _mm512_set1_epi64(0x800FFFFFFFFFFFFF);
|                 ^~~~~~~~~
In file included from /usr/lib/gcc/x86_64-linux-gnu/11/include/immintrin.h:49,
from /usr/lib/gcc/x86_64-linux-gnu/11/include/x86intrin.h:32,
from .//include/mosfhet.h:15,
from src/trlwe_compressed_vaes.c:1:
/usr/lib/gcc/x86_64-linux-gnu/11/include/avx512fintrin.h:4183:1: error: inlining failed in call to ‘always_inline’ ‘_mm512_set1_epi64’: target specific option mismatch
4183 | _mm512_set1_epi64 (long long __A)
| ^~~~~~~~~~~~~~~~~
src/trlwe_compressed_vaes.c:17:23: note: called from here
17 |   const __m512i exp = _mm512_set1_epi64(((uint64_t)(1023 + 64)) << 52);
It looks like an AVX512F issue, do you have any suggestion on how I can solve this one?
Thank you and congratulation for your hard work on such a beautiful topic.

Hi,
Which processor and compiler are you using?
Please try to build with one of the following commands and let me know if the error persists.
make FFT_LIB=spqlios ENABLE_VAES=false A_PRGN=none
make FFT_LIB=spqlios ENABLE_VAES=false A_PRGN=xoshiro
Best,
Antonio


getImportableSymbolReferencesForDocument returning symbols from a different library

Hey guys,
I'm having an issue with Sketch 50's library API. Specifically, the getImportableSymbolReferencesForDocument function seems to be returning the incorrect symbols — or, it seems to be referencing a totally different library altogether:
var libraries = Library.getLibraries();
var library = libraries.find((library) => library.name === libraryName); // libraryName = "bui-web" in my case
var refs = library.getImportableSymbolReferencesForDocument(context.actionContext.document);
refs.find((symbol) => log(symbol.library.name)) // symbol.library.name = "bui-android", expected "bui-web". All symbols are from the wrong library.

Even when I explicitly point at the library that I want the symbols for, it gives me the wrong symbols:
var library = Library.getLibraryForDocumentAtPath('~/Library/Application Support/com.bohemiancoding.sketch3/Plugins/biq.sketchplugin/Contents/Resources/libraries/bui-web.sketch');
var refs = library.getImportableSymbolReferencesForDocument(context.actionContext.document);
refs.find((symbol) => log(symbol.library.name)) // all symbols are from 'bui-android' library, despite explicitly importing bui-web.

Any help with this issue would be greatly appreciated.

I don't seem to be able to reproduce 🤔
Could you show the output of
var sketch = require('sketch')
console.log(sketch.Library.getLibraries())

?

So you want to open bui-android, bui-ios and bui-web and run
var documentData = context.document.documentData();
documentData.generateObjectID()
log('The current document ID changed to: ' + documentData.objectID());

and then save the file.
I don't think that's a bug in the API. Maybe in Sketch but that's a pretty niche use case so I'll close this

I think it's slightly more than niche - if you simply copy and paste a Sketch file in Finder (perfectly reasonable to do) - they will have the same document ID and cause this problem when it comes to making them libraries.
As library IDs are the same as document IDs currently, I also suspect you could run into issues with the functionality of libraries too (getting confused where symbols are actually pointing). I agree it's not an API issue, but it's something good to feed upstream into Sketch. Maybe a simple detection of duplicate IDs at library add time (and reassignment then) would fix it

actually I can fix this by checking if the name of the library is the same as well (that's what we do in Sketch as well)


horse bar

is possible add horse bar speed + defense?

Condition: when the player gets on board.

Okay i will try to support it

thanks

Now, there sre some placeholder like vehicle_max_health.


added AbsolutePosition to GuiObject

Coverage increased (+0.02%) to 97.704% when pulling 20d7372b9cb3c9fc15a36dedc46fbf4557e95fd2 on aportner:add-absolute-position into bdbdc3bf43515daba2578eb0bb49c4e300588a4c on LPGhatguy:master.

LGTM!


Create base model with created_at and is_deleted fields.

Coverage decreased (-0.06%) to 93.233% when pulling 5ce536dbad38d1785a5cc62fd7383f88504b873a on base-modle into d8b3fa7fac734d21970551f1578e898a94bad79f on master.

lgtm

Coverage increased (+0.03%) to 93.323% when pulling bcf2b5a3ca2f1e5571676f76e820cf191dd25ec9 on base-modle into d8b3fa7fac734d21970551f1578e898a94bad79f on master.

Coverage increased (+0.03%) to 93.323% when pulling 7c5f18cefe1b648ebb0d8da4dc8a8252539b7dcd on base-modle into d8b3fa7fac734d21970551f1578e898a94bad79f on master.


Text in update dialog could use padding

One theme:
https://cdn.discordapp.com/attachments/280102180189634562/891253475822948392/unknown.png
Default theme:
https://cdn.discordapp.com/attachments/280102180189634562/891265572422184980/unknown.png

Can you try this diff, and send me a screenshot.
@@ -695,7 +695,8 @@

         {
             "class": "button_control",
-            "min_size": [85, 29],
+            "content_margin": [8, 7],
+            "min_size": [70, 0],
             "layer0.texture": "Theme - One/assets/button.png",
             "layer0.tint": "var(button-bg)",
             "layer0.opacity": 1.0,

cc @rwols 🙂

It should be fixed in the newest version, If it isn't, feel free to reopen the issue.


x/tools/gopls: add integration testing for SSA+generics

With #48525 approaching completion, we should add additional integration tests in gopls for analyzer that use go/ssa (such as nilness).
CC @timothy-king

Fixed by https://go.dev/cl/538802


ENH: Validate the number of requested nodes for an AML job

Add function that checks the number of nodes that have been specified for an AML job and checks that number is less than or equal to the maximum number of nodes allowed for the cluster.
Also small refactoring to separate out another cluster validation step into its own function. Tests added for all of the above.

Failing test is unrelated to this PR

@mebristo , one more high-level thought around tests here: What if the structure of the AML cluster object changed, retiring a property for example? Would we catch that in the tests? Maybe it would be good to, in a first test, work with an actual Cluster object, and read out the property. Check that the validation works as expected with the real object. Then later mock only the property that holds the number of nodes if you need to do more detailed checks.

@mebristo , one more high-level thought around tests here: What if the structure of the AML cluster object changed, retiring a property for example? Would we catch that in the tests? Maybe it would be good to, in a first test, work with an actual Cluster object, and read out the property. Check that the validation works as expected with the real object. Then later mock only the property that holds the number of nodes if you need to do more detailed checks.

Good idea - I've added a test for this

Can you add a link?

https://github.com/microsoft/hi-ml/pull/340


Crash when PSRAM enabled using ESP32-S2

I received my new Espressif ESP32-S2-DevKitM-1, the N4R2 one. 4MB of flash, 2MB of SPI, single core (looks like it!).
My project now crashes on reboot only with this new board with the following being logged:
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40027615
SPIWP:0xee
mode:DIO, clock div:1
load:0x3ffe6100,len:0x484
load:0x4004c000,len:0x844
load:0x40050000,len:0x2830
entry 0x4004c174
[   971][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled

[  1985][V][WiFiServer.h:42] WiFiServer(): WiFiServer::WiFiServer(port=80, ...)

************************************************************
Welcome to HomeSpan!
Apple HomeKit for the Espressif ESP-32 WROOM and Arduino IDE
************************************************************

** Please ensure serial monitor is set to transmit <newlines>

Message Logs:     Level 0
Status LED:       Pin 18
Device Control:   Pin 13
Sketch Version:   ***********
HomeSpan Version: 1.8.1
Arduino-ESP Ver.: 2.0.14
ESP-IDF Version:  4.4.6
ESP32 Chip:       ESP32-S2 Rev 0 single-core 4MB Flash
ESP32 Board:      esp32s2
PWM Resources:    8 channels, 4 timers, max 14-bit duty resolution
Sodium Version:   1.0.12-idf  Lib 9.4
MbedTLS Version:  mbed TLS 2.28.4
Sketch Compiled:  Jan 17 2024 20:17:09
Partition:        app0
MAC Address:      70:04:1D:FB:D8:D8

Device Name:      ***********

[  4055][W][esp32-hal-timer.c:226] timerAttachInterruptFlag(): EDGE timer interrupt is not supported! Setting to LEVEL...
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

I went back to the Other Examples/Pixel/Pixel.ino project, and src.ino and with these two, even with PSRAM enabled, everything is good.
Not sure what's going on. I have temporarily disabled calls to timerAlarmWrite(), as I do start a timer, and also disabled a call to sntp_set_time_sync_notification_cb() to have my app be notified of time updates when weblogs/NTP is enabled.
I have isolated the warning to be from a 3rd party library, but I don't know if the warning is related to the crash, nor if HomeSpan is at fault.
I'm using GPIO 2, 4, 10, 13, 15, 18 (PixelStatus), 21 and 26. I don't think they pose any issues when looking at the pinout.

Adding logging statement in HomeSpan.cpp, the crash always occur on the following line, in the HomeSpan Info case (case 'i'):
     for(auto acc=Accessories.begin(); acc!=Accessories.end(); acc++){
.. but then something else is strange. In pollTask(), after adding a line to log memory available first:
  if(!isInitialized){
    processSerialCommand("m");        // Log memory first
    processSerialCommand("i");        // print homeSpan configuration info

this is now what I'm getting when it enters the case ['m'] block:
Guru Meditation Error: Core  0 panic'ed (Memory protection fault).
Write operation at address 0x3f41f000 not permitted (INVALID_MEM_TYPE)

It seems like a memory issue with perhaps one of the third-party libraries.  Double-check the partition setting to make sure it matches 4M Flash.

Just to confirm - without your TLS code, you haven't experienced any issues (neither with or without PSRAM), correct?
If the issue only arises with your TLS code and when you enable PSRAM, the issue may be that some aspect of the code you are adding cannot operate in PSRAM.  For example, interrupts should not use PSRAM.
However, even though I added logic to HomeSpan to manage the use of PSRAM, this only applies to HomeSpan structures.  For everything else, FreeRTOS determines when to use RAM and when to use PSRAM, and it may be making the wrong decision for some of the components of your additional code.
A few things to try: To the extent you are calling malloc() in your code, try calling the version of malloc that only uses internal RAM.  My hapOut stream code does this for the stream buffers, so you can see what calls I used to guarantee internal RAM is used.
The other thing you can try is to change the threshold at which FreeRTOS chooses to switch an allocation from internal memory to PSRAM when malloc is used.  I forgot the exact call, but it's in the Espressif Heap docs.  If you set the threshold very large (200K), then malloc will almost always use internal RAM and not PSRAM for the other code (unless you try to malloc 200K bytes or more).  This will not impact HomeSpan's use of PSRAM since it doesn't rely on generic malloc when PSRAM is present.

It seems like a memory issue with perhaps one of the third-party libraries. Double-check the partition setting to make sure it matches 4M Flash.

Yeah, I think so too, because my code doesn't do any malloc at all. and yes, 4M flash is selected.

Just to confirm - without your TLS code, you haven't experienced any issues (neither with or without PSRAM), correct?

All of this new code is not in used. All my TLS code is sittting in a different branch until I get this 2nd board working as my "dev/test" board. So for now, I am back to basic weblog provided by HomeSpan.
I'm also not using FreeRTOS, this is pure Arduino loop-style code.
Also, none of the HomeSpan structure I extend contains this 3rd party library.
My next step will be to add this library to an HomeSpan example, see how it behaves on this board.

Maybe it is time I give PlatformIO a try, and use monitor_filters = esp32_exception_decoder ... figure out where the crash comes from.

Sorry, I should have been clearer in my question.  Are you seeing any crashes when using just HomeSpan without any third-party libraries?  Or does the problem only arise when you add in a third-party library?

Are you seeing any crashes when using just HomeSpan without any third-party libraries?

No

Or does the problem only arise when you add in a third-party library?

Neither. I added the suspect library to the HomeSpan Pixel sample, and all worked fine.
This is shady... Trying to find a way to generate a debug stack trace.

Definitely something strange going on. Same code, different board, now using PlatformIO (which until now had no clue this was an extension to VSCode...). This crash below is with my project only. I have been able to use PlatformIO to compile and run the Pixel sample successfully.
Rebooting...
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x3 (RTC_SW_SYS_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)
Saved PC:0x40026f51
SPIWP:0xee
mode:DIO, clock div:2
load:0x3ffe6100,len:0x484
load:0x4004c000,len:0x844
load:0x40050000,len:0x2830
entry 0x4004c174
[  1055][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled

*** WARNING: Can't start OTA Server - Partition table used to compile this sketch is not configured for OTA.

Starting HomeSpan
[  2073][V][WiFiServer.h:42] WiFiServer(): WiFiServer::WiFiServer(port=80, ...)

************************************************************
Welcome to HomeSpan!
Apple HomeKit for the Espressif ESP-32 WROOM and Arduino IDE
************************************************************

** Please ensure serial monitor is set to transmit <newlines>

Message Logs:     Level 2
Status LED:       Pin 18
Device Control:   Pin 13
Sketch Version:   ***************
HomeSpan Version: 1.8.1
Arduino-ESP Ver.: 2.0.14
ESP-IDF Version:  4.4.6
ESP32 Chip:       ESP32-S2 Rev 0 single-core 4MB Flash
ESP32 Board:      esp32
PWM Resources:    8 channels, 4 timers, max 14-bit duty resolution
Sodium Version:   1.0.12-idf  Lib 9.4
MbedTLS Version:  mbed TLS 2.28.4
Sketch Compiled:  Jan 23 2024 12:45:21
Partition:        app0
MAC Address:      70:04:1D:FB:D8:D8

Device Name:      Système d'alarme

HomeSpan started
Starting DSC
[  4153][W][esp32-hal-timer.c:226] timerAttachInterruptFlag(): EDGE timer interrupt is not supported! Setting to LEVEL...
DSC started

*** HomeSpan Info ***

➤ Accessory:  AID=-24832
   *** ERROR #1!  AID of first Accessory must always be 1 ***
   *** ERROR #2!  Required 'AccessoryInformation' Service not found ***
➤ Accessory:  AID=-1
   *** ERROR #3!  Required 'AccessoryInformation' Service not found ***
➤ Accessory:  AID=-1
   *** ERROR #4!  AID already in use for another Accessory ***
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x4009108b  PS      : 0x00060d30  A0      : 0x80092288  A1      : 0x3ffd79a0
A2      : 0x00000002  A3      : 0x00000000  A4      : 0x3fd8b148  A5      : 0xffffffff
A6      : 0x3ffc8af8  A7      : 0x3fd89634  A8      : 0x3ffc8af8  A9      : 0x3ffd7970
A10     : 0x3ffd7a14  A11     : 0x00000000  A12     : 0x3fd8ce00  A13     : 0x00000010
A14     : 0x3fd8ce24  A15     : 0x3fd8ce28  SAR     : 0x0000001b  EXCCAUSE: 0x0000001c
EXCVADDR: 0xffffffff  LBEG    : 0x3fd8ce00  LEND    : 0x00000010  LCOUNT  : 0x40028ab0

Backtrace: 0x40091088:0x3ffd79a0 0x40092285:0x3ffd7af0 0x40092983:0x3ffd7bd0 0x40084aee:0x3ffd7bf0 0x4009b185:0x3ffd7c20

  #0  0x40091088:0x3ffd79a0 in Span::processSerialCommand(char const*) at lib/HomeSpan/src/HomeSpan.cpp:871
  #1  0x40092285:0x3ffd7af0 in Span::pollTask() at lib/HomeSpan/src/HomeSpan.cpp:187
  #2  0x40092983:0x3ffd7bd0 in Span::poll() at lib/HomeSpan/src/HomeSpan.cpp:173
  #3  0x40084aee:0x3ffd7bf0 in loop() at src/main.cpp:605
  #4  0x4009b185:0x3ffd7c20 in loopTask(void*) at C:/Users/<user>/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:50

ELF file SHA256: 611a935a28766f84

Question for @HomeSpan : Should there is an error building the HomeSpan DB, why move on and start? Shouldn't it halt (while(true)) to prevent rebooting in loop?
I added some more checks, and it fails because the Accessory has no Service. No clue why for now it shows no service (that is the ultimate cause of having an invalid HomeSpan DB), but ideally, HomeSpan shouldn't crash on an invalid config either.

There's a ton of checks in the DB - some create a fatal flaw and therefore halt the program with an error message.  Others are not fatal and throw non-fatal errors or warnings.    I'm unaware of any issue that would cause a reboot or crash.  I just tried a sketch with nothing define (no Accessories, etc.) and it works fine (though does not really do much).  I also tried a sketch with an Accessory that has no Services.  As expected, it throws a non-fatal error warning you of this, but this does not cause a crash or cause any problems with HomeSpan itself.  The only implication would be that the Home App would report that the Accessory is non-compliant and cannot be paired.
Can you provide a short example of where HomeSpan actually crashes as a result of the database config?  If there are cases  missed, I will add checks for them as well.

I reproduced it using a HomeSpan sample, but the crash happens only when a specific 3rd party is used.

Add the library dscKeybusInterface to your project
Add the include directive #include <dscKeybusInterface.h>
Add a global variable defining GPIO pins to use: dscKeybusInterface dsc(26, 10, 21);
Add dsc.begin(); in the setup() method.

That seems to corrupt something, or maybe the PINs I use have an impact on SPIRAM?
GPIO 10, 21 and 26 don't seem to be a problem, looking at https://docs.espressif.com/projects/esp-idf/en/latest/esp32s2/_images/esp32-s2-devkitm-1-v1-pin-layout.png ... at least that I know of.
I will cleanup my sample, and upload a zip file later.

What type of PSRAM are you using?  Depending on the type, pin 10 may be needed for the SPI connection.
On a completely unrelated note, check out the updated Services and Characteristics page in 1.8.1-dev.  It's now auto-generated based on all the code (and the many comments I added) in Span.h.  The tables also include all the new enum constants.

What type of PSRAM are you using?

No idea. The one soldered to the Espressif-branded dev board purchased on Amazon. I changed the pin to 8 instead, same problem.
What is really strange is I'm getting the same offset as in https://github.com/espressif/esp-idf/issues/9193 which seems to to be some memory alignment issues.
Not sure where to go from here, other than getting yet another board until HomeSpan & Arduino supports IDF 5.x.

On a completely unrelated note, check out the updated Services and Characteristics page in 1.8.1-dev. It's now auto-generated based on all the code (and the many comments I added) in Span.h. The tables also include all the new enum constants.

Yes, looks nice! Some suggestions:

Add a "Expand all" button, because while Google may index the text that is hidden, doing a Ctrl-f in the page will not find what we're looking for if everything is collapsed.
No need to put the contant values in bold.

Thanks!  Not sure how to expand all in markdown, but I'll check it out and see what I can find.  I'll remove the bold for the Constants.  I tried dozens of different combinations and formats and not sure which one's work best, look best, etc.  Removing bold should be easy to test.  Will post update shortly.

Did you try raising the malloc limit for use with PSRAM?  This will have very little impact on HomeSpan, but may prevent the dscKeybusInterface library from using PSRAM (which I assume is the root of the problem?).
heap_caps_malloc_extmem_enable(100000) should ensure that a normal malloc() call always tries internal RAM first.
Have you noticed problems with any other libraries using PSRAM, or just dscKeybusInterface?  Also, if you just use dscKeybusInterface with PSRAM enabled on a standalone basis (i.e. without HomeSpan) do you still get crashes?

heap_caps_malloc_extmem_enable(100000) should ensure that a normal malloc() call always tries internal RAM first.

No luck, same crash.

Have you noticed problems with any other libraries using PSRAM, or just dscKeybusInterface?

My interest and knowledge in these little boards (and Arduino, HomeSpan & dscKeybusInterface) is only 1 year old, due to me wanting to take control of my alarm system at home. That is my main and only project, so I haven't tried any other library.
But now I see the infinite possibilities to control everything in my house! :-)

Also, if you just use dscKeybusInterface with PSRAM enabled on a standalone basis (i.e. without HomeSpan) do you still get crashes?

It works fine with my Freenove ESP32-WROVER CAM Board, both with the library and HomeSpan. It has been up for a week now.

Does the Freenove have PSRAM?

Yes.
Freenove, with my full project loaded and running for a week:

Memory Type
Total
Free
Lowest

DRAM
4361 Kb4340 Kb
4201 Kb4201 Kb4201 Kb
4193 Kb4193 Kb4193 Kb

Internal
299 Kb286 Kb
159 Kb192 Kb
185 Kb

Exec
160 Kb158 Kb
158 Kb
158 Kb

SPI RAM
4095 Kb4088 Kb
4041 Kb
4041 Kb

ESP32-S2, with a modified version of HomeSpan Pixel sample:

Memory Type
Total
Free
Lowest

DRAM
2246 Kb2235 Kb
2121 Kb2120 Kb2120 Kb
2107 Kb2107 Kb2107 Kb

Internal
198 Kb190 Kb
113 Kb121 Kb
116 Kb

Exec
0 Kb
0 Kb
0 Kb

SPI RAM:
2047 Kb2045 Kb
1999 Kb
1991 Kb

And if you remove HomeSpan and just try to run the dscKeybusInterface library on the ESP32-S2, does it still crash?

Just did, not crash. I took the "offending code" from processSerialCommand("m");, and placed copies before and after dsc.begin(), as well as in the main loop after dsc.loop() with a 1 second delay.
No crash.
      multi_heap_info_t heapAll;
      multi_heap_info_t heapInternal;
      multi_heap_info_t heapPSRAM;

      heap_caps_get_info(&heapAll,MALLOC_CAP_DEFAULT);
      heap_caps_get_info(&heapInternal,MALLOC_CAP_DEFAULT|MALLOC_CAP_INTERNAL);
      heap_caps_get_info(&heapPSRAM,MALLOC_CAP_DEFAULT|MALLOC_CAP_SPIRAM);

      Serial.printf("\n            Allocated      Free   Largest       Low\n");
      Serial.printf("            --------- --------- --------- ---------\n");
      Serial.printf("Total Heap: %9d %9d %9d %9d\n",heapAll.total_allocated_bytes,heapAll.total_free_bytes,heapAll.largest_free_block,heapAll.minimum_free_bytes);
      Serial.printf("  Internal: %9d %9d %9d %9d\n",heapInternal.total_allocated_bytes,heapInternal.total_free_bytes,heapInternal.largest_free_block,heapInternal.minimum_free_bytes);
      Serial.printf("     PSRAM: %9d %9d %9d %9d\n\n",heapPSRAM.total_allocated_bytes,heapPSRAM.total_free_bytes,heapPSRAM.largest_free_block,heapPSRAM.minimum_free_bytes);

Note also that with the HomeSpan sample that I can get to crash, if I build without -DBOARD_HAS_PSRAM, then PSRAM is not not used and crash does not occur...

Looks like I forgot to post a better stack trace I'm now able to produce:
ESP-ROM:esp32s2-rc4-20191025
Build:Oct 25 2019
rst:0x1 (POWERON),boot:0x8 (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:2
load:0x3ffe6100,len:0x484
load:0x4004c000,len:0x844
load:0x40050000,len:0x2830
entry 0x4004c174
[  1005][I][esp32-hal-psram.c:96] psramInit(): PSRAM enabled
[  1022][V][WiFiServer.h:42] WiFiServer(): WiFiServer::WiFiServer(port=80, ...)

************************************************************
Welcome to HomeSpan!
Apple HomeKit for the Espressif ESP-32 WROOM and Arduino IDE
************************************************************

** Please ensure serial monitor is set to transmit <newlines>

Message Logs:     Level 2
Status LED:       Pin -  *** WARNING: Status LED Pin is UNDEFINED
Device Control:   Pin -  *** WARNING: Device Control Pin is UNDEFINED
Sketch Version:   n/a
HomeSpan Version: 1.8.1
Arduino-ESP Ver.: 2.0.14
ESP-IDF Version:  4.4.6
ESP32 Chip:       ESP32-S2 Rev 0 single-core 4MB Flash
ESP32 Board:      esp32
PWM Resources:    8 channels, 4 timers, max 14-bit duty resolution
Sodium Version:   1.0.12-idf  Lib 9.4
MbedTLS Version:  mbed TLS 2.28.4
Sketch Compiled:  Jan 24 2024 14:13:29
Partition:        app0
MAC Address:      70:04:1D:FB:D8:D8

Device Name:      Pixel LEDS

[  3106][W][esp32-hal-timer.c:226] timerAttachInterruptFlag(): EDGE timer interrupt is not supported! Setting to LEVEL.

*** HomeSpan Info ***

➤ Accessory:  AID=1
   ➟ Service AccessoryInformation:  IID=1, UUID="3E"
      ⇨ Characteristic Identify(0):  IID=2, UUID="14", Perms=PW
➤ Accessory:  AID=2
   ➟ Service AccessoryInformation:  IID=1, UUID="3E"
      ⇨ Characteristic Identify(0):  IID=2, UUID="14", Perms=PW
      ⇨ Characteristic Name("Neo RGB"):  IID=3, UUID="23", Perms=PR
   ➟ Service LightBulb:  IID=4, UUID="43"
      ⇨ Characteristic On(1):  IID=5, UUID="25", Perms=PR+PW+EV (nvs)
      ⇨ Characteristic Hue(0):  IID=6, UUID="13", Perms=PR+PW+EV, Range=[0,360] (nvs)
      ⇨ Characteristic Saturation(0):  IID=7, UUID="2F", Perms=PR+PW+EV, Range=[0,100] (nvs)
      ⇨ Characteristic Brightness(5):  IID=8, UUID="8", Perms=PR+PW+EV, Custom-Range=[5,100,1] (nvs)

Configured as Bridge: YES

Database Validation:  Warnings=0, Errors=0

Service                             UUID         AID  IID  Update  Loop  Button  Linked Services
------------------------------  --------  ----------  ---  ------  ----  ------  ---------------
AccessoryInformation                  3E           1    1      NO    NO      NO  -
AccessoryInformation                  3E           2    1      NO    NO      NO  -
LightBulb                             43           2    4     YES    NO      NO  -

*** End Info ***

Chip model: 2, Full revision: 100, cores: 1, revision: 0, SPIRAM: 2097151 bytes
Guru Meditation Error: Core  0 panic'ed ory protection fault).
Write operation at address 0x3f41f000 not permitted (INVALID_MEM_TYPE)

Core  0 register dump:
PC      : 0x40156311  PS      : 0x00060534  A0      : 0x8015667b  A1      : 0x3ffd7d60
A2      : 0x3fd7a808  A3      : 0x401566b8  A4      : 0x3ffd7dc4  A5      : 0x3fd8090c
A6      : 0xfffffffc  A7      : 0x00000001  A8      : 0xbad00bad  A9      : 0x3ffd7d40
A10     : 0x3fd8090c  A11     : 0xffff9f00  A12     : 0x00000001  A13     : 0x3ffd7dc4
A14     : 0x00000000  A15     : 0x00000000  SAR     : 0x0000001f  EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000  LBEG    : 0x00000001  LEND    : 0x3ffd7dc4  LCOUNT  : 0x40027d91

Backtrace: 0x4015630e:0x3ffd7d60 0x40156678:0x3ffd7d80 0x40156711:0x3ffd7da0 0x4009b846:0x3ffd7dc0 0x4008e089:0x3ffd7e0400900aa:0x3ffd80b0 0x40090886:0x3ffd8180 0x400843de:0x3ffd81a0 0x4009b4f4:0x3ffd81c0

  #0  0x4015630e:0x3ffd7d60 in tlsf_walk_pool at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/heasf.c:641
  #1  0x40156678:0x3ffd7d80 in multi_heap_get_info_impl at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/componentap/multi_heap.c:400
  #2  0x40156711:0x3ffd7da0 in multi_heap_get_info at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/healti_heap_poisoning.c:371
  #3  0x4009b846:0x3ffd7dc0 in heap_caps_get_info at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heapp_caps.c:556
  #4  0x4008e089:0x3ffd7e00 in Span::processSerialCommand(char const*) at lib/HomeSpan/src/HomeSpan.cpp:830
  #5  0x400900aa:0x3ffd80b0 in Span::pollTask() at lib/HomeSpan/src/HomeSpan.cpp:186
  #6  0x40090886:0x3ffd8180 in Span::poll() at lib/HomeSpan/src/HomeSpan.cpp:173
  #7  0x400843de:0x3ffd81a0 in loop() at src/main.cpp:243
  #8  0x4009b4f4:0x3ffd81c0 in loopTask(void*) at C:/Users/<user>/.platformio/packages/framework-arduinoespressif32/cores32/main.cpp:50

Can you post a copy of the minimal sketch that causes the crash when dscKeybusInterface is added to HomeSpan.  I have an ESP32-S2 with 2MB PSRAM from Adafruit.  I'd like to see if I can reproduce the issue (though I will be using the Arduino IDE).

I just checked out the dscKeybusInterface library and it turns out (A) it's available via the library manager from within the Arduino IDE, and (B) the author has a bunch of examples, including a completed implementation WITH HomeSpan (I recall the author had emailed some questions about HomeSpan in the past).
I compiled and ran this on an ESP32-S2 both with and without PSRAM (2MB) and it seems to work fine (I did not try to pair to HomeKit, but everything seems like it is working).  Typing 'm' into the Serial Monitor produces the following:
            Allocated      Free   Largest       Low
            --------- --------- --------- ---------
Total Heap:     46012   2230711   2064372   2228875
  Internal:     31364    156384    131060    154596
     PSRAM:     14648   2074327   2064372   2074279

Lowest stack level: 6152 bytes (loopTask)
NVS Flash Partition: 36 of 504 records used

One thing I noticed in your output is that you seem to be using a slightly earlier version of 1.8.1-dev where I was trying to determine how much executable memory exists when typing the 'm' command.  I no longer am doing that (as you can see above) since malloc generally does not use this memory.  Also, the ESP32-S2 and C3 work a little differently with regard to IRAM.  On the off-chance that this somehow is causing the issue, you may want to try updating to the latest 1.8.1-dev.
Also, I did need to change the pins.  I am using:
#define dscClockPin 5  // 4,13,16-39
#define dscReadPin  6  // 4,13,16-39
#define dscPC16Pin  9  // DSC Classic Series only, 4,13,16-39
#define dscWritePin 10  // 4,13,16-33

the author has a bunch of examples, including a completed implementation WITH HomeSpan

Now that you mentioned it, I had completely forgotten about this example. This is where my endeavor started leading me to HomeSpan.
I gave this sample a try, unmodified (but PINs) using HomeSpan 1.8.0 as installed by Arduino 2.1.1 IDE. It also crashes.

What pins are you using?

Last run I tried was with
//dscKeybusInterface dsc(26, 8, 21);
dscKeybusInterface dsc(26, 39, 21);

Should I start worrying about some kind of counterfeit board?

On the Freenove board, I use PINs 18, 19 and 21 successfully, as well as 26, 10 and 21 for clock, read, write PIN respectively.
Pinout of that board is at https://makeradvisor.com/wp-content/uploads/2023/02/Freenove-ESP32-Wrover-CAM-pinout.jpg
And on the esp32s2, I want to reserve pin 18 for the build-in NeoPixel status for HomeSpan.

If that can shed some lights, the reference manual states that the offending address, 0x3F41F000 is the first of two 64-bit Timer.
??

Stangeness continues. Printing memory details before and after dsc.begin() works fine.
Then manually calling homeSpan.processSerialCommand("m") now also succeeds, but fails a bit later on with this different stack trace:
assert failed: insert_free_block heap_tlsf.c:233 (current && "free list cannot have a null entry")

Backtrace: 0x40027b26:0x3ffd7c40 0x4002d939:0x3ffd7c60 0x40032a69:0x3ffd7c80 0x40031b91:0x3ffd7db0 0x4003255c:0x3ffd7dd0 0x4003268a:0x3ffd7df0 0x40028079:0x3ffd7e10 0x40032a99:0x3ffd7e30 0x40090967:0x3ffd7e50 0x4008d7d7:0x3ffd7eb0 0x4008decf:0x3ffd7f90 0x40084622:0x3ffd7fb0 0x40096b75:0x3ffd7fd0

  #0  0x40027b26:0x3ffd7c40 in panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:408
  #1  0x4002d939:0x3ffd7c60 in esp_system_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:137
  #2  0x40032a69:0x3ffd7c80 in __assert_func at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/assert.c:85
  #3  0x40031b91:0x3ffd7db0 in block_merge_prev at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/heap_tlsf.c:343
      (inlined by) tlsf_free at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/heap_tlsf.c:966
  #4  0x4003255c:0x3ffd7dd0 in multi_heap_free_impl at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/multi_heap.c:212
  #5  0x4003268a:0x3ffd7df0 in multi_heap_free at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/multi_heap_poisoning.c:266
  #6  0x40028079:0x3ffd7e10 in heap_caps_free at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/heap_caps.c:382
  #7  0x40032a99:0x3ffd7e30 in free at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/heap.c:39
  #8  0x40090967:0x3ffd7e50 in TempBuffer<Controller>::~TempBuffer() at lib/HomeSpan/src/Utils.h:81
      (inlined by) HAPClient::init() at lib/HomeSpan/src/HAP.cpp:82
  #9  0x4008d7d7:0x3ffd7eb0 in Span::pollTask() at lib/HomeSpan/src/HomeSpan.cpp:189
  #10 0x4008decf:0x3ffd7f90 in Span::poll() at lib/HomeSpan/src/HomeSpan.cpp:173
  #11 0x40084622:0x3ffd7fb0 in loop() at src/main.cpp:283
  #12 0x40096b75:0x3ffd7fd0 in loopTask(void*) at C:/Users/<user>/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:50

Something is definitely wrong with esp32s2 heap implementation. By changing HomeSpan's TempBuffer to use
buf=(bufType *)malloc(nElements*sizeof(bufType));

instead of
buf=(bufType *)HS_MALLOC(nElements*sizeof(bufType));

the Pixel example crashed later on with wifi with this:
Accessory configuration number: 15

Pixel LEDS is READY!

Trying to connect to <network name>.  Waiting 1 sec...
Guru Meditation Error: Core  0 panic'ed (LoadProhibited). Exception was unhandled.

Core  0 register dump:
PC      : 0x40031b5f  PS      : 0x00060d30  A0      : 0x80031e7c  A1      : 0x3ffdddb0
A2      : 0xffffffff  A3      : 0xfffffffc  A4      : 0x3ffcf58f  A5      : 0x3ffcf9e8
A6      : 0xffffffff  A7      : 0xffffffff  A8      : 0xffffffff  A9      : 0x3ffddee0
A10     : 0x00000088  A11     : 0x00000000  A12     : 0x3ffcf95c  A13     : 0x3fd89734
A14     : 0x00000021  A15     : 0x00000003  SAR     : 0x00000013  EXCCAUSE: 0x0000001c
EXCVADDR: 0x0000000f  LBEG    : 0x3ffcf95c  LEND    : 0x3fd89734  LCOUNT  : 0x400290ac

Backtrace: 0x40031b5c:0x3ffdddb0 0x40031e79:0x3ffdddd0 0x400325b1:0x3ffdddf0 0x400326e0:0x3ffdde10 0x40027ebf:0x3ffdde30 0x40027ffd:0x3ffdde60 0x40027c9e:0x3ffddec0 0x40027cb1:0x3ffddee0 0x401028a6:0x3ffddf00 0x400fde87:0x3ffddf20 0x400eea1e:0x3ffddf40 0x400eeacd:0x3ffddf60 0x400ed24e:0x3ffddf80 0x4014c2f5:0x3ffddfa0

  #0  0x40031b5c:0x3ffdddb0 in tlsf_block_size_max at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/heap_tlsf.c:715
  #1  0x40031e79:0x3ffdddd0 in adjust_request_size at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/heap_tlsf.c:125
      (inlined by) tlsf_malloc at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/heap_tlsf.c:848
  #2  0x400325b1:0x3ffdddf0 in multi_heap_malloc_impl at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/multi_heap.c:187
  #3  0x400326e0:0x3ffdde10 in multi_heap_malloc at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/multi_heap_poisoning.c:234
      (inlined by) multi_heap_malloc at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/multi_heap_poisoning.c:223
  #4  0x40027ebf:0x3ffdde30 in heap_caps_malloc_base at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/heap_caps.c:175
      (inlined by) heap_caps_malloc_base at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/heap_caps.c:120
  #5  0x40027ffd:0x3ffdde60 in heap_caps_calloc_base at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/heap_caps.c:487
      (inlined by) heap_caps_calloc_prefer at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/heap_caps.c:336
  #6  0x40027c9e:0x3ffddec0 in wifi_calloc at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_wifi/esp32s2/esp_adapter.c:86
  #7  0x40027cb1:0x3ffddee0 in wifi_zalloc_wrapper at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_wifi/esp32s2/esp_adapter.c:94
  #8  0x401028a6:0x3ffddf00 in trc_init at ??:?
  #9  0x400fde87:0x3ffddf20 in ic_init at ??:?
  #10 0x400eea1e:0x3ffddf40 in wifi_lmac_init at ??:?
  #11 0x400eeacd:0x3ffddf60 in wifi_init_process at ??:?
  #12 0x400ed24e:0x3ffddf80 in ieee80211_ioctl_process at ??:?
  #13 0x4014c2f5:0x3ffddfa0 in ppTask at ??:?

I just double-checked the technical specs for the board you have.  You definitely cannot use IO26.  It is reserved for the PSRAM (it's the SPICS1 pin).  This is clearly labeled on the diagram for the ESP32-S2-Saola board (there is even a warning note next to IO26) but for some reason on the equivalent diagram for the ESP32-S2-DevKitM (your board), it shows GPIO26 as being free.  Perhaps that's because it is only used if you have PSRAM, and not all DevKitM do (whereas all the Saola boards have PSRAM).  In any case, see what happens if you don't use GPIO pin 26 for DCS.

I think you nailed it! So far so good. Pixel example (with DSC library loaded) worked fine. My project loaded fine as well.
I guess that shows the importance of having good & up-to-date documentation!
I ended up using PINs 7, 39 and 21 for clock, read, write. I can't thank you enough!
I need to do some cleanup, as I ended up creating different copies of my project & modified homeSpan source to test with Arduino IDE native, VSCode (without PIO), VSCode (with PIO), etc. I just need to confirm that a clean setup using up-to-date 1.8.1-dev branch is still stable before closing that issue.. as user-error...

Really glad this might have solved the issue.  Strange that the ESP32-S2-Mini doc did not show this pin as used for PSRAM.

I've messed around enough with the new PINs for a while, nothing unusual happening. ok to close.


Unable to use vanilla-extract in a monorepo setup

Describe the bug
Hello, I'm trying to move the current project to a monorepo setup, but after creating the workspaces and I importing the functions from there I got the bellow errors.
Reproduction
https://github.com/cojoclaudiu/vite-vanilla-extract-monorepo
System Info
System:
    OS: macOS 13.2.1
    CPU: (8) arm64 Apple M1
    Memory: 75.98 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.15.0 - /usr/local/bin/node
    Yarn: 1.22.19 - ~/.yarn/bin/yarn
    npm: 8.10.0 - /usr/local/bin/npm
  Browsers:
    Chrome: 113.0.5672.126
    Firefox: 113.0.1
    Safari: 16.3
  npmPackages:
    @vanilla-extract/css: ^1.11.1 => 1.11.1
    @vanilla-extract/vite-plugin: ^3.8.2 => 3.8.2
    vite: ^4.3.9 => 4.3.9

Used Package Manager
yarn
Logs
No loader is configured for ".svg" files: src/icons/svg/vite.svg

    src/icons/svg/index.ts:1:53:
      1 │ import viteIcon, { ReactComponent as ViteIcon } from "./vite.svg";
        ╵                                                      ~~~~~~~~~~~~

Build failed with 1 error:
src/icons/svg/index.ts:1:53: ERROR: No loader is configured for ".svg" files: src/icons/svg/vite.svg
18:17:06 [vite] Internal server error: Build failed with 1 error:
src/icons/svg/index.ts:1:53: ERROR: No loader is configured for ".svg" files: src/icons/svg/vite.svg
  Plugin: vanilla-extract
  File: /Users/claudiu.cojocaru/Development/vite-svg-monorepo/src/styles.css.ts
      at failureErrorWithLog (/Users/claudiu.cojocaru/Development/vite-svg-monorepo/node_modules/@vanilla-extract/integration/node_modules/esbuild/lib/main.js:1636:15)
      at /Users/claudiu.cojocaru/Development/vite-svg-monorepo/node_modules/@vanilla-extract/integration/node_modules/esbuild/lib/main.js:1048:25
      at runOnEndCallbacks (/Users/claudiu.cojocaru/Development/vite-svg-monorepo/node_modules/@vanilla-extract/integration/node_modules/esbuild/lib/main.js:1471:45)
      at buildResponseToResult (/Users/claudiu.cojocaru/Development/vite-svg-monorepo/node_modules/@vanilla-extract/integration/node_modules/esbuild/lib/main.js:1046:7)
      at /Users/claudiu.cojocaru/Development/vite-svg-monorepo/node_modules/@vanilla-extract/integration/node_modules/esbuild/lib/main.js:1075:16
      at responseCallbacks.<computed> (/Users/claudiu.cojocaru/Development/vite-svg-monorepo/node_modules/@vanilla-extract/integration/node_modules/esbuild/lib/main.js:697:9)
      at handleIncomingPacket (/Users/claudiu.cojocaru/Development/vite-svg-monorepo/node_modules/@vanilla-extract/integration/node_modules/esbuild/lib/main.js:752:9)
      at Socket.readFromStdout (/Users/claudiu.cojocaru/Development/vite-svg-monorepo/node_modules/@vanilla-extract/integration/node_modules/esbuild/lib/main.js:673:7)
      at Socket.emit (node:events:527:28)
      at addChunk (node:internal/streams/readable:315:12)
      at readableAddChunk (node:internal/streams/readable:289:9)
      at Socket.Readable.push (node:internal/streams/readable:228:10)
      at Pipe.onStreamRead (node:internal/stream_base_commons:190:23)

Validations

[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

VE uses esbuild internally to compile .css.ts files. Even though you're not importing an svg directly in your .css.ts file, @mono/utils still reference the getIcon function, so I think that module is still loaded, and then eventually the svg is loaded, but esbuild doesn't know how to load it.
The vite plugin supports an esbuildOptions config that allows you to configure a subset of esbuild options, including plugins. I got your code working by doing the following:

Run yarn -W add esbuild-plugin-svgr
Run yarn -W add vite-plugin-svgr and replace @svgr/rollup
Update vite config:

import { defineConfig } from "vite";
import react from "@vitejs/plugin-react";
import { vanillaExtractPlugin } from "@vanilla-extract/vite-plugin";
import svgr from "vite-plugin-svgr";
import esbuildSvgr from "esbuild-plugin-svgr";

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [
    react(),
    svgr(),
    vanillaExtractPlugin({ esbuildOptions: { plugins: [esbuildSvgr()] } }),
  ],
});


[BUG]

Describe the bug
When running Patch script from Tools menu - Unknown Source Error
To Reproduce
Steps to reproduce the behavior:

Go to mibstd2_toobox/tools
Do (run) Patch tsd.mibstd2.system.swap and generate EL
I get Thread has started then at java.lang.Thread.start(Unknown Source)

Expected behavior
Patch should run and confirm success
Screenshots

Firmware(please complete the following information):

Brand: [e.g. VW]
Hardware-type [e.g. MIB2High]
Version [e.g. 1367]

Additional context
Add any other context about the problem here.

You're in the wrong repo. This is for MHI... you have an MST... and to speed things up... you have Gem3.5. need update. Read the Readme

Please could you send me the link to the correct repo


Added changelog for #158

FYI @panki3a

Codecov Report

Merging #159 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #159   +/-   ##
=========================================
  Coverage     76.33%   76.33%
  Complexity        1        1
=========================================
  Files            26       26
  Lines          1475     1475
=========================================
  Hits           1126     1126
  Misses          349      349

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 ba6f626...5f693a2. Read the comment docs.


type must be either an array or a string.

Hello there, I have integrated this component in my app.
I have encountered this issue when I define a custom remote method.
AssertionError [ERR_ASSERTION]: type must be either an array or a string.
    at TypeRegistry.getConverter (/home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/strong-remoting/lib/type-registry.js:83:3)
    at HttpContext.buildArgs (/home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/strong-remoting/lib/http-context.js:126:42)
    at new HttpContext (/home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/strong-remoting/lib/http-context.js:59:20)
    at restStaticMethodHandler (/home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/strong-remoting/lib/rest-adapter.js:485:15)
    at Layer.handle [as handle_request] (/home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/express/lib/router/layer.js:95:5)
    at next (/home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/express/lib/router/route.js:112:3)
    at Layer.handle [as handle_request] (/home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/express/lib/router/layer.js:95:5)
    at /home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/express/lib/router/index.js:281:22
    at Function.process_params (/home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/express/lib/router/index.js:335:12)
    at next (/home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/express/lib/router/index.js:275:10)
    at Function.handle (/home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/express/lib/router/index.js:174:3)
    at router (/home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/express/lib/router/index.js:47:12)
    at Layer.handle [as handle_request] (/home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/express/lib/router/index.js:317:13)
    at /home/taimurali/blue-east-projects/mevris-cloud-2/node_modules/express/lib/router/index.js:284:7

When I debug the issue, i find out that loopback-component-remote-ctx is injecting a context instance to the accept array of remoteMethod with type Object which is causing the assertion to fail. I dont want the remoteCTX instance inside my remote method but i want the remote context in afterSave hook.
I cant add my remote method inside the blacklist array (property of options in loopback-component-remote-ctx) as its going to save anonymous inside my Audit model.
Please Help me with this.

Did you ever get a solution to this?


Use zarr v3 dimension_names

[x] Closes #9668
[x] Tests added
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
~New functions/methods are listed in api.rst~

Question: do we want to handle the case where V3 data have _ARRAY_DIMENSIONS attrs set?

Hopefully such Zarr v3 files do not exist! I am OK skipping this

Looks good, thanks Ryan!
At some point, it would also probably be a good idea to update our Zarr encoding docs: https://docs.xarray.dev/en/stable/internals/zarr-encoding-spec.html

Are the upstream errors expected / allowed for now?

Actually this error
AttributeError: 'ArrayV2Metadata' object has no attribute 'dimension_names'
does seem like its relevant to this PR

Yes thanks for flagging. I'm blaming @shoyer's suggestion in fc3d4c3280f7190719f8e0baf703b783715bcb3b, which broke compatibility with V2 metadata. 😛 Will push a fix later tonight.

This looks good now - the only remaining upstream failures are groupby-related. Merge?


corrected misleading links

Issue no.

Brief description

Screenshots or videos (if appropriate)
Important points to keep in mind before raising PR
Make sure the branch has no conflicts with main
Resolve issues only within the issue you are assigned
Only assignees can PR

Can you please assign a label hacktoberfest to the pull request?

It's approved thank you 😊


minor issue

i saw some code mistake in the tensorflow blog of nsl. how can i correct it?

Thanks @sezan92 . Could you provide more information on what the mistake is? I don't think you'd be able to edit the blog yourself.

here, https://medium.com/tensorflow/introducing-neural-structured-learning-in-tensorflow-5a802efd7afd
adv_model = nsl.keras.AdversarialRegularization(model, adv_config)

This line is mistake. i checked the source code. the adv_config should be third argument. second argument is a dict.

Thanks @sezan92 for reporting the issue. The adv_config is intended to be a keyword argument, so that line should be
adv_model = nsl.keras.AdversarialRegularization(model, adv_config=adv_config)

We will update the blog post soon.

The blog post has been updated.


Test that the readme renders in CI.

Resolves #4030.

Codecov Report

Merging #4033 into master will decrease coverage by 0.2%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4033      +/-   ##
==========================================
- Coverage   89.74%   89.53%   -0.21%
==========================================
  Files          15       15
  Lines        1940     1940
==========================================
- Hits         1741     1737       -4
- Misses        199      203       +4

Impacted Files
Coverage Δ

...es/urllib3/packages/ssl_match_hostname/__init__.py
83.33% <0%> (-10%)
:arrow_down:

requests/sessions.py
93.59% <0%> (-0.36%)
: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 0280a18...1553770. Read the comment docs.

Merge this when everything else is ✔


Refactor and updates (Italian notation, support for flat chords, suppport for textScaleFactor, support for metadata)

First of all, thanks for your work. I made some refactor: the code didn't seem to be very readble.
I created a new class for the transposer and added the italian notation.
I added textScaleFactor and scrollPhysics in the renderer.
I added the support for various metadata like chorus, capo, key, artist. Details are in the code. I needed these changings in my code so I've added them but if you have any doubts let me know :)

Hey, @SamuMazzi thank you so much for this. I will review this PR shortly. Sorry for being late.

Did it!
I didn't find where to put trailing commas, I hope it's not a problem...

Did it!

Thank you so much @SamuMazzi


Upgrade Istio to 1.12.6

As a forward progress to keep up to date with more recent versions, we need to upgrade Istio to 1.12.6

Making this a blocker, since this needs to be completed in order to move forward to Istio 1.13, which has k8s 1.23 support.

On rancher/rancher:v2.6.5-rc1
Create a downstream cluster with 3worker, 1etcd, 1 cp
Tested Istio charts for version 100.2.0+up1.12.6, Kiali - v1.44.0, and Jaeger - v1.32.0.
Tested following scenarios. all the tested scenarios passed the checks.

Fresh install checks
Upgrade test case from istio 1.11.7 —> 1.12.6
Upgrade with custom overlay
Kiali
Jaeger traces
Reinstall with Kiali and Jaeger enabled
Fresh install with modified ingress gateway
Reinstall
Istio pointing to externally-installed Prometheus
Multiple ingress
Egressgateway

Istio 1.12.6, Kiali 1.44 and Jaeger 1.32 are working fine for all the tested scenarios. Hence, closing the issue.

Sorry for reopening, but I forgot to mention one issue with the istio checks.
Istio uninstall and re-installation doesn't pass as expected. Because, the istio mutatingwebhookconfiguration do not get deleted in uninstall process. However, if we delete the istio mutatingwebhookconfiguration manually, all the tests passed.

On rancher/rancher:v2.6.5-rc1
Create a downstream cluster with 3worker, 1etcd, 1 cp
Tested Istio charts for version 100.2.0+up1.12.6, Kiali - v1.44.0, and Jaeger - v1.32.0.
Tested following scenarios. all the tested scenarios passed the checks.

Fresh install checks
Upgrade test case from istio 1.11.7 —> 1.12.6
Upgrade with custom overlay
Kiali
Jaeger traces
Reinstall with Kiali and Jaeger enabled
Fresh install with modified ingress gateway
Reinstall
Istio pointing to externally-installed Prometheus
Multiple ingress
Egressgateway

Istio 1.12.6, Kiali and Jaeger are working fine for all the tested scenarios. Hence, closing the issue.


Example mentions wrong command name

Command used in example 1 has a typo 'Get-PnPHubChildSite' instead of 'Get-PnPHubSiteChild'
Notice 'Child' at the end of the noun.
correct command: Get-PnPHubSiteChild

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

ID: 4ec75a87-ea5a-c9c6-b15f-facb7c816760
Version Independent ID: 002d95a1-c08e-9208-426f-9ca908079be1
Content: Get-PnPHubSiteChild (sharepoint-pnp)
Content Source: sharepoint/sharepoint-ps/sharepoint-pnp/Get-PnPHubSiteChild.md
GitHub Login: @techwriter40
Microsoft Alias: kirks

@JohnBontjer - thank you for taking the time to submit an issue with this one.
The PnP cmdlet references are a little different than the rest of the Office cmdlet references. The PnP 'source' for the reference actually lives in the cmdlet code itself and each release the PnP maintainers generate the references from code and then copy the markdown over to this location so it is rendered alongside the rest of the Office cmdlet references.
I believe the source file for this particular cmdlet is located here: https://github.com/SharePoint/PnP-PowerShell/blob/master/Commands/Admin/GetHubSiteChild.cs
The repo is community driven and maintained and I know they would very much appreciate your contribution. If you are open to it I can guide you on how to submit the Pull Request (PR) there to get the fix in the code. In a nutshell, you click on the Edit button for the source cmdlet and then make the edit and then at the bottom of the screen look for buttons to submit a PR. If you get stuck I can help too.


Configure issue templates

Research the resources that Github has put on issues in order to understand what is available.
Create an issue template for

[x] new features
[x] enhancements
[x] bugs

Each of these should be independent and should hold a comprehensive but not overwhelming template of information.
Information like the package version, operating system, problem description etc...

Done!


[Gamepad] Remove default gamepad axis deadzone on MacOS/GLFW

Please, before submitting a new issue verify and check:

[x] I tested it on latest raylib version from master branch
[x] I checked there is no similar issue already reported
[x] I checked the documentation on the wiki
[x] My code has no errors or misuse of raylib

Issue description

Edit: The following sentence isn't relevant as it was misdiagnosed: Raylib expects a compile time constant to set the deadzone

Raylib does not appear to have an API to set the deadzone of a controller, yet it exists and is defaulted on the GLFW backend on MacOS.
This should be up to the user in game as

Gamepads with HALL-effect sensors may have zero drift, and users will be hamstrung by arbitrary drift. This may be needed for FPSs and simulator games requiring precision control.
Users with older potentiometer controllers may have larger drift amounts that need to be manually set.

In order to accommodate this an API is required for setting the dead-zone independently for each controller axis, of each gamepad.
In addition hard coding this requires recompilation of the library if used by JS, Python or other scripting wrapper (I'm using Vybe), preventing the wrapper from hosting "it just works out the box" compiled version of Raylib in their library.
Solutions in ascending order of difficulty:

A stepping stone solution would simply be to default it 0.0 which would allow all games to handle this in game code. Solves for wrappers.
An API that allows settings a single setting across all controller axis in game.
An API that allows setting for each hardware axis independently for each controller (this properly models reality of user's controllers).

No expectations, just posting to start a discussion. Thanks for the library :-)
Environment
Platform backend: DESKTOP (GLFW) on MacOS
Issue Screenshot
N/A
Code Example
In issue description.

@Peter0x44 Thanks for your response.
Apologies, I'm busy working out how the whole thing is put together.
I didn't realise that Raylib had different backends.
I see that I'm using INFO: Platform backend: DESKTOP (GLFW) on MacOS.
And I'm doing
(vr.c/get-gamepad-axis-movement 0 (raylib/GAMEPAD_AXIS_LEFT_X))

which would be calling the native
GetGamepadAxisMovement(0, GAMEPAD_AXIS_LEFT_X)

I can see the deadzone behaviour anywhere on both the X and Y axis (not just around 0,0). I've just misdiagnosed where exactly the problem stems from. Thank you for your tip re SDL.

If you are using glfw, you are not using the code you linked, and it isn't relevant.

Thanks @Peter0x44. I've updated the issue that the problem exists despite the misdiagnosed code.

@dmg46664 Are you experiencing:
A: drifting on the analog sticks at all times during any movement?
or B: drifting on the analog sticks just when they are resting?
If it's B, then individual deadzones are usually trivial to implement on the client side.

Here's an example:
#include "raylib.h"
int main(void) {
    InitWindow(400, 300, "test");
    SetTargetFPS(60);

    // Set axis deadzones:
    int dz = 0;
    float laxdz = 0.5f;
    float laydz = 0.5f;
    float raxdz = 0.5f;
    float raydz = 0.5f;

    while (!WindowShouldClose()) {

        // Toggle deadzone: [gamepad button A]
        if (IsGamepadButtonPressed(0, GAMEPAD_BUTTON_RIGHT_FACE_DOWN)) { dz = !dz; }

        // Get axis values:
        float lax = GetGamepadAxisMovement(0, GAMEPAD_AXIS_LEFT_X);
        float lay = GetGamepadAxisMovement(0, GAMEPAD_AXIS_LEFT_Y);
        float rax = GetGamepadAxisMovement(0, GAMEPAD_AXIS_RIGHT_X);
        float ray = GetGamepadAxisMovement(0, GAMEPAD_AXIS_RIGHT_Y);

        // Calculate deadzones:
        if (dz) {
            if (lax > -laxdz && lax < laxdz) { lax = 0.0f; }
            if (lay > -laydz && lay < laydz) { lay = 0.0f; }
            if (rax > -raxdz && rax < raxdz) { rax = 0.0f; }
            if (ray > -raydz && ray < raydz) { ray = 0.0f; }
        }

        BeginDrawing();
        ClearBackground(RAYWHITE);

        DrawCircle(100, 80, 50, LIGHTGRAY);
        if (dz) { DrawEllipse(100, 80, 50*laxdz, 50*laydz, BLACK); }
        DrawCircle(100+(int)(lax*50), 80+(int)(lay*50), 5, RED);
        DrawText(TextFormat("LAX %f", lax), 30, 140, 20, BLACK);
        DrawText(TextFormat("LAY %f", lay), 30, 160, 20, BLACK);

        DrawCircle(300, 80, 50, LIGHTGRAY);
        if (dz) { DrawEllipse(300, 80, 50*raxdz, 50*raydz, BLACK); }
        DrawCircle(300+(int)(rax*50), 80+(int)(ray*50), 5, BLUE);
        DrawText(TextFormat("RAX %f", rax), 230, 140, 20, BLACK);
        DrawText(TextFormat("RAY %f", ray), 230, 160, 20, BLACK);

        DrawText("Toggle deadzone:\n[gamepad button A]", 30, 220, 20, BLACK);
        EndDrawing();
    }
    CloseWindow();
    return 0;
}

Do you mean you would like that :arrow_up: baked into the library?

Thanks for the code snippet @asdqwe .
If I comment out the section
// Calculate deadzones:
        /* if (dz) { */
        /*     if (lax > -laxdz && lax < laxdz) { lax = 0.0f; } */
        /*     if (lay > -laydz && lay < laydz) { lay = 0.0f; } */
        /*     if (rax > -raxdz && rax < raxdz) { rax = 0.0f; } */
        /*     if (ray > -raydz && ray < raydz) { ray = 0.0f; } */
        /* } */

There is still a deadzone being applied to the controller input!
No such deadzone exists if I check with https://hardwaretester.com/gamepad
I agree that if I wanted to increase the deadzone, such client code is sufficient and I wouldn't request it being added.

Renamed issue now that I know that a default deadzone wasn't intentional.

@dmg46664 Then I'm afraid this is either an upstream MacOS issue or GLFW issue because raylib isn't changing the gamepad axis inputs at all (as you can see on: rcore_android, rcore_desktop_glfw, rcore_desktop_sdl, rcore_drm, rcore_web).
AFAIK, GLFW doesn't apply any kind of deadzone since the 3.3 release (quote: "GLFW no longer applies any deadzone to the input state received from the XInput API. This was never done for any other platform joystick API so this change makes the behavior more consistent but you will need to apply your own deadzone if desired.").

@dmg46664 What other libraries/stack are you using?

@dmg46664 Yeah, you're right. Never noticed that before. Good catch!

Whoop! 🦸♂  At least I'm not going mad re testing!
Don't mind if you want to default it, but there must be a means of disabling it. Ideally at runtime. This goes back to my original suggestions.
Also it's bad as implemented, because this will affect the whole axis! Not only around the origin, which I think is the way it's usually done in games (could be wrong).

@dmg46664 Agreed. Could you please test if this (https://github.com/asdqwe/raylib-fork/tree/fix-gamepad-deadzone) (diff) solves it for you?

@dmg46664 Uhn, got it, I can move it to CORE so it can be edit it at runtime. However most configurations at the moment expect customizing the defines on the config.h file. So I don't know if that would be approved/merge. Give me a minute to create another branch here.

@asdqwe Great thanks. I think it's better to get this right and deal with objections than get the easy fix through that isn't ideal... because then it becomes unlikely to get a better fix revisited.

Like I said, if it's about the simplest thing, then remove the deadzone entirely (like GLFW does).

@dmg46664 Done. There there are two branches:

https://github.com/asdqwe/raylib-fork/tree/fix-gamepad-deadzone-static fix it with a config.h #define;
https://github.com/asdqwe/raylib-fork/tree/fix-gamepad-deadzone-runtime fix it with a CORE editable at runtime.

Now I have to figure out how to build raylib...

Download the fork-branch, e.g. https://github.com/asdqwe/raylib-fork/tree/fix-gamepad-deadzone-runtime (Code Button > Download ZIP). Then unpack it and compile it:
unzip raylib-fork-fix-gamepad-deadzone-runtime.zip
cd raylib-fork-fix-gamepad-deadzone-runtime/src/
make PLATFORM=PLATFORM_DESKTOP_GLFW

Edit/replace the content of raylib-fork-fix-gamepad-deadzone-runtime/examples/core/core_basic_window.c with this:
#include "raylib.h"
int main(void) {
    InitWindow(400, 300, "test");
    SetTargetFPS(60);

    // Control the deadzone here:
    SetGamepadDeadzone(0.001f);

    while (!WindowShouldClose()) {

        // Get axis values:
        float lax = GetGamepadAxisMovement(0, GAMEPAD_AXIS_LEFT_X);
        float lay = GetGamepadAxisMovement(0, GAMEPAD_AXIS_LEFT_Y);
        float rax = GetGamepadAxisMovement(0, GAMEPAD_AXIS_RIGHT_X);
        float ray = GetGamepadAxisMovement(0, GAMEPAD_AXIS_RIGHT_Y);

        BeginDrawing();
        ClearBackground(RAYWHITE);

        DrawCircle(100, 80, 50, LIGHTGRAY);
        DrawCircle(100+(int)(lax*50), 80+(int)(lay*50), 5, RED);
        DrawText(TextFormat("LAX %f", lax), 30, 140, 20, BLACK);
        DrawText(TextFormat("LAY %f", lay), 30, 160, 20, BLACK);

        DrawCircle(300, 80, 50, LIGHTGRAY);
        DrawCircle(300+(int)(rax*50), 80+(int)(ray*50), 5, BLUE);
        DrawText(TextFormat("RAX %f", rax), 230, 140, 20, BLACK);
        DrawText(TextFormat("RAY %f", ray), 230, 160, 20, BLACK);

        EndDrawing();
    }
    CloseWindow();
    return 0;
}

Then compile it:
cd ../examples/
make PLATFORM=PLATFORM_DESKTOP_GLFW core/core_basic_window

Then run the compiled new binary created inside raylib-fork-fix-gamepad-deadzone-runtime/examples/core/.

@asdqwe The runtime version seems to work perfectly from what I can tell. Tested at 0.00 and other values.
Obviously it's possible to do a whole lot more like calibrate to an actual spot etc etc. However at least now it's entirely possible to do this in client code, and the code is in a better state than when we started.
Much obliged.

@dmg46664 No problem. Glad it worked. I'll send the PR for review. :+1:

@dmg46664 @asdqwe I prefer to remove the deadzone correction from raylib internals and let user manage it on user side. Solving it on user side requires adding a new global and a new function, I prefer to avoid it if it can be managed on user side.

Hi @raysan5 . Pleased to meet you.

Like I said, if it's about the simplest thing, then remove the deadzone entirely (like GLFW does).

I wrote this above which I imagine is in complete accordance with what you mean. 👍

@raysan5 @dmg46664 I've updated #4420 accordingly.

Your efforts @asdqwe have been amazing 👏

@dmg46664 Glad to help. Credits to you for finding and figuring out this issue. :+1:


train1.py: error: the following arguments are required: case

Help!

+1

@Lukeade815  https://github.com/andabi/deep-voice-conversion/issues/28#issuecomment-415993533

@Lukeade815 #28 (comment)
Also I recommend you to use https://github.com/carlfm01/deep-voice-conversion if you are on Windows or using Python 3.+, just change the path for you datasets

python train1.py test
usage: train1.py [-h] [-case CASE] [-ckpt CKPT] [-gpu GPU]
train1.py: error: unrecognized arguments: test

I removed the -h and -ckpt,
Example train1.py [-case CASE] [-gpu GPU]
train1.py -case timit -gpu 0
or comma for more than one GPU
train1.py -case timit -gpu 0,1,2,3

I use https://github.com/carlfm01/deep-voice-conversion
but stuck in training...Is there some file need move?

Hi @oracle9i88 , make sure you are using correct paths used in https://github.com/carlfm01/deep-voice-conversion/blob/master/params.py,
data_path = 'Data/Train/.wav' for the net1, all the wavs and phonemes here.
for test the net1 data_path = 'Data/Test/.wav'
data_path = 'Data/Train/Target/*.wav' for the net2, all the wav for the target voice here
On load data in https://github.com/carlfm01/deep-voice-conversion/blob/master/data_load.py
You can print the wav_files to know if the files are being loaded.

thanks, you are so nice

Hi @carlfm01 Could you provide a trained model for TIMIT data since the data is not free and it takes while to train?

Hi @carlfm01 Could you provide a trained model for TIMIT data since the data is not free and it takes while to train?

Hi, sorry it was a long time ago, I couldn't find the trained model.

@carlfm01 Hello
I found error when run your code
FileNotFoundError: [Errno 2] No such file or directory: '/Users/Desktop/deep-voice-conversion-master/voice-conversion-master/datasets/arctic/bdl\arctic_b0122.PHN
Please help me

Which network are you training? You should use TIMIT for net1, and that path is for the net2 artic bdl target voice. You issue here is just a missing file from TIMIT

I used net 1, i can’t see .PHN file in datasets?

@carlfm01 I want clone Donal Trump voice! it's possible? Do you have skype ?

skype

u need Trump's voice dataset to train net2

If I'm on mac then what should I be using?


Provide access to AnnData.obs fields. Close #254

This is not the best way to do this, but it does provide access to the underlying AnnData.obs fields.

Codecov Report

Merging #255 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #255      +/-   ##
==========================================
+ Coverage   91.15%   91.15%   +<.01%
==========================================
  Files          30       30
  Lines        2306     2307       +1
==========================================
+ Hits         2102     2103       +1
  Misses        204      204

Impacted Files
Coverage Δ

scvi/dataset/anndata.py
100% <100%> (ø)
: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 2357dde...3f49d68. Read the comment docs.


ckmulticast and any time migration

Original author: Yanhua Sun
Original issue: https://charm.cs.illinois.edu/redmine/issues/120

When we are working on intra-node any time migration, we found leanmd hangs because some multicast reduction msg is not received.
I created a simple example to test it.
To reproduce it, check out branch intra-node-balancing. (build charm smp)
example is here: charmgit:benchmarks/intra-node-balance  multicast_reduction
./charmrun +p4 ./multicast +ppn 4

Original date: 2014-01-08 00:38:18

The test charm++/delegation/multicast fails under randomized queueing (#259) because ckmulticast can't support anytime migration or reduction-before-broadcast. If it goes away (#324) then this is irrelevant.

Original date: 2014-01-08 00:41:27

On Wed, Mar 13, 2013 at 4:09 PM, Yanhua Sun <sun51`illinois.edu> wrote:

I have a simple multicast example to test whether multicast works with any
time migration.
I run it in SMP with 1 process 2 threads.
It hangs with migration.
I am wondering whether any one knows what happens for multicast with any
time migration.

On Thu, Mar 14, 2013 at 1:37 PM, Sun, Yanhua <sun51`illinois.edu> wrote:

After more debugging, I found multicast (without reduction) works with any
time migration.
Multicast +single reduction works.  However, if I have three reductions for
the same multicast manager,
it either hangs or crashes, with following errors:
[0] Assertion "entry->rootSid.get_pe() != CkMyPe() ||
entry->rootSid.get_val() != entry" failed in file ckmulticast.C line 1274.
also here
[0] Assertion "info.type==1" failed in file
../../../../bin/../include/cksection.h line 115.

On Thu, Mar 14, 2013 at 8:37 PM, Gengbin Zheng <gzheng`illinois.edu> wrote:

One thing to note is that cksection reduction can not be invoked consecutively.
One reduction must followed by a multicast. This might by a flaw in my
implementation due to support for any time migration. Somehow the
sectionID held by the users need to be refreshed by the new
information due to a new multicast tree is re-constructed.

Original date: 2015-02-09 20:01:58

This "bug" may just be limitation of CkMulticast: Gengbin "cksection reduction can not be invoked consecutively",

Original date: 2015-10-26 19:51:36

The bug in delegation/multicast (#259) can be reproduced even without consecutive invocations of contribute.  The bug is tied into anytime migration.  If you contribute and then migrate, you can tickle that bug.


this.directiveRef.update() not working!

pls help me for working directiveRef.update method

getting same error! but no response from contributors for this issue.

if put slider code in *ngIf. and after https call i call update function this.directiveRef.update(). but this.directiveref is undefined


Issues/94

Added EDL token usage.

Token lasts 2 months
don't delete tokens, keep them for re-use (assume we didn't create it).

previous failed runs (token regress) were due to running them as non-regression tests which did not have the netrc file available.

i see now that i made a huge mistake, i did these changes on branch 94 (which was a previous commit) when i wanted them on 98...

Closing in favor of #107 where these changes should have lived.


The Jenkins job should be able to run without GitHub SSH credentials.

When there is no update necessary for github.com (no db action 'db-generate-ddl-full',  no apex action 'apex-export'), the SCM url may be http://github.com/paulissoft/oracle-tools.git and not git@github.com:paulissoft/oracle-tools.git. Then SCM credentials can be empty.

A complete code refactoring of process.groovy was needed to make it more easy to understand and maintainable.


Replace 'ip' module

Remove external dependency on ip module since uhppoted-nodejs only uses the IPv4 encoding/decoding functionality.

[x] decoder.js
[x] encoder.js
[x] driver.js
[x] integration tests

Replaced ip.js functions with local equivalents, removed ip.js from dependencies and updated documentation


Mesh.facets_around() not working after refinement

I was working on the mesh refinement, trying to understand how can boundaries be kept, and came across the issue of the mesh.facets_around() not working properly after a refinement.
from collections import OrderedDict

import matplotlib.pyplot as plt
import numpy as np
import shapely
import shapely.affinity
from skfem import Basis, ElementTriP0, adaptive_theta
from skfem.io.meshio import from_meshio

from femwell.maxwell.waveguide import compute_modes, eval_error_estimator
from femwell.mesh import mesh_from_OrderedDict

polygons_paper = OrderedDict(
   left=shapely.LineString(((0, 0), (0, 1))),
   right=shapely.LineString(((1, 0), (1, 1))),
   top=shapely.LineString(((0, 1), (1, 1))),
   square=shapely.box(0.6, 0.6, 0.8, 0.8),
   core=shapely.box(0, 0, 0.5, 0.5),
   clad=shapely.box(0, 0, 1, 1),
)

boundaries = [
   [lambda x: x[0] == np.min(x[0]), lambda x: x[0] == np.max(x[0])],
   [lambda x: x[0] == np.min(x[0]), lambda x: x[0] == np.max(x[0])],
   [lambda x: x[0] == np.min(x[0]), lambda x: x[1] == np.max(x[1])],
   [lambda x: x[0] == np.min(x[0]), lambda x: x[1] == np.max(x[1])],
]

epsilons_paper = [
   {"core": 2.25, "clad": 1, 'square': 1},
   {"core": 8, "clad": 1, 'square': 1},
   {"core": 1, "clad": 2.25, 'square': 1},
   {"core": 1, "clad": 8, 'square': 1},
]

neff_values_paper = [1.27627404, 2.65679692, 1.387926425, 2.761465320]
num = 3

mesh = from_meshio(
   mesh_from_OrderedDict(polygons_paper, {}, default_resolution_max=0.1, filename="mesh.msh")
)

basis0 = Basis(mesh, ElementTriP0())
epsilon = basis0.zeros()
for subdomain, e in epsilons_paper[num].items():
   epsilon[basis0.get_dofs(elements=subdomain)] = e

modes = compute_modes(
   basis0, epsilon, wavelength=1.5, num_modes=1, order=1, metallic_boundaries=boundaries[num]
)

check_boundary(mesh)
# print(mesh.)
mesh = refined(adaptive_theta(eval_error_estimator(modes[0].basis, modes[0].E), theta=0.5))
check_boundary(mesh)

Before refinement:

After refinement:

Anyhow, don’t expect this to be fixed any time soon. It is a somewhat challenging indexing problem to solve in general.

Sorry, the check_boundary is just taking care of the plots. Getting elements coordinates and normal vectors and plotting.

Based on this, all named boundaries should be removed from the mesh during adaptive refine:

The thing is, the named boundaries are not preserved already. What is preserved is the sub domains, but the ordering may be messed up. I don't know

Anyhow, don’t expect this to be fixed any time soon. It is a somewhat challenging indexing problem to solve in general.

Yes, I can only imagine. It would be a great feature though

I don't quite follow what happens in this issue. Can you provide the code of check_mesh?

I don't quite follow what happens in this issue. Can you provide the code of check_mesh?

def check_boundary(mesh):
    plt.figure()
    plt.scatter(*mesh.p, marker = 'o', facecolor = 'None', edgecolor = 'black', s = 15)

    # boundary = mesh.boundaries['square___clad']
    boundary = mesh.facets_around(mesh.subdomains['square'])
    facet_basis = basis0.boundary(boundary)
    facets = mesh.facets[:,boundary]
    colors = plt.cm.jet(np.linspace(0,1,facets.shape[1]))

    for i in range(facets.shape[1]):
        # plt.text(*data[:,i], f'{i}')

        x = [mesh.p[0,facets[0,i]], mesh.p[0,facets[1,i]]]
        y = [mesh.p[1,facets[0,i]], mesh.p[1,facets[1,i]]]

        norm = np.asarray([facet_basis.normals[0,i,0],
                           facet_basis.normals[1,i,0]])

        norm = norm/np.sqrt(np.sum(np.abs(norm)**2)) * 0.1

        plt.arrow(np.mean(x), np.mean(y), dx = norm[0], dy = norm[1], color = colors[i],
                  head_width = 0.03,
                  head_length = 0.01,
                  length_includes_head = True)

        plt.plot(x, y, color = colors[i])
        # plt.text(np.mean(x), np.mean(y), f"{i}")

    plt.scatter(mesh.p[0,facets[0]], mesh.p[1,facets[0]], c = colors, s = 20)
    plt.scatter(mesh.p[0,facets[1]], mesh.p[1,facets[1]], c = colors, s = 20)

I'm unable to reproduce this with my own minimal example, perhaps it was fixed by another issue, or then I misunderstood the issue:
from skfem import *
import numpy as np

m = MeshTri().refined(4).with_subdomains({'test': lambda x: (x[0] < 0.5) * (x[0] > 0.3) * (x[1] < 0.5) * (x[1] > 0.3)})
m = m.with_boundaries({'test': m.facets_around('test')})
m.draw(boundaries=True).show()
m = m.refined(np.arange(200))
m = m.with_boundaries({'test': m.facets_around('test')})
m.draw(boundaries=True).show()

Before refine:

After refine:

The normal vector should be pointing opposite to the red triangle.


Process for changing an app-id?

Hi all,
Not sure where best to ask this but I need to change the app-id of Gnomit from ind.ie.Gnomit to org.small-tech.Gnomit (as we have moved from ind.ie to small-tech.org).
I haven’t been able to find any documentation on this so far.
Is there a suggested process? Things I need to watch out for, etc., or do I just go ahead, rename the repository and update all the app-ids in the app?
Thanks in advance.
PS. Also, is there a preference as to whether the app-ids should be all lowercase or not (I’ve seen both). Is org.small-tech.gnomit preferable?

This repo is about developing the website. Please just open a new MR to flathub/flathub with the new app-id, then you can mark the old one end of life.

Thanks.


FAILURE: Build failed with an exception.

Where:
Build file 'C:\ProgramData\ProjectMalmo\malmo-master\Minecraft\build.gradle' line: 18

What went wrong:
A problem occurred evaluating root project 'Minecraft'.

version.properties file is missing - this is created automatically by CMake. If you are building from source, make sure you have built the full source tree, not just the Minecraft folder.

Please try building using cmake in the Minecraft parent directory and the launching Minecraft by changing directory into the Mincraft directory/folder and running ./launchClient.sh or launchClient.bat (on Windows). It's not possible to run gradle directly without some build initialization.

I have the same problem,  I use the command "pip install malmo" to install malmo, and that was fine.
Next I download the "malmo-master.zip" and unzip it, then I cd Minecraft, use the command "launchClient"
,and get the same error.
Could you tell me the detailed methods, thanks very much.


[Merge Conflict Fix] port 'Use mina toolchain instead of ci-toolchain-base' to develop

This is autogenerated Pull Request for porting #15792 to develop
@dkijania

!ci-build-me

!ci-build-me

!ci-build-me


[TwigComponents] Provide example of how to write a test

Is there an example of how to test a component?
That is, a functional test? Unit test?  I assume it'll be something like inject twig, create a twig snippet, then render?  Or is there a way to invoke the component class directly?
An example with the simple AlertComponent would be helpful.
Thanks.

Did you take a look at https://github.com/symfony/ux/pull/821?

EXACTLY what I was looking for.  Thanks!!


Add a style guide for contributions

It might be useful to provide a style guide for contributions.
This could cover:

info on metadata (how are they used; no blank lines!)
when to use plain links and when to use target=_blank
don't use 'here' for link text
each sentence on a single line
referencing ASF data

I agree (except for the each sentence on a single line bit, that's a hard no :) ), but this dups #231 a bit. I'm thinking a style guide for that issue will solve the problems that you and @ShaneCurcuru are trying to solve. So, I am going to close this issue, and can we move commentary/discussion to #231 please?

Brian, I have no skin in the game on this particular issue, but after a 40 year career in software development, I'd appreciate it if you appreciated the viewpoint of those of us who do code reviews (which of course includes commit reviews) for a living.
Just as an extremely trivial example, let's say I have defined a Javascript object like this:
const example = {
  foo: "bar",
  baz: "bop"
}

Now, let's say I (as a developer) needs to change that to:
const example = {
  foo: "bar",
  baz: "bop",
  something: "else"
}

What does a code reviewer see?    Two line changes means the reviewer has to look at both lines to see if anything else (besides the newly trailing ",") was changed on the first line.
In the particular case of Javascript, I could have said this in the original code:
const example = {
  foo: "bar",
  baz: "bop",
}

Note the extra "," after the second element.  Does it make ANY semantic difference whether that comma was there originally or not?  Nope, because Javascript doesn't care.  Does that matter to a code reviewer?  ABSOLUTELY.  One less thing to have to go back and review, because it would show up as a ONE line change
How does this affect the discussion here?  HTML based environments wrap text when they need to, regardless of the multiple lines (or not) in the original source.

We're not discussing code; we're discussing text/content, which is organized linguistically in a much different way. One sentence per line would make it difficult  to make sure content was organized properly. I have worked on websites that maintained such a  policy and I can tell you from experience it is not easy. even with word wrapping. One missing blank line and now you have two paragraphs jammed together that should not be.
I am struck by this argument of absolutism. Are we not all knowledgeable in the fields we are volunteering in? You said it yourself:
"This may or may not matter as much on edits to website text. I have no particular opinion on that, as I'm not in that world at all. "
If you are talking about code on the site, then of course it's one line per line of code, but one_sentence_ per line implies text to me, not code, and I am answering that request with a "no."  I am in this world, and as maintainer of the site, I don't think it's absolutist at all to say, "I don't think this is a good idea."  Don't project maintainers have the right to not approve new code for their software?
Now, I closed this because it dups #231 I am closing this again and will copy this reply to #231 because that's where the discussion should be. I would think that someone in your world would appreciate the value of issue management.


Ulitize FilePattern library

This addresses https://github.com/ndmitchell/shake/issues/550
FilePattern has been extracted to a library. Its functionality was
useful elsewhere. The library itself is dropping support for "//"
patterns, but they remain available in the FilePattern.Legacy module
so shake can have a slower path away from them.
The current draft of filepattern is here:
https://github.com/eborden/filepattern
This PR will not build until that library has been released on hackage.

The first thing to do is thoroughly review the FilePattern library, which I've started doing, and have pushed a bunch of commits to https://github.com/ndmitchell/filepattern. Some of those will necessarily result in tweaks to this patch, but I'd wait until the FilePattern stuff is done first (I expect to make more tweaks this morning). There are still a few tweaks I want to make, but it looks really good. Two questions:

Should it be Text.FilePattern? or System.FilePattern?
I prefer to avoid "internalTest" things inside the main module, so the options are have a Text.FilePattern.Internal for reexporting just the test-specific bits, try to fudge it on the outside, or just compile the code multiple times - so the test doesn't depend on the source (cleanest, and usually my preference). Do you have any thoughts?

@ndmitchell

Yeah, I wasn't sure what would be best here. It is dependent on env so System might be a better location.
Yup, that makes sense to me.

To update where things are, as I wander through filepattern I'm making some improvements to it, and also taking the change to rethink certain aspects (mostly minor, but things that I don't want to put in stone while wrong). I'm hopefully under a week away from being happy with the filepattern library, and then actually flipping Shake to it shouldn't be too hard.

I've now rewritten a lot of the filepattern library, so the interfaces and semantics are no longer what they were when the library left Shake. Given that the stringy things have changed in ways that will break code, but not at compile time, and that // patterns got deleted entirely, I'm wondering how to make the switch. My inclination is to get filepattern into HLint first, confirm it doesn't do anything super stupid, and then switch in Shake, with a very deliberate 0.1 bump and lots of publicity.

@ndmitchell that sounds like a reasonable plan. Bugs can be sussed out as users discover them in hlint instead of a big bang in shake.

Closing this PR as given the extensive changes in filepattern, I don't think it's going to provide much useful benefit in the migration. The ticket #550 should definitely remain for now, until we're ready to go forward.


(PUP-8068) Lookup bolt executor

Lookup the bolt executor from puppet's context system instead of relying on the
Bolt::Executor.from_uris factory method. The latter did not preserve options set
on the bolt command line, e.g. default user, password, tty, etc. which prevented
plans for working in some situations.

Ping @hlindberg and @pcarlisle. This PR will need to be coordinated with https://github.com/puppetlabs/bolt/pull/117. In order for the script application to work, puppet needs to be able to create an instance of a Bolt::Executor with no arguments and that bolt relaxes its gem dependency on addressable to be ~> 2.4.

CLA signed by all contributors.

I'm surprised to find that this PR doesn't change the file_upload function. Seems to me that would break that function completely. @joshcooper, @hlindberg, has this been tested in with a real Bolt executor present?

Thanks @thallgren looks like file_upload is broken when called from a plan. I'll file a ticket on that.

Thanks @thallgren looks like file_upload is broken when called from a plan. I'll file a ticket on that.

Filed as https://tickets.puppetlabs.com/browse/PUP-8133


Add Perpetual hash implementation (Phash)

Hi,thanks for you great job first.I notice that intervention image does not have phash function yet.Why not make it more cool?

Don't you think this is the job of a Phash library?


Training a different Lidar dataset with uneven vertical resolution/angular subdivisions.

Unlike the KITTI dataset with equally spaced angular subdivisions (approximately 0.4) from the Velodyne HDL-64E laser scanner used, I am using a totally different Lidar point cloud dataset with 64 channels (just like Velodyne) but uneven vertical resolution.

How can I use this network to train on a lidar dataset with an uneven vertical resolution?

How can I change the config files to fix the problem?

thanks in advance

Hi @nanaBaah ,
I guess in this case you need to think about whether an image is actually the right data representation for you.
The place of code you would need to change is the ImageProjection.
In principle the coordinate computation should still work for you: https://github.com/leggedrobotics/DeLORA/blob/909948d63a9517e6dd54bedcf099f6b39ded2cb4/src/utility/projection.py#L21
However, it will also generate non-integer vertical coordinates. Depending on the resolution, you might maybe try to do some interpolation?
Best,
Julian


feat: add on_new_span impl to runtime Logger

Add spans impl to runtime Logger that allows all alltributes to be passed down to shuttle.
Added new span test
Before:

After:

@vroussea high five on first one :)


Add quickstart guide

Adds a quickstart guide to the README, allowing users to quickly test the pathogen-embed tools with data in the repository and also demonstrate in the README the nature of the outputs from each command.
Preview the new guide in this branch's README.

@huddlej This looks great! Do you want me to add anything to the guide, or should I approve the request since I've taken a look at and like the quickstart guide?

@nandsra21 Can you try running through all of the commands in the quickstart with a fresh installation of the tool, just to make sure everything works for you, too?

I'm going to merge this, so we can start referring to it elsewhere.


As a secretary, I can search contacts according to a specific tag

... so it is easier to contact people in a whole group

Implemented


Adding devcontainer definition

This addresses #1095

[x] Added devcontainer feature definition at ext/devcontainer/
[x] Added tests for version
[x] Added GitHub Action to generate the devcontainer feature image
[x] Added GitHub Action to run tests

/reopen

@karolz-ms , @jongio ping

@rajeshkamal5050 / @danieljurek - I believe Daniel was going to take this, but not sure where it falls pri wise

Hi @aaronpowell. Thank you for your interest in helping to improve the Azure Developer CLI experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days.

Still active 😜

ping @danieljurek

@aaronpowell - Can you review this https://github.com/devcontainers/devcontainers.github.io/pull/228/files  and give feedback on that PR and also check here to see if we are following best practices?

@aaronpowell - Can you review this https://github.com/devcontainers/devcontainers.github.io/pull/228/files and give feedback on that PR and also check here to see if we are following best practices?

@jongio There are a few things that the post mentions that we aren't taking into consideration here, at least as far as I know, but they mostly relate to upcoming features of the spec.
Right now, we don't handle non-root installs, and that's something we should be mindful of in the install.sh that is used for installing the CLI on any machine. Supporting non-root could also lay the groundwork for supporting custom install paths, which would be needed for doing multiple installs of a Feature (which is a proposed spec), although it's probably not a particularly common scenario that would be hit by users of this Feature.
Otherwise we can contribute guidance to using Azure Pipelines over GitHub Actions once the port to that is done by @hemarina, and how to use container registries other than GitHub Packages.

@aaronpowell  - Can you do a PR to add our feature here: https://github.com/devcontainers/devcontainers.github.io/blob/gh-pages/_data/collection-index.yml

@aaronpowell - Can you do a PR to add our feature here: https://github.com/devcontainers/devcontainers.github.io/blob/gh-pages/_data/collection-index.yml

Yep, once published I'll get it added to the list of available.

@aaronpowell - One more thing, could you also prep a PR that updates all of our templates to use the azd devcontainer feature instead of installing inside of the Dockerfile?

@aaronpowell - One more thing, could you also prep a PR that updates all of our templates to use the azd devcontainer feature instead of installing inside of the Dockerfile?

Yep, once we know the feature path I can update those.

Chatted with Brigit - to add our Dev Container feature to the Remote Containers extension, we'll want to open a PR on
https://github.com/devcontainers/devcontainers.github.io/blob/gh-pages/_data/collection-index.yml. This will add it to the list of all community features. https://containers.dev/features


Upgrade the deprecated apis for spring cloud azure 6.0

Fixes https://github.com/Azure/azure-sdk-for-java/issues/31330
Upgrade the deprecated APIs of Spring and Azure SDKs.

API change check
API changes are not detected in this pull request.

Hi @saragluna @chenrujun @yiliuTo please help to review this PR, thanks!

Also fixed the issue https://github.com/Azure/azure-sdk-for-java/issues/31716 in Spring Cloud Azure 6.x


Support for MPD Anchors

Hi! I'm trying to play a live stream not from the live edge (now) but from the manifest first segment (ex: start from the beginning of a live concert). I read the specification and such issue can be solved using the MPD Anchors, specifying a t parameter.
I'll tried using the shaka demo player (latest version) and it doesn't seem to be working (it always start form the live edge). Is it supported? Or should I try using the player API instead?
Thanks in advance.

@ivivona Could you provide more information? Is this in your app and you just looking for a way to start from the start of the video regardless of it being live? Or are you trying to prepare content for use in someone else's app and need a way to signal to them that they should start at the start and not the live edge?

@vaage i control both the generation and the player, so any solution is ok, but I think it will be better to let the player know from where to reproduce using the info in the MPD (in this case the url anchor). The use case is: a "watch from the start" button in page A goes to the player in page B with certain manifest URL, the player's page is kind of generic because the the manifest could be a VOD or a live.

@ivivona When you load a manifest (shaka.media.player.load), there is an optional parameter you can set called opt_startTime. If you set that to 0, does it solve your problem? That would be the simplest way to ensure that the player always starts playing the content from the start.

@vaage thanks for the response. I understand that there is a javascript solution, but my question was if shaka implements/supports MPD Anchors as indicated in the DASH specification.

Shaka Player does not support MPD anchors, but we do have other solutions to that problem.  As @vaage pointed out, you can specify a start time when you call load().  For your case (starting a live stream at time zero), that seems like the best solution.
For more complex scenarios, you can configure a payable range.  See #246 for the discussion that led to that feature, and the playRangeStart and playRangeEnd fields of https://shaka-player-demo.appspot.com/docs/api/shakaExtern.html#PlayerConfiguration for the API.
Does that help answer your question?

@ivivona Was @joeyparrish able to answer your question? If so, feel free to close the issue.

Yes, thanks. Anyway, should this be implement in the future?

We don't have any plans to support MPD anchors at this time.  We believe that specifying start times and play ranges is a more general solution that applies across manifest types.