text:
SPI Master additional features

The SPI Master is currently not exposing some hardware features.
I'm listing them here to begin with rather than create a barrage of issues.

[ ] Configurable Segmented Transfers (All chips except the base ESP32 support this. It allows to setup multiple transfers at once, rather then send them one by one with the CPU).
[ ] Expose SPI App interrupts (ESP32-S3 SPI supports these things called "app interrupts" which behave just like SoftwareInterrupts, they are very handy for implementing an interrupt based queue)
[ ] Expose the extra LCD features that the S2 has for the SPI hardware.
[x] Allow using SPI with Dma[Tx|Rx]Buffers that don't have a length. The driver should accept a length in addition to the DMA buffer. (This allows for streaming transfers)

https://github.com/esp-rs/esp-hal/issues/2494 was created while I was drafting this issue. I think this issue should be separate since that one will be closed once the analysis is done, and this should remain open as a request for the features.
edit: moved a few of these into https://github.com/esp-rs/esp-hal/issues/2494 to be tackled before 1.0

Please don't remove needs-attention, the team will do that during/after triage.

Noted

C2/C3/C6/H2 also have APP interrupts.

authors: Dominaezzz bugadani


text:
efuse: allow overriding base mac

ESP-IDF defines several kinds of mac addresses, but this doesn't map well to the esp-hal design, because:

This isn't actually required by hardware.
Wifi / Ble drivers are external to esp-hal.

Hence this patch only allows overriding the base mac and does not introduce the concept of other types of mac addresses.
Resolves https://github.com/esp-rs/esp-hal/issues/971
Must

[ ] The code compiles without errors or warnings.
[ ] All examples work.
[ ] cargo fmt was run.
[ ] Your changes were added to the CHANGELOG.md in the proper section.
[ ] You updated existing examples or added examples (if applicable).
[ ] Added examples are checked in CI

Nice to have

[x] You add a description of your work to this PR.
[x] You added proper docs for your newly added features and code.

Sorry, wrong branch.

source: gharchive/pull-request

repo: esp-rs/esp-hal

license_type: permissive

license_source: github-api


text:
ADC Support

I see that there are some documentation around ADC functionality, but it doesn't seem possible to take a reading. There are a few issues that I see:

The GpioXX pin structs have no method to convert them to the Analog typestate
The Channel and OneShot traits imply that ADC1 and ADC2 newtypes should exist, but they do not
The above traits are not implemented for any types

I was looking into implementing this myself, but it raised some questions for me. As a user, I assumed this was a wrapper package around the esp-idf C library. Based on the register usage that I saw in the GPIO code, it seems more like a rewrite. Is it intended to be a low-level rewrite, or a higher-level wrapper?

Am I correct in understanding that currently one cannot read/write analog values with esp-idf-hal? (e.g. read analog value from a pin and drive something with PWM from an analog pin?)

Am I correct in understanding that currently one cannot read/write analog values with esp-idf-hal? (e.g. read analog value from a pin and drive something with PWM from an analog pin?)

You are correct. Waiting for somebody to take the lead.

ADC support is now implemented as part of https://github.com/esp-rs/esp-idf-hal/commit/b8657d8d4a9ca483bd23244b0d05ae7c3eb49bab.
DAC & PWM are tracked in #13 and #28.

ADC support is now implemented as part of https://github.com/esp-rs/esp-idf-hal/commit/b8657d8d4a9ca483bd23244b0d05ae7c3eb49bab.
DAC & PWM are tracked in #13 and #28.

Is there an example on how to read from an analog pin? I don't understand how to use

Is there an example on how to read from an analog pin? I don't understand how to use b8657d8

Yes

source: gharchive/issue

authors: ericvrp ivmarkov lily-mara matsimitsu

repo: esp-rs/esp-idf-hal


text:
libbtdm_app.a ASSERT_WARN(1 6), in lc_task.c at line 4658 when HCI mode change event (IDFGH-9447)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.1-dev-3462-g045163a2ec
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
Development Kit.
ESP32-DevKitC-32E
Power Supply used.
USB
What is the expected behavior?
No ASSERT in function  lc_task of the closed libbtdm_app.a BR/EDR library after receiving an HCI mode change event with Status: Command Disallowed (0x0c).
What is the actual behavior?
ESP32 running as the host for BR/EDR HID devices sometimes throw the following assert:
ASSERT_WARN(1 6), in lc_task.c at line 4658
This happen after setting sniff mode with some BR/EDR HID devices.
This occur when mode change event HCI packet is received with status:
Status: Command Disallowed (0x0c) (See wireshark trace packet # 481)
After this assert occur the HID device will stop sending HID report and their is no way to recover the connection.
The device stay connected but no data is received.
Steps to reproduce.

Build and flash BlueRetro on ESP32-DevKitC-32E

git clone -b SW_REWORK2 https://github.com/darthcloud/BlueRetro.git`
cd BlueRetro
cp configs/hw1/gamecube sdkconfig
idf.py build
idf.py flash

Connect/Disconnect a BR/EDR HID device (like a Switch controller) until ASSERT appear.

Debug Logs.
No response
More Information.
Complete log including H4 HCI packet dump:
switch_assert_after_sniff_mode_latest_idf.txt
Log with packet dump removed:
switch_assert_after_sniff_mode_latest_idf_nodump.txt
Wireshark HCI H4 trace on ESP32 side:
blueretro_switch_assert_after_sniff_mode_lastest_idf.zip
Packets # 185 & # 188 are example were the sniff mode worked.
Packets # 479 & # 481 are example of disallowed sniff mode that trigger the assert.

@darthcloud How to connect/disconnect to/from a device within this project?

@BetterJincheng it is a host device and it goes into inquiry mode automatically on boot, so you connect game controller to it.
This list how to connect the various controller supported, this issue is easier to reproduce with Nintendo Switch controllers:
https://github.com/darthcloud/BlueRetro/wiki/Controller-pairing-guide#6---switch-pairing-guide

libbtdm_app.zip
@darthcloud  Please reproduce with this bt-lib and attach the whole log. Thanks!

Log with debug bt-lib and assert after sniff mode:
switch_assert_after_sniff_mode_debug_bt.txt
Log with debug bt-lib and sniff mode worked:
switch_ok_after_sniff_mode_debug_bt.txt

@darthcloud Please test this bt-lib. Thanks!
libbtdm_app.zip

@BetterJincheng this look to have fixed it! :)
I reverted to last week lib and I reproduced easily and then upgraded back to this one and I could not reproduce the issue even after many attempts.
Here a couple log done with the new test lib for which the sniff mode was successful:
switch_ok_after_sniff_mode_debug_bt_2ndlib.txt
switch_ok_after_sniff_mode_debug_bt_2ndlib2.txt
I will make more test tonight and report back here.
Thanks!
Jacques

I made more tests and it always work now with this new bt lib, mode change is always successful.
Thanks a lot @BetterJincheng !

@darthcloud We will merge it to release branch soon. Turn to us anytime!

@darthcloud We will merge it to release branch soon. Turn to us anytime!

@BetterJincheng How is the status for this fix?

@AxelLin The fix has beed merged in all the release branches except for v4.4.

github fix commit: 3fb242660d4b441f69f11aa396e5b9955a2e9e8e

authors: Alvin1Zhang AxelLin BetterJincheng darthcloud

repo: espressif/esp-idf


text:
component manager pulls in and build component that is excluded by Kconfig (IDFGH-10513)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.0
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
I use component manager to manage a few custom components of a project.
One of the custom components is ble_gatt_server, which depends on esp-idf/components/bt.
I want to make the build time decision to enable or disable the component ble_gatt_server. So I added a Kconfg:
config BLE_GATT_SERVER
  bool "Enable BLE GATT server"
  depends on BT_ENABLED

In the main component CMakeLists.txt, I have:
set(priv_requires "")
if(CONFIG_BLE_GATT_SERVER)
  list(APPEND priv_requires "ble_gatt_server")
endif()
idf_component_register(SRCS "main.cpp"
    INCLUDE_DIRS "."
    PRIV_REQUIRES "${priv_requires}"
    )

In main component idf_component.yml, I have:
  ble_gatt_server:
    path: path/to/ble_gatt_server/

I would expect when I disable CONFIG_BLE_GATT_SERVER, ble_gatt_server will not be included and compiled since it is not in PRIV_REQUIRES list.
What is the actual behavior?
No matter whether I enable or disable CONFIG_BLE_GATT_SERVER, ble_gatt_server is always pulled in by component manager and get compiled.
My understanding is CMakeLists.txt specifies what components are needed. idf_component.yml specifies where to retrieve the source code of the required components.
But it seems that is not the case.
Steps to reproduce.

Step
Step
Step
...

Build or installation Logs.
No response
More Information.
No response

Hi @kylezhou, the issue you are running into happens because in IDF build system, component requirements (as passed to idf_component_register) can't depend on Kconfig options. Kconfig option values are determined after the list of components to be built has been decided, so at the time of component registration all the options are still undefined.
The sequence of events is:

component manager inspects idf_component.yml files
build system goes over the components, evaluating component requirements to decide which components should be included into the build
once the list of components had been determined, Kconfig is used to build the sdkconfig file.

It's not possible to affect the outcome of the preceding step by the result of the next one.

Thanks @igrr for the prompt reply.

component requirements (as passed to idf_component_register) can't depend on Kconfig options.

This sounds like a big constraint.
But since Kconfig comes from various components, this makes sense. We need to get all required components first before we know all configs.
So in my use case, there isn't a good way to enable/disable optional components. Any suggestions?
One option I can think of is to change the optional component's CMakeLists.txt, so that when the Kconfig is not enabled, it does not include any C source files (thus it becomes an empty component).

@kylezhou Sorry for the late response.

One option I can think of is to change the optional component's CMakeLists.txt, so that when the Kconfig is not enabled, it does not include any C source files (thus it becomes an empty component).

