text:
Guru Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0).   (IDFGH-4630)

Hi,
Environment

Module or chip used:  ESP32-WROOM-32E
IDF version: ESP-IDF v4.2-dirty
SPI Speed: 80MHz
SPI Mode: DIO
SPI Flash Size : 8MB
Watchdog config:

UART ISR:

Problem Description
UART1 is connected to a 4G modem at 115200bps, and the communication uses AT commands.
When I use HTTP to download a file (approximately 1MBytes), every 512 bytes after the download is completed, it is stored in the internal flash that in the ESP32-WROOM-32E module. In this case, this Guru Meditation Error happens occasionally.
Please help check the crash log:
Debug Logs
ASSERT_PARAM(-218959118 0), in arch_main.c at line 343
Guru Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0).

Core  0 register dump:
PC      : 0x40083358  PS      : 0x00060e34  A0      : 0x80129d44  A1      : 0x3ffbe260
0x40083358: r_assert_param at ??:?

A2      : 0x00000001  A3      : 0x00000000  A4      : 0x60008048  A5      : 0x00000000
A6      : 0x00000004  A7      : 0x3ffbdbe4  A8      : 0x80083358  A9      : 0x3ffbe240
A10     : 0x00000000  A11     : 0x00000037  A12     : 0x00000014  A13     : 0xffffffff
A14     : 0x00000000  A15     : 0xfffffffc  SAR     : 0x00000004  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x40083290  LEND    : 0x40083297  LCOUNT  : 0x00000000
0x40083290: r_assert_param at ??:?

0x40083297: r_assert_param at ??:?

Core  0 was running in ISR context:
EPC1    : 0x4009692f  EPC2    : 0x4012a16f  EPC3    : 0x00000000  EPC4    : 0x40083358
0x4009692f: uart_hal_write_txfifo at C:/esp/esp-idf-v4.2/components/soc/src/hal/uart_hal_iram.c:35

0x4012a16f: r_rw_schedule at ??:?

0x40083358: r_assert_param at ??:?

Backtrace:0x40083355:0x3ffbe260 0x40129d41:0x3ffbe280 0x40019fb5:0x3ffbe2a0 0x40046683:0x3ffbe2d0 0x40047515:0x3ffbe2f0 0x400864b1:0x3ffbe310 0x40086105:0x3ffbe330 0x400887f2:0x3ffbe350 0x400898e3:0x3ffbe370 0x40082a49:0x3ffbe390
0x4012a16c:0x3ffb5670 0x4012a711:0x3ffb5690 0x40090a99:0x3ffb56c0
0x40083355: r_assert_param at ??:?

0x40129d41: r_platform_reset at ??:?

0x400864b1: r_lld_evt_end at ??:?

0x40086105: r_lld_evt_end_isr at ??:?

0x400887f2: r_rwble_isr at ??:?

0x400898e3: r_rwbtdm_isr_wrapper at intc.c:?

0x40082a49: _xt_lowint1 at C:/esp/esp-idf-v4.2/components/freertos/xtensa/xtensa_vectors.S:1105

0x4012a16c: r_rw_schedule at ??:?

0x4012a711: btdm_controller_task at ??:?

0x40090a99: vPortTaskWrapper at C:/esp/esp-idf-v4.2/components/freertos/xtensa/port.c:143

Core  1 register dump:
PC      : 0x4000bfe2  PS      : 0x00060034  A0      : 0x80090bb6  A1      : 0x3ffbe910
A2      : 0x00060021  A3      : 0x00060023  A4      : 0x00060021  A5      : 0x00060f23
A6      : 0x00000001  A7      : 0x00000000  A8      : 0x3ffc6d74  A9      : 0x00000001
A10     : 0x0000abab  A11     : 0x00000000  A12     : 0x00060f23  A13     : 0x00060f23
A14     : 0x00000001  A15     : 0x00060c23  SAR     : 0x00000000  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000

Backtrace:0x4000bfdf:0x3ffbe910 0x40090bb3:0x3ffbe920 0x400918ab:0x3ffbe940 0x40090b6b:0x3ffbe960 0x40090e01:0x3ffbe980 0x40082a51:0x3ffbe990 0x40166f83:0x3ffbc4d0 0x400d4aa2:0x3ffbc4f0 0x400914b9:0x3ffbc510 0x40090a99:0x3ffbc530
0x40090bb3: xPortInIsrContext at C:/esp/esp-idf-v4.2/components/freertos/xtensa/port.c:351

0x400918ab: xTaskIncrementTick at C:/esp/esp-idf-v4.2/components/freertos/tasks.c:2471

0x40090b6b: xPortSysTickHandler at C:/esp/esp-idf-v4.2/components/freertos/xtensa/port.c:300

0x40090e01: _frxt_timer_int at C:/esp/esp-idf-v4.2/components/freertos/xtensa/portasm.S:328

0x40082a51: _xt_lowint1 at C:/esp/esp-idf-v4.2/components/freertos/xtensa/xtensa_vectors.S:1105

0x40166f83: esp_pm_impl_waiti at C:/esp/esp-idf-v4.2/components/esp32/pm_esp32.c:484

0x400d4aa2: esp_vApplicationIdleHook at C:/esp/esp-idf-v4.2/components/esp_common/src/freertos_hooks.c:63

0x400914b9: prvIdleTask at C:/esp/esp-idf-v4.2/components/freertos/tasks.c:3386 (discriminator 1)

0x40090a99: vPortTaskWrapper at C:/esp/esp-idf-v4.2/components/freertos/xtensa/port.c:143

ELF file SHA256: 1fee18bca5575ed4

Rebooting...

Thanks for reporting and sorry for the inconvenience, we will look into.

Thanks for reporting and sorry for the inconvenience, we will look into.

Hi, we also see this issue also from time to time,
ESP-IDF:          6f3f2e875
ASSERT_PARAM(-218959118 0), in arch_main.c at line 343
Guru Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0).
Core  0 register dump:
PC      : 0x400845bc  PS      : 0x00060634  A0      : 0x80118364  A1      : 0x3ffbe280
A2      : 0x00000001  A3      : 0x00000000  A4      : 0x60008048  A5      : 0x00000000
A6      : 0x00000004  A7      : 0x3ffbdbe4  A8      : 0x800845bc  A9      : 0x3ffbe260
A10     : 0x00000000  A11     : 0x00000037  A12     : 0x00000014  A13     : 0xffffffff
A14     : 0x00000000  A15     : 0xfffffffc  SAR     : 0x00000004  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x400844f4  LEND    : 0x400844fb  LCOUNT  : 0x00000000
Core  0 was running in ISR context:
EPC1    : 0x401ba237  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x400845bc
Backtrace:0x400845b9:0x3ffbe280 0x40118361:0x3ffbe2a0 0x40019fb5:0x3ffbe2c0 0x40088cba:0x3ffbe2f0 0x4008763d:0x3ffbe330 0x40087359:0x3ffbe350 0x40089a46:0x3ffbe370 0x4008ab37:0x3ffbe390 0x40083b3d:0x3ffbe3b0 0x40118784:0x3ffb56e0 0x40118d2d:0x3ffb5700
0x400845b9: r_assert_param at ??:?
0x40118361: r_platform_reset at ??:?
0x40088cba: r_lld_pdu_rx_handler at ??:?
0x4008763d: r_lld_evt_end at ??:?
0x40087359: r_lld_evt_end_isr at ??:?
0x40089a46: r_rwble_isr at ??:?
0x4008ab37: r_rwbtdm_isr_wrapper at intc.c:?
0x40083b3d: _xt_lowint1 at /home/patrik/Dev/Njord/njord/3rdParty/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1105
0x40118784: r_rw_schedule at ??:?
0x40118d2d: btdm_controller_task at ??:?
Core  1 register dump:
PC      : 0x401b687a  PS      : 0x00060834  A0      : 0x800d61e4  A1      : 0x3ffbc490
A2      : 0x00000000  A3      : 0x00060023  A4      : 0x00060020  A5      : 0x3ffcd8d0
A6      : 0x3ffc7908  A7      : 0x3ffc7914  A8      : 0x800d60d2  A9      : 0x3ffbc460
A10     : 0x00000000  A11     : 0x3ffbedc8  A12     : 0x3ffbedc8  A13     : 0x00000000
A14     : 0x00060020  A15     : 0x00000000  SAR     : 0x00000000  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000
Backtrace:0x401b6877:0x3ffbc490 0x400d61e1:0x3ffbc4b0 0x40092128:0x3ffbc4d0
0x401b6877: esp_pm_impl_waiti at /home/patrik/Dev/Njord/njord/3rdParty/esp-idf/components/esp32/pm_esp32.c:484
0x400d61e1: esp_vApplicationIdleHook at /home/patrik/Dev/Njord/njord/3rdParty/esp-idf/components/esp_common/src/freertos_hooks.c:63
0x40092128: prvIdleTask at /home/patrik/Dev/Njord/njord/3rdParty/esp-idf/components/freertos/tasks.c:3386
ELF file SHA256: b64cec68af151861
Rebooting...

Hi, we also see this issue also from time to time,
ESP-IDF:          6f3f2e875
ASSERT_PARAM(-218959118 0), in arch_main.c at line 343
Guru Meditation Error: Core  0 panic'ed (Interrupt wdt timeout on CPU0).
Core  0 register dump:
PC      : 0x400845bc  PS      : 0x00060634  A0      : 0x80118364  A1      : 0x3ffbe280
A2      : 0x00000001  A3      : 0x00000000  A4      : 0x60008048  A5      : 0x00000000
A6      : 0x00000004  A7      : 0x3ffbdbe4  A8      : 0x800845bc  A9      : 0x3ffbe260
A10     : 0x00000000  A11     : 0x00000037  A12     : 0x00000014  A13     : 0xffffffff
A14     : 0x00000000  A15     : 0xfffffffc  SAR     : 0x00000004  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x400844f4  LEND    : 0x400844fb  LCOUNT  : 0x00000000
Core  0 was running in ISR context:
EPC1    : 0x401ba237  EPC2    : 0x00000000  EPC3    : 0x00000000  EPC4    : 0x400845bc
Backtrace:0x400845b9:0x3ffbe280 0x40118361:0x3ffbe2a0 0x40019fb5:0x3ffbe2c0 0x40088cba:0x3ffbe2f0 0x4008763d:0x3ffbe330 0x40087359:0x3ffbe350 0x40089a46:0x3ffbe370 0x4008ab37:0x3ffbe390 0x40083b3d:0x3ffbe3b0 0x40118784:0x3ffb56e0 0x40118d2d:0x3ffb5700
0x400845b9: r_assert_param at ??:?
0x40118361: r_platform_reset at ??:?
0x40088cba: r_lld_pdu_rx_handler at ??:?
0x4008763d: r_lld_evt_end at ??:?
0x40087359: r_lld_evt_end_isr at ??:?
0x40089a46: r_rwble_isr at ??:?
0x4008ab37: r_rwbtdm_isr_wrapper at intc.c:?
0x40083b3d: _xt_lowint1 at /home/patrik/Dev/Njord/njord/3rdParty/esp-idf/components/freertos/xtensa/xtensa_vectors.S:1105
0x40118784: r_rw_schedule at ??:?
0x40118d2d: btdm_controller_task at ??:?
Core  1 register dump:
PC      : 0x401b687a  PS      : 0x00060834  A0      : 0x800d61e4  A1      : 0x3ffbc490
A2      : 0x00000000  A3      : 0x00060023  A4      : 0x00060020  A5      : 0x3ffcd8d0
A6      : 0x3ffc7908  A7      : 0x3ffc7914  A8      : 0x800d60d2  A9      : 0x3ffbc460
A10     : 0x00000000  A11     : 0x3ffbedc8  A12     : 0x3ffbedc8  A13     : 0x00000000
A14     : 0x00060020  A15     : 0x00000000  SAR     : 0x00000000  EXCCAUSE: 0x00000005
EXCVADDR: 0x00000000  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000
Backtrace:0x401b6877:0x3ffbc490 0x400d61e1:0x3ffbc4b0 0x40092128:0x3ffbc4d0
0x401b6877: esp_pm_impl_waiti at /home/patrik/Dev/Njord/njord/3rdParty/esp-idf/components/esp32/pm_esp32.c:484
0x400d61e1: esp_vApplicationIdleHook at /home/patrik/Dev/Njord/njord/3rdParty/esp-idf/components/esp_common/src/freertos_hooks.c:63
0x40092128: prvIdleTask at /home/patrik/Dev/Njord/njord/3rdParty/esp-idf/components/freertos/tasks.c:3386
ELF file SHA256: b64cec68af151861
Rebooting...