Yes, I'm afraid that's the only option for the time being. We are looking at improving the way the build system performs dependency tracking (following the discussion in #10579), we will try to address this problem in the future.

authors: igrr kylezhou


text:
esp32s3 pdm rx录音多通道有杂音，不正常。 (IDFGH-12707)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
参考i2s_pdm_rx.c代码，修改gpio为：
#define EXAMPLE_PDM_RX_CLK_IO           GPIO_NUM_19     // I2S PDM RX clock io number
#define EXAMPLE_PDM_RX_DIN_IO           GPIO_NUM_20      // I2S PDM RX data in io number
#if CONFIG_IDF_TARGET_ESP32S3
#define EXAMPLE_PDM_RX_DIN1_IO          GPIO_NUM_11      // I2S PDM RX data line1 in io number
#define EXAMPLE_PDM_RX_DIN2_IO          GPIO_NUM_12      // I2S PDM RX data line2 in io number
#define EXAMPLE_PDM_RX_DIN3_IO          GPIO_NUM_13      // I2S PDM RX data line3 in io number
#endif
gpio初始化：
#if CONFIG_IDF_TARGET_ESP32S3
// Only ESP32-S3 can support 4-line PDM RX
.dins = {
EXAMPLE_PDM_RX_DIN_IO,
EXAMPLE_PDM_RX_DIN_IO,
EXAMPLE_PDM_RX_DIN_IO,
EXAMPLE_PDM_RX_DIN_IO,
},
#else
.din = EXAMPLE_PDM_RX_DIN_IO,
#endif
通道配置：
#if CONFIG_IDF_TARGET_ESP32S3
// Enable all slots for example
pdm_rx_cfg.slot_cfg.slot_mode = I2S_SLOT_MODE_STEREO;
//pdm_rx_cfg.slot_cfg.slot_mask = I2S_PDM_LINE_SLOT_ALL;
pdm_rx_cfg.slot_cfg.slot_mask |= I2S_PDM_RX_LINE0_SLOT_RIGHT | I2S_PDM_RX_LINE0_SLOT_LEFT;
pdm_rx_cfg.slot_cfg.slot_mask |= I2S_PDM_RX_LINE1_SLOT_RIGHT | I2S_PDM_RX_LINE1_SLOT_LEFT;
//pdm_rx_cfg.slot_cfg.slot_mask |= I2S_PDM_RX_LINE2_SLOT_RIGHT | I2S_PDM_RX_LINE2_SLOT_LEFT;
//pdm_rx_cfg.slot_cfg.slot_mask |= I2S_PDM_RX_LINE3_SLOT_RIGHT | I2S_PDM_RX_LINE3_SLOT_LEFT;

#endif
pdm_rx_cfg.slot_cfg.slot_mask只要使用超过4通道，录音回来就不正常， 失真，杂音。
用的是同一个pmd立体声mic板子。

PDM_RX.PCM 是6通道，16bit，16000hz。录音文件。i2s_channel_read读取回来的数据保存在psram，读取到2194304字节后，再把2194304字节写入到sd卡 PDM_RX.PCM。 可以排出是写sd卡速度问题导致的。

如果要用6通道的话，那就是配3个dins信号，第四个GPIO配置为-1即可
.dins = {
EXAMPLE_PDM_RX_DIN1_IO,
EXAMPLE_PDM_RX_DIN2_IO,
EXAMPLE_PDM_RX_DIN3_IO,
-1,
},
// ...
pdm_rx_cfg.slot_cfg.slot_mask = I2S_PDM_RX_LINE0_SLOT_RIGHT | I2S_PDM_RX_LINE0_SLOT_LEFT |
                                                          I2S_PDM_RX_LINE1_SLOT_RIGHT | I2S_PDM_RX_LINE1_SLOT_LEFT |
                                                          I2S_PDM_RX_LINE2_SLOT_RIGHT | I2S_PDM_RX_LINE2_SLOT_LEFT;

8通道也试过也是有杂音。我是慢慢减少通道数忘记去掉io配置了。i

有没有试过交换通道，比如其中4个通道没问题的话，试试接到其他4个通道上，需要测试下这两种情况：

使能后4个通道，接到之前测试能用的4个mic上 （排除具体通道造成的问题）
使能前4个通道，接到另外4个mic上 （排除 mic 的问题）

如果排除了上述两种情况，那应该最后的影响因素确实是通道数量。由通道数量增加引起的杂音问题，可能的原因是：

时钟信号和4条数据信号不够同步造成时钟边缘采样不够精准；

通过逻辑分析仪或者示波器观察采样时钟与数据信号对齐情况；

通道数量增加后数据吞吐量增加，写入psram较慢可能导致有数据丢失；

观察音频波形是否有剪切，若有剪切现象，可以试试通过WiFi + TCP发送数据，带宽高点

有没有试过交换通道，比如其中4个通道没问题的话，试试接到其他4个通道上，需要测试下这两种情况：

使能后4个通道，接到之前测试能用的4个mic上 （排除具体通道造成的问题）
使能前4个通道，接到另外4个mic上 （排除 mic 的问题）

如果排除了上述两种情况，那应该最后的影响因素确实是通道数量。由通道数量增加引起的杂音问题，可能的原因是：

时钟信号和4条数据信号不够同步造成时钟边缘采样不够精准；

通过逻辑分析仪或者示波器观察采样时钟与数据信号对齐情况；

通道数量增加后数据吞吐量增加，写入psram较慢可能导致有数据丢失；

观察音频波形是否有剪切，若有剪切现象，可以试试通过WiFi + TCP发送数据，带宽高点

请问WROOM-1-N16R8 的psram读写速度各是多少？ wifi＋tcp发送能比直接写psram快吗？ 当初就是跑网络阻塞导致音频丢失，才考虑使用8m的psram

请问WROOM-1-N16R8 的psram读写速度各是多少？
如果用的是R8的模组的话，menuconfig启用Octal Flash (Enable Octal Flash)，速度可以到80MB/s，带宽应该是够的


text:
Windows Zip File Doesn't Contain ESP directory

When you download:
https://dl.espressif.com/dl/esp32_win32_msys2_environment_and_toolchain-20180110.zip
When you run the shell there is no MINGW32 ~esp
directory.

Hi @mrmonteith,
You are right, there is no such directory created. The idea was not to impose specific location for the ESP-IDF. An update will be added to documentation asking user to create a directory after downloading MSYS2.

Yes. I created it manually.  Thanks

authors: krzychb mrmonteith


text:
Error "Re-enable cpu cache" while using PSRAM in WROVER kit (IDFGH-4419)

Environment

Development Kit:      [ESP32-Wrover-Kit]
Kit version (for WroverKit): [v1|v2|v3|v4]
Module or chip used:  [ESP32-WROVER-B]
IDF version (run git describe --tags to find it):
//v4.3-dev-1521-g0289d1c
Build System:         [idf.py]
Compiler version (run xtensa-esp32-elf-gcc --version to find it):
// crosstool-NG esp-2020r3
Operating System:     [Linux]
(Windows only) environment type: [MSYS2 mingw32|ESP Command Prompt|Plain Command Prompt|PowerShell].
Using an IDE?: [No]
Power Supply:         [USB]

Problem Description
I set up the WROVER kit to use PSRAM and it reboots with a "Re-enable cpu cache" error.
//Detailed problem description goes here.
Expected Behavior
Actual Behavior
Steps to reproduce
// If possible, attach a picture of your setup/wiring here.
Code to reproduce this issue
// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "esp_log.h"

void app_main()
{
	if (nvs_flash_init() != ESP_OK) {
		print_error("nvs_flash_init failed");
	}
	//gpio_reset_pin(BLINK_GPIO);
	//gpio_set_direction(BLINK_GPIO, GPIO_MODE_OUTPUT);

	pthread_cond_init(&cv, NULL);

	print_macro_info();
	initialise_wifi();
	initialize_console();

	// Register commands
	esp_console_register_help_command();
	register_ctt();

#ifdef EXTERNAL_SPRAM_USE

	// Create the task without using any dynamic memory allocation.
	xHandle = xTaskCreateStatic(
	server_main,	 // Function that implements the task.
	"server_main", // Text name for the task.
	STACK_SIZE,	  // Stack size in bytes, not words.
	NULL, 		 // Parameter passed into the task.
	5, 			// Priority at which the task is created.
	xStack,		  // Array to use as the task's stack.
	&xTaskBuffer); // Variable to hold the task's data structure.

	if (xHandle == NULL) {
		print_error("task create failed (server_main)");
	}

	xHandleConsole = xTaskCreateStatic(
	console_task, "console",
	STACK_SIZE_CONSOLE,
	NULL,
	configMAX_PRIORITIES - 2,
	xStackConsole,
	&xTaskBufferConsole);

	if (xHandleConsole == NULL) {
		print_error("task create failed (console)");
	}

#else

	// Create the task without using any dynamic memory allocation.
 	if ( xTaskCreate(&server_main, "server_main",
		//17*1024,
		1024*18,
		NULL, 5, NULL) != pdPASS ) {
		print_error("task create failed(server_main)");
	}

 	if ( xTaskCreate(&console_task, "console",
		//1024*3,
		1024*2,
		NULL, configMAX_PRIORITIES - 2, NULL) != pdPASS ) {
		print_error("task create failed(console)");
	}

#endif
}

// If your code is longer than 30 lines, GIST is preferred.
Debug Logs
ets Jun  8 2016 00:22:57
rst:0x1 (POWERON_RESET),boot:0x1e (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4
load:0x3fff0034,len:7200
ho 0 tail 12 room 4
load:0x40078000,len:15316
load:0x40080400,len:3108
entry 0x40080600
I (30) boot: ESP-IDF v4.3-dev-1521-g0289d1c-dirty 2nd stage bootloader
I (31) boot: compile time 16:11:25
I (32) boot: chip revision: 1
I (35) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (42) boot.esp32: SPI Speed      : 40MHz
I (47) boot.esp32: SPI Mode       : DIO
I (51) boot.esp32: SPI Flash Size : 4MB
I (56) boot: Enabling RNG early entropy source...
I (61) boot: Partition Table:
I (65) boot: ## Label            Usage          Type ST Offset   Length
I (72) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (80) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (87) boot:  2 factory          factory app      00 00 00010000 00140000
I (95) boot: End of partition table
I (99) boot_comm: chip revision: 1, min. application chip revision: 0
I (106) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x2d390 (185232) map
I (192) esp_image: segment 1: paddr=0x0003d3b8 vaddr=0x3ffb0000 size=0x02c60 ( 11360) load
I (198) esp_image: segment 2: paddr=0x00040020 vaddr=0x400d0020 size=0xc37f4 (800756) map
I (533) esp_image: segment 3: paddr=0x0010381c vaddr=0x3ffb2c60 size=0x01e74 (  7796) load
I (537) esp_image: segment 4: paddr=0x00105698 vaddr=0x40080000 size=0x00404 (  1028) load
I (540) esp_image: segment 5: paddr=0x00105aa4 vaddr=0x40080404 size=0x1e1f0 (123376) load
I (625) boot: Loaded app from partition at offset 0x10000
I (625) boot: Disabling RNG early entropy source...
I (637) psram: This chip is ESP32-D0WD
I (637) spiram: Found 64MBit SPI RAM device
I (637) spiram: SPI RAM mode: flash 40m sram 40m
I (642) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (649) cpu_start: Pro cpu up.
I (653) cpu_start: Starting app cpu, entry point is 0x40081880
I (0) cpu_start: App cpu up.
I (1523) spiram: SPI SRAM memory test OK
I (1532) cpu_start: Pro cpu start user code
I (1532) cpu_start: cpu freq: 160000000
I (1532) cpu_start: Application information:
I (1535) cpu_start: Project name:     KD_iotivity_server
I (1541) cpu_start: App version:      2.2.0-28-g9fc5ba6-dirty
I (1547) cpu_start: Compile time:     Dec 11 2020 16:12:09
I (1553) cpu_start: ELF file SHA256:  003d9eb7016a05a0...
I (1559) cpu_start: ESP-IDF:          v4.3-dev-1521-g0289d1c-dirty
I (1567) heap_init: Initializing. RAM available for dynamic allocation:
I (1574) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1580) heap_init: At 3FFBBE70 len 00024190 (144 KiB): DRAM
I (1586) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1592) heap_init: At 3FFE4350 len 00013CB0 (79 KiB): D/IRAM
I (1599) heap_init: At 4009E5F4 len 00001A0C (6 KiB): IRAM
I (1605) spiram: Adding pool of 4084K of external SPI memory to heap allocator
I (1614) esp_apptrace: Initialized TRAX on CPU0
I (1619) spi_flash: detected chip: generic
I (1623) spi_flash: flash io: dio
I (1629) cpu_start: Starting scheduler on PRO CPU.
I (537) esp_apptrace: Initialized TRAX on CPU1
I (0) cpu_start: Starting scheduler on APP CPU.

OC_DEBUG defined!
APP_DEBUG defined!
OC_CLIENT defined!
OC_SERVER defined!
OC_IPV4 not defined!
ENABLE_LIGHT not defined!
OC_SECURITY defined!
OC_DYNAMIC_ALLOCATION defined!
OC_BLOCK_WISE defined!
OC_PKI defined!
OC_TCP not defined!

I (1873) wifi:wifi driver task: 3ffc6158, prio:23, stack:6656, core=0
I (1873) system_api: Base MAC address is not set
I (1873) system_api: read default base MAC address from EFUSE
I (1923) wifi:wifi firmware version: a94a000
I (1923) wifi:wifi certification version: v7.0
I (1923) wifi:config NVS flash: enabled
I (1923) wifi:config nano formating: disabled
I (1933) wifi:Init data frame dynamic rx buffer num: 32
I (1933) wifi:Init management frame dynamic rx buffer num: 32
I (1943) wifi:Init management short buffer num: 32
I (1943) wifi:Init static tx buffer num: 16
I (1953) wifi:Init tx cache buffer num: 32
I (1953) wifi:Init static rx buffer size: 1600
I (1953) wifi:Init static rx buffer num: 10
I (1963) wifi:Init dynamic rx buffer num: 32
I (1963) wifi_init: rx ba win: 6
I (1963) wifi_init: tcpip mbox: 32
I (1973) wifi_init: udp mbox: 6
I (1973) wifi_init: tcp mbox: 6
I (1983) wifi_init: tcp tx win: 5744
I (1983) wifi_init: tcp rx win: 5744
I (1983) wifi_init: tcp mss: 1440
I (1993) wifi_init: WiFi IRAM OP enabled
I (1993) wifi_init: WiFi RX IRAM OP enabled
I (2003) wifi_init: LWIP IRAM OP enabled
I (2113) phy: phy_version: 4500, 0cd6843, Sep 17 202 0I (2123) iotivity server: iotivity server task started
This is an example of ESP-IDF console component.
Type 'help' to get the list of commands.
Use UP/DOWN arrows to navigate through command history.
Press TAB when typing command name to auto-complete.
I (2603) wifi:new:<4,0>, old:<1,0>, ap:<255,255>, sta:<4,0>, prof:1
I (3643) wifi:state: init -> auth (b0)
I (3663) wifi:state: auth -> assoc (0)
I (3673) wifi:state: assoc -> run (10)
I (3703) wifi:connected with TP-Link_FC80, aid = 3, channel 4, BW20, bssid = 84:d8:1b:35:fc:7f
I (3703) wifi:security: WPA2-PSK, phy: bgn, rssi: -27
I (3703) wifi:pm start, type: 1
W (3723) wifi:idx:0 (ifx:0, 84:d8:1b:35:fc:7f), tid:5, ssn:2, winSize:64
I (3763) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (4363) esp_netif_handlers: iotivity server: sta ip: 192.168.0.150, mask: 255.255.255.0, gw: 192.168.0.1
W (4483) wifi:idx:1 (ifx:0, 84:d8:1b:35:fc:7f), tid:0, ssn:0, winSize:64
I (4863) iotivity server: got IPv6 addr:FE80::AE67:B2FF:FE71:617C
introspection via header file
app_init()
Register Resource with local path "/power"
number of Resource Types: 1
Resource Type: "oic.r.switch.binary"
Default OCF Interface: "oic.if.a"
Register Resource with local path "/temperature"
number of Resource Types: 1
Resource Type: "oic.r.temperature"
Default OCF Interface: "oic.if.a"
WARNING: ../adapter/src/storage.c <oc_storage_read:65>: oc_storage_read cannot nvs_get_blob  u_ids_0: 4354
WARNING: ../adapter/src/storage.c <oc_storage_read:65>: oc_storage_read cannot nvs_get_blob  pstat_0: 4354
Successfully installed PKI certificate
ets Jun  8 2016 00:22:57
rst:0x8 (TG1WDT_SYS_RESET),boot:0x1e (SPI_FAST_FLASH_BOOT)
configsip: 0, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:2
load:0x3fff0030,len:4
load:0x3fff0034,len:7200
ho 0 tail 12 room 4
load:0x40078000,len:15316
load:0x40080400,len:3108
entry 0x40080600
I (61) boot: ESP-IDF v4.3-dev-1521-g0289d1c-dirty 2nd stage bootloader
I (62) boot: compile time 16:11:25
I (63) boot: chip revision: 1
I (67) boot_comm: chip revision: 1, min. bootloader chip revision: 0
I (74) boot.esp32: SPI Speed      : 40MHz
I (79) boot.esp32: SPI Mode       : DIO
I (83) boot.esp32: SPI Flash Size : 4MB
W (88) boot.esp32: PRO CPU has been reset by WDT.
W (93) boot.esp32: WDT reset info: PRO CPU PC=0x40085ad0
W (99) boot.esp32: WDT reset info: APP CPU PC=0x4009201a
I (105) boot: Enabling RNG early entropy source...
I (111) boot: Partition Table:
I (114) boot: ## Label            Usage          Type ST Offset   Length
I (122) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (129) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (137) boot:  2 factory          factory app      00 00 00010000 00140000
I (144) boot: End of partition table
I (148) boot_comm: chip revision: 1, min. application chip revision: 0
I (156) esp_image: segment 0: paddr=0x00010020 vaddr=0x3f400020 size=0x2d390 (185232) map
I (242) esp_image: segment 1: paddr=0x0003d3b8 vaddr=0x3ffb0000 size=0x02c60 ( 11360) load
I (248) esp_image: segment 2: paddr=0x00040020 vaddr=0x400d0020 size=0xc37f4 (800756) map
I (583) esp_image: segment 3: paddr=0x0010381c vaddr=0x3ffb2c60 size=0x01e74 (  7796) load
I (587) esp_image: segment 4: paddr=0x00105698 vaddr=0x40080000 size=0x00404 (  1028) load
I (590) esp_image: segment 5: paddr=0x00105aa4 vaddr=0x40080404 size=0x1e1f0 (123376) load
I (674) boot: Loaded app from partition at offset 0x10000
I (675) boot: Disabling RNG early entropy source...
I (686) psram: This chip is ESP32-D0WD
I (687) spiram: Found 64MBit SPI RAM device
I (687) spiram: SPI RAM mode: flash 40m sram 40m
I (692) spiram: PSRAM initialized, cache is in low/high (2-core) mode.
I (699) cpu_start: Pro cpu up.
I (703) cpu_start: Starting app cpu, entry point is 0x40081880
I (0) cpu_start: App cpu up.
I (1572) spiram: SPI SRAM memory test OK
I (1581) cpu_start: Pro cpu start user code
I (1581) cpu_start: cpu freq: 160000000
I (1581) cpu_start: Application information:
I (1584) cpu_start: Project name:     KD_iotivity_server
I (1590) cpu_start: App version:      2.2.0-28-g9fc5ba6-dirty
I (1597) cpu_start: Compile time:     Dec 11 2020 16:12:09
I (1603) cpu_start: ELF file SHA256:  003d9eb7016a05a0...
I (1609) cpu_start: ESP-IDF:          v4.3-dev-1521-g0289d1c-dirty
I (1616) heap_init: Initializing. RAM available for dynamic allocation:
I (1623) heap_init: At 3FFAE6E0 len 00001920 (6 KiB): DRAM
I (1629) heap_init: At 3FFBBE70 len 00024190 (144 KiB): DRAM
I (1636) heap_init: At 3FFE0440 len 00003AE0 (14 KiB): D/IRAM
I (1642) heap_init: At 3FFE4350 len 00013CB0 (79 KiB): D/IRAM
I (1649) heap_init: At 4009E5F4 len 00001A0C (6 KiB): IRAM
I (1655) spiram: Adding pool of 4084K of external SPI memory to heap allocator
I (1664) esp_apptrace: Initialized TRAX on CPU0
I (1668) spi_flash: detected chip: generic
I (1673) spi_flash: flash io: dio
I (1679) cpu_start: Starting scheduler on PRO CPU.
I (537) esp_apptrace: Initialized TRAX on CPU1
I (0) cpu_start: Starting scheduler on APP CPU.

OC_DEBUG defined!
APP_DEBUG defined!
OC_CLIENT defined!
OC_SERVER defined!
OC_IPV4 not defined!
ENABLE_LIGHT not defined!
OC_SECURITY defined!
OC_DYNAMIC_ALLOCATION defined!
OC_BLOCK_WISE defined!
OC_PKI defined!
OC_TCP not defined!

I (1962) wifi:wifi driver task: 3ffc6258, prio:23, stack:6656, core=0
I (1962) system_api: Base MAC address is not set
I (1962) system_api: read default base MAC address from EFUSE
I (2012) wifi:wifi firmware version: a94a000
I (2012) wifi:wifi certification version: v7.0
I (2012) wifi:config NVS flash: enabled
I (2012) wifi:config nano formating: disabled
I (2022) wifi:Init data frame dynamic rx buffer num: 32
I (2022) wifi:Init management frame dynamic rx buffer num: 32
I (2032) wifi:Init management short buffer num: 32
I (2032) wifi:Init static tx buffer num: 16
I (2032) wifi:Init tx cache buffer num: 32
I (2042) wifi:Init static rx buffer size: 1600
I (2042) wifi:Init static rx buffer num: 10
I (2052) wifi:Init dynamic rx buffer num: 32
I (2052) wifi_init: rx ba win: 6
I (2052) wifi_init: tcpip mbox: 32
I (2062) wifi_init: udp mbox: 6
I (2062) wifi_init: tcp mbox: 6
I (2072) wifi_init: tcp tx win: 5744
I (2072) wifi_init: tcp rx win: 5744
I (2072) wifi_init: tcp mss: 1440
I (2082) wifi_init: WiFi IRAM OP enabled
I (2082) wifi_init: WiFi RX IRAM OP enabled
I (2092) wifi_init: LWIP IRAM OP enabled
I (2202) phy: phy_version: 4500, 0cd6843, Sep 17 202A0I (2212) iotivity server: iotivity server task started
This is an example of ESP-IDF console component.
Type 'help' to get the list of commands.
Use UP/DOWN arrows to navigate through command history.
Press TAB when typing command name to auto-complete.
I (2692) wifi:new:<4,0>, old:<1,0>, ap:<255,255>, sta:<4,0>, prof:1
I (3732) wifi:state: init -> auth (b0)
I (3752) wifi:state: auth -> assoc (0)
I (3752) wifi:state: assoc -> init (3c0)
I (3752) wifi:new:<4,0>, old:<4,0>, ap:<255,255>, sta:<4,0>, prof:1
I (5932) wifi:new:<4,0>, old:<4,0>, ap:<255,255>, sta:<4,0>, prof:1
I (5932) wifi:state: init -> auth (b0)
I (5942) wifi:state: auth -> assoc (0)
I (5952) wifi:state: assoc -> run (10)
I (5972) wifi:connected with TP-Link_FC80, aid = 3, channel 4, BW20, bssid = 84:d8:1b:35:fc:7f
I (5982) wifi:security: WPA2-PSK, phy: bgn, rssi: -29
I (5982) wifi:pm start, type: 1
W (6002) wifi:idx:0 (ifx:0, 84:d8:1b:35:fc:7f), tid:5, ssn:2, winSize:64
I (6032) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (6952) esp_netif_handlers: iotivity server: sta ip: 192.168.0.150, mask: 255.255.255.0, gw: 192.168.0.1
I (7952) iotivity server: got IPv6 addr:FE80::AE67:B2FF:FE71:617C
introspection via header file
app_init()
Register Resource with local path "/power"
number of Resource Types: 1
Resource Type: "oic.r.switch.binary"
Default OCF Interface: "oic.if.a"
Register Resource with local path "/temperature"
number of Resource Types: 1
Resource Type: "oic.r.temperature"
Default OCF Interface: "oic.if.a"
WARNING: ../adapter/src/storage.c <oc_storage_read:65>: oc_storage_read cannot nvs_get_blob  pstat_0: 4354
Successfully installed PKI certificate
Successfully installed intermediate CA certificate
Re-enable cpu cache.
Guru Meditation Error: Core  0 panic'ed (Cache disabled but cached memory region accessed).
Core  0 register dump:
PC      : 0x400860d3  PS      : 0x00060034  A0      : 0x80085ff0  A1      : 0x3ffb0670
A2      : 0x40085d20  A3      : 0x3ffb1c18  A4      : 0x3f801ce4  A5      : 0x40085d64
A6      : 0x3ffb197c  A7      : 0x3ffbbe58  A8      : 0x800860c5  A9      : 0x3ffb0650
A10     : 0xbad00bad  A11     : 0x3ffb0670  A12     : 0x3ffb0678  A13     : 0x00060021
A14     : 0x000000fe  A15     : 0x00000001  SAR     : 0x00000000  EXCCAUSE: 0x00000007
EXCVADDR: 0x00000000  LBEG    : 0x00000000  LEND    : 0x00000000  LCOUNT  : 0x00000000
Backtrace:0x400860d0:0x3ffb0670 0x40085fed:0x3ffb06a0 0x40086471:0x3ffb06c0 0x40084231:0x3ffb06e0 0x400848ab:0x3ffbd240 0x40085e9c:0x3ffbd260
ELF file SHA256: 003d9eb7016a05a0
Debug log goes here, should contain the backtrace, as well as the reset source if it is a crash.
Please copy the plain text here for us to search the error log. Or attach the complete logs but leave the main part here if the log is *too* long.

Other items if possible

[ ] sdkconfig file (attach the sdkconfig file from your project folder)
sdkconfig.txt

[ ] elf file in the build folder (note this may contain all the code details and symbols of your project.)
KD_iotivity_server.elf.txt

[ ] coredump (This provides stacks of tasks.)

Thanks for reporting and letting us know, we will look into.

@ansee7221 Could you provide a complete code to reproduce this issue?

@ansee7221 We had found the cause, CONFIG_SPIRAM_ALLOW_BSS_SEG_EXTERNAL_MEMORY option will put one of our wifi variable into psram. Could you replace $IDF_PATH/esp-idf/components/esp_wifi/lib by this and see if this issue fixed? Thanks.
lib.zip

@YouDONG-ESP , It has been resolved after updating with the file you sent. Thank you very much.

Thanks for reporting and updates, will reopen until the fix is available, the issue will close automatically once the fix is on GitHub. Thanks.

Hi @ansee7221  it has been fixed in commit e040168a9f5697fdc68e567ecc7314cdbe61ac5b

Hi @ansee7221  it has been fixed in commit e040168a9f5697fdc68e567ecc7314cdbe61ac5b

Thanks for reporting, feel free to reopen.

Thanks for reporting, feel free to reopen.


text:
Opening the door by MQTT Command

Change Request:
Remotly open the door via MQTT command and loging the event in the log file.

I concur, that would be GREAT !

I tested with version 1.3.3 and it works. mosquitto as mqtt broker and node-red/dashboard (or mosquitto_pub on console).
You must not send a retained message, else you will have the door activated each time the esp-rfid reboots.
mosquitto_pub -h IP.of.your.MQTTbroker -t rfid -m '{"cmd": "opendoor", "doorip": "192.168.xyz.xyz"}'  where doorip is the ip address of the esp-rfid
The message is in JSON format. I hope it is readable inside the code segment.

I was new to this and it cost me a lot of time to figure out how to open the door from HomeAssitant. For those who are new to this here are the steps:

use the latest firmware version (starting 1.3.1)
go to HomeAssitant en go to 'developer tools'
go to tab 'Services'
select as service 'mqtt.publish'
Service data use this data and fill in IP from the RFID (see status tab for IP)
topic: /rfid
payload_template: '{"cmd": "opendoor", "doorip": "xxx.xxx.x.xxx"} '

If this works you can use the code in automations

this is present and documented in the dev branch, I'm closing this, but feel free to reopen if necessary!

authors: MHOMEASS Sansibari ingeninge matjack1 sinclairfr

repo: esprfid/esp-rfid

license: MIT


text:
Idea: "Return to Default App" function

I realize there are only a few buttons available, and I like that watch seems to retain state after turning the screen on after it blanks. But in order to get back to the Vertical Face app when the device resets, I have to scroll to the bottom of the list of apps. Maybe if pressing buttons 2 & 3 simultaneously brought up a "Default App" you could quickly return to your favourite clock.
Also. It would be cool if there was a way to store the preferences between reboots so it wouldn't keep resetting my "select clock" preference.