Hi,
After extensive testing and bisecting, we might have pin pointed the fault.
It seems that crashing started at BT Controller commit:
https://github.com/espressif/esp32-bt-lib/commit/85be5e8cf1e0465ff8c104c1e0b77f837f446ef7
This led us to check flags related to sleep modes. After disabling CONFIG_BTDM_MODEM_SLEEP, we were not able to replicate the crash anymore.
It is unfortunate that BT Lib is closed source which makes debugging issues like this very time consuming. And even now after finding the issue we are not sure why this flag exactly fixes the issue.
Please, whoever is experiencing this issue, check if this flag also mitigates/fixes the crash.
/Erik

Could this be the same issue as in:
https://github.com/espressif/esp-idf/issues/4413#issuecomment-784226214
?

The crash seems similar but the cause might be different as the task watchdog triggers first which might indicate that you are starving the task. I have not seen your code but I would guess that you might be executing long commands within Bluetooth callbacks or Timer callbacks which should be short as possible. Sadly BT controller is closed source but I think it is extensively using FreeRTOS timers, so if you block the timer, it will block some functions within the BT controller and it might crash because of that.

My code is pretty much just a slightly modified BT example, with no long executions in BT.
I am just using Wifi and a homekit implementation https://github.com/maximkulkin/esp-homekit
Along side it.
Do you know of any other error source i could search for ?

Are always getting first the task watchdog and then it crashes with interrupt WDT or it crashes instantly with interrupt WDT?

The WDT triggers a few times and then on the 3rd or 4th it crashes for good.

This is because there is no available memory in the controller. Can you provide a demo that can be reproduce this issue? @zjykymt

I think this issue #6517 is also related to this issue.
There might be a change in the esp-bt-lib addressing this issue. Can you check this comment?

Hi, my test results are as follows (ESP-IDF 4.2):
When CONFIG_BTDM_MODEM_SLEEP is in the enabled state, there are 2  crash within 4 times;
When CONFIG_BTDM_MODEM_SLEEP is in the disabled state, there is no problem for 10 consecutive times;

hi @zjykymt
We had the same problem, keep in mind that disabling CONFIG_BTDM_MODEM_SLEEP increases the power consumption significantly (on our board current was about 100 mA)
Can you check if you get the issue with the version on master with CONFIG_BTDM_MODEM_SLEEP enabled?

hi @alexmantaut
I will try to test on the master branch in these two days.

hi @alexmantaut
I used the esp-idf(v4.4) on the master branch for testing.
When CONFIG_BTDM_CTRL_MODEM_SLEEP is enabled, there is no problem.

Release 4.2.1 and 4.3 has solved this problem, I closed this ISSUE.
ESP-IDF Release v4.2.1

Classic Bluetooth
Fixed bug of modem sleep which may lead to the crash issue "assert(-218959118,0)"

authors: Alvin1Zhang ZweiEuro alexmantaut eriknorth patrikhuss xiewenxiang zjykymt


text:
Error from including hal/gpio_ll.h in c++ (IDFGH-6026)

Environment

Development Kit:      esp32-s3-devkitc-1
Kit version (for WroverKit/PicoKit/DevKitC): v1.0
Module or chip used:  ESP32-S3-WROOM-1
IDF version: v4.4-dev-3235-g3e370c4296
Build System:         idf.py
Compiler version: xtensa-esp32-elf-gcc (crosstool-NG esp-2021r1) 8.4.0
Operating System:    Windows 10
(Windows only) environment type: ESP Command Prompt
Using an IDE?: No
Power Supply:         USB

Problem Description
Expected Behavior
It should just compile with no problem
Actual Behavior
invalid conversion from 'uint32_t' {aka 'unsigned int'} to 'gpio_drive_cap_t' is thrown
Steps to reproduce

Make a copy of the sample_project
Rename sample_project/main/main.c to main.cpp
Change sample_project/main/CMakeLists.txt's SRCS "main.c" to SRCS "main.cpp"
Paste the code below to main.cpp
idf.py build

Code to reproduce this issue
// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "hal/gpio_ll.h"

extern "C" void app_main(void){}

// If your code is longer than 30 lines, GIST is preferred.
Debug Logs

on file included from c:\esp-idf\components\hal\esp32\include\hal\gpio_ll.h:26,
from ../main/main.cpp:2:
c:\esp-idf\components\hal\esp32\include\hal\gpio_ll.h: In function 'void gpio_ll_get_drive_capability(gpio_dev_t*, gpio_num_t, gpio_drive_cap_t*)':
c:\esp-idf\components\soc\esp32\include\soc\soc.h:212:51: error: invalid conversion from 'uint32_t' {aka 'unsigned int'} to 'gpio_drive_cap_t' [-fpermissive]
((READ_PERI_REG(reg)>>(shift))&(mask));
^
c:\esp-idf\components\hal\esp32\include\hal\gpio_ll.h:514:17: note: in expansion of macro 'GET_PERI_REG_BITS2'
*strength = GET_PERI_REG_BITS2(GPIO_PIN_MUX_REG[gpio_num], FUN_DRV_V, FUN_DRV_S);
^~~~~~~~~~~~~~~~~~
ninja: build stopped: subcommand failed.
ninja failed with exit code 1

Thanks for reporting, fix is available at https://github.com/espressif/esp-idf/commit/a631765333acc74ff484f7d693d609bc2a861585, feel free to reopen.

source: gharchive/issue

repo: espressif/esp-idf

license_type: permissive

license_source: github-api


text:
ESP Zero Code Bridge module (CON-533)

As a manufacturer of products that sell limited quantities it is very hard to justify the testing and certification costs that Matter brings with it. For those cases the Zero Code modules would be a great option. How it's currently advertised is not really suitable for every situation however.
Wouldn't it be a better solution for Epressif to create a "Zero Code" module that is programmed as a matter bridge. And via a serial interface you would be able to select your device and pass the Matter messages through.
This way as a product developer you would only have to add a bridge module to your device and configure it, making the entire Matter certification part go away. (Or only rebranding/white labeling would be necessary)
Asking about this through ESP customer support didn't give me any response so I thought maybe somebody here would know anything about this.

@stage-01 Please reach out to us at ezc-support@espressif.com for better assistance

repo: espressif/esp-matter


text:
fix: Add Kconfig options for esp-now OTA (AEGHB-411)

Fix retransmission problem with OTA from #91

@n3b0j5a Thanks for your contribution.

source: gharchive/pull-request

repo: espressif/esp-now


text:
Digital Signature fields are not visible on non-Web platforms

Digital Signature fields are not visible on Windows, with the same issues as on Android.
In Web platform, that uses pdf.js instead of pdfium, digital signature fields are visible.

0.4.1 introduces PdfViewerParams.enableRenderAnnotations to control the visibility of PDF annotations on pages.
The following fragment illustrates the typical usage:
PdfViewer.asset(
  'assets/hello2.pdf',
  displayParams: PdfViewerParams(
    enableRenderAnnotations: true,
  ),
),

I'm sorry. Just tried on Windows and Android but it doesn't work.
Try with the following signed pdf.
sample3.pdf