Hi - I'm pretty sure this exists.
If you go to Settings, then Select Clock, you can choose the default clock you want to appear when you long-press BTN3 or when the Bangle starts up from a cold boot.

authors: OhMeadhbh gfwilliams

repo: espruino/BangleApps


text:
refactor: rename _hash -> _addr

Closes #167
Bumps versions of crates other than rusqlite-pool for them to be published.

OK just rebased onto main and removed the last commit in favour of publishing in a follow-up PR as I'm also going to try land #133 in this release.

authors: mitchmindtree supiket

repo: essential-contributions/essential-node


text:
wrong syntax for animation for ios SideMenu

in app.react.js under native
<SideMenu
animation='spring'
I believe animation is not a property for SideMenu
Awesome work btw!

Thank you! This is a result of some refactoring I forgot about. Will fix when migrating to este/common later this week.

And I have to say, I spend two days refactoring all the mess in native brach. Grabbou, speed is nice, but that code was inconsistent and shitty mess I haven't seen for ages.

Anyway, thank you for made it, really. It wasn't just ready for master.

authors: grabbou steida yosit

repo: este/este

license: mit

license_source: bigquery


text:
issues/suggestions 1.0.9

Firstly, the scheduler is showing the current date and time - not the date and time that the post is scheduled to be posted.
Secondly, although I like the notifications thing (and just turned it off), it would be nice to have some sort of in between mode. I don't mind it telling me that people have upvoted me, but I can just imagine it next time I get @curied... 550 votes the other day! My poor computer will be a flood of blue notifications!
Oh, one more thing - any chance of getting templates so I don't have to keep copy/pasting from my text file? (And I'd love an integrated spell-check - even though I often have arguments (and win!) with it, it's still a very useful tool.)
Keep up the great work!

Regarding scheduler agree totally. It should show posting time (not draft saved time). Now it's confusing...
@waybeyondpadthai wrotes:

like I saved it at 8.20 but want it to be published at 15.30. Opening scheduler shows 8.20 instead of 15.30 and it's confusing...

All suggestions & bugs implemented/fixed except templates. Closing this one. We will follow templates under #213

authors: fildunsky talhasch viking-ventures

repo: esteemapp/esteem-surfer


text:
feat(require): make requirable by adding index.js

This allows for requiring bootstrap-datepicker from other files using the syntax require('bootstrap-datepicker'), which will pull in the unminified source.

Avoided adding dependency on bootstrap since npm versions start at 3.1.1.
However, jquery npm versions start at 1.5.1, which I think is 'old enough'.
I can add a comment to index.js re: bootstrap omission if you prefer.

Isn't this already possible by this lines?

This was fixed by https://github.com/eternicode/bootstrap-datepicker/commit/bdf7658f2195b28373e7de177a0e2acd4fbc357e, which was released in v1.5.0 in October.

authors: acrobat jiaweihli

repo: eternicode/bootstrap-datepicker


text:
Parallels Desktop zipped package misnamed as .zip.zip

This means that the package is not named correctly when written to current_version.json by LastRecipeRunResult processor, so the -prod recipes fail.
Also affects FusionInventoryAgent.
Presumably a problem with JamfPackageUploader.

Solved.

repo: eth-its/autopkg-mac-recipes-yaml


text:
what does num_atoms mean?

what does the argument num_atoms mean in the code?
atom is not shown in the paper.

Number of nodes in the graph. The atom term came from starting with physics simulations.

authors: ethanfetaya guxd

repo: ethanfetaya/NRI


text:
Reopening liberate your books proposal

This is about reopening issue https://github.com/ethberlin-hackathon/ETHBerlin-Teambuilding/issues/23 which the initial proposer abandoned and agreed for me to take it over.
The linked description is an initial start point. There are several ways this can play out and things are open to discussion.
We are 2 devs so far and looking for at least 1-2 more devs, preferably someone with solid solidity skills. Optional: experience with erc721 non-fungible tokens for physical objects.
The idea is a good match for a blockchain as:
* it facilitates the direct and unhindered payment of a deposit for the book i.e. no central payment authority to lock/block deposit payments
* the history of payments, change of ownership and lending requests can be transparently recorded in the contract

Hi @tkalfigo, I'm interested in building this and also looking for a team.  How can I contact you?

hey, im a fullstack js dev with some solidity experience, would love to join :)

@palevoo Cool! Let's meet at 22:30 at the registration at the entrance.

authors: gautamdhameja palevoo tkalfigo


text:
fix(ci): update machine to docker executor to use layer caching

setup_remote_docker job is only available on docker executor

Current dependencies on/for this PR:

01-31-fix_ci_fix_branch_filters_for_docker_build_and_publish

PR #64   👈

This stack of pull requests is managed by Graphite.

repo: ethereum-optimism/ecosystem


text:
tag service action failing due to github auth

Bug Description
The tag_service action fails as Github returns a 403 to the bot.
Steps to Reproduce
Run tag service workflow
Additional context
Would be nice if tag_tool and tag_service shared code

@hamdiallam what repo does this refer to?
just ran it in optimism and it worked fine.

this repo, tagging proxyd/op-txproxy etc.
There's a fix for it here though: https://github.com/ethereum-optimism/infra/pull/62

merged, will close for now but re-open if its still failing

authors: hamdiallam zhwrd

repo: ethereum-optimism/infra


text:
feat(kdn): Derivation Test Runner for kona-derive

Description
Introduces a derivation test runner for kona-derive called kdn.
This is similar to revme, running the kona-derive pipeline over derivation test fixtures checked out in the op-test-vectors git submodule.

#414  👈
main

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

Join @refcell 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 78.0%. Comparing base (501416c) to head (59923ea).

Additional details and impacted files

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

authors: codecov-commenter refcell

repo: ethereum-optimism/kona


text:
Fetch upstream

Changes proposed in this pull request:

Resolved conflicts with upstream on a separate branch

LGTM! Merging PR


text:
Adds Checklist page

Looks good to me, but a small (and subjective) visual nitpick: I kind of feel like the checkbox labels are a tad too close to the boxes.

good point @flamingYawn. I added some margin to space them out a bit.

authors: flamingYawn georgeweiler


text:
Change balances to Gwei

See discussion here https://github.com/ethereum/eth2.0-specs/issues/34

I think this is a good call. I know prysmatic has been seeking a suitable bigint library but this will remove that requirement outside of the context of the WASM implementation

authors: JustinDrake djrtwo


text:
Add cache and dataset generation as part of PoW

What's new?
Cache and Dataset generation pertaining to PoW has been implemented.
Related to Issue #238
Cute Animal Picture

The test from this seems to fail for me:
E               OSError: [Errno 8] Exec format error: '/private/var/folders/19/ty9xxj7j3418_tsbtp06tjrc0000gn/T/pytest-of-norswap/pytest-0/test_dataset_generation_random0/geth'

...

1 failed, 858 passed in 71.25s (0:01:11)

(when running pytest -m "not slow")
Are there some special requirements to run this? Could this be a problem with my setup?

macOS Big Sur x64 (fairly sturdy dev machine)
python = pypy3.7-7.3.5
using a virtulenv (actually venv) in which I additionally installed pytest and requests

authors: Bhargavasomu norswap

repo: ethereum/execution-specs


text:
Refactor consensus engine handling as well as clique internals

What was wrong?
This is another attempt to refactor Clique based on #1875 and what @carver and I discussed offline.
There's also a Trinity PR that can sync Görli with this: https://github.com/ethereum/trinity/pull/1196
How was it fixed?

validate_seal and validate_header are now instance methods. The only reason they can be classmethods today is because our Pow implementation relies on a globally shared cache which should be refactored as described in #1900

There's a two new methods: chain.validate_chain_extension(header, parents) and vm.validate_seal_extension. They are to perform extension seal checks to support consensus schemes that where headers can not be checked if parents are missing.

The consensus mechanism is now abstracted via ConsensusAPI and ConsensusContextAPI. VMs instantiate a consensus api based on the set consensus_classand pass it a context which they receive from the chain upon instantiation. The chain instantiates the consensus context api based on the consensus_context_class.

To-Do

[x] Clean up commit history

[ ] Add entry to the release notes

Cute Animal Picture

@carver This can be given a new review now. For a second I thought we could actually roll back to having validate_seal and validate_header become classmethods again now that we have validate_seal_extension but that's actually not the case because, as you noted, the only reason they work as classmethods today is because they rely on some hacky global cache.

@carver just a reminder that this still needs to be reviewed.

repo: ethereum/py-evm


text:
A windows remix ?

this remix can't run on a windows PC

Pleas explain why. The operating system should be irrelevant, as it runs inside a browser. Which browser do you use?

authors: TUTUBIG chriseth

repo: ethereum/remix


text:
Merging staging to production

Due to the changes in how docker compose is now partitioned as one service one yaml file I will have to update it a bit now manually after this is merged.

Tested manually the flow, everything works. Ready to be merger.

repo: ethereum/source-verify


text:
Slot ticker in the beacon-node

What is wrong?
IIUC from the discussion in https://github.com/ethereum/eth2.0-specs/issues/497, a client should maintain a current slot view of the state, rather than updating slot only when a block is received.
So we need a slot ticker somewhere in the codebase that increases the slot number, performs per_slot_transition, and updates state every 6 seconds.
Not sure if it makes sense to let the slot ticker have its own service or plugin. It looks like Syncer, RequestServer, and PeerPool all have their own job and thus not the best place for the slot ticker.
#NOTE: probably related to #260
cc @cburgdorf @ralexstokes @hwwhww
How can it be fixed

Maybe it would make sense to have a SlotTicker as a service that raises something like a NewSlotEvent on the event bus. Different parts of the code base such as sync, request server, attestation pool etc could listen and react upon that event. But I don't think this service needs to run in its own dedicated plugin. It sounds like something that could run in the same process that hosts the sync.

authors: ChihChengLiang cburgdorf

repo: ethereum/trinity


text:
Report number of duplicate trie nodes received during state sync

https://github.com/ethereum/py-evm/pull/1097#discussion_r205439467

Closing due to #511 -- will reopen if that reverses.

authors: carver gsalgado


text:
Quieter backfill when predictive beam sync active

What was wrong?
#1947 depends on peasant peers for predictive nodes, which adds contention with backfill. Predictive nodes should clearly be the higher priority.
How was it fixed?
Pause backfill if there was any recent predictive node requests.
To-Do

[ ] Clean up commit history

[ ] Add entry to the release notes

Cute Animal Picture

Weird, the test finishes in 3.5s locally but is timing out after 20s on CI...

Hm, still don't know why backfill isn't working. A couple requests happen, and then it all kind of stalls out. The amount of backfill data per request just went up a lot. Not sure why that would affect it. But this looks suspicious:
   DEBUG  07-30 22:26:49        multiplexer.py  Timeout <Multiplexer[p2p:5,eth:65]>:
Traceback (most recent call last):
  File "/home/circleci/repo/p2p/multiplexer.py", line 333, in _do_multiplexing
    await self._handle_commands(msg_stream)
  File "/home/circleci/repo/p2p/multiplexer.py", line 345, in _handle_commands
    async for protocol, cmd in msg_stream:
  File "/home/circleci/repo/p2p/multiplexer.py", line 58, in stream_transport_messages
    msg = await transport.recv()
  File "/home/circleci/repo/p2p/tools/memory_transport.py", line 73, in recv
    encoded_sizes = await self.read(8)
  File "/home/circleci/repo/p2p/tools/memory_transport.py", line 65, in read
    return await asyncio.wait_for(self._reader.readexactly(n), timeout=CONN_IDLE_TIMEOUT)
  File "/usr/local/lib/python3.8/asyncio/tasks.py", line 490, in wait_for
    raise exceptions.TimeoutError()
asyncio.exceptions.TimeoutError

In a situation with only mocked peers, I can't imagine why we would get a timeout like this.

Maybe something blocking the event loop?

In a situation with only mocked peers, I can't imagine why we would get a timeout like this.

Maybe something blocking the event loop?

Hah, yeah, just came to the same conclusion. Trying something...

Okay, does look like I'm on the right track about the total size of the request mattering somehow. Reducing the size back down from MAX_STATE_FETCH to 16 seems to make tests pass again. So probably not a problem with SilenceObserver.

Okay, now I'm confused again. Did adding the await asyncio.sleep(0) make the difference? Because the commit that did that still failed the test in the same way. But now, reverting everything meaningful since then seems to pass. :angry:

Sorry to be spamming in here. I can't reproduce locally...

Unless... 4c05aad is covering up some bug in SilenceObserver...

I couldn't confirm for sure, but the SilenceObserver did have a bug if the call_later triggers too early, then the coro waiting on it might never wake up. Fixed that in 85ca9bdd0604b206e963877c63a4160aa82f87b5. Looks promising.

authors: carver pipermerriam


text:
How to use with frontend Javascript

Despite of using require.js I am unable to use this library properly. The following simple code generated many errors:
u = Units.convert('1', 'eth', 'wei')
    console.log(u)

errors:
require.js:5 Uncaught Error: Module name "bignumber.js" has not been loaded yet for context: _. Use require([])
http://requirejs.org/docs/errors.html#notloaded
    at makeError (require.js:5)
    at Object.o [as require] (require.js:5)
    at requirejs (require.js:5)
    at index.js:1

Hey @kadnan, this repository is quite old and hasn't been kept up to date, we plan to deprecate it relatively soon. I'd recommend using the unit conversion functions in e.g. ethers

authors: kadnan ryanio

repo: ethereumjs/ethereumjs-units


text:
applyForPolicy missing field to provide wallet address

is
    function applyForPolicy(
        uint256 sumInsured,
        uint256 duration,
        uint256 maxPremium
    )

should
    function applyForPolicy(
        address insuredWallet,
        uint256 sumInsured,
        uint256 duration,
        uint256 maxPremium
    )

fixed with https://github.com/etherisc/depeg-contracts/pull/5

authors: doerfli matthiaszimmermann

repo: etherisc/depeg-contracts


text:
fix: handle background broadcasts using separate context

This change is

?   	github.com/ethersphere/bee/pkg/topology	[no test files]
=== RUN   TestNeighborhoodDepth
==================
WARNING: DATA RACE
Write at 0x00c00024c280 by goroutine 290:
  runtime.racewrite()
      <autogenerated>:1 +0x24
  github.com/ethersphere/bee/pkg/topology/kademlia.(*Kad).Close.func2()
      /home/runner/work/bee/bee/pkg/topology/kademlia/kademlia.go:1366 +0x57

Previous read at 0x00c00024c280 by goroutine 59:
  runtime.raceread()
      <autogenerated>:1 +0x24
  github.com/ethersphere/bee/pkg/topology/kademlia.(*Kad).Announce()
      /home/runner/work/bee/bee/pkg/topology/kademlia/kademlia.go:875 +0x672
  github.com/ethersphere/bee/pkg/topology/kademlia.(*Kad).connect()
      /home/runner/work/bee/bee/pkg/topology/kademlia/kademlia.go:848 +0xf15
  github.com/ethersphere/bee/pkg/topology/kademlia.(*Kad).connectionAttemptsHandler.func1()
      /home/runner/work/bee/bee/pkg/topology/kademlia/kademlia.go:330 +0x3b5
  github.com/ethersphere/bee/pkg/topology/kademlia.(*Kad).connectionAttemptsHandler.func2()
      /home/runner/work/bee/bee/pkg/topology/kademlia/kademlia.go:385 +0x30b
  github.com/ethersphere/bee/pkg/topology/kademlia.(*Kad).connectionAttemptsHandler·dwrap·2()
      /home/runner/work/bee/bee/pkg/topology/kademlia/kademlia.go:398 +0x47

Goroutine 290 (running) created at:
  github.com/ethersphere/bee/pkg/topology/kademlia.(*Kad).Close()
      /home/runner/work/bee/bee/pkg/topology/kademlia/kademlia.go:1365 +0x327
  github.com/ethersphere/bee/pkg/topology/kademlia_test.TestNeighborhoodDepth·dwrap·2()
      /home/runner/work/bee/bee/pkg/topology/kademlia/kademlia_test.go:66 +0x39
  github.com/ethersphere/bee/pkg/topology/kademlia_test.TestNeighborhoodDepth()
      /home/runner/work/bee/bee/pkg/topology/kademlia/kademlia_test.go:202 +0xe8f
  testing.tRunner()
      /opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1259 +0x22f
  testing.(*T).Run·dwrap·21()
      /opt/hostedtoolcache/go/1.17.1/x64/src/testing/testing.go:1306 +0x47

Goroutine 59 (running) created at:
  github.com/ethersphere/bee/pkg/topology/kademlia.(*Kad).connectionAttemptsHandler()
      /home/runner/work/bee/bee/pkg/topology/kademlia/kademlia.go:398 +0x424
  github.com/ethersphere/bee/pkg/topology/kademlia.(*Kad).manage·dwrap·6()
      /home/runner/work/bee/bee/pkg/topology/kademlia/kademlia.go:428 +0x8b
==================
    testing.go:1152: race detected during execution of test
--- FAIL: TestNeighborhoodDepth (9.31s)
=== CONT
    testing.go:1152: race detected during execution of test
FAIL

authors: acud aloknerurkar

repo: ethersphere/bee


text:
add init command

add a bee init command which only does key generation.

When you execute bee init it prints log lines (with timestamps and log lvl to stdout)
@Eknirwhat do you think?

When you execute bee init it prints log lines (with timestamps and log lvl to stdout)
@Eknir what do you think?

Just went over it together with you. From a product perspective, it seems to behave as it should.

authors: Eknir ralph-pichler vandot


text:
Sign & send transactions

[x] sign a scanned transaction
[ ] send signed transaction

Wallet Backend ->

Create a server to

Get GasEstimate, nonce from ethereum grpc api
Deploy to the specified Testnet

The following information should be available for the user in a user-friendly manner

[ ] how much gas is used for a transaction
[ ] how much ether is sent with the transaction
[ ] to which address this transaction is sent
[ ] transaction history of the account from etherscan

#5

[x]  sign a scanned transaction
[x]  send signed transaction

Complete in #7

repo: ethessentials/wallet


text:
fix for node version 5

ethjs-util
Thank you for contributing! Please take a moment to review our contributing guidelines
to make the process easy and effective for everyone involved.
Please open an issue before embarking on any significant pull request, especially those that
add a new library or change existing tests, otherwise you risk spending a lot of time working
on something that might not end up being merged into the project.
Before opening a pull request, please ensure:

[ ] You have followed our contributing guidelines
[ ] Pull request has tests (we are going for 100% coverage!)
[ ] Code is well-commented, linted and follows project conventions
[ ] Documentation is updated (if necessary)
[ ] Internal code generators and templates are updated (if necessary)
[ ] Description explains the issue/use-case resolved and auto-closes related issues

Be kind to code reviewers, please try to keep pull requests as small and focused as possible :)
IMPORTANT: By submitting a patch, you agree to allow the project
owners to license your work under the terms of the MIT License.
This fixes node v5 compability

Coverage remained the same at 100.0% when pulling c82b12aff38a9e9619f1ec34cb261216a0df6fe3 on wanderer:master into 387db3b69a11c09cddd84c49039d191cd1df30ca on ethjs:master.

authors: coveralls wanderer

repo: ethjs/ethjs-util


text:
Move to a react app (or something)

We're adding enough content to this website that it's probably useful to move to a framework that makes adding content easier.
Main question: is react a good fit? We're mainly adding text content.

Some sort of CMS might be better. Perhaps something like Jekyll.

authors: kfichter therevoltingx

repo: ethsociety/learn-plasma


text:
Can't decode native encoded AttributeTypeAndValue with univ.Choice inside

I was using pyasn1 0.4.5 and rfc5280 module to:

decode the public key certificate,
encode it to native Python objects,
make some changes,
and revert it all the way back to the der binary format.

But I've encountered an error "TypeError: 'str' object cannot be interpreted as an integer" when tried to decode native Python representation of AttributeTypeAndValue with X520StateOrProvinceName value lying inside.
Minimal working example without rfc5280 module:
from pyasn1.codec.native import decoder, encoder
from pyasn1.type import univ, char
from pyasn1.type.namedtype import NamedType, NamedTypes
from pyasn1.type.opentype import OpenType
import pyasn1.debug as debug

debug.setLogger(debug.Debug('all'))

class FooChoice(univ.Choice):
    componentType = NamedTypes(NamedType('utf8String', char.UTF8String()))

fooTypeMap = { univ.ObjectIdentifier('1.2.3'): FooChoice() }

class FooType(univ.ObjectIdentifier): pass
class FooValue(univ.Any): pass

class FooTypeAndValue(univ.Sequence):
    componentType = NamedTypes(
        NamedType('type', FooType()),
        NamedType('value', FooValue(), openType=OpenType('type', fooTypeMap))
    )

fooTV = FooTypeAndValue()
fooTV['type'] = univ.ObjectIdentifier('1.2.3')
fooChoice = FooChoice()
fooChoice['utf8String'] = 'bar'
fooTV['value'] = fooChoice

natified = encoder.encode(fooTV)
print(f'Natified object: {natified}')
print(decoder.decode(natified, FooTypeAndValue()))

Standard output:
2019-06-08 19:03:57,175 pyasn1: running pyasn1 0.4.5, debug flags all2019-06-08 19:03:57,175 pyasn1: debug category 'all' enabled
2019-06-08 19:03:57,176 pyasn1: encoder called for type FooTypeAndValue <FooTypeAndValue:
 type=1.2.3 value=FooChoice:
  utf8String=bar

>
2019-06-08 19:03:57,176 pyasn1: using value codec SequenceEncoder chosen by <TagSet object at 0x3bd2dd0 tags 0:32:16>
2019-06-08 19:03:57,176 pyasn1: encoder called for type ObjectIdentifier <1.2.3>
2019-06-08 19:03:57,176 pyasn1: using value codec ObjectIdentifierEncoder chosen by <TagSet object at 0x3bd28b0 tags 0:0:6>
2019-06-08 19:03:57,177 pyasn1: encoder ObjectIdentifierEncoder produced: '1.2.3'
2019-06-08 19:03:57,177 pyasn1: encoder called for type FooChoice <FooChoice:
 utf8String=bar
>
2019-06-08 19:03:57,177 pyasn1: using value codec ChoiceEncoder chosen by <TagSet object at 0x3be3090 untagged>
2019-06-08 19:03:57,178 pyasn1: encoder called for type UTF8String <bar>
2019-06-08 19:03:57,178 pyasn1: using value codec OctetStringEncoder chosen by <TagSet object at 0x3be3270 tags 0:0:12>
2019-06-08 19:03:57,179 pyasn1: encoder OctetStringEncoder produced: b'bar'
2019-06-08 19:03:57,179 pyasn1: encoder ChoiceEncoder produced: OrderedDict([('utf8String', b'bar')])
2019-06-08 19:03:57,179 pyasn1: encoder SequenceEncoder produced: OrderedDict([('type', '1.2.3'), ('value', OrderedDict([('utf8String', b'bar')]))])
Natified object: OrderedDict([('type', '1.2.3'), ('value', OrderedDict([('utf8String', b'bar')]))])
2019-06-08 19:03:57,179 pyasn1: decoder called at scope OrderedDict, working with type OrderedDict
2019-06-08 19:03:57,180 pyasn1: calling decoder SequenceOrSetDecoder on Python type OrderedDict <OrderedDict([('type', '1.2.3'), ('value', OrderedDict([('utf8String', b'bar')]))])>
2019-06-08 19:03:57,180 pyasn1: decoder called at scope OrderedDict.str, working with type str
2019-06-08 19:03:57,180 pyasn1: calling decoder AbstractScalarDecoder on Python type str <'1.2.3'>
2019-06-08 19:03:57,181 pyasn1: decoder AbstractScalarDecoder produced ASN.1 type FooType <<FooType value object at 0x3be3990 tagSet <TagSet object at 0x3bd28b0 tags 0:0:6> payload [1.2.3]>>
2019-06-08 19:03:57,181 pyasn1: decoder called at scope OrderedDict.OrderedDict, working with type OrderedDict
2019-06-08 19:03:57,181 pyasn1: calling decoder AbstractScalarDecoder on Python type OrderedDict <OrderedDict([('utf8String', b'bar')])>
Traceback (most recent call last):
  File "mwe_basic.py", line 31, in <module>
    print(decoder.decode(natified, FooTypeAndValue()))
  File "...\lib\site-packages\pyasn1\codec\native\decoder.py", line 164, in __call__
    value = valueDecoder(pyObject, asn1Spec, self, **options)
  File "...\lib\site-packages\pyasn1\codec\native\decoder.py", line 38, in __call__
    asn1Value[field] = decodeFun(pyObject[field], componentsTypes[field].asn1Object, **options)
  File "...\lib\site-packages\pyasn1\codec\native\decoder.py", line 164, in __call__
    value = valueDecoder(pyObject, asn1Spec, self, **options)
  File "...\lib\site-packages\pyasn1\codec\native\decoder.py", line 22, in __call__
    return asn1Spec.clone(pyObject)
  File "...\lib\site-packages\pyasn1\type\base.py", line 349, in clone
    return self.__class__(value, **initializers)
  File "...\lib\site-packages\pyasn1\type\univ.py", line 819, in __init__
    base.AbstractSimpleAsn1Item.__init__(self, value, **kwargs)
  File "...\lib\site-packages\pyasn1\type\base.py", line 240, in __init__
    value = self.prettyIn(value)
  File "...\lib\site-packages\pyasn1\type\univ.py", line 878, in prettyIn
    return bytes(value)
TypeError: 'str' object cannot be interpreted as an integer