Ah, signatures are not annotations... OK, need more work for that :(

Yes, exactly. signatures are a special type of annotation.
Consider that AndroidPdfViewer, which uses pdfium too, works like a charm with signatures:
https://github.com/barteksc/AndroidPdfViewer

0.4.4 changed the parameter to control the annotation rendering mode:
PdfViewer.asset(
  'assets/hello2.pdf',
  displayParams: PdfViewerParams(
    annotationRenderingMode: PdfAnnotationRenderingMode.annotationAndForms,
  ),
),

Sorry to comment on an old issue but I can't get any form to render on linux. Any help on how to debug / provide a traceback would be appreciated @espresso3389 !

authors: cyberneid espresso3389 liquidiert

license: MIT


text:
[New app] [Messages Music] Pushes message to open Messages music controls.

Hacky app that uses Messages app and it's library to push a message that triggers the music controls from within Messages itself.
Making the music controls accessible this way lets one start a music stream on the phone in some situations even though the message app didn't receive a music message from gadgetbridge to begin with. (I think.)

Thanks! Nice idea!

authors: gfwilliams thyttan

repo: espruino/BangleApps


text:
warn about bottom area widgets

Resolves https://github.com/espruino/BangleApps/pull/1967#issuecomment-1157493161

excellent - thanks!

authors: fewieden gfwilliams


text:
1.0 Release

Closes #148
Todo:

[ ] Update changelog
[ ] Audit docs
[ ] Audit public api changes

I feel like we can do better here, especially around the config_parsing. I've been tinkering but am not yet satisfied.

[ ] Audit error names

@calvinbrown085 Working on 1.0, was thinking you might like to help in the final audit.

We need to remove log4rs::FormatError::XmlFeatureFlagRequired

So I looked at the docs, they seem ok. Or rather we didn't make them worse. So there's that. What kind of changes were you looking at doing for the config_parsing stuff?

In the docs we have:

Loggers are also associated with a set of appenders. Appenders can be associated directly with a logger. In addition, the appenders of the logger's parent will be associated with the logger unless the logger has its additivity set to false. Log events sent to the logger that are not filtered out by the logger's maximum log level will be sent to all associated appenders.

However in code additivity not actually valid, it should be additive

@estk 👋 I'll try to give this a look, thanks for the ping!

@calvinbrown085 @gadunga would you build the docs locally and review? I'd like to do some final auditing before launching this bird.

I think i've changed my mind re errors. I'm going to migrate back to Box now that std::Error is better.

authors: calvinbrown085 estk gadunga


text:
loading effect

When loading data from server,always need to wait several seconds,and there shows blank,so, is there any simple ways to show loading text ?

+1, want this feature too.

+1

+1

+1

+1

感觉加载数据的时候好卡啊  有没有解决方案啊？

Do you talk about the filter delay?
If its just a loading effect when retrieving data from server, you can use ngAnimate and css with a loading boolean set when you call the getData() function:
settings.getData = function (params: ng.ngtable.ITableParams): ng.IPromise<Array<T>> {
                    self.isLoading = true;
                    return self.itemsFunction(self.specification).then((result: IGridItemWrapper<T>): Array<T> => {
                        self.setItems(result.Items);
                        self.isLoading = false;
                        params.total(result.Count);
                        return result.Items;
                    }).catch((error) => {
                        self.isLoading = false;
                    });
};

And then add a css class on table:
<table ng-table="plc.tableParams" ng-class="{'loading': plc.isLoading}">

and its relative in css:
.loading-remove {
    transition:all cubic-bezier(0.250, 0.460, 0.450, 0.940) 0.5s;
}
.loading,
.loading-add.loading-add-active {
    opacity: 0.5;
    //animation: blinker 0.5s cubic-bezier(.5, 0, 1, 1) infinite alternate;
}
.loading-remove.loading-remove-active {
    opacity: 1;
}
@keyframes blinker {
    from { opacity: 1; }
    to { opacity: 0.5; }
}

repo: esvit/ng-table

license_source: bigquery


text:
feat(uai): adding establishment tab

Ajout d'un onglet établissement scolaire

Memo sur le visuel :

pas besoin du log
ajouter le numéro UAI
fomater les numéro de tel comme https://annuaire-entreprises.data.gouv.fr/labels-certificats/518286976

authors: XavierJp yoanficadiere

repo: etalab/annuaire-entreprises-site


text:
Keyboard Navigation broken

Heya,
I've noticed in the new version that keyboard navigation has numerous quirks. All are replicable with the online demo.

set minView to Month, or Year

no keyboard navigation highlight of position as you use the pop up
even though the more granular option does not exist, you still need to use the modifer key with arrows to navigate (shift + left). eg. still press down/up 4x to change month, even though days are not selectable.
once you select a month, with keyboard navigation, tab off and shift-tab back on: January will always highlight
with the above step, now press down, date shows erroneous string
select a month with keyboard navigation and tab off. Now click back on and choose a month with the mouse. The input will clear and you have no date set.

with a plain setup, have a date selected

now tab back on and use keyboard navigation, shift + right arrow to change month, it will change and then go back to the month of the before selected date

Have the input as read-only (ok, not all replacable with the online demo, but this is important)

you can still use the keyboard to get focus and open and edit the date.

Mark some days of the week as disabled

you can still use keyboard navigation to highlight and set these "disabled" days. You can even still use the component button if you have it.

is fixed in #1590

Will check the others is this issue can be closed

authors: MrJustastic acrobat

repo: eternicode/bootstrap-datepicker


text:
publish FirecREST API via redoc

Hello,
This is just a scaffold PR, on which you might wish to build on.
Example output: https://fgeorgatos.gitlab.io/firecrest/api/ ## scroll down for the interesting bits
fyi. I was motivated to look at it, since I wished to inspect how far FirecREST API has been, today; I hope it's useful to others.
The diff of commits which made this work is visible here: (ask if you need help with the github/gitlab-ci integration)

https://gitlab.com/fgeorgatos/firecrest/-/compare/master...master-20210409FG-test-redoc-cli

@mbianco this needs to be retargeted towards dev, I guess - is it of interest?

or, @jpdorsch or @jgphpc or whomever else might find this of use.

Hi Fotis,
Thanks for the contrib, however, we currently have a ci pipeline based on jenkins. So this particular change does not fit into our workflow as is.
Anyhow, I was not aware of reDoc for displaying OpenAPI docs, looks pretty cool. Do you know how does reDoc compares to swagger ui? this is what we currently use and you can check it out from here https://github.com/eth-cscs/firecrest/tree/master/deploy/demo and do a "docker-compose up openapi"
Also, we are publishing the API to readthedocs (https://firecrest.readthedocs.io/en/latest/reference.html). On that note, readthedocs has a nice guide to usage of the API (https://firecrest.readthedocs.io/en/latest/index.html)
On another piece of info you might be interested, we have been working on a python client, check it out:
https://github.com/ekouts/pyfirecrest
Cheers,
Felipe

hi @fcruzcscs, I had a look and this looks like both good work and good feedback. I am inclined to say, you would like to add in the README a word about the need to invoke ./ci/dev/setup.sh, since that is a prerequisite for the rest to work. I'll be looking into the rest of the information and will revert to you accordingly. As you said, redoc looks pretty good, however it compares as read-only experience compared to swagger ui.

@fcruzcscs also, before I forget, you might like to inspect the cause of this bug, even if you don't wish to rely on redoc:
https://gitlab.com/fgeorgatos/firecrest/-/jobs/1167129661#L39
it required to comment out a couple of stanzas; the what is better visible here (with a typo fix sprinkled somewhere in):
https://gitlab.com/fgeorgatos/firecrest/-/compare/master...master-20210409FG-test-redoc-cli#ff2bde255fedaaba2f787c0c7f8564ccd9e2ad07_888_883
On a more broad note, exploiting redoc over gitlabci is not mutually exclusive to what is available as ci/cd within github:

it would simply be an extra service on top of the existing infrastructure by merely adding that ci file. So, of course, that is just an option and you are better to judge if/when to use it.

authors: fcruzcscs fgeorgatos

repo: eth-cscs/firecrest


text:
[test] Adapt PrgEnv-cray flags for Trilinos check

This PR considers the new compiler flags for the Cray compiler (clang).
The old flags still exist in PrgEnv-cray_classic.

@ajocksch Please add a description to your PR.

@ajocksch Can you be more specific in your PR title and put a description of what this PR offers? Also why is it a WIP?

@jenkins-cscs retry dom

Test still fails on Dom. Please fix:
==============================================================================
SUMMARY OF FAILURES
------------------------------------------------------------------------------
FAILURE INFO for TrilinosTest_static
  * System partition: dom:gpu
  * Environment: PrgEnv-cray_classic
  * Stage directory: /users/karakasv/Devel/reframe/stage/dom/gpu/PrgEnv-cray_classic/TrilinosTest_static
  * Node list: <None>
  * Job type: batch job (id=None)
  * Maintainers: ['AJ', 'CB']
  * Failing phase: compile_wait
  * Reason: build error: standard error can be found in `rfm_TrilinosTest_static_build.err', standard output can be found in `rfm_TrilinosTest_static_build.out'
------------------------------------------------------------------------------
FAILURE INFO for TrilinosTest_static
  * System partition: dom:mc
  * Environment: PrgEnv-cray_classic
  * Stage directory: /users/karakasv/Devel/reframe/stage/dom/mc/PrgEnv-cray_classic/TrilinosTest_static
  * Node list: <None>
  * Job type: batch job (id=None)
  * Maintainers: ['AJ', 'CB']
  * Failing phase: compile_wait
  * Reason: build error: standard error can be found in `rfm_TrilinosTest_static_build.err', standard output can be found in `rfm_TrilinosTest_static_build.out'
------------------------------------------------------------------------------

Also there tons of warnings for the PrgEnv-cray.

Cray case #257684 about trilinos not supported for cce/xxx-classic

the warnings come from the trilinos header files, I see only the option to suppress them, changes to the c++ standard version did not help

Codecov Report

Merging #1148 into master will increase coverage by 0.15%.
The diff coverage is 97.49%.

@@            Coverage Diff             @@
##           master    #1148      +/-   ##
==========================================
+ Coverage   91.96%   92.12%   +0.15%
==========================================
  Files          81       81
  Lines       11653    12028     +375
==========================================
+ Hits        10717    11081     +364
- Misses        936      947      +11

Impacted Files
Coverage Δ

reframe/core/runtime.py
89.69% <ø> (ø)
:arrow_up:

unittests/resources/checks/frontend_checks.py
99.21% <ø> (ø)
:arrow_up:

reframe/core/launchers/registry.py
85% <ø> (ø)
:arrow_up:

unittests/resources/checks/bad/noentry.py
80% <ø> (ø)
:arrow_up:

reframe/frontend/dependency.py
96.77% <ø> (ø)
:arrow_up:

unittests/resources/settings.py
100% <ø> (ø)
:arrow_up:

reframe/core/meta.py
100% <ø> (ø)
:arrow_up:

reframe/core/exceptions.py
84.89% <ø> (+0.1%)
:arrow_up:

reframe/core/systems.py
89.67% <ø> (ø)
:arrow_up:

...ittests/resources/checks_unlisted/kbd_interrupt.py
100% <ø> (ø)
:arrow_up:

... and 77 more

Continue to review full report at Codecov.

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

@jenkins-cscs retry none

authors: ajocksch codecov-io vkarak

repo: eth-cscs/reframe


text:
feat(client): ecrecover accelerated precompile

Overview
Adds a host-accelerated precompile for ecrecover with the FPVM backend.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#342  👈
#340
#339
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @clabby and the rest of your teammates on  Graphite

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 77.8%. Comparing base (7294773) to head (86a65d3).

Additional details and impacted files

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

authors: clabby codecov-commenter

repo: ethereum-optimism/kona


text:
Argument order for ClientAPI send_XXX methods

What was wrong?
The NetworkAPI uses the following pattern for it's send methods.
def method(node_id: NodeID, endpoint: Endpoint, ...)

The ClientAPI is reversed
def method(endpoint: Endpoint, node_id: NodeID)

This is confusing.
How can it be fixed?
Change all of the methods that take both node_id and endpoint to take them in that order, with node_id first.

This was cleaned up in #113

repo: ethereum/ddht


text:
Quantum-secure backup infrastructure for BLS signatures

Quantum-secure zkproofs of knowledge (such as STARKs) can be used as a backup signature scheme to BLS in case of a quantum apocalypse. The only infrastructure that needs to be setup today is a commitment to a secret. We currently have withdrawal_credentials which is imperfect because the committed secret (namely, the withdrawal pubkey) is revealed for transfers. A better construction would replace withdrawal_credentials by the hash_tree_root of container with two fields:
    withdrawal_pubkey: BLSPubkey
    secret: Bytes32  # Quantum secure backup for `pubkey` and `withdrawal_pubkey`

Another approach would rely on the convention the private keys corresponding to pubkey and withdrawal_pubkeys have been derived by hashing a seed, and that this secret seed is stored by validators.
(This is labelled as phase 1 because transfers are not part of phase 0.)

I am in favour of this backup mechamism. Full "signatures of knowledge" using STARKs will probably be quite heavyweight, right? Would it make sense to even commit to a full Merkle root of secrets, so that other schemes can be used?

Would it make sense to even commit to a full Merkle root of secrets, so that other schemes can be used?

Oh, interesting! There's no onchain overhead to having more than one secret.

So one interesting question is how we would handle multisigs in this case. One way would be to do proper Lamport multisigs (as in https://ethresear.ch/t/threshold-lamport-signatures-can-survive-with-much-lower-size-by-compromising-on-per-signature-security-level/1737) but working this out properly for emergency infrastructure that is likely never used may be overkill. So I suggest a very simple Lamport multisignature scheme, where the public key consists of a Merkle tree of Lamport signatures:
     Lamport multisig key
            /  \
          /      \
        /          \
     Meta    Merkle root of Lamport public keys
    /    \
   n     m

A valid Lamport multisignature consists of Merkle proofs of m Lamport keys as well as m signatures using each of these keys.
All of this can be integrated at no extra cost by making the withdrawal key a Merkle root: of the BLS key and the Lamport public key. In order to avoid having to expose the actual lamport public key to provide Merkle proofs (as it is being considered in the BLS standardisation that the Lamport public key is the same as the BLS private key) we can also use the multisig format for them using m, n = 1.

Paging @CarlBeek who I believe is leading the quantum-secure backup initiative. Can this issue be closed, maybe in favour of another issue? :)

authors: JustinDrake dankrad


text:
Remove bug bitlist length checks in process_attestation

Some bug bitlist length checks were accidentally added to process_attestation in #1305. They were not just duplicate, but used the wrong length function (get_committee_count instead of the actual length of the committee).
Although this was a bug introduced into dev it was not caught by our tests because in minimal config get_committee_count() == len(committee) in most cases. Changed the total number of validators to be SLOTS_PER_EPOCH * 10 to avoid this coincidence.
When adjusting the number of validators a small bug in custody testing was revealed. It happened to work before due to the random validator index that was selected from the committee, but this validator index changed when adjusting the number of total validators. Made the fix to use the proper epoch when calculating latest epoch to respond.
Thank you @0xKiwi for pointing out the strange duplicate code in process_attestation!

Somewhat surprised this bug was not caught earlier. In any case, this may be the first report eligible for a phase 0 bounty :)

When running the mainnet tests, the bug is spotted in current dev (as the numbers don't coincidentally match). And not just one test, quite a lot seem to fail when running with mainnet --config mainnet.
Example test output snippet:
 # Check bitlist lengths
        committee_size = get_committee_count(state, attestation.data.target.epoch)
>       assert len(attestation.aggregation_bits) == committee_size
E       AssertionError

eth2spec/phase1/spec.py:1355: AssertionError

So this would have been catched when running mainnet tests as part of test-generation before release merge (dev -> master). If no one would care to run it sooner. The mainnet tests are horrendously slow due to spec constraints however, so I understand that running them is often skipped. Maybe we can set up some other check?

Yes, this was my mistake, these lines should have been removed when the proper fix was applied in #1317. This looks good, and great to have a test for it.

Unfortunately it looks like this bug is not eligible for a bounty after all :(

authors: JustinDrake dankrad djrtwo protolambda


text:
add sync service to plugin

What was wrong?
BeaconChainSyncer is not in Beacon plugin
How was it fixed?
Add BeaconChainSyncer to Beacon plugin
To-Do
Cute Animal Picture

@ChihChengLiang what is the status here? is this just blocked on review before we can merge it in?

@ralexstokes Feel free to give this a review. I currently test this with
python eth2/beacon/scripts/run_beacon_nodes.py

Peers generally sync well, but the delayed peer has trouble in proposing a block.

@ChihChengLiang what kind of trouble? until i have synced the head, i'm not going to know if i need to propose or not so it would make sense to hold off on this

@ChihChengLiang running it now -- i like how easy it is to get two nodes up to get one syncing :)
i see each node boot and run for some time -- bob seems to be running while syncing alice and it is throwing a bunch of errors -- we will need to dive into specifics but essentially bob should ignore any requests to participate as a gossiping node while syncing in my opinion
then we get some errors w/ alice and eventually both nodes stop w/ validation errors
some of this has been fixed in the skeleton lake branch so i'm inclined to rebase this once we merge in the other stuff to test it out

Rebased, but the run_beacon_nodes seemed broken. Have to investigate this tomorrow.

i'll take a look later today

This now depends on #1200. Bob syncs, imports blocks, but fails to validate blocks and attestations, and forks after that.

authors: ChihChengLiang ralexstokes

repo: ethereum/trinity


text:
Update which RPC tests are being run

What was wrong?
Trying to address #1755
How was it fixed?
Do not filter for GeneralStateTests when running the RPC tests.
To-Do

[ ] Clean up commit history

[ ] Add entry to the release notes

Cute Animal Picture

@carver @pipermerriam I believe this is the fix to #1755 (most rpc tests just running a single test...for months :sweat_smile: )


text:
chore: update to bee 1.11.0

Updated Bee version 1.11.0-rc1-d0b144a3

🗒 Bee 1.11.0-rc1 Release notes
Changelog

d0b144a3 fix: mutable batches do not stop uploads that reach max utilization (#3685)
4de93a97 fix: cancel bee node construction while waiting on nat manager (#3688)
4aa6ee45 feat: residual migration (#3686)
a6ae2ee4 chore: go mod tidy (#3687)
45547e92 chore(api): stamper putter cleanups (#3678)
c32275ab chore: remove overlay mining (#3684)
b433c130 fix: depthmonitor to track active syncing counter instead of rate (#3680)
8baf9338 fix: reduce depthmonitor target size to 40 percent (#3682)
8ac5e27a feat: stake withdraw role (#3667)
84b76047 fix: gracefully suspend bee node on interrupt signal (#3671)
ab68b284 fix: add deferred header to allowed cors headers (#3669)

Closing in favor #813

authors: AuHau bee-worker

repo: ethersphere/bee-js


text:
systemd service file should specify nice level

I suggest,
[Service]
Nice=10

I like nice bees.

@jpritikin , could you please provide more context?

If I'm going to run bee on my work laptop then I don't want bee to hurt performance of other stuff that I'm doing.

Actually ionice may be equally important, https://web.archive.org/web/20150423145758/http://b.zekjur.net/2012/09/23/systemd-ionice.html

I encourage adding memory limits too. However, I'm not sure what to recommend as defaults.

I added,
ProtectHome=yes

It would be great if more sandboxing protections could be enabled.

Hi @jpritikin thank for submitting this bug report.
Bee's systemd service file is placed inside /lib/systemd/system/ folder, you are free to customize it as much as you want and just place custom systemd service file inside /etc/systemd/system/ and systemctl will use that one for managing your service.
In this way your changes will not be overwritten with bee updates.
I will close this ticket, you are free to comment on it or to create new one if needed.

I encourage you to at least add my suggested customizations as comments in the distributed service file. I'm not a systemd expert; it took me hours of research just to come up with the tweaks that I recorded here.

authors: Eknir jpritikin vandot

repo: ethersphere/bee


text:
Discord invitation link is invalidGeneral problem description

I cannot use the discord invitation link on the official website

因为把你屏蔽了

seems to be working

authors: DaC1989 acud coderFrankenstain


text:
fix: add ignore radius flag

Checklist

[X] I have read the coding guide

Description
In chain-less mode the topology depth is not updated, staying at 0.

This change is

Just tested and it solves the problem for me:
"population":2526,
"connected":108,
"timestamp":"2022-05-04T14:20:06.923154+02:00",
"nnLowWatermark":3,
"depth":8,
...

Here is the config just for a reference
api-addr: 127.0.0.1:1633
debug-api-addr: 127.0.0.1:1635
debug-api-enable: true
password: <censored>
swap-enable: false
swap-initial-deposit: 0
mainnet: true
full-node: false
chain-enable: false
cors-allowed-origins: '*'
use-postage-snapshot: true
data-dir: <censored>
transaction: 0x01208d6ba7ab04515219befb64e286d13efbd7fa6483892a6f26e9c1de5157cb
block-hash: ae5e61f258e8420a1d3c5e75dd82c0f1c86b51a2986e6c49ba457ed592c34d0b%

Checked the latest version cf9a4b7 and it also works

authors: notanatol vojtechsimetka


text:
refactor: sharky rewrite

Checklist

[x] I have read the coding guide.
[ ] My change requires a documentation update, and I have done it.
[x] I have added tests to cover my changes.
[ ] I have filled out the description and linked the related issues.

Description

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

Screenshots (if appropriate):

This change is

This sharky implementation does not have guaranties which shard and location is returned next. As an outcome this could lead to 1) probably more cache invalidation (on hdd/ssd level); and 2) fragmented data. Would it make sense to have sharky to always return first available location in consistent order? This way disk IO will probably hit same sector(s) on disk (probably having cache hit).

Order of writes does not guarantee order of reads however. We cannot tell which chunk will be retrieved in the future, so it does not matter which shard we place them.
That being said, there is a some benefit in having shards store only a certain PO.
For example, when the node is calculating the reserve sample and is going through the entire reserve, reading the shards in order could be a great optimization.

Consider this again after the major localstore releases.

authors: istae nikipapadatou vladopajic


text:
Handle other platforms besides n64

Existing segments need to be "n64 segments", and the config file should be updated to include a platform field

This was added mostly in 0.5. There are some straggler hacks for n64-specific stuff, though, so I'l leave this open for now.

I think these are all gone now! woo

repo: ethteck/splat


text:
[Draft] Sailthru Consent Connector

Closes https://github.com/ethyca/fidesplus/issues/518
❗ ROUGH DRAFT - UNTESTED
Code Changes

[ ] list your code changes here

Steps to Confirm

[ ] list any manual steps for reviewers to confirm the changes

Pre-Merge Checklist

[ ] All CI Pipelines Succeeded
Documentation:

[ ] documentation complete, PR opened in fidesdocs
[ ] documentation issue created in fidesdocs

[ ] Issue Requirements are Met
[ ] Relevant Follow-Up Issues Created
[ ] Update CHANGELOG.md

Description Of Changes
First commit - add an initial rough draft of the sailthru consent connector - untested and subject to change. (Credentials needed)
Adds a sailthru authentication override to support https://getstarted.sailthru.com/developers/api-basics/technical/#Authentication_Requests

Based on the docs, I thought this is what we could do for Sailthru.
On Opt-out

Optout_email : basic
Sms_marketing_status : opt-out
Sms_transactional_status : opt-out
Cookies : set to empty

On Opt-in
Optout_email : none
Sms_marketing_status : opt-in
Sms_transactional_status : opt-in
Cookies : no action

Hey @saiatethyca thanks for the feedback here.  sms_marketing_status and optout_email line up. I'll look into adding cookies.
Are you sure about sms_transactional_status?  transactional communications seem different than marketing communcations.  https://getstarted.sailthru.com/messaging/triggered-messages/transactional-overview/ Just double-checking here.

Thanks, Dawn for the response!
I agree transaction seems aggressive. I'll see if I can get the client's response to this question.

In the API docs it looks like if you're adding cookies, it's something like this, but I can't find anywhere that an empty dict {} removes the cookies?
{
    "id":"example@example.com",
    "cookies":
        {
            "sailthru_content":"U9JEVqLefidFAAAA"
        }
}

Closing - this PR is pretty far out of date.  If we get creds for sailthru we can cherry-pick the relevant commit from this branch and continue from there.

authors: pattisdr saiatethyca

repo: ethyca/fides


text:
Release/1.0.6

I would strongly suggest to do a fast-forward here instead of a merge!
I expect history ugliness and maybe even troubles (with some deployment tools) if the tag is pointing to second parent of a merge commit :). Or am I wrong?
And don't forget to copy or recreate the new tag 1.0.6.

Can one of the admins verify this patch?

ok to test

one comment, then this lgtm.

Ok, fixed the typo.

@HannesSommer thanks

Can one of the admins verify this patch?

Wow, you really did a non ff merge on that? Thats exciting. Hopefully it works this way as well.

Ah, I think you did not copy the tags, right?

Could you quickly push the copy the tags or give me write access?

authors: HannesSommer ethzasl-jenkins simonlynen

repo: ethz-asl/libnabo


text:
Feature request [Purge remote media API]

Hey, what are your thoughts about adding the "Purge remote media API" functionality?
https://element-hq.github.io/synapse/latest/admin_api/media_admin_api.html#purge-remote-media-api
maybe with a little selector to purge all or something like a human readable date field since i would assume that most people cant naturally read unixtimestamps.
This api is often used after a HS admin is made aware that some nasty media has been sent to some rooms to remove those images from the local storage well before the (eventually) configured remote media retention kicks in

Sounds great!
It could be integrated as a toggle or dropdown into the existing Delete media dialog

authors: aine-etke ll-SKY-ll

repo: etkecc/synapse-admin


text:
Review GH repo secrets

let's create some service accounts

I think security-wise we're ok. we can punt on creating service accounts for now

repo: eto-ai/rikai


text:
Several questions :)

Thanks for this project, dude. I was looking for it very long time but could not find it anywhere but here. Appreciate your work.
I have several silly questions, hope you would not mind :)

If 1 want to add 5 html file then is the .json file will look like this?
{  "ssid":"Free WiFi",  "page":"pages/index.html"  "page":"pages/index2.html"   "page":"pages/index3.html"  "page":"pages/index4.html"  "page":"pages/index5.html" }

Which html page will open in captive portal.

Can I link 1 html file with other?

I want a index page what have not any form and link other html page in that file. Is that possible?? Example A sign in page what only have facebook, google, insta, twitter login option button but not any email-password input option.

Feature request: add ftp server to control .josn file via file manager

Im glad to hear.
At the moment the system only uses one html page at time, unfortunately your json will not work.
The html locatin is set up on line 109 of the captive_portal.ino file, it gets the string value passed to the json key and then looks up for the filename stored in the SD card.
Yes, you can link one html file with other, but, you'll need to write an specific code for this to work, in your use case, I would make it as simple as possible, everything in one html file and changing the page style accordingly to wich button the user clicks.
Im currently overworked with other projects, but ill try my best to take a look and launch an update as soon as possible.
Ps. Remember to use with caution, too many uses can result in legal problems, it is intended to study only.

Bro I tried to use your default index page to change ssid and page path.. By this code.. But couple of problem that I faced..
1.What will the value of data="" In void handleSettings().

The config.json must be clear before run handleSetting() how this could be done?

If it change the json file,  then how the esp8266 will restart because we need a restart..

I have not good idea in coding but tried my best, I hope your " config.json editing from web" feature helped by this edit a little bit..
The code-
captiveportal.txt
Settings.json file-
{     "path":"pages/settings.html" }

repo: euMts/Sickomode


text:
[ISSUE] Wrong example code in https://www.baeldung.com/java-completablefuture

Article and Module Links
https://www.baeldung.com/java-completablefuture
Describe the Issue
CompletableFuture<String> completableFuture
  = CompletableFuture.supplyAsync(() -> "Hello")
    .thenCombine(CompletableFuture.supplyAsync(
      () -> " World"), (s1, s2) -> s1 + s2));

There should not be the last close parentheses.
Expected Behavior
CompletableFuture<String> completableFuture
  = CompletableFuture.supplyAsync(() -> "Hello")
    .thenCombine(CompletableFuture.supplyAsync(
      () -> " World"), (s1, s2) -> s1 + s2);

Screenshots

Hey, @lovelock.
Thanks for the feedback. We've updated the article to fix this.
Cheers,
Team

authors: lovelock ulisseslima

repo: eugenp/tutorials


text:
Deprecated method IOUtils.copy

https://github.com/eugenp/tutorials/blob/91ec114e9afeb6e33112f67ff618a6a232932fd0/spring-cucumber/src/test/java/com/baeldung/ResponseResults.java#L18
This method is deprecated so would be better to find another alternative to this one, for example:
IOUtils.copy(bodyInputStream, stringWriter, Charset.defaultCharset());

@juancho0506 This module is using apache commons-io 1.3.2. In that version, the IOUtils.copy(InputStream, Writer) method is not deprecated.


text:
BAEL-7041

PR for the article "Check if List Contains At Least One Enum" which adds the "CheckIfListContainsEnumUnitTest" class to check if a list contains an enum in Java.

test this please


text:
update : update README, added Eutophia sample project

sound-helper Overview
sound-helper is a sample application using the euphony Acoustic Data Telecommunication Library.
This application is designed to verify patient's chronic disease information and identity in urgent situations.
If you use this application, you can use this function

Function to send information when a mobile phone is detected shaking
Function to receive information by pressing a button
Function to store information in advance

Co-Authored-By: eunzinn 88362254+eunzinn@users.noreply.github.com
Co-Authored-By: JK Park kuro11pow2@gmail.com
Co-Authored-By: kmsaidev 88221290+kmsaidev@users.noreply.github.com

Thanks for the great reviews and comments!
We'll try to improve that suggested in comments.

repo: euphony-io/euphony


text:
Menu options are not displayed when attempting to create a new application through the standard interface, but work via direct URL.

Issue Description:
When trying to create a new application with a newly created user without admin access through the standard interface, the required menu options are not displayed. However, it's noticed that creating an application directly through the URL seems to work.
Steps to Reproduce:

Log in with a newly created user without admin access.
Navigate to the application creation section through the standard interface.
Note that the menu options required for creating an application are not visible.
Attempt to create an application directly through the URL and check if the functionality is present.

Attached Screenshot:

Maybe the interface can be improved, because you can click in click aquí to create your first app.

So sorry ...

:smiley:

authors: eusonlito mradom

repo: eusonlito/Password-Manager


text:
Parse doesn't handle quotes in the CSV, even if escaped

From k...@atomicinfotech.com on April 25, 2014 10:40:41
What steps will reproduce the problem? $.csv.toArrays("Testing,Two\n"); /* Works /
$.csv.toArrays("Testing",Two\n"); / Throws an "Illegal Quote" error /
$.csv.toArrays("Testing\",Two\n"); / Also throws an "Illegal Quote error" */ What is the expected output? What do you see instead? It should parse the quotes.  Right now looks like the only quotes that can be in the strings are if they are enclosing the field. What version of the product are you using? On what operating system? 0.71 Please provide any additional information below.
Original issue: http://code.google.com/p/jquery-csv/issues/detail?id=42

From razvan.l...@gmail.com on May 07, 2014 05:24:01
It is not only for the quotes. It is for delimiter in general. I tested it with delimiters like: [",',$] and then I had the delimiter escaped in the values. It fails for all.

From evanpla...@gmail.com on May 28, 2014 20:27:10
Quotes are escaped in CSV using double-double quotes.
The following works because it's has an even number quotes:
$.csv.toArrays("Testing,Two\n"); /* Works */
This fails because there are an odd number of quotes.
{{{$.csv.toArrays("Testing",Two\n"); /* Throws an "Illegal Quote" error */}}}
Also fails because there are an odd number of quotes.
{{{$.csv.toArrays("Testing\",Two\n"); /* Also throws an "Illegal Quote error" */}}}
The following is valid CSV as per the specification:
$.csv.toArrays("Testing,Two\n");
$.csv.toArrays("Testing"",Two\n");
$.csv.toArrays("Testing"""",Two\n");
I know it seems weird that CSV escapes a quote with a quote but that's how the format is specified.

From evanpla...@gmail.com on May 28, 2014 20:31:45
BTW, the examples you posted should result in the following output:
Testing,Two
Testing"",Two
Testing"""",Two
Note: newline characters are assumed to be non-visible in the output.
In JSON equivalent would be:
[
[
"Testing",
"Two"
],
"Testing""",
"Two"
],
[
"Testing""""",
"Two"
]
]
All 3 entries will have 2 cells because you're not containing the comma separator within a pair of double-quotes.
I hope that clears things up.

repo: evanplaice/jquery-csv

license: mit


text:
How can I skip first 2 rows?

Hi, how can I skip first two rows please

Add a parser hook. Check the state object to check which row the parser is in and skip parsing by returning false on those rows.
Take a look at the docs, if you're still stuck I'll provide a more detailed solution.

authors: evanplaice pdctpa


text:
🛑 demo.actionherojs.com is down

In 07821ec, demo.actionherojs.com (https://demo.actionherojs.com/api/status) was down:

HTTP code: 0
Response time: 0 ms

Resolved: demo.actionherojs.com is back up in 3de4aec.

repo: evantahler/upptime


text:
Hoymiles DTU-Pro-S - Request canceled

Describe the bug
Hello,
I'm trying to display the power of a Hoymiles HMS-2000-4T micoinverter in addition to my already existing SENEC-power-plant, in evcc.
The microinverter is linked to a Hoymiles DTU-Pro-S WiFi. The DTU-Pro is linked to my home network via ethernet (IP 192.168.178.100).
I added the DTU-Pro as "gewaechshaus" with the template "hoymiles-opendtu" into my evcc.yaml. In the userinterface I see the following error:
pv 2 power: "http://192.168.178.100:502/api/livedata/sstatus\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
Evcc is running on MacOSX using homebrew.
Do you have any suggestions, why evcc can not read the DTU-Pro's data? Does somebody else have this problem?
Thanks in advance.
Steps to reproduce
See description above.
Configuration details
# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

log: info
levels:
  cache: error

# unique installation id
plant: ***

sponsortoken: ***

interval: 5s # control cycle interval

tariffs:
  currency: EUR # (default EUR)
  grid:
    # static grid price
    type: fixed
    price: 0.39 # [currency]/kWh

  feedin:
    # rate for feeding excess (pv) energy to the grid
    type: fixed
    price: 0.08 # [currency]/kWh

meters:
- type: template
  template: senec-home
  usage: grid
  host: 192.168.178.2
  name: grid1
- type: template
  template: senec-home
  usage: pv
  host: 192.168.178.2
  name: pv2
- type: template
  template: senec-home
  usage: battery
  host: 192.168.178.2
  name: battery3

- name: gewaechshaus
  type: template
  template: hoymiles-opendtu
  usage: pv
  host: 192.168.178.100:502 # IP-Adresse oder Hostname

chargers:
- name: wallbox5
  type: template
  template: ellipro
  ski: ***
  ip: 192.168.178.4

- name: wallbox1
  type: template
  template: tapo
  host: 192.168.178.10
  user: ***
  password: ***
  standbypower: 1
  integrateddevice: true
  icon: bike

- name: wallbox2
  type: template
  template: tapo
  host: 192.168.178.9
  user: ***
  password: ***
  standbypower: 1
  integrateddevice: true
  icon: cooler

vehicles:
- type: template
  template: tesla
  title: Tesla Model Y
  accessToken: ***
  refreshToken: ***
  vin: ***
  capacity: 79
  name: ev4

loadpoints:
- title: Auto (dreiphasig)
  charger: wallbox5
  mode: pv
  phases: 3
  mincurrent: 5
  maxcurrent: 16
  resetOnDisconnect: true
  priority: 5
  guardduration: 10s
  enable:
      delay: 10s
  disable:
      delay: 10s

#- title: Klimaanlage
#  charger: wallbox2
#  mode: off
#  phases: 1
#  mincurrent: 3
#  maxcurrent: 16
#  resetOnDisconnect: true
#  priority: 4
#  guardduration: 10s
#  enable:
#      delay: 10s
#  disable:
#      delay: 10s

- title: E-Bike
  charger: wallbox1
  mode: off
  phases: 1
  mincurrent: 0.5
  maxcurrent: 16
  resetOnDisconnect: true
  guardduration: 10s
  enable:
      delay: 10s
  disable:
      delay: 10s

site:
  title: Zuhause
  meters:
    grid: grid1
    pv:
    - pv2
    - gewaechshaus
    battery:
    - battery3
  residualPower: 100
  bufferSoc: 100
  prioritySoc: 80

eebus:
  certificate:
      private: |
          -----BEGIN EC PRIVATE KEY-----
         ***
          -----END EC PRIVATE KEY-----
      public: |
          -----BEGIN CERTIFICATE-----
          ***
          -----END CERTIFICATE-----

Log details
[site  ] ERROR 2023/12/22 17:13:22 pv 2 power: Get "http://192.168.178.100:502/api/livedata/status": net/http: request canceled (Client.Timeout exceeded while awaiting headers)

What type of operating system are you running?
Docker container
Version
evcc version 0.122.0

Are you sure that the API of the DTU is listening on port 502? This ist usually the modbus port, not http...

pv2 ist ein senec-home. Was hat das mit Hoymiles zu tun?

repo: evcc-io/evcc


text:
Add Wattsonic, Sunway, Solinteng, A-Tronix and St-ems

Finally i got a configuration for the Wattsonic Gen 2 inverter that reads pv/grid/battery power and the battery SOC
The same inverter (at least Gen3) is distributed as Sunway, Solinteng, A-Tronix and St-ems)
#############################################################################
#
# Meters - read from Wattsonic using Modbus RTu connected by /dev/ttyUSB0
#
# https://docs.evcc.io/docs/reference/modbus#manuelle-konfiguration
#
# All register share the same modbus bus configuration
#      source: modbus
#      id: 247
#      device: /dev/ttyUSB0
#      baudrate: 9600
#      comset: "8N1"
#      rtu: true
#      timeout: 10s         #
#      scale: 1.0           # some registers require a scale, double value using ., negative values are supported
#      register:
#        type: holding      # coil, input, holding
#        address: >id<      # check documentation of you inverter
#        decode: >type<     # check documentation of you inverter [u]int16|32|64 , float32|64,
#
#
#############################################################################

meters:
  - name: meter-battery
    type: custom
    power: # power (W)
      source: modbus
      id: 247
      device: /dev/ttyUSB0
      baudrate: 9600
      comset: "8N1"
      rtu: true
      timeout: 10s
      register:
        type: holding
        decode: int32
        address: 40258    # Total_Backup_P
    soc:
      source: modbus
      id: 247
      device: /dev/ttyUSB0
      baudrate: 9600
      comset: "8N1"
      rtu: true
      scale: 0.01
      timeout: 10s
      register:
        address: 43000    # SOC
        type: holding
        decode: int16
  - name: meter-pv
    type: custom
    power: # power (W)
      source: modbus
      id: 247
      device: /dev/ttyUSB0
      baudrate: 9600
      comset: "8N1"
      rtu: true
      timeout: 10s
      register:
        address: 11028    # PV Input Total Power
        type: holding
        decode: int32
  - name: meter-grid
    type: custom
    power: # power (W)
      source: modbus
      id: 247
      device: /dev/ttyUSB0
      baudrate: 9600
      comset: "8N1"
      rtu: true
      timeout: 10s
      scale: -1.0
      register:
        address: 11000  # Total Power on Meter
        type: holding
        decode: int32

Thanks to @andig for his patients with my misunderstanding of reading negative values from modbus.
Originally posted by @negesti in https://github.com/evcc-io/evcc/discussions/14477#discussioncomment-10027717

i had to add a delay to the registers. Wattsonic uses baudrate 9600 and I had serial timeouts reading the registers at once (always the last register that is read fails with a timeout).
After checking the sourcecode,  i notices that modbus supports a delay property (not listed in the docs). My current config is:
#############################################################################
#
# Meters - read from Wattsonic using Modbus RTu connected by /dev/ttyACM0
#
# https://docs.evcc.io/docs/reference/modbus#manuelle-konfiguration
#
# All register share the same modbus bus configuration
#      source: modbus
#      id: 247
#      device: /dev/ttyACM0
#      baudrate: 9600
#      comset: "8N1"
#      rtu: true
#      timeout: 10s
#      delay: 1s            # dont read all registers at once
#      scale: 1.0           # some registers require a scale, double value using ., negative values are supported
#      register:
#        type: holding      # coil, input, holding
#        address: >id<      # check documentation of you inverter
#        decode: >type<     # check documentation of you inverter [u]int16|32|64 , float32|64,
#
#
#############################################################################

meters:
  - name: meter-grid
    type: custom
    power: # power (W)
      source: modbus
      id: 247
      device: /dev/ttyACM0
      baudrate: 9600
      comset: "8N1"
      rtu: true
      timeout: 10s
      scale: -1.0
      delay: 3s
      register:
        address: 11000  # Total Power on Meter
        type: holding
        decode: int32
  - name: meter-pv
    type: custom
    power: # power (W)
      source: modbus
      id: 247
      device: /dev/ttyACM0
      baudrate: 9600
      comset: "8N1"
      rtu: true
      timeout: 10s
      delay: 2s
      register:
        address: 11028    # PV Input Total Power
        type: holding
        decode: int32
  - name: meter-battery
    type: custom
    power: # power (W)
      source: modbus
      id: 247
      device: /dev/ttyACM0
      baudrate: 9600
      comset: "8N1"
      rtu: true
      timeout: 10s
      delay: 1s
      register:
        address: 40258    # Total_Backup_P
        type: holding
        decode: int32
    soc:
      source: modbus
      id: 247
      device: /dev/ttyACM0
      baudrate: 9600
      comset: "8N1"
      rtu: true
      scale: 0.01
      timeout: 10s
      delay: 1s
      register:
        address: 43000    # SOC
        type: holding
        decode: int16

Noticed, that the delay accepts ms and updated the config to read currents and powers from grid meter

meters:
  - name: meter-grid                               # Grid meter, power and L1-3 current, delay 0-1s
    type: custom
    power: # power (W)
      source: modbus
      id: 247
      device: /dev/ttyACM0
      baudrate: 9600
      comset: "8N1"
      rtu: true
      timeout: 10s
      scale: -1.0
      delay: 100ms
      register:
        address: 11000  # Total Power on Meter
        type: holding
        decode: int32
    currents:
      - source: modbus
        id: 247
        device: /dev/ttyACM0
        baudrate: 9600
        comset: "8N1"
        rtu: true
        timeout: 10s
        delay: 200ms
        scale: 0.1
        register:
          address: 11010  # Grid Phase A Current
          type: holding
          decode: uint16
      - source: modbus
        id: 247
        device: /dev/ttyACM0
        baudrate: 9600
        comset: "8N1"
        rtu: true
        timeout: 10s
        delay: 300ms
        scale: 0.1
        register:
          address: 11012  # Grid Phase B Current
          type: holding
          decode: uint16
      - source: modbus
        id: 247
        device: /dev/ttyACM0
        baudrate: 9600
        comset: "8N1"
        rtu: true
        timeout: 10s
        delay: 400ms
        scale: 0.1
        register:
          address: 11014  # Grid Phase C Current
          type: holding
          decode: uint16
    powers:
      - source: modbus
        id: 247
        device: /dev/ttyACM0
        baudrate: 9600
        comset: "8N1"
        rtu: true
        timeout: 10s
        delay: 500ms
        scale: -1
        register:
          address: 10994  # Phase A Power on Meter
          type: holding
          decode: int32
      - source: modbus
        id: 247
        device: /dev/ttyACM0
        baudrate: 9600
        comset: "8N1"
        rtu: true
        timeout: 10s
        delay: 600ms
        scale: -1
        register:
          address: 10996  # Phase B Power on Meter
          type: holding
          decode: int32
      - source: modbus
        id: 247
        device: /dev/ttyACM0
        baudrate: 9600
        comset: "8N1"
        rtu: true
        timeout: 10s
        delay: 700ms
        scale: -1
        register:
          address: 10998  # Phase C Power on Meter
          type: holding
          decode: int32

  - name: meter-pv                                     # PV Metery, only power,  delay 1000ms
    type: custom
    power: # power (W)
      source: modbus
      id: 247
      device: /dev/ttyACM0
      baudrate: 9600
      comset: "8N1"
      rtu: true
      timeout: 10s
      delay: 1000ms
      register:
        address: 11028    # PV Input Total Power
        type: holding
        decode: int32

  - name: meter-battery                               # Battery Meter,  power and soc, delay 2000ms
    type: custom
    power: # power (W)
      source: modbus
      id: 247
      device: /dev/ttyACM0
      baudrate: 9600
      comset: "8N1"
      rtu: true
      timeout: 10s
      delay: 2000ms
      register:
        address: 40258    # Total_Backup_P
        type: holding
        decode: int32
    soc:
      source: modbus
      id: 247
      device: /dev/ttyACM0
      baudrate: 9600
      comset: "8N1"
      rtu: true
      scale: 0.01
      timeout: 10s
      delay: 2100ms
      register:
        address: 43000    # SOC
        type: holding
        decode: int16

authors: andig negesti


text:
There ist no option to charge the home battery at minimum if I use time zones

Describe the bug
I´m switched my energy contract from tibber to octopus energy.de. I configured my contract with time zones:
tariffs:
grid:
type: fixed
price: 0.294 # EUR/kWh (default)
zones:
- days: Mo-So
hours: 0-5
price: 0.15 # EUR/kWh
currency: EUR
Now I haven't anymore the option to charge the battery at low prices.
Steps to reproduce

Tap at battery settings
No charging the battery at a price level is possibles

...
Configuration details
tariffs:

  grid:
    type: fixed
    price: 0.294 # EUR/kWh (default)
    zones:
      - days: Mo-So
        hours: 0-5

Log details
no log

What type of operating system are you running?
Linux
Nightly build

[X] I have verified that the issue is reproducible with the latest nightly build

Version
0.130.13

Hi @jekruege, this is not enough information for us to understand the problem. You config seems incomplete. Pleaes update your description an we'll reopen once we have enough information to debug.

I have not that configuration window ("Netzladen") any more with my new configuration with price zones (nach dem Wechsel meines Lieferanten [von Tibber mit dynamischen Preisen zu Oktopus mit Preiszonen]):

Please share a more complete and formatted configuration. In the above example you've only one zone with no price. Not sure if this is really your configuration (which would be incomplete). In the text above you've pasted another snipped which has text but is not formatted. Please update your issue description, otherwise it's hard to help.

Sorry, I'm not really fit with linux and I didn't find a way to get the yaml file out of the system ....
Do you have a clue for me?

authors: jekruege naltatis


text:
EEBUS updates and fixes

Fix using planner with EEBUS wallboxes and resuming charging after pauses with the properly set limit
Update Enabled() check and Enable(bool) implementation by fetching the currently provided overload protection limit from the wallbox. Assume no limits are set if no data is (yet) available. And assume charging is enabled if no EV is connected.
Update EEBUS libraries to v0.2.0

Zur Info: Ich teste das bei mir ein paar Tage, bevor ich die eebus-libs als neue Version release und hier dann nachziehe

This PR is now ready from my side


text:
User Friendly Error Messages

Based on my experience having feedbacks when others installing evox and all the stuff, they said that there is actually a bug, that bug is not actually a bug, they just forget to do or install "required" dependencies, like server that spawns a nodemon child process, same with phonegap that spawns phonegap child process, so i think some of the uncommon error messages must be handled and return in a friendly and readable way.

Phonegap: 9b452b556b578a9b8b5b1750f67cb3b4f824b240
Server: 750da2e02c8a9d579bdf8f1667d6d4282bd78620

repo: evelution/evox


text:
fix(package): Update packages to fix vulnerabilities.

closes #14

:tada: This PR is included in version 1.3.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.3.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: eventOneHQ/npm-audit-html


text:
build platform-defined dynamic library instead of Rust library

this will build "libsovrin.so" instead of "liblibsovrin.rlib"

I suggest to just merge it and apply hot fix for integration tests after this merge

authors: peacekeeper vimmerru

repo: evernym/sovrin-client-rust


text:
feat: use node UID for agent name in kubernetes

Before, we used a randomly generated uuid as agent name.
Agent name is the name of agentinfo CR.
Now, we should match agent and endpoint,
so agentName must be able to correspond to agent.

Codecov Report

Merging #398 (114b80d) into main (59c69ab) will decrease coverage by 0.55%.
The diff coverage is 28.57%.

@@            Coverage Diff             @@
##             main     #398      +/-   ##
==========================================
- Coverage   63.76%   63.21%   -0.56%
==========================================
  Files          41       41
  Lines        7269     7266       -3
==========================================
- Hits         4635     4593      -42
- Misses       2256     2286      +30
- Partials      378      387       +9

Impacted Files
Coverage Δ

pkg/monitor/agent.go
65.65% <28.57%> (-1.02%)
:arrow_down:

pkg/agent/controller/policy/cache/group.go
75.91% <0.00%> (-4.38%)
:arrow_down:

pkg/agent/controller/policy/policy_controller.go
73.34% <0.00%> (-3.92%)
:arrow_down:

pkg/agent/datapath/multiBridgeDatapath.go
58.01% <0.00%> (-1.57%)
:arrow_down:

pkg/controller/group/group_controller.go
71.48% <0.00%> (-0.55%)
:arrow_down:

please add detail description and test result in the issue ticket, and add some test cases.

More details added. These changes covered in k8s-e2e tests

authors: codecov-commenter wu-cl

repo: everoute/everoute


text:
NEM\Models\MultisigModifications should overload serialize() to sort public keys

Public keys in a MultisigModifications collection are current not sorted. This should be done under the hood when the transaction is serialized.
A method overload will be implemented for the MultisigModifications ModelCollection.

fixed in : https://github.com/evias/nem-php/commit/eb4ee8f60e9e9a9d5ad7e2f31eb866673409efb2

repo: evias/nem-php


text:
Upgrade DuckDB to 0.9.X

We intend to do this. Currently blocked by: https://github.com/duckdb/duckdb/issues/9113

@archiewood It seems like https://github.com/duckdb/duckdb/issues/9113 is ok now :) 🚀

authors: archiewood pierrelandry

repo: evidence-dev/evidence


text:
Component styling changes for consistency

Styling changes to make components more consistent-looking.
Inputs
Standardized to the following:

Margin top: none
Margin bottom: mb-4
Margin right: mr-2

Before and afters below
Remaining Issues

DataTable search bar I don't think is 100% right
Spacing between input components is tricky with titles involved and when only using bottom margin

One approach we could try is using some top margin and removing it when a title is used (letting the title occupy the margin space)
When on multiple lines, once a title is included it makes the components look too far apart

A way to handle groups of inputs (will address in a separate PR with an InputGroup component)
Tabs styling looks out of place with the rest of components

Modal
Before

After

LinkButton
Before

After

BigLink
Before

After

TextInput
Before

After

ButtonGroup
ButtonGroup is now inline-block rather than inline-flex to align well with other input components when side by side
Before

After

Slider
Before

After

DimensionGrid
Before

After

DataTable (search box)
Before

After

Checklist

[x] For UI or styling changes, I have added a screenshot or gif showing before & after
[x] I have added a changeset
[x] I have added to the docs where applicable
[x] I have added to the VS Code extension where applicable

I like the idea of standardizing and having a Design System. Overall I like all these changes!

Keeping all the components a standard distance from each other
Having Titles formatted and positioned in a uniform way

Some thoughts:

The Titles feels off, I think it may be too close to the components? It makes the title and the text inside the component feel like wrong to me for some reason. Maybe its just congested, or just because its zoomed in.

In terms of the tricky-ness, I feel like the components have titles built in separate ways (I know for slider I may have done some funky positioning to make it work), maybe we need a title component that can be used to help standardize the inputs?

Something like this seems Cleaner

I thought Dimension Grid had a stronger color the more full the cell was (e.g California was Darker blue then Colorado)? If not maybe we can add it?

I think Slider could be improved, as it was my first PR and has some funky stuff going on that might make styling it easier/Performance Issue with Large Scale

authors: hughess kwongz


text:
gulp-favicon replaced html file

Hi,
In my config:
        html: '../../index.html',
        pipeHTML: true,
        replace: false,

if I start gulp-task - this task cleared my existing HTML file and put into this file generated array of meta-links....
Is it possible to append this array before </head>??? or any  other case to get snippet from gulp task?
Thanks!

You shouldn't write directly into html. Instead, use cheerio or anything other you like to append generated content.

This is not relevant anymore on master, since writing to file is out of scope

authors: ArmorDarks WuglyakBolgoink brunocodutra

repo: evilebottnawi/favicons


text:
{cmd} is blank in runner defined in local config

Lefthook 0.7.2 installed from npm via yarn add @arkweid/lefthook --dev
lefthook.yml:
pre-commit:
  parallel: true
  commands:
    eslint:
      glob: "*.{js,ts}"
      run: yarn run eslint {staged_files}

lefthook-local.yml:
pre-commit:
  commands:
    eslint:
      runner: echo dip run {cmd} wtf

Reproduction steps:

Change some relevant file:
echo 'whatever' > nevermind.js

Stage it:
git add nevermind.js

Try to commit
git commit

Expected result:
  EXECUTE > eslint
dip run yarn run eslint nevermind.js wtf

Actual result:
  EXECUTE > eslint
dip run wtf

Having the same issue with Lefthook 0.7.6 installed via brew.

authors: Envek krismichalski

repo: evilmartians/lefthook


text:
Better Linting and Some :lipstick:

Spring has sprung, time to :nail_care:

Thought there were default options on and was wondering why some of my code was passing lint when it was horrible. Turns out, things MUST be specified. This PR update the lint options and adjusts the existing code base accordingly,

Coverage remained the same at 100.0% when pulling 3c9deda1ec1437d567e682d7e31ae0937bda3187 on lint-unused into 73a0f4f3a98067e851fc344e649721da1e0fecbf on master.

authors: coveralls evilsoft

repo: evilsoft/crocks

license: ISC


text:
:test_tube: fix(ethers): fix flaky unit test

Description
Test is flaky because it was running against latest block instead of a pinned block tag/number
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

main

PR #415   👈

This comment was auto-generated by Graphite.

repo: evmts/evmts-monorepo


text:
:recycle: Chore: integrate tx pool into tevm

Description
Tx pools and blockchain package allow us to implement the rest of tevm api
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

#987  👈
main

This stack of pull requests is managed by Graphite.

repo: evmts/tevm-monorepo


text:
Added copy-to-clipboard feature for token

I believe nobody wants to manually type the lengthy token, so now Users of the Example app can copy the token to clipboard simply by pressing on the token. A feedback message is displayed when the User presses on the token text, indicating the token was copied to the clipboard (so it is a hidden feature but easily found by frustrated Users).

haha ok. doesn't hurt to add.

authors: coreform evollu

repo: evollu/react-native-fcm


text:
Unable to get vite based examples working

Hi, I have been having issues with trying to implement this project with solid js, so I decided to try running the example to try and figure out what the problems could be. I have been trying to get the Vite and Vite+PWA examples running however have been unable too. The next js example work flawlessly. I have made sure to take out the folders from repo and have tried install with both npm and pnpm however, no dice, i keep getting a blank page and the following error SyntaxError: The requested module '/node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.js?v=3a13e745' does not provide an export named 'default' (at path.js?v=3a13e745:5:8).
For Vite PWA the error is: SyntaxError: The requested module '/node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.js?v=ce82434b' does not provide an export named 'default' (at path.js?v=ce82434b:5:8). I have tried pinning version 0.68.11 for @effects/schema as suggested in the discord however that does not work either.
I have also noticed it seems that the standard vite example comes with the @effect/schema and effect packages missing so it will not run on just a default clone and install.
I am unsure if the issues are on my end. Or if there are current compatibility issues with Vite and effect/evolu.
Github links for the test repos:
Vite: https://github.com/ibb2/evolu-vite-pnpm-repo/tree/main
Vite + PWA: https://github.com/ibb2/evolu-vite-pwa-pnpm-repo

@ibb2 Hi, thank you for reporting that. I will take a look right now.

I was able to get the vite working with the following changes to the package.json dependencies.
"@effect/schema": "0.66.14",
"@effect/platform": "0.52.2",
"@evolu/common": "5.0.3",
"@evolu/react": "8.0.1",
"@evolu/common-react": "8.0.3",
"@evolu/common-web": "8.0.1",
"effect": "3.4.7",
"react": "18.2.0",
"react-dom": "18.2.0".

The following also partially works but throws a weird error, that is not really replicable but does not stop the example working. the file is in the file output-error.txt:
"@effect/schema": "0.67.24",
"@evolu/common": "5.0.3",
"@evolu/react": "8.0.1",
"@evolu/common-react": "8.0.3",
"@evolu/common-web": "8.0.1",
"effect": "3.4.7",
"react": "18.2.0",
"react-dom": "18.2.0"

This also works, however only after running the first package json listed, it will fail if the vite example is fresh. It also fails if evolu react is bumped to the latest version and or effect schema is 68.*:
"@effect/schema": "0.67.24",
"@evolu/react": "8.0.1",
"effect": "3.4.7",
"react": "18.2.0",
"react-dom": "18.2.0"

Interesting. Hope some of that helps.

All examples were working; there must be some breaking change elsewhere. I don't use Vite or Remix; hopefully, examples author will fix it soon. Otherwise, I will have to fix it 🥲

Hopefully they can get to it soon.

@ibb2 Please tell me, does plain Evolu Web work for you? Platform wrappers are thin, so there is not much logic. The only issues can be related to bundling because Evolu uses Web Workers (to prevent the main thread blocking).

All update to date packages it works if I replace just the table from evolu/react with evolu/common.

@ibb2 can confirm importing table:
import {table} from '@evolu/common';

instead of
import {table} from '@evolu/react-native';

fixes the vite bundle issue (using rn + vite for web)

@TheUltDev Vite examples were updated.

authors: TheUltDev ibb2 steida

repo: evoluhq/evolu


text:
Update nel to 1.3.5

About this PR
📦 Updates com.evolutiongaming:nel from 1.3.4 to 1.3.5
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.evolutiongaming", artifactId = "nel" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "com.evolutiongaming", artifactId = "nel" }
}]

labels: library-update, early-semver-patch, semver-spec-patch, commit-count:1

Coverage: 33.621% (-0.3%) from 33.898% when pulling ad28df816de6b94678723ef160852471a8154222 on scala-steward:update/nel-1.3.5 into d082b04ae38161e522ab7991a62ceff130832f4e on evolution-gaming:master.

authors: coveralls scala-steward

repo: evolution-gaming/akka-tools


text:
fix: was detecting existence of the script -- not if it had loaded

AP-3414

hotfix-v1.29

repo: evolv-ai/asset-manager


text:
feat: esl-note-group and ignore-footnotes marker

In scope of this PR:

added ignore-footnotes attribute to allow note be a stand-alone
added standalone-label attribute to specify label to show at note in stand-alone mode instead of index
created els-note-group element to make easier propagation of same attributes to a group of child notes
added handler for esl:show:request at esl-toggleable that allows all components based on toggleable to show content when content requested showing

The last point from the update moved to #774 (targeting stable v3.12.0)

:tada: This PR is included in version 3.13.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.13.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

authors: ala-n dshovchko

repo: exadel-inc/esl


text:
EXASLCT: Improve base task

Currently, the further development and maintenance of exaslct is error prone, because we each task actually needs to write an output and if a task does not have an actual output, you easily forget to write a dummy. A new base task which automates this and which might work similar to https://github.com/d6t/d6tflow can simplify the code a lot and make it easier maintainable.

implemented in https://github.com/exasol/script-languages/pull/81

repo: exasol/script-languages


text:
【Document】【Translate】Exastro-ITA_システム構成／設定ガイド_SSO（シングルサインオン）編.docx

v1.7.0

https://github.com/exastro-suite/it-automation-docs/pull/526
でマージ。

authors: ooif ta-matsuo

repo: exastro-suite/it-automation-docs


text:
Extending the keyboard usage to element selection and modification

I would like to expand upon @frantic's proposal on #3100 and also suggest that the keyboard usage could be extended to directly select and modify elements in the canvas as well. While we all use Excalidraw to precisely... draw, I think there is room for a great improvement if we are able to quickly point to elements we would like to work upon.
Evidently I'm in no position to say how you guys would implement this and neither if it is actually feasible, but if I'm allowed to give my two spoonfuls of ideas, you could try implementing it with a Alt key selector, similar to how Microsoft Office[obs] works. That way we don't mess with either existing tool shortcuts or the browser's, and we open a whole new space for creation.
An Amateur's Vision of a New Feature
Say we have some elements on our canvas:

By simply hitting the Alt key, the options for selection would show up (here I have cued your awesome approach to the colour shortcuts), from where the user would then press the corresponding key to select the element to change:

From there, the menu would also be entirely accessible with another key (and they would fit each element type accordingly):

So let's say I want to change the fill colour of the first rectangle to orange. In this configuration I would have to type sequentially Alt → 2 → b → g and voilà! We have even integrated the existing shortcut for colour change.
Dealing with how Users Arrange Their Canvases
Since Excalidraw drawings can become very messy to the point of not having enough keys for the existing elements, this feature could be further defined to take only visible elements into consideration. Let's say I have zoomed in and pressed the Alt key again:

Now only the elements which I'm supposedly interested in (since they are the only ones I'm looking at, after all!) make part of the possible selection.

Since this last element is a group of minor elements, Excalidraw could understand that I as a user would like to either select another individual element or modify the group as a whole, so let's allow for that:

This way I could either change all the stroke colours by sequencing Alt → 9 → e → s → w Or just the first bar through Alt → 9 → 4 → s → w. By not demanding a key to be pressed down to either initiate or execute the commands, the interface becomes simple to handle as if a user were just typing a document.

Evidently my mock-up does not take into considerations possible conflicts (such as when I want to change two characteristics of my element: should I strike a sequence and return to no element selected or allow for further key strokes in the lateral menu? What about Library elements?) that could deter users from experiencing a flow state. But I personally think it would be a neat feature to be added to Excalidraw which at first glance seems to blend in with the overall modus operandi of this excellent tool.
Hopefully this does not end up compromising the performance too much for you guys to consider adding it!
Obs: I so wish other software followed this design, it really speeds up operations without needing Alt, Ctrl, Shift or a combination of them held down on the keyboard. This makes it prone to user error when they are thinking what to actually press to activate the command.

Hi, we can leave it for now in case anyone will be up for it in the future. The backlog is lost as of now, we will likely do a big bulk cleanup at some point.

authors: Mrazator manoelpqueiroz

repo: excalidraw/excalidraw


text:
Fix multiline hint text cropping

Fixes #2063
I decided to go with this variant, just add background for the whole Hint block, because otherwise padding looks ugly anyway (see issue)

There is another issue with hint, it does not look great with small screens, I think I'll look into that with different PR

Looks good. Thanks.


text:
feat: add gamja-flower font for Korean

add gamja flower font for Korean freedraw font

Closing in favor of #8530


text:
Editing the excel file removes the data table formula(What if analysis)

🐛 Bug Report

I'm using an excel template with some formulas(IRR, Data table) and saving the changes to a new file after adding values to few cells. But somehow the data table formula got removed in the new file.
Steps To Reproduce

  const Excel = require("exceljs");
  const workbook = new Excel.Workbook();
  const templateName = "./Book1.xlsx";
  workbook.xlsx.readFile(templateName).then((result) => {
    let worksheet1 = workbook.getWorksheet(1);

    const row1 = worksheet1.getRow(1);
    row1.getCell(6).value =  -199;
    row1.commit();
   workbook.xlsx.writeFile('Book2.xlsx');
});

So the Book1.xlsx is the template I'm using and Book2.xlsx is the new file with the changes. Datatable formula is removed in Book2.xlsx file.
Even if there are multiple workbooks in the template and I don't even edit in that particular workbook still the formula got removed.
The expected behavior:
The formula should stay in place

I also have the same issue. Tried to insert value in column and after that import the file in browser using
workbook.xlsx.writeBuffer().then( data => {
const blob = new Blob([data], { type: 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' });
FileSaver.saveAs(blob, 'newPath');
})
I am getting the file downloaded but formula applied in one column is shown as #REF! which refers one of the columns.
Can we expect a fix soon ?

authors: vikasqb wasif-shehzad

repo: exceljs/exceljs


text:
Fix link in readme

Fixed the code of conduct link to point to the actual code of conduct and not a dead link.

Woah cool, I can edit your PR. Neato. Thanks for this @anquinn 🍻


text:
Config File

Sorry for my ignorance, I'm trying to run Excludarr on Windows 11.
I installed it via PIP but I don't know where to put the configuration file.
Could you help me please?
Thanks

If you check the README, under Configuration it says the following:

To configure the application make sure that one of the following files exists:

/etc/excludarr/excludarr.yml
~/.config/excludarr/excludarr.yml
~/.excludarr/config/excludarr.yml
~/.excludarr.yml
./.excludarr.yml

The application will read those configuration files in that order. So ./.excludarr.yml will overwrite /etc/excludarr/excludarr.yml. > For a full list of options and their description see excludarr-example.yml in this repository.

In the case of Windows, ~/ refers to C:\Users\<username>, but Python should interpret ~/ correctly.
I would recommend you use any of the ~/ options, as they would prevail no matter the directory you're running the command from, and work both in Linux/Mac and Windows.
However, please note this is a fork of the original repo, which is the one the PIP package uses (noted for future releases). Currently, neither this fork nor the original repo works, as said in #92 and #2 .

repo: excludarr/excludarr


text:
black-jack: LargeHand lacks card information

https://exercism.org/tracks/go/exercises/blackjack
The large hand description states "two aces must always split", however the function signature provided only has
func LargeHand(isBlackjack bool, dealerScore int) string

I think the API should be changed to the following so the function can check the cards. Either that or match SmallHand and provide the total score since 22 implies two aces.
func LargeHand(card1, card2 string, dealerScore int) string
// or
func LargeHand(handScore, dealerScore int) string

Unless I'm missing something here..
P.S. I'm happy to submit a fix if this really is a mistake

Unless I'm missing something here..

Turns out I was missing something :laughing:
// LargeHand implements the decision tree for hand scores larger than 20 points.

It must be two aces if isBlackJack == false

I am reopening this to discuss whether there is something we can do here to improve the exercise. There was another issue opened for this before https://github.com/exercism/go/issues/1709.

Maybe spell out that large hand is only called when there is an ace and either a second ace or a ten card.

.. larger than 20 points (i.e. one ace and another card worth 10 or more).

Question: is there a reason LargeHand and SmallHand are split in this exercise? Perhaps a single function would make it more clear.
A mentor could also recommend writing private functions to organize the code better. The benefit of this approach is the learner can define largeHand and smallHand however they like.

Dropping by to share my experience with this exercise. I was stumped for similar reasons to #1709.
The thought in my head was "How do i know I have 2 aces if i don't have access to what my cards are?"
It's a little indirect to be a process of elimination based on assumptions of when the function is called or not called. While technically correct, I think it distracts from the goal of the exercise.
I like @mcastorina 's question. Removing LargeHand and SmallHand and expose FirstTurn as function to be implemented. Motivation being: if the trip-up is "when" the methods are called. Let the learner control the "when". Also an excellent point about encouraging learner to write their own functions to organize the strategies.

@jkisor Thanks for the input! If there is no major difficulty/complexity hidden in FirstTurn currently, then your suggestion sounds like a good plan.

The definition of "Small Hand" is "less than 21 points", which does not match a pair of aces. Some of us think literally, and that can cause confusion if we're trying to following specifications that don't work. Which is real life, but this is a learning exercise.  :)
If we're going with @mcastorina 's suggestion then we probably need to work on the instructions, too. So far several of the code challenges give very poor directions.

I would be happy to prepare a PR for this.

authors: IsaacG LeamHall jkisor junedev mcastorina norbs57

repo: exercism/go


text:
docs: improve need for speed intro

fixes https://github.com/exercism/go/issues/1589

@iHiD @ErikSchierboom ready for review 😄

Thanks! I'll also try to get back to this soon!


text:
clock: Update to match x-common/clock.json

Add test to match x-common/clock.json.
Remove legacy tests.
Closes #125

This all seems good. Note that the commit message still has clok.json in it; only the PR title got updated

authors: petertseng rbasso

repo: exercism/xhaskell


text:
Add word-is-not-own-anagram-case-insensitively

My implementation of anagrams-for suffered from this bug.

This is a rebasing of #129

repo: exercism/xlisp


text:
How to set up a local dev environment

See issue exercism/exercism.io#2092 for an overview of operation welcome contributors.

Provide instructions on how to contribute patches to the exercism test suites
and examples: dependencies, running the tests, what gets tested on Travis-CI,
etc.
The contributing document
in the x-api repository describes how all the language tracks are put
together, as well as details about the common metadata, and high-level
information about contributing to existing problems, or adding new problems.
The README here should be language-specific, and can point to the contributing
guide for more context.
From the OpenHatch guide:

Here are common elements of setting up a development environment you’ll want your guide to address:

Preparing their computer
Make sure they’re familiar with their operating system’s tools, such as the terminal/command prompt. You can do this by linking to a tutorial and asking contributors to make sure they understand it. There are usually great tutorials already out there - OpenHatch’s command line tutorial can be found here.
If contributors need to set up a virtual environment, access a virtual machine, or download a specific development kit, give them instructions on how to do so.
List any dependencies needed to run your project, and how to install them. If there are good installation guides for those dependencies, link to them.
Downloading the source
Give detailed instructions on how to download the source of the project, including common missteps or obstacles.
How to view/test changes
Give instructions on how to view and test the changes they’ve made. This may vary depending on what they’ve changed, but do your best to cover common changes. This can be as simple as viewing an html document in a browser, but may be more complicated.
Installation will often differ depending on the operating system of the contributor. You will probably need to create separate instructions in various parts of your guide for Windows, Mac and Linux users. If you only want to support development on a single operating system, make sure that is clear to users, ideally in the top-level documentation.

@kytrinyx @kotp Was looking through issues list in CodeTriage and saw this ticket open. SETUP.md and README look pretty robust to me -- and steps on the app seem solid -- anything still outstanding?

I think you're right, we're done with this one. Thanks!

authors: kytrinyx sarahjschultz

repo: exercism/xruby


text:
post login Error - 500

New users (Those not already in DB) get this error upon logging in. before it was issuing a corporation whitelist error. so i temp disabled the whitelist. Now this is the error. I have dropped 'fk_character___roleid___role__id'  and added it back via Fix Column/Keys in /Setup.
'role' table has entries for ID's 1,2,and 3. so from what i understand from the error PF is trying to set an ID not in that table. I get nothing in the Logs even on debug 3. any help would be appreciated

I guess you upgraded from 1.3.2 please read the upgrade steps (you missed point 5.)
https://github.com/exodus4d/pathfinder/releases/tag/v1.3.3