Minimal working example based upon rfc5280 module:
from pyasn1_modules.rfc5280 import AttributeTypeAndValue, AttributeType, X520StateOrProvinceName
from pyasn1.codec.native import decoder, encoder
import pyasn1.debug as debug

debug.setLogger(debug.Debug('all'))

fooTV = AttributeTypeAndValue()
fooTV['type'] = AttributeType('2.5.4.8')
fooValue = X520StateOrProvinceName()
fooValue['utf8String'] = 'bar'
fooTV['value'] = fooValue

natified = encoder.encode(fooTV)
print(f'Natified object: {natified}')
print(decoder.decode(natified, AttributeTypeAndValue()))

Standard output:
2019-06-08 23:57:01,209 pyasn1: running pyasn1 0.4.5, debug flags all
2019-06-08 23:57:01,209 pyasn1: debug category 'all' enabled
2019-06-08 23:57:01,210 pyasn1: encoder called for type AttributeTypeAndValue <AttributeTypeAndValue:
 type=2.5.4.8
 value=X520StateOrProvinceName:
  utf8String=bar

>
2019-06-08 23:57:01,210 pyasn1: using value codec SequenceEncoder chosen by <TagSet object at 0x3a11830 tags 0:32:16>
2019-06-08 23:57:01,211 pyasn1: encoder called for type AttributeType <2.5.4.8>
2019-06-08 23:57:01,211 pyasn1: using value codec ObjectIdentifierEncoder chosen by <TagSet object at 0x3a11310 tags 0:0:6>
2019-06-08 23:57:01,211 pyasn1: encoder ObjectIdentifierEncoder produced: '2.5.4.8'
2019-06-08 23:57:01,211 pyasn1: encoder called for type X520StateOrProvinceName <X520StateOrProvinceName:
 utf8String=bar
>
2019-06-08 23:57:01,212 pyasn1: using value codec ChoiceEncoder chosen by <TagSet object at 0x3a11ad0 untagged>
2019-06-08 23:57:01,212 pyasn1: encoder called for type UTF8String <bar>
2019-06-08 23:57:01,212 pyasn1: using value codec OctetStringEncoder chosen by <TagSet object at 0x3a11cb0 tags 0:0:12>
2019-06-08 23:57:01,212 pyasn1: encoder OctetStringEncoder produced: b'bar'
2019-06-08 23:57:01,213 pyasn1: encoder ChoiceEncoder produced: OrderedDict([('utf8String', b'bar')])
2019-06-08 23:57:01,213 pyasn1: encoder SequenceEncoder produced: OrderedDict([('type', '2.5.4.8'), ('value', OrderedDict([('utf8String', b'bar')]))])
Natified object: OrderedDict([('type', '2.5.4.8'), ('value', OrderedDict([('utf8String', b'bar')]))])
2019-06-08 23:57:01,213 pyasn1: decoder called at scope OrderedDict, working with type OrderedDict
2019-06-08 23:57:01,214 pyasn1: calling decoder SequenceOrSetDecoder on Python type OrderedDict <OrderedDict([('type', '2.5.4.8'), ('value', OrderedDict([('utf8String', b'bar')]))])>
2019-06-08 23:57:01,214 pyasn1: decoder called at scope OrderedDict.str, working with type str
2019-06-08 23:57:01,214 pyasn1: calling decoder AbstractScalarDecoder on Python type str <'2.5.4.8'>
2019-06-08 23:57:01,214 pyasn1: decoder AbstractScalarDecoder produced ASN.1 type AttributeType <<AttributeType value object at 0x3b269f0 tagSet <TagSet object at 0x3a11310 tags 0:0:6> payload [2.5.4.8]>>
2019-06-08 23:57:01,215 pyasn1: decoder called at scope OrderedDict.OrderedDict, working with type OrderedDict
2019-06-08 23:57:01,215 pyasn1: calling decoder AbstractScalarDecoder on Python type OrderedDict <OrderedDict([('utf8String', b'bar')])>
Traceback (most recent call last):
  File "mwe_rfc5280.py", line 15, in <module>
    print(decoder.decode(natified, AttributeTypeAndValue()))
  File "...\lib\site-packages\pyasn1\codec\native\decoder.py", line 164, in __call__
    value = valueDecoder(pyObject, asn1Spec, self, **options)
  File "...\lib\site-packages\pyasn1\codec\native\decoder.py", line 38, in __call__
    asn1Value[field] = decodeFun(pyObject[field], componentsTypes[field].asn1Object, **options)
  File "...\lib\site-packages\pyasn1\codec\native\decoder.py", line 164, in __call__
    value = valueDecoder(pyObject, asn1Spec, self, **options)
  File "...\lib\site-packages\pyasn1\codec\native\decoder.py", line 22, in __call__
    return asn1Spec.clone(pyObject)
  File "...\lib\site-packages\pyasn1\type\base.py", line 349, in clone
    return self.__class__(value, **initializers)
  File "...\lib\site-packages\pyasn1\type\univ.py", line 819, in __init__
    base.AbstractSimpleAsn1Item.__init__(self, value, **kwargs)
  File "...\lib\site-packages\pyasn1\type\base.py", line 240, in __init__
    value = self.prettyIn(value)
  File "...\lib\site-packages\pyasn1\type\univ.py", line 878, in prettyIn
    return bytes(value)
TypeError: 'str' object cannot be interpreted as an integer
(parts_generator)

Thank you for reporting this issue!
It appears, that openType feature is not implemented for the native decoder. Let me see if we could add it there.

authors: etingof geckyan


text:
release pipeline doesn't release when it should

As per output of the comparison
Run echo "Version: '0.1.6' | latest release: '0.1.5'"
Version: '0.1.6' | latest release: '0.1.5'
Proceeding with building & release steps.

there should be release, while release jobs are skipped
https://github.com/etolbakov/excalidocker-rs/actions/runs/5315546707/jobs/9624039777

https://github.com/etolbakov/excalidocker-rs/pull/27

repo: etolbakov/excalidocker-rs


text:
Some calc floating point stability fixes

The calc is unusually sensitive to tiny changes in row times. For example depending on whether they are computed here or here can cause a large change in the result, even when they are equivalent (i.e., bpm change after the last non-empty row)
This is kinda academic but it seemed like an interesting thing to track down and fix so here we are. This PR moves most files around randomly in a range of around 0.5 MSD. It is apparently a bit better on average but that may just be chance
It turns out there were 2 sources of instability:

Comparisons of row time deltas. This one is where most the instability was coming from. Basically for row times t0, t1, t2, t3, all a 16th apart, you don't necessarily have (t1 - t0) == (t3 - t2) due to rounding error. This matters for the couple places where the calc branches on one being greater than the other. For equal deltas, sometimes you get lucky and it's less or equal, sometimes you get unlucky and it's greater.
Inconsistent interval binning on certain BPMs. Since the first non-empty row is set to time 0 and intervals are half a second, any bpm which lines up rows onto half seconds has many rows that lie exactly on interval boundaries. Those are representable in floating point but may be missed due to rounding error. If it comes under, rows get binned into the previous interval. So e.g. the calc may see oscillating NPS density where it should be constant. Smoothing and sequencing makes this less bad but it's still weird

Aside from the changes in this PR, another thing that would help is rounding the row times (after rate scaling) to a power of two, like 1/1024. That'll fix interval binning and it'll make row time deltas exact. But it will only fix comparisons of the form (t1 - t0) == (t3 - t2), if you do anything more complicated you end up in the same situation. So I didn't bother

this is (maybe) kind of why we considered using chrono durations instead of floats for all the second and millisecond values. but when i tried this it didnt immediately work for all the copy pasting effort so i gave up and by that point mina resigned to not caring enough to do it himself
good enough

repo: etternagame/etterna


text:
HU Schema 1.3.0 - 2nd round

Please merge our test QRs for 2nd round tests

Android 1.0.7.-acc : all 4 certs are valid

iOS 1.0.5: VAC, REC and Test-NAAT are valid
Test-RAT could not be scanned


text:
iOS - BUG - No certificate details are displayed on app screen

iOS Verifier app 1.2.0 (tst) - same on acc version
Apple iPad 11 pro
When scanning a certificate no detail screen is displayed. Only the information in the head "valid or "limited validation". No matter if debug mode is selected or not.

Retested. Works fine.


text:
Test extension

This commit makes "make installcheck" use the actually installed
extension. In test1, we CREATE EXTENSION. In test2, we need to LOAD
'pg_similarity' because pg_regress opens a new session per test, and the
SET error is only triggered if the .so file is already loaded. test3 has
a similar problem, but here the easiest fix is to call a function first
before using SHOW.
I've created Debian packages for pg_similarity on apt.postgresql.org, and these patches made the regression tests pass there.

@ChristophBerg It is time to remove legacy code (CREATE EXTENSION is available since 9.1). Looking at those tests, I prefer to use LOAD in each test, however, a better solution is to use a single test.
levslow is only available for academic purposes. I prefer to ifdef it.
Thanks for make it available on Debian. A lot of people send me emails about installation problems.
Let me try to refactor thoses tests.

I realize there's more than one way to fix this :).

Btw, it would be nice if you could push some tag to github so we have a release tarball to build packages from.

I will do as soon as I resolve theses issues.

@ChristophBerg I've added a initial release via GitHub. I will use it as an archive for future releases too.

Thanks!

authors: ChristophBerg eulerto


text:
Account ?

Hello I have a problem concerning the use of your script it asks me an account but in the documentation it is not written anywhere that it is necessary to use an account
www/calcul/login
https://prnt.sc/pvxddm

Hello,
If G6K asks you to log in, it means that you want to connect to the administration module (calcul/admin).
To login, there is a user after installation whose identifier is 'admin' and the password 'admin'.
It is up to you to change this password and to create other users.
Thank you for using this software
Best regards

Thank you for your answer but I have another problem when I put the password that shows me an error "Authentication request could not be processed due to a system problem."

Which database engine do you use?
In the case of sqlite, do you have a 'g6k.db' file in the "var/data/databases" directory?

i dont have this file

APP_ENV=prod
APP_DEBUG=0
APP_LOCALE=en-US
APP_UPLOAD_DIRECTORY=%kernel.project_dir%/var/uploads
APP_VERSION=No-version-set-parsed-as-1.0.0-
APP_SECRET=1666586c4119c598fc8d5f937f8b96e059009ef3
PDFTK_PATH=
MAILER_URL=null://localhost
DB_ENGINE=mysql
DB_NAME=cg-minutes
DB_HOST=127.0.0.1
DB_PORT=3306
DB_USER=root
DB_PASSWORD=~
DB_VERSION=3.15
DB_PATH=%kernel.project_dir%/var/data/databases/g6k.db
DB_CHARSET=UTF8
HTTP_PROXY=~
HTTPS_PROXY=~
PUBLIC_DIR=calcul
APP_LANGUAGE=fr

APP_ENV=prod APP_DEBUG=0 APP_LOCALE=en-US APP_UPLOAD_DIRECTORY=%kernel.project_dir%/var/uploads APP_VERSION=No-version-set-parsed-as-1.0.0- APP_SECRET=1666586c4119c598fc8d5f937f8b96e059009ef3 PDFTK_PATH= MAILER_URL=null://localhost DB_ENGINE=mysql DB_NAME=cg-minutes DB_HOST=127.0.0.1 DB_PORT=3306 DB_USER=root DB_PASSWORD=~ DB_VERSION=3.15 DB_PATH=%kernel.project_dir%/var/data/databases/g6k.db DB_CHARSET=UTF8 HTTP_PROXY=~ HTTPS_PROXY=~ PUBLIC_DIR=calcul APP_LANGUAGE=fr

https://prnt.sc/pvzj5b

https://prnt.sc/pvzj5b

your database engine is mysql !
can you check that the fos_user table exists in the cg-minutes database?
If it does not exist, it is because the installation did not go well!
You can create the table with the script: https://github.com/eureka2/G6K/blob/master/var/data/databases/fos_user.sql
Don't forget to enter the password in the .env file.

`# This file is auto-generated during the composer install
APP_ENV=prod
APP_DEBUG=0
APP_LOCALE=en-US
APP_LANGUAGE=fr
APP_UPLOAD_DIRECTORY=%kernel.project_dir%/var/uploads
APP_VERSION=No-version-set-parsed-as-1.0.0-
APP_SECRET=1666586c4119c598fc8d5f937f8b96e059009ef3
PDFTK_PATH=
MAILER_URL=null://localhost

###> database configuration ###
DB_ENGINE=mysql
DB_NAME=cg-minutes
DB_HOST=127.0.0.1
DB_PORT=3306
DB_USER=root
DB_PASSWORD=
DB_VERSION=3.15
DB_PATH=%kernel.project_dir%/var/data/databases/g6k.db
DB_CHARSET=UTF8
###< database configuration ###
HTTP_PROXY=~
HTTPS_PROXY=~
PUBLIC_DIR=calcul
`

It still does not work

When I turn on the debug mode it displays "Invalid configuration for path" framework.assets ": You can not use both" version_strategy "and" json_manifest_path "at the same time under" assets "."

if you use webpack ?

Problem is resolved my bad


text:
Modified to use Cargo plugin

parent version 3, standard-deps version 3, common version 3, standard-apis version 2.1. Replaced WebappServletModule with ApiGatewayServletModule.

Looks like tabs instead of spaces are used for indentation in some files.

authors: arpost ndeshpa


text:
'Lint fix' broke code -- can't 'push' to undefined var.

Is this a bug? If not consider asking on StackOverflow.
Does the documentation require improvement? Consider posting a Feature with the the recommended changes.
Subject of the issue
In this PR https://github.com/evanplaice/jquery-csv/commit/e7ecf494fee789b17db9c297c02df206db842a14  line 947 removes initialization of output.  At line 949 a push may be attempted on the undefined var which will fail with a JS Runtime.  Recommend reinstating output = [].
Environment

Platform: Node | Browser
Version: Chrome 50
Usage: Load from file | Load from Ajax | Hooks

Steps to reproduce

step1
step2
step3

Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
References

name

Fixed in https://github.com/evanplaice/jquery-csv/pull/106

authors: JohnChambersBestFriend evanplaice

repo: evanplaice/jquery-csv


text:
🛑 www.actionherojs.com is down

In b75079a, www.actionherojs.com (https://www.actionherojs.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: www.actionherojs.com is back up in 3164f88.

repo: evantahler/upptime


text:
runaway blobs

Sometimes minbay begins to load every blob known to man and doesn't stop until my computer crashes. I'm not sure if this is a minbay or a patchless issue.
I'm going to attempt to reproduce in Patchless.
I also tried backing up to the last stable release of scuttlebot@10.4.10

Got an error! Nice.
/blobs/get/&KNZJzRgYHr7YZcpsm/PzcJ4N5YD7CIqaJYdK/fFUpz0=.sha256 s/get/&KNZJzRgYHr7YZcpsm/PzcJ4N5YD7CIqaJYdK/fFUpz0=.sha256
/blobs/get/&oneOil9RCidzBjRZiIE0OVxAAQUZPBxCyNhYejYzLVA=.sha256 s/get/&oneOil9RCidzBjRZiIE0OVxAAQUZPBxCyNhYejYzLVA=.sha256
/blobs/get/&6vYJz8vJ0zBZetCBwzPd1naXbAb7iEuCcKhCDcnBB4M=.sha256 s/get/&6vYJz8vJ0zBZetCBwzPd1naXbAb7iEuCcKhCDcnBB4M=.sha256
/blobs/get/&bmieIJTW7B0xWDqTy+etRc+BeSsWXa2bptfatEU60aM=.sha256 s/get/&bmieIJTW7B0xWDqTy+etRc+BeSsWXa2bptfatEU60aM=.sha256
/blobs/get/&cmULZpffgIb+Osfes48GAqj8W1tU4PZgn8wmiM/9vIs=.sha256 s/get/&cmULZpffgIb+Osfes48GAqj8W1tU4PZgn8wmiM/9vIs=.sha256
/blobs/get/&6LUCUBRdSGcs/4kPsOVy2JdUgSSFC+gOGTQfPFBDCSM=.sha256 s/get/&6LUCUBRdSGcs/4kPsOVy2JdUgSSFC+gOGTQfPFBDCSM=.sha256
/blobs/get/&cqp0rEzuKFPxG+C7ESyB6RnCbE0DAYI86/fKd66DYUk=.sha256 s/get/&cqp0rEzuKFPxG+C7ESyB6RnCbE0DAYI86/fKd66DYUk=.sha256
/blobs/get/&KZ3EPdneevMmXifBwy1q1ykx+Cxpcqu01Uwu6qcckmo=.sha256 s/get/&KZ3EPdneevMmXifBwy1q1ykx+Cxpcqu01Uwu6qcckmo=.sha256
/blobs/get/&gek33qo+avgwSBIQ0IyQ4+Ft5cl+WVXKPmyRzEbjwyQ=.sha256 s/get/&gek33qo+avgwSBIQ0IyQ4+Ft5cl+WVXKPmyRzEbjwyQ=.sha256
/blobs/get/&HLFdrrWw/qMegVVgRIaKKN1JQjvAWsxHHPfVXEsTYG4=.sha256 s/get/&HLFdrrWw/qMegVVgRIaKKN1JQjvAWsxHHPfVXEsTYG4=.sha256
/blobs/get/&mwzoWJrKPhcrr4g3dPBVp3EBEiyMeCSHgxsanIWefIc=.sha256 s/get/&mwzoWJrKPhcrr4g3dPBVp3EBEiyMeCSHgxsanIWefIc=.sha256
/blobs/get/&ofWwaWDtzWPLCGlvETmXT8fe2PJEyAYjRUw47zjXBIM=.sha256 s/get/&ofWwaWDtzWPLCGlvETmXT8fe2PJEyAYjRUw47zjXBIM=.sha256
/blobs/get/&6cEWJllhx8Fq3X0zCJGQjOwcNT+Jrq3kwapOtXJj4zo=.sha256 s/get/&6cEWJllhx8Fq3X0zCJGQjOwcNT+Jrq3kwapOtXJj4zo=.sha256
/blobs/get/&bJwjV84TerogwirlQH9JB9+bEgROqlDo8ipAl3IoN5g=.sha256 s/get/&bJwjV84TerogwirlQH9JB9+bEgROqlDo8ipAl3IoN5g=.sha256
/blobs/get/&W3Cf3DWLPuFXhGdXvU6tjuo4QcXwkvUWPfR53vwtj2M=.sha256 s/get/&W3Cf3DWLPuFXhGdXvU6tjuo4QcXwkvUWPfR53vwtj2M=.sha256
/blobs/get/&fxVJsGQ56bpHymNKXSMGhWFRA4GSGiw1U10VARfV6C4=.sha256 s/get/&fxVJsGQ56bpHymNKXSMGhWFRA4GSGiw1U10VARfV6C4=.sha256
/blobs/get/&P/2oYciViJNBH4H3a6PQr2JmZQ1/jOrmhiVxn9E3A1M=.sha256 s/get/&P/2oYciViJNBH4H3a6PQr2JmZQ1/jOrmhiVxn9E3A1M=.sha256
/blobs/get/&4nGtB51noatUWBVAwzjHyEU72xgT7wHEGZ+dzSNre8M=.sha256 s/get/&4nGtB51noatUWBVAwzjHyEU72xgT7wHEGZ+dzSNre8M=.sha256
/blobs/get/&lk3Ep1PvyaGQGdVQGHIV5KIyqEnZs2UZwpKug9wf0vw=.sha256 s/get/&lk3Ep1PvyaGQGdVQGHIV5KIyqEnZs2UZwpKug9wf0vw=.sha256
/home/ev/minbay/node_modules/flumelog-offset/inject.js:80
        else cb(null, codec.decode(value))
                            ^

RangeError: Maximum call stack size exceeded
    at Object.parse [as decode] (<anonymous>)
    at /home/ev/minbay/node_modules/flumelog-offset/inject.js:80:29
    at /home/ev/minbay/node_modules/flumelog-offset/frame/recoverable.js:48:11
    at /home/ev/minbay/node_modules/aligned-block-file/blocks.js:72:11
    at get (/home/ev/minbay/node_modules/aligned-block-file/blocks.js:28:7)
    at next (/home/ev/minbay/node_modules/aligned-block-file/blocks.js:51:7)
    at Object.read (/home/ev/minbay/node_modules/aligned-block-file/blocks.js:75:7)
    at next (/home/ev/minbay/node_modules/flumelog-offset/frame/recoverable.js:47:16)
    at /home/ev/minbay/node_modules/flumelog-offset/frame/recoverable.js:43:11
    at /home/ev/minbay/node_modules/aligned-block-file/blocks.js:93:11
npm info lifecycle minbay@3.4.0~start: Failed to exec start script

Have you ever seen this in Patchless @dominictarr?

I'm unable to immediately replicate this issue in Patchless, so I think it's an error in the way I'm handling hyperscroll within Minbay. I'll see if I can isolate this after work tomorrow.

Also scrolling has become a lot slower in Minbay than it is in Patchless. This might be related?

repo: evbogue/minbay


text:
Time Formats for push message

I just disconnected my car after few days and the push message on the phone is saying "Car disconnected after 94h18m29s".
The formatting of the "connectedDuration"-Parameter could be beautified before getting used in Push Messages.
Martin

All sprig functions are supported: http://masterminds.github.io/sprig/

authors: andig maatinh

repo: evcc-io/evcc


text:
GO-E -  charger out of sync: expected disabled, got enabled

Describe the bug
Update to 0.127.3 brings charger out of sync: expected disabled, got enabled in log.
Downgrade to 0.127.2 (latest) solve the issue
Steps to reproduce
1.Update to 0.127.3
2.Log
3.
...
Configuration details
# open evcc at http://evcc.local:7070
network:
  schema: http
  host: evcc.local # .local suffix announces the hostname on MDNS
  port: 7070

tariffs:
  currency: EUR # (default EUR)
  grid:
    # either
    type: tibber
    token: "*"

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

influx:
  url: http://192.168.178.47:8086
  database: evcc_log
  token: *
  org: *

log: debug
levels:
  cache: error

# unique installation id
plant: *

interval: 20s # control cycle interval

sponsortoken: *

meters:
- type: template
  template: sma-home-manager
  usage: grid
  host: 192.168.178.90
  name: grid1
- type: template
  template: sma-inverter-modbus
  id: 3
  host: 192.168.178.91
  port: 502
  usage: pv
  modbus: tcpip
  name: pv2
- type: template
  template: sma-inverter-modbus
  id: 3
  host: 192.168.178.92
  port: 502
  usage: pv
  modbus: tcpip
  name: pv3
- type: template
  template: sma-sbs-modbus
  id: 3
  host: 192.168.178.93
  port: 502
  usage: battery
  modbus: tcpip
  capacity: 7.161
  watchdog: 60s
  name: battery4

chargers:
- type: template
  template: go-e-v3
  host: 192.168.178.98
  name: wallbox6

vehicles:
- type: template
  template: vw
  title: ID3
  user: *
  password: *
  vin: *6
  capacity: 58
  phases: 3
  cache: 20m
  mode: pv
  minCurrent: 6
  maxCurrent: 16
  timeout: 10s
  name: ev5

loadpoints:
- title: Garage
  charger: wallbox6
  vehicle: ev5
  mode: pv

site:
  title: Daham
  meters:
    grid: grid1
    pv:
    - pv2
    - pv3
    battery:
    - battery4
  residualpower: 200

hems:
  type: sma
  AllowControl: false

Log details
[main  ] INFO 2024/06/30 18:49:24 evcc 0.127.3 (4b2d137e)
[main  ] INFO 2024/06/30 18:49:24 using config file: /etc/evcc.yaml
[db    ] INFO 2024/06/30 18:49:25 using sqlite database: /var/lib/evcc/evcc.db
[main  ] INFO 2024/06/30 18:49:25 listening at :7070
[lp-1  ] DEBUG 2024/06/30 18:49:28 charge total import: 1097.601kWh
[semp  ] WARN 2024/06/30 18:49:28 SEMP_BASE_URL unspecified, using http://192.168.178.173:7070 instead
[site  ] INFO 2024/06/30 18:49:29 site config:
[site  ] INFO 2024/06/30 18:49:29   meters:      grid ✓ pv ✓ battery ✓
[site  ] INFO 2024/06/30 18:49:29     grid:      power ✓ energy ✓ currents ✓
[site  ] INFO 2024/06/30 18:49:29     pv 1:      power ✓ energy ✓ currents ✗
[site  ] INFO 2024/06/30 18:49:29     pv 2:      power ✓ energy ✓ currents ✗
[site  ] INFO 2024/06/30 18:49:29     battery 1: power ✓ energy ✓ currents ✗ soc ✓ capacity ✓
[site  ] INFO 2024/06/30 18:49:29   vehicles:
[site  ] INFO 2024/06/30 18:49:29     vehicle 1: range ✓ finish ✓ status ✓ climate ✓ wakeup ✓
[lp-1  ] INFO 2024/06/30 18:49:29 loadpoint 1:
[lp-1  ] INFO 2024/06/30 18:49:29   mode:        pv
[lp-1  ] INFO 2024/06/30 18:49:29   charger:     power ✓ energy ✓ currents ✓ phases ✓ wakeup ✗
[lp-1  ] INFO 2024/06/30 18:49:29   meters:      charge ✓
[lp-1  ] INFO 2024/06/30 18:49:29     charge:    power ✓ energy ✓ currents ✓
[site  ] DEBUG 2024/06/30 18:49:29 set buffer soc: 90
[site  ] DEBUG 2024/06/30 18:49:29 set buffer start soc: 95
[site  ] DEBUG 2024/06/30 18:49:29 set priority soc: 85
[site  ] DEBUG 2024/06/30 18:49:29 set battery discharge control: true
[site  ] DEBUG 2024/06/30 18:49:29 set residual power: 100
[lp-1  ] DEBUG 2024/06/30 18:49:29 set smart cost limit: 0
[lp-1  ] DEBUG 2024/06/30 18:49:29 !! active phases: 3p = min(0p measured 0p vehicle 0p physical 0p charger)
[lp-1  ] DEBUG 2024/06/30 18:49:29 phase timer inactive
[lp-1  ] DEBUG 2024/06/30 18:49:29 pv timer inactive
[lp-1  ] INFO 2024/06/30 18:49:29 vehicle updated: unknown -> ID3
[lp-1  ] DEBUG 2024/06/30 18:49:29 set charge mode: pv
[lp-1  ] DEBUG 2024/06/30 18:49:29 !! active phases: 3p = min(0p measured 3p vehicle 0p physical 0p charger)
[site  ] WARN 2024/06/30 18:49:29 interval <30s can lead to unexpected behavior, see https://docs.evcc.io/docs/reference/configuration/interval
[site  ] DEBUG 2024/06/30 18:49:29 ----
[lp-1  ] DEBUG 2024/06/30 18:49:29 charge power: 0W
[lp-1  ] DEBUG 2024/06/30 18:49:29 charge currents: [0 0 0]A
[site  ] DEBUG 2024/06/30 18:49:29 pv power: 1056W
[site  ] DEBUG 2024/06/30 18:49:29 battery soc: 100%
[site  ] DEBUG 2024/06/30 18:49:29 battery power: -15W
[site  ] DEBUG 2024/06/30 18:49:29 grid meter: -633W
[site  ] DEBUG 2024/06/30 18:49:29 grid powers: [63 -469 -227]W
[site  ] DEBUG 2024/06/30 18:49:29 grid currents: [2.89 -2.15 -1.1]A
[site  ] DEBUG 2024/06/30 18:49:29 site power: -548W
[lp-1  ] DEBUG 2024/06/30 18:49:30 vehicle odometer: 37185km
[lp-1  ] DEBUG 2024/06/30 18:49:30 charge total import: 1097.601kWh
[lp-1  ] DEBUG 2024/06/30 18:49:30 charger status: B
[lp-1  ] INFO 2024/06/30 18:49:30 car connected
[lp-1  ] DEBUG 2024/06/30 18:49:30 pv timer elapse
[lp-1  ] DEBUG 2024/06/30 18:49:30 pv timer inactive
[lp-1  ] DEBUG 2024/06/30 18:49:30 charge total import: 1097.601kWh
[lp-1  ] DEBUG 2024/06/30 18:49:30 vehicle status: B
[lp-1  ] DEBUG 2024/06/30 18:49:30 vehicle soc: 100%
[lp-1  ] DEBUG 2024/06/30 18:49:30 vehicle soc limit: 100%
[lp-1  ] DEBUG 2024/06/30 18:49:30 vehicle range: 316km
[lp-1  ] WARN 2024/06/30 18:49:30 charger out of sync: expected disabled, got disabled
[lp-1  ] DEBUG 2024/06/30 18:49:30 limitSoc reached: 100.0% > 95%
[site  ] DEBUG 2024/06/30 18:49:54 ----
[lp-1  ] DEBUG 2024/06/30 18:49:54 charge power: 0W
[lp-1  ] DEBUG 2024/06/30 18:49:54 charge currents: [0 0 0]A
[site  ] DEBUG 2024/06/30 18:49:54 pv power: 1046W
[site  ] DEBUG 2024/06/30 18:49:54 battery soc: 100%
[site  ] DEBUG 2024/06/30 18:49:54 battery power: -15W
[site  ] DEBUG 2024/06/30 18:49:54 grid meter: -631W
[site  ] DEBUG 2024/06/30 18:49:54 grid powers: [57 -465 -223]W
[site  ] DEBUG 2024/06/30 18:49:54 grid currents: [2.87 -2.13 -1.08]A
[site  ] DEBUG 2024/06/30 18:49:54 site power: -546W
[lp-1  ] DEBUG 2024/06/30 18:49:54 vehicle odometer: 37185km
[lp-1  ] DEBUG 2024/06/30 18:49:54 charge total import: 1097.601kWh
[lp-1  ] DEBUG 2024/06/30 18:49:54 charger status: B
[lp-1  ] WARN 2024/06/30 18:49:54 charger out of sync: expected disabled, got disabled
[lp-1  ] DEBUG 2024/06/30 18:49:54 limitSoc reached: 100.0% > 95%

What type of operating system are you running?
Linux
Version
0.127.3 (latest)

Unfortunately your report is missing a detailed log file. Without log, we don‘t have the information for diagnosing the issue described. See https://docs.evcc.io/docs/faq#wie-kann-ich-ein-logfile-zur-fehleranalyse-erstellen.

was going back to .127.2 !
Logfile now online...

Ah, that's helpful, thanks. Sounds like known issue already fixed in https://github.com/evcc-io/evcc/pull/14639. Could you please try new nightly version in ~15 minutes?

Ah, that's helpful, thanks. Sounds like known issue already fixed in #14639. Could you please try new nightly version in ~15 minutes?

One hour approx. Kids need a bath and bed ;)

seems to be fixed 👍

Super, danke 🙏

Gerne

authors: andig wittmannchris


text:
Wattpilot mit Zugriffsschutz bringt immer Fehler

Is your feature request related to a problem? Please describe.
Die Wattpilot-Wallbox lässt einen Schutz per RFID Tag zu. Hintergrund ist, dass nicht "Jedermann" an der Wallbox laden kann durch einfaches anstecken seines Fahrzeugs. Wenn die Wallbox so konfiguriert ist, dann bringt evcc eine Fehlermeldung, nachdem das Fahrzeug angesteckt wurde und in der Oberfläche "PV" angetippt wird. Nun muss man nämlich in der Wattpilot App erst auf "Authentifizieren" tippen, was zu einem sofortigen Start des Ladevorgangs führt. Den hat evcc so nicht erwartet, was auch die Fehlermeldung besagt. Der Ladevorgang an sich funktioniert dann wohl wie gewünscht.
Describe the solution you'd like
Ich kenne die API des Wattpilot nicht ausreichend genug, aber vlt. wäre es ja möglich die Authentifizierung am Wattpilot durchzuführen, wenn

ein Fahrzeug angesteckt ist
und ich in der App den Lademodus anders als "Aus" anwählen

Describe alternatives you've considered
Alternativ wäre es evtl. auch eine Möglichkeit, die erste Fehlermeldung nach einem Wechsel des Lademodus von "Aus" auf einen anderen zu ignorieren?
Reproduzierbar auf der evcc Version 0.129.0

oh wow ... Danke! Das erklärt es.


text:
Easee: fix current adjust loops

Fixes an issue where evcc sends a lot of current adjust commands due to float compare issues.

Also im Prinzip behalten wir mA-genaue Steuerung bei, sind aber Charger-seitig konzilianter? Ich fände es da schöner für den Vergleich ein Intervall anzugeben, also Subtraktion und z.B. auf kleiner 0.1A zu vergleichen.

authors: andig naltatis


text:
Chart data distribution

Hi everyone. I'm looking for a way to chart something like a normal distribution or any distribution actually using britecharts.
The chart would be something like this:

I've been looking into the line chart and the sparkline chart but they work with dates not with numerical data.
Is there a way to create this charts using britecharts?

Hi @gabitoju, thanks for creating this issue!
At the moment we don't support line charts with non-timeseries data. It has been a request from many people, so it should become part of the library soon.
In the meanwhile, the only way I see this working would be using a bar chart.
Thanks!

Thanks for the answer @Golodhros.
Right now that's what we are doing, using the bar chart to represent a distribution and also as a sort of historgram (that would also be a nice chart to have).
I'm closing the issue.
Regards!

authors: Golodhros gabitoju

repo: eventbrite/britecharts


text:
Updating templates and contributing docs

Description

Updates PR and Issue templates and contributing docs
Motivation and Context

Doc updates
Types of changes

[ ] Refactor (changes the way we code something without changing its functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Added a feature request template too!


text:
DEVPROD-11363: Support scrolling to different sections on Build Information page

DEVPROD-11363

Description
This PR tracks and enables scrolling to different parts of the Build Information page.
I created a context provider BuildInformationContextProvider because it got kind of messy trying to pass around the refs everywhere.
Screenshots

https://github.com/user-attachments/assets/46ae1bd2-2c9c-4e9e-83d3-fb7d763f1b5b
Testing

Added unit tests and Cypress tests

Refactored to instead use IDs

repo: evergreen-ci/ui


text:
[BUG] оплата скрытого текста

Описание
После оплаты скрытого текста, в админ панели (в разделе "Оплата скрытого текста" - ссылка на страницу где оплачена, при переходе на нее возникает ошибка https://домен/|/index.php?newsid=8#pay-Hkd
И на странице после оплаты, в биллинге тоже так же.
Я не знаю, исправлена эта ошибка или нет в новых версиях
У меня ⤵
Версия:

DLE: 16.00
DLE-Billing:v.0.8.7.5

Исправлено в обновлении

repo: evgeny-tc/dle-billing-module


text:
Font is ignored in tables

Is there a way to have tables respect fonts?  I have tried putting the style in the TABLE tag,  the TH and TD  tags, and in a SPAN around the content itself.  It works on my mac, but on windows the content inside the table is showing up with the default Word font (Calibri).

What font-family are you trying to use? Maybe Word has some problem mapping it to the system font? I created an example file with the following content and everything worked fine with Word 2003 for Windows. In our application, we also generate tables with  styled with a our custom symbol font and it works without problems.
<!DOCTYPE html>

ABCDEF

Your example works for me too.  It also worked when I changed Arial to "Times," which is what we are using.  Maybe something else in our stylesheet is causing it to not work, so I will investigate further.  Thank you for looking in to it!

Great to hear this!

repo: evidenceprime/html-docx-js


text:
No highlight when dragging over inventory items

Since upgrading to Konva from KineticJS, drag highlight doesn't seem to work for items in inventory.

Clarification: The intersection check works, you can use inventory items on items, and the interaction_text shows up. Only the shadowBlur is not displayed.
When the dragging starts, the dragged item is moved to the room layer. Interestingly, if the item is kept in the inventory layer instead, the inventory item highlights work! (And they still work on room objects too.) (The drawing order is wrong if the item is not moved to room layer though: the item is dragged "under" the room in that case.)

repo: evktalo/kiigame


text:
State dumps / State loading

Description
An important blocking feature to important pieces of Tevm such as optimistic updates and data persistence require a state dump / state loading feature.  Anvil has this feature via --dump-state and --load-state.
Spec
To start just implement the most basic functionality. User should be able to write to load state or read from dump state via an action. This state is shaped the same as foundry state
Later we will update this to be more granular about which state we want to load and dump.
const vm = createTevm()

import state from './same/shape/as/foundry/and/others.json'

await vm.loadState({state})
// vm should now have the state as specified by the json file loaded into the `viemStateManager` or `defaultstateManager

const state = vm.dumpState()

fs.writeFile('state', state)

Tasks

Implement TevmState type which should be the same shape as the foundry state json
Implement dumpState action in vm/src/actions/dumpState
Implement loadState action in vm/src/actions/loadState
Implement JSON rpc versions of these methods in `vm/src/json
Update client via rebasing change on top of this pr

CHA-109

repo: evmts/tevm-monorepo


text:
presentLocalNotification not show on IOS 9 when app running in foreground

I push notification with IOS version 10 above all received when app running in foreground and background.
But with IOS 9 below . It not show Notify when app running in foreground although i have received notify in notifilistener FCM.on(FCMEvent.Notification, notif => {}
How to show notify with IOS 9 use presentLocalNotification?
Thanks for support.

can't do with iOS 9. system limit
https://stackoverflow.com/questions/40371125/push-local-notification-when-app-foreground-in-swift-ios-8-9

authors: evollu tieusangaka

repo: evollu/react-native-fcm


text:
Update sbt to 1.4.6

Updates org.scala-sbt:sbt from 1.4.5 to 1.4.6.
GitHub Release Notes - Version Diff
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!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-patch

Superseded by #66.

Superseded by #66.

repo: evolution-gaming/scassandra


text:
Update sbt to 1.10.7

About this PR
📦 Updates org.scala-sbt:sbt from 1.10.0 to 1.10.7
📜 GitHub Release Notes - Version Diff
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 = "org.scala-sbt", artifactId = "sbt" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-sbt", artifactId = "sbt" }
}]

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

Pull Request Test Coverage Report for Build 12469999846
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 85.514%

Totals

Change from base Build 10681296996:
0.0%

Covered Lines:
183

Relevant Lines:
214

💛  - Coveralls

authors: coveralls scala-steward

repo: evolution-gaming/sequentially


text:
Update cats-helper to 3.6.0

About this PR
📦 Updates com.evolutiongaming:cats-helper from 3.5.0 to 3.6.0
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 = "cats-helper" } ]

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

labels: library-update, early-semver-minor, semver-spec-minor, version-scheme:semver-spec, commit-count:1

Superseded by #273.

repo: evolution-gaming/smetrics