Use current head of ESP8266 Arduino

Is there a way to use the current head from
https://github.com/esp8266/Arduino
see here for my issues trying to do this (Posted in the wrong thread by mistake)
https://github.com/platformio/platformio/issues/366#issuecomment-166909856
Dropping in the latest code compiles but does not link correctly.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/29365124-use-current-head-of-esp8266-arduino?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2014790&utm_medium=issues&utm_source=github).

Firstly, you need to gift :star: for @valeros here https://github.com/platformio/platformio/stargazers :smile:

I want to note that we don't support ALPHA/BETA/STAGE or other development software because could spent spare time only the ONE framework or platform. However, I'll give a few hints which should allow you to use latest ESP8266 for Arduino.

Clone repo to ~/.platformio/packages/framework-arduinoespressif and keep version.txt file (you can use it from stable version)
Try to build project
If you have build errors, then try your project using the same stage on Arduino IDE.
If it works with Arduino IDE but doesn't work with PlatformIO, then we wait from you:

test project/files
detailed log of build process from Arduino IDE (please copy it from console to http://pastebin.com)
detailed log of build process from PlatformIO (please copy it from console to http://pastebin.com)

Many thanks :)
I've done all these.. actions.. I will provide what you need....
Arduino Output http://pastebin.com/6cKrVnKS
PlatformIO Output http://pastebin.com/Tr1cQv8F
It fails at the linking stage, right at the end!
compiling any sketch produces it.. The one I use us
http://pastebin.com/QtfTWEsT
Your help is much appreciated... and I know others will be helped too.  The IDE moves at such a pace at the moment...  but i do understand that you can't support it!

I should add that this is option 4.  compile with Arduino IDE, but not with PlatformIO.

Try to find difference between
Arduino IDE
-lm -lgcc -lhal -lphy -lpp -lnet80211 -llwip -lwpa -lcrypto -lmain -lwps -laxtls -lsmartconfig -lmesh

PlatformIO
-lsmartconfig -lpp -lmain -lwpa -llwip -lnet80211 -lwps -lcrypto -lphy -lhal -laxtls -lgcc -lm

:)
build_flags should help you.

Even with my PhD I spotted that one. So far though my attempts at build_flags has failed:(
I've added -lmesh to lots of the options but it still fails. I'm a beginner! Never used anything apart from arduino IDE... Another clue please...

Don't make any modifications to your projects. The problem is in LD script. I've just created separated branch with LD scripts. Please use it https://github.com/platformio/platformio-pkg-ldscripts/tree/esp8266_stage

I updated comment https://github.com/platformio/platformio/issues/401#issuecomment-166958952

That worked purrrrfectly.  Thank you

@ivankravets I am trying to build my project using latest code from Arduino/ESP8266 and by following your guide above i can build but the board keeps on rebooting, i tried Arduino IDE with the same code and it works there so i guess maybe there is a problem with the flashing ? I know you said you don't support these versions so if you have an idea that would be good to hear if not i will see what i can do.

@donnib please follow to step 5 here https://github.com/platformio/platformio/issues/401#issuecomment-166958952

@ivankravets ok so here it is
https://gist.github.com/donnib/8b5ecff157a7cf129daf
I have posted there code used for Arduino IDE and PlatformIO although i had make changes in the code to compile in Arduino which was weird. I have a method readFromRTC() which Arduino IDE complained was not found so i moved it to the top then it compiled. PlatformIO compiled fine without moving the method. I have not tried to build the code used in Arduino IDE where the method is moved in PlatformIO. I have also pasted the console output from PlatformIO and ArduinoIDE. Do you need the bin files ?

Hi @donnib
I've just tested latest ESP8266 framework with my esp01 board.
Our example wifi-scan works without any errors.
Serial output from your sketch:
Reason for reboot 0
I am in setup...
We just been booted first time so disable WiFi to lower power usage
rtc = 0

@valeros thx well that's weird. I guess i must be doing something wrong then....hmmm. i wonder what that could be. Any ideas ?

@donnib  Yes, latest master branch https://github.com/esp8266/Arduino/archive/master.zip
Could you try to upload simple wifi-scan  example?

@valeros yes i just tried and that worked fine but my code not. I have even tried to run on a different workstation so now i tried windows and MacOSX. Can it be some HW related thing ? Idk what that could be when it works in Arduino IDE

@donnib According to your Arduino IDE build log the firmware was compiled for 40MHz frequency. Could you try latest develop version of PlatformIO and specify board_f_cpu=40000000L option in your platformio.ini?

@valeros ok so i did what you suggested. I uninstalled platformio as per the doc, installed dev, added the board_f_cpu line and then i flashed and wola it worked, i was curios so i removed the board line from the platform.ini, it still worked, hmmm. I then uninstalled dev platformio and installed stable and it still worked, now i don't understand what happened, what made it work ?

Hi,
This code doesn't build with platformio following your instructions to use Arduino-git but it builds using the Arduino framework's git version with the Arduino IDE.
Problematic code: https://github.com/Coaxial/vintage-cec/tree/tmp/ws-build-issue
Platformio output:
$ make
platformio -f -c vim run
[Sat Feb 20 15:04:39 2016] Processing nodemcu (platform: espressif, lib_install: 549, board: nodemcu, framework: arduino)
-----------------------------------------------------------------------------------------------------
xtensa-lx106-elf-g++ -o .pioenvs/nodemcu/src/main.o -c -fno-rtti -fno-exceptions -std=c++11 -Os -mlongcalls -mtext-section-literals -falign-functions=4 -U__STRICT_ANSI__ -ffunction-sections -fdata-sections -MMD -DF_CPU=80000000L -D__ets__ -DICACHE_FLASH -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP12 -DARDUINO=210 -DPLATFORMIO=020804 -I/Users/hfp/.platformio/packages/framework-arduinoespressif/tools/sdk/include -I.pioenvs/nodemcu/FrameworkArduino -I.pioenvs/nodemcu/FrameworkArduinoVariant -I.pioenvs/nodemcu/IRremoteESP8266 -I.pioenvs/nodemcu/WebSockets_ID549 src/main.cpp
xtensa-lx106-elf-ar rcs .pioenvs/nodemcu/libFrameworkArduino.a
xtensa-lx106-elf-ranlib .pioenvs/nodemcu/libFrameworkArduino.a
xtensa-lx106-elf-g++ -o .pioenvs/nodemcu/IRremoteESP8266/IRremoteESP8266.o -c -fno-rtti -fno-exceptions -std=c++11 -Os -mlongcalls -mtext-section-literals -falign-functions=4 -U__STRICT_ANSI__ -ffunction-sections -fdata-sections -MMD -DF_CPU=80000000L -D__ets__ -DICACHE_FLASH -DESP8266 -DARDUINO_ARCH_ESP8266 -DARDUINO_ESP8266_ESP12 -DARDUINO=210 -I/Users/hfp/.platformio/packages/framework-arduinoespressif/tools/sdk/include -I.pioenvs/nodemcu/FrameworkArduino -I.pioenvs/nodemcu/FrameworkArduinoVariant -I.pioenvs/nodemcu/IRremoteESP8266 -I.pioenvs/nodemcu/WebSockets_ID549 .pioenvs/nodemcu/IRremoteESP8266/IRremoteESP8266.cpp
In file included from .pioenvs/nodemcu/FrameworkArduino/Arduino.h:38:0,
from .pioenvs/nodemcu/IRremoteESP8266/IRremoteInt.h:27,
from .pioenvs/nodemcu/IRremoteESP8266/IRremoteESP8266.cpp:29:
.pioenvs/nodemcu/FrameworkArduino/esp8266_peri.h:24:21: fatal error: c_types.h: No such file or directory
#include "c_types.h"
^
compilation terminated.
In file included from .pioenvs/nodemcu/FrameworkArduino/Arduino.h:38:0,
from src/main.cpp:1:
.pioenvs/nodemcu/FrameworkArduino/esp8266_peri.h:24:21: fatal error: c_types.h: No such file or directory
#include "c_types.h"
^
compilation terminated.
scons: *** [.pioenvs/nodemcu/IRremoteESP8266/IRremoteESP8266.o] Error 1
scons: *** [.pioenvs/nodemcu/src/main.o] Error 1
==================================== [ ERROR ] Took 1.19 seconds ====================================
make: *** [all] Error 1

Arduino IDE output:

Sketch uses 241,676 bytes (23%) of program storage space. Maximum is 1,044,464 bytes.
Global variables use 33,761 bytes (41%) of dynamic memory, leaving 48,159 bytes for local variables. Maximum is 81,920 bytes.

Moved information to the official docs http://docs.platformio.org/en/latest/platforms/espressif.html#using-arduino-framework-with-staging-version

After going through your steps. The first run is compiled ok. But the second run of pio run "updates" to the last stable version
Is there any way to deny the update?

See my comment here https://community.platformio.org/t/platformio-3-0-broke-all-my-esp8266-projects/747/7?u=ivankravets


return the calendar object on creation

Return the calendar object, so that it can be saved and subsequently used, without having to $elem.data('calendar').

Yes, effectively this will be more simple.
Thanks !


Running pgsync without changing the wal_level on production

I'm trying to implement this in my current company, I got the following response from DevOps team-:
"I have had a read about setting the wal_level in a running system.
here´s the Postgres docu:
https://www.postgresql.org/docs/9.6/runtime-config-wal.html
here is an example:
https://stackoverflow.com/questions/67490668/changing-wal-level-on-postgresql-13-via-client-session-is-not-being-respecte
seems that it is not changeable in the running system.
and since we use the standard docker container for Postgres 13.3,
I don’t see a way to change that parameter."
Is there any way to run pgsync without changing wal_level. Kindly guide me for the same.

You need to enable logical replication to use pgsync.
wal_level can be changed but it requires a system restart.
You will need to customize the docker image to enable this or
you can also use the debezium/postgres:13 image which already has logical replication enabled.

Hi,
It can be changed using docker command parameter. For instance, add to your docker-compose.yml: command: [ "postgres", "-c", "wal_level=logical" ]
Hope it will help.

Hi,
The problem is that the DB instance is shared by many teams within the organization, so they can't shut it down/restart or migrate to another image.
They have suggested using pgq to get the events and push them to elastic DB.
Let me know if there's any other solution.
Thanks

Hi,
Can we do it via triggers, notifying the pgsync?
is it possible ?

Afraid this is will not fully work.
The triggers alone is insufficient.
If the daemon is not running and you make changes to the db insert, update delete. those change will be lost.

@toluaina kindly support here

That line number in the traceback no longer exists so you are not using the latest changes.
Can you try the latest code in master?

I'm using docker image,
When building I got version 2.1.7
"Successfully installed black-21.9b0 boto3-1.18.59 botocore-1.21.59 bump2version-1.0.1 bumpversion-0.6.0 certifi-2021.10.8 charset-normalizer-2.0.6 click-8.0.3 elasticsearch-7.13.4 elasticsearch-dsl-7.4.0 environs-9.3.4 faker-9.3.1 greenlet-1.1.2 idna-3.2 importlib-metadata-4.8.1 jmespath-0.10.0 marshmallow-3.13.0 mypy-extensions-0.4.3 newrelic-<IP_ADDRESS> pathspec-0.9.0 pgsync-2.1.7 platformdirs-2.4.0 psycopg2-binary-2.9.1 python-dateutil-2.8.2 python-dotenv-0.19.1 redis-3.5.3 regex-2021.10.8 requests-2.26.0 requests-aws4auth-1.1.1 s3transfer-0.5.0 six-1.16.0 sqlalchemy-1.4.25 sqlparse-0.4.2 text-unidecode-1.3 tomli-1.2.1 typed-ast-1.4.3 typing-extensions-<IP_ADDRESS> urllib3-1.26.7 zipp-3.6.0"
and this is the latest version in the pip repository.

The changes were commit to master but not published to pip.
I have published a new version to pip with these changes now.

Thanks, that error is gone now.
But on bootstrapping, the following error comes:
Traceback (most recent call last):   File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/base.py", line 1800, in _execute_context     cursor, statement, parameters, context   File "/usr/local/lib/python3.7/site-packages/sqlalchemy/engine/default.py", line 717, in do_execute     cursor.execute(statement, parameters) psycopg2.errors.InvalidSchemaName: no schema has been selected to create in
Where do I have to provide the schema name, I have already provided it in schema.json.

You don't always need to provide a schema unless it's not public.
Here is an example that includes a schema.
Is that the full traceback. It looks incomplete

Our schema is not public. So, I have mentioned it in the schema.json. I'm attaching the logs and schema.json both.
bootstrap_logs.txt
`[{
"database": "rlm",
"index": "logicalresources_2",
"nodes": {
"table": "ip_resource",
"schema": "ip",
"columns": [
  ],
  "children": [{
        "table": "resource_relationship",
        "schema": "ip",
        "columns": [

        ],
        "transform": {
           "mapping": {
              "created_date": {
                 "type": "date"
              },
              "update_date": {
                 "type": "date"
              }
           }
        },
        "relationship": {
           "variant": "object",
           "type": "one_to_many",
           "foreign_key": {
              "child": ["source_resource_instance_id"],
              "parent": ["resource_instance_id"]
           }
        }
     },
     {
        "table": "resource_characteristics",
        "schema": "ip",
        "columns": [

        ],
        "transform": {
           "mapping": {
              "created_date": {
                 "type": "date"
              },
              "update_date": {
                 "type": "date"
              }
           }
        },
        "relationship": {
           "variant": "object",
           "type": "one_to_many"
        }
     }
  ],
  "transform": {
     "mapping": {
        "created_date": {
           "type": "date"
        },
        "update_date": {
           "type": "date"
        },
        "ip_from_hash": {
           "type": "keyword"
        },
        "ip_to_hash": {
           "type": "keyword"
        },
        "number_of_items": {
           "type": "keyword"
        },
        "number_of_free_items": {
           "type": "keyword"
        }
     }
  }

}
}]
`

@toluaina any findings?

Can you re-run and print out the value of schema on this line ?
i.e print(f'schema: {schema}')

@toluaina , schema is printed fine.
schema: ip
2021-11-18 12:41:06.290:ERROR:pgsync.base: Exception (psycopg2.errors.InvalidSchemaName) no schema has been selected to create in
But it shows no schema has been selected, am I missing any configuration here?

It's a bit hard to track the issues here because your original issue has now changed scope.
Can you please re-open with the issue you are having.
I am guessing wal_level is no longer a concern.

@toluaina sure


PE00DJR1 : While validating SCS dump in makedump-tool seeing Driver is UNKNOWN

The Problem:
We print the Dump ID (which is nothing but the entry ID generated for that dump) in 4 byte Hex format for each digit. So suppose the dump ID is 101 so we print it as 4 bytes hex format as 00 00 10 01. For a dump ID which is 9 we print it as 00 00 00 09 and so on. We fill the remaining bytes in the dump ID with null or zero (00) if it is less than 4 bytes. But while filling the remaining bytes with nulls or zeros we check whether the size = dump_id_size / 2 == 4 (as dump_id should be of fixed 8 character length). If size < 4 then we fill the remaining positions with zero (00) as mentioned earlier. But for a dump ID size which comes as an odd number (e.g.; [0-9], [100-999], [10000-99999]) we print an extra byte forgetting that there is a reminder byte among those 4 bytes which will be printed anyways. So whenever we were having a dump_id size as an odd number we were printing an extra byte while changing the ID into a 4 byte hex format. For example, please see below the header portion
root@p10bmc:~# busctl --verbose call org.open_power.Dump.Manager /org/openpower/dump xyz.openbmc_project.Dump.Create CreateDump a{sv} 3 "com.ibm.Dump.Create.CreateParameters.DumpType" s
"com.ibm.Dump.Create.DumpType.Hardware"
"com.ibm.Dump.Create.CreateParameters.ErrorLogId" t 0xDEADBEEF "com.ibm.Dump.Create.CreateParameters.FailingUnitId" t 1 MESSAGE "o" {
OBJECT_PATH "/xyz/openbmc_project/dump/hardware/entry/1";
};
root@p10bmc:~# find /var/lib/phosphor-debug-collector/ -maxdepth 6 -type f /var/lib/phosphor-debug-collector/hardwaredump/1/SYSDUMP.139F230.00000001.20220926223446 /var/lib/phosphor-debug-collector/dumps/1/BMCDUMP.139F230.00000001.20220926223421 root@p10bmc:~# hexdump -C
/var/lib/phosphor-debug-collector/hardwaredump/1/SYSDUMP.139F230.00000001.20220926223446 | more
00000000  46 49 4c 45 20 20 20 20  00 40 00 00 00 00 00 00  |FILE<EMAIL_ADDRESS>00000010  00 00 00 00 00 01 00 0f  53 59 53 44 55 4d 50 2e  |........SYSDUMP.|
00000020  31 33 39 46 32 33 30 2e  30 30 30 30 30 30 30 31  |139F230.00000001| <-------Dump ID is 1 which is the entry ID as well
00000030  2e 32 30 32 32 30 39 32  36 32 32 33 34 34 36 00  |.20220926223446.|
00000040  53 45 43 54 49 4f 4e 20  00 30 00 00 00 00 00 00  |SECTION .0......|
00000050  00 00 00 00 00 02 00 00  00 00 00 00 00 00 04 00  |................|
00000060  44 55 4d 50 20 53 55 4d  4d 41 52 59 00 00 00 00  |DUMP SUMMARY....|
00000070  53 45 43 54 49 4f 4e 20  00 30 00 02 00 00 00 00  |SECTION .0......|
00000080  00 00 00 00 00 02 00 00  00 00 00 00 00 63 92 92  |.............c..|
00000090  48 41 52 44 57 41 52 45  20 44 41 54 41 00 00 00  |HARDWARE DATA...|
000000a0  53 45 43 54 49 4f 4e 20  00 30 00 02 00 00 00 00  |SECTION .0......|
000000b0  00 00 00 01 00 02 00 00  00 00 00 00 00 00 00 00  |................|
000000c0  48 59 50 45 52 56 49 53  4f 52 20 44 41 54 41 00  |HYPERVISOR DATA.|
000000d0  53 59 53 20 44 55 4d 50  20 22 09 26 22 34 46 00  |SYS DUMP ".&"4F.|
000000e0  00 00 00 00 01 02 21 04  00 00 00 00 00 00 63 96  |......!.......c.| <--------Dump ID comes as 00 00 00 00 01 which is same as previous with an extra byte added
000000f0  92 39 31 30 35 2d 32 32  41 00 00 00 00 00 00 00  |.9105-22A.......|
00000100  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000110  00 70 31 30 62 6d 63 00  00 00 00 00 00 00 00 00  |.p10bmc.........|
00000120  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000130  00 31 33 39 46 32 33 30  01 de ad be ef 00 d0 00  |.139F230........|
00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
The solution:
To resolve this problem we have taken into consideration the reminder of the dump_id size if it comes as an odd number and fill the zeros for one byte less as we would have done in case of an even dump_id size, e.g.; for a dump_id 9 we fill only 3 bytes although size = dump_id_size / 2 == 0 which ideally means we should fill 4 bytes as zeros but now we are not. In this way we resolve the problem of adding an extra byte in the dump while printing dump_id in Hex format and thus making the other following section shifted by one byte and failing of makedump tool to extract the dump. Please see below for the fixed header output
root@p10bmc:~# busctl --verbose call org.open_power.Dump.Manager /org/openpower/dump xyz.openbmc_project.Dump.Create CreateDump a{sv} 3 "com.ibm.Dump.Create.CreateParameters.DumpType" s
"com.ibm.Dump.Create.DumpType.Hardware"
"com.ibm.Dump.Create.CreateParameters.ErrorLogId" t 0xDEADBEEF "com.ibm.Dump.Create.CreateParameters.FailingUnitId" t 1 MESSAGE "o" {
OBJECT_PATH "/xyz/openbmc_project/dump/hardware/entry/9";
};
root@p10bmc:~# hexdump -C
/var/lib/phosphor-debug-collector/hardwaredump/9/SYSDUMP.139F230.00000009.20220927002236 | more
00000000  46 49 4c 45 20 20 20 20  00 40 00 00 00 00 00 00  |FILE<EMAIL_ADDRESS>00000010  00 00 00 00 00 01 00 0f  53 59 53 44 55 4d 50 2e  |........SYSDUMP.|
00000020  31 33 39 46 32 33 30 2e  30 30 30 30 30 30 30 39  |139F230.00000009| <-------Dump ID is 9 which is the entry ID as well
00000030  2e 32 30 32 32 30 39 32  37 30 30 32 32 33 36 00  |.20220927002236.|
00000040  53 45 43 54 49 4f 4e 20  00 30 00 00 00 00 00 00  |SECTION .0......|
00000050  00 00 00 00 00 02 00 00  00 00 00 00 00 00 04 00  |................|
00000060  44 55 4d 50 20 53 55 4d  4d 41 52 59 00 00 00 00  |DUMP SUMMARY....|
00000070  53 45 43 54 49 4f 4e 20  00 30 00 02 00 00 00 00  |SECTION .0......|
00000080  00 00 00 00 00 02 00 00  00 00 00 00 00 63 89 02  |.............c..|
00000090  48 41 52 44 57 41 52 45  20 44 41 54 41 00 00 00  |HARDWARE DATA...|
000000a0  53 45 43 54 49 4f 4e 20  00 30 00 02 00 00 00 00  |SECTION .0......|
000000b0  00 00 00 01 00 02 00 00  00 00 00 00 00 00 00 00  |................|
000000c0  48 59 50 45 52 56 49 53  4f 52 20 44 41 54 41 00  |HYPERVISOR DATA.|
000000d0  53 59 53 20 44 55 4d 50  20 22 09 27 00 22 36 00  |SYS DUMP ".'."6.|
000000e0  00 00 00 09 02 21 04 00  00 00 00 00 00 63 8d 02  |.....!.......c..| <--------Dump ID comes as 00 00 00 09 which is correct 4 bytes value without an extra byte added
000000f0  39 31 30 35 2d 32 32 41  00 00 00 00 00 00 00 00  |9105-22A........|
00000100  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000110  70 31 30 62 6d 63 00 00  00 00 00 00 00 00 00 00  |p10bmc..........|
00000120  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
00000130  31 33 39 46 32 33 30 01  de ad be ef 00 d0 00 00  |139F230.........|
00000140  00 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00  |................|
Signed-off-by: Swarnendu Roy Chowdhury<EMAIL_ADDRESS>Change-Id: Ibe7c42d30fb125dbd4b3d4d334614756f6bc948b

Can one of the admins verify this patch?


Build for 5.4.2 / 0.1.15 missing

Kibana 5.4.2 was released a few hours ago, could you please add a build for this version. At the moment only a build for 5.4.1 for 0.1.15 is available.

Here you go!
https://github.com/sivasamyk/logtrail/releases/download/v0.1.15/logtrail-5.4.2-0.1.15.zip


Fixes wrong link to list of components

Description
Which part of the repository is this PR related to?

Community (texts, guidelines...)

Please include a summary of the feature, change or fix you provide.
I hope the link is correct — it was what the website links to under Browse Components.
How Has This Been Tested?
I read it a couple of times. 😉
Checklist
Please describe the advancement of your pull request:

[X] My code follows the style guidelines of this project
[X] My changes generate no new warnings (including linting warnings and errors)

Nice catch, thanks!
We'll be moving all working code to a monorepo (new https://github.com/prismicio/slice-machine) in the coming days. Feel free to join us there, I may open some good first issues too 😊


FEAT-#2223: Add pydocstyle check for modin/pandas folder

What do these changes do?


Refactor get_encodinginfo logic

sox_encodinginfo_t is the structure used to communicate the encoding with libsox.
This structure is constructed/used in the following scenarios;

Pass Tensor object to libsox buffer.
Construct Tensor object from libsox buffer.
Save Tensor object to file or file-like object.

Originally, all the three cases used the same logic get_encodinginfo(format string, Tensor dtype) -> sox_encodinginfo_t but as I work on #1226 , I figured that it is better to use different logics for 1&2 and 3.
This PR makes the distinguish clearer.
For 1&2, the helper function is renamed to get_tensor_encodinginfo and it only takes Tensor dtype as argument (because Tensor is always raw, uncompressed format like WAV).
For 3, I renamed the function to get_encodinginfo_for_save. This function will go through major overhaul in #1226, so for this PR, its implementation is kept as-is.

thanks!


ci: build specs

closes #43

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

Project coverage is 95.89%. Comparing base (344f186) to head (9c27b5c).

Additional details and impacted files
@@           Coverage Diff           @@
##             next      #46   +/-   ##
=======================================
  Coverage   95.89%   95.89%
=======================================
  Files           3        3
  Lines          73       73
  Branches        7        7
=======================================
  Hits           70       70
  Misses          3        3

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


Add TLS Docs

What does this PR do?
Adds a note about how to enable TLS communication in k8s to backend pods.
Motivation
Resolves #3008
More

[x] Added/updated documentation

Thanks for this addition @dtomcej – It'd really help me a few months back when I was figuring out things. WDYT of adding one sentence on how to get started with obtaining trusted backend certs? A link to the details would be ideal.

@kachkaev I'm unsure if that would be wise, due to the fact that there are many different ways to get trusted certs, and they are environment specific. I am hesitant to suggest one method, as it anything specific that is suggested may be unsuitable for a large portion of users.

Ideally, if you are managing the cluster, you could generate your own certs, and use the k8s CA to sign them (therefore making them trusted), but we can't assume that users have access to the cluster CA keys to sign with. There are also many users that use third party cert tools to handle this.
@timoreimann thoughts?

I agree that we need to be careful about what we recommend in our documentation. For instance, our Kubernetes guide is often misinterpreted as providing production-level advice despite several warnings and notes left for quite some time.
We still have our awesome Traefik wiki list though where we could add community contributions.

trying to hold back the bot for some final styling improvements by @nmengin .


Add support for matchPlayerAsync( )

And checkCanPlayerMatchAsync( )

have any position of this feature? Thanks.

Would also like to know if this is scheduled to be implemented?

Fixed in https://github.com/defold/extension-fbinstant/releases/tag/5.4.0

Thanks


Error in Chrome - Uncaught SyntaxError: Unexpected token ILLEGAL

I am trying to use the people picker, however i m facing issues. In IE, the UI is not available at all. In chrome, UI is available and i can see the people picker. It also searches for user when we start typing and shows the user below in list but when we click on user we get error in console - "Uncaught SyntaxError: Unexpected token ILLEGAL" which is pointing to first line of default.aspx.
Appreciate any help.

Very weird, the people picker does work in IE in Chrome (tested with IE11 and Chrome 41.0.2272.89). Are you testing our sample https://github.com/OfficeDev/PnP/tree/master/Components/Core.PeoplePicker or are you embedding the people picker in your app? If the latter is the case then please validate the correct working in our sample.

Closed due lack of information and lack of response. If there's any questions like this around the technical implementation, would recommend using PnP Yammer group at http://aka.ms/OfficeDevPnPYammer.


Replace enzyme with react-testing-library

Enzyme seems to be on the way out, and does not currently work fully. (Simulating clicks seems to be broken.)
Let's add support for react-testing-library and deprecate enzyme.

In the next release we should remove support for enzyme.


Need a daily Number of test Done. So that we can Calculate the ratio of Occurance

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Related to #943 Closing as duplicate. Add a comment there if you need more on the same.


edit hosts.yml

An Ansible variable name can only include letters, numbers, and underscores.

Need to make changes to other files as well. so I just let it be as is.


Handle in and not_in queries using ActiveRecord rather than Arel

What does this PR do?
Used ActiveRecord to handle searches with :in and :not_in rather than Arel.
Previously modern search logic was using Arel to handle :in and :not_in search conditions. When nil is passed as an argument to these search conditions Arel handles it incorrectly. ActiveRecord does handle 'nil` correctly so we are using it instead.

Examples
An example of the issue with Arel is Song.language_in(['en', nil])
Active record will realize nil needs to be handled as a special case and generate the SQL
language IN ('en') AND language IS NULL

Arel does not and generates the incorrect SQL
language IN ('en', NULL)

 LyricsSynchronization#perform sync failed (~2 failures)


Add rich text

:+1:

there are more changes than rich text addition in this pull request. Perhaps you can open separate requests for each fix you suggest.
For rich text addition, more changes required in views.


:sparkles: feat(component): Add a fifth RTE Icon (arrow-down for index)

Summary
To achive an index list within a blog page we need a new RTE element to avoid creating a new component on Magnolia's side.

Find the icons here:
16px
14px
Use Case

RTE List Magnolia

Preferred Solution
No response
Additional Information
No response
Will this feature introduce breaking changes?
None
Code of Conduct

[X] I agree to follow this project's Code of Conduct

/cib

DANKE @hirsch88

To make this work like the other bullet styles for native lists, this icon needs to be available as a css class similar to "has-bullet-circle" and the others.

/cib


Ability to "cancel" the resolution of former promises.

Hi,
For this case:
[1, 2, 3, 4].forEach(num => {
  return saveCycles('call no #' + num).then(value => {
    console.log(value)
  })
})

I'd like to be able to output only one log:
// Will only call expensiveOperation once with argument `4` and print:
//=> call no #4

Basically, the first 3 calls I'd like to be able to do:
const promiseResolver => (promise, isLast) => new Promise((resolve, reject) => {
    promise.then(
      value => isLast() && resolve(value),
      error => isLast() && reject(error),
    );
});

Does it make any sense to you to support such an usecase?
I'd be happy to submit a PR for this.
edit: according to what I understand, as of now you return 4 times the same promise so this means it's not possible to do what I want unless returning 4 distinct promises.

thanks, will take a look

just wanted to let you know I published a lib that use yours as a dependency and built some additional features on top of it.
https://twitter.com/sebastienlorber/status/1040249449250017285


Add bam qc to multiqc

This PR aims to add the QC metrics collected from bam files to the multiQC output.
It adds a description, removes a deprecated .yaml file, and adds multiple outputs from the QC_BAM subworkflow to the multiQC report.
Current output:

PR checklist

[ ] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!
[ ] If you've added a new tool - have you followed the pipeline conventions in the contribution docs- [ ] If necessary, also make a PR on the nf-core/raredisease branch on the nf-core/test-datasets repository.
[ ] Make sure your code lints (nf-core lint).
[ ] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR> -stub).
[ ] Ensure the test suite passes (nextflow run . -profile test_one_sample,docker --outdir <OUTDIR> -stub).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

New multiQC report, showing the new sections on the left:

Pipeline completed successfully:


Make sure library functions can be called from C++

Not that I'm planning on using it with C++ or anything, just a good idea.

Completed in https://github.com/Gigabyte-Giant/SQLiteDatabaseHelper/commit/6961a43bec5c9b4d74d0b02b88bd83703c8e2bbc.


Executing options

Issues

If you're having trouble with Articulate we definitely want to help you. If you can provide a little bit of information it will make our troubleshooting job easier.

Please describe the issue you are having here and answer the question below.

Did you download a release or pull from Master? Which release? Release Version V0.22.0
What operating system are you running? Windows 10
Are you running locally or in the cloud? Locally
Which browser are you using? Chrome

Hello there,
I am trying to build a flow using "action tagging". So far, my flow is looking good.
However, I need help with this: I am trying to present my user with a set of options (3 options)  for which he must pick one. Where choosing one of the options, triggers separate actions tagged to those options.
Here is what I have done:

I created an action called "Options" for this which I tagged to the preceding flow.
I created 3 different slots for the 3 different options.
Note that, I used one keyword for the 3 different options.

This does not seem to work. I am not sure what I am not doing correctly,
Could you please assist me with a way of achieving this.
See my attached snapshot for a clearer explanation of what I am trying to achieve.

yeah you can't have multiple slots using the same keyword, nor should you need too. One slot, one keyword. Then in the responses use the value of the slot to route to the options.
So one of your responses would look like this:
{{#eq slots.options.value 'option1'}}Okay, Option 1{{/eq}}

which would be tagged with the action for option 1
{{#eq slots.options.value 'option2'}}Okay, Option 2{{/eq}}

which would be tagged with the action for option 2 and so on.

Thank you so much
Just to be clear,
In the response field of the "Options action",  Are these responses to be typed in separately for whatever option that is chosen. That is, I would have 3 different responses entered in the response field of my action.  Does the system have a way of selecting the best response to match the slot that the user requested? I originally had thought the provision for multiple responses was to spice up things a bit to avoid the system having to use the same response every time.

Also,
Could you kindly explain the response statement?
I understand that
'slots.Options.value' statement  gets the value of that slot
'option 1' is the value of the slot
I guess the 'okay' checks if the value entered matches with 'option 1'
The 'option 1{{/eq}}' is it part of the statement too or were you trying to tag the action for choosing option 1.
Pardon me if this is a syntax structure you expect me to already know.
Thanks!

Correct, three separate responses each tagged with a different option. Articulate will choose the best one. There is some more information about how we choose responses at the bottom of this blog post: https://blog.spg.ai/a-bot-with-a-handlebar-mustache-6b2e74edc241
Multiple responses can be used to add variety, but it also plays a part here in branching dialog.
The {{#eq slots.option.value 'option1'}} takes the value of the options slot and compares it to the string value option1 if they match then the text inside the handlebars will be used as the response. It's kind of like an if statement. So if it doesn't match there will be no response text and since there is no text Articulate won't choose to use that particular response.

The blog post was very helpful.
All I actually need is the {{#eq slots.option.value 'option1}} statement.
Good to learn that articulate also handles the responses as "if statements".
Would try this out.

Keep in mind that if you don’t return something Articulate won’t choose that response. So you have to have something in between the handlebars.

Sorry, I do not get the last part of what you said about returning something.
Let's say I want the bot to reply, "Alright, you have decided to go with option A",
How should the syntax go?
Would I be right to put it this way:
{{#eq slots.options.value 'OptionA}}, Alright, you have decided to go with option A

Pretty close:
{{#eq slots.options.value 'OptionA'}}, Alright, you have decided to go with option A{{\eq}}

I was just stating that something like the below won’t work.
{{#eq slots.options.value 'OptionA'}}{{\eq}}

Thank you.
Well understood.
Just by the side, have you thought of compiling all these to produce full documentation for new users?
It would really go a long way to helping them gain mastery of articulate.

We do have someone working on docs. I am fairly certain this is all covered in the next batch that we will release.

Alright. I look forward to the new release.

Articulate does not seem to read it. It is skipping my response and moving to action tagged to the response.
Just to be sure, the value I am comparing the {{slot.options.value}} to, should be the value of the slot's keyword right?

Also, I just thought of it.
Shouldn't it be {{slots.optionA.value}}, {{slots.optionB.value}},... for the 3 different responses
since they are 3 different slots with 3 distinct keywords and values.

They aren't three different slots, they are one slot with one keyword. That keyword has multiple values.

keyword name: options
values:

A
B
C

{{#eq slots.options.value 'A'}}, Alright, you have decided to go with option A{{\eq}}

{{#eq slots.options.value 'B'}}, Alright, you have decided to go with option B{{\eq}}

{{#eq slots.options.value 'C'}}, Alright, you have decided to go with option C{{\eq}}

Hey @wrathagom, could you please take a look at these screenshots. I have implemented what you suggested but still not getting the desired response.
First snippet: Slot  creation
second snippet: Responses to slot
third snippet: Keyword creation
fourth snippet: Sayings declarations
fifth snippet: Action tagging.
sixth and seventh snippet: chat flow
Thank you.
P.S : I'm trying to create a chat-bot that would guide people in making investments

That's where modifiers come in. let me see if I can put together an example.

Alright. That would be very helpful

@wrathagom  Kindly let me know if its possible to provide an example for @Chiagoro-ahaotu  case.
I am stuck at the same thing

@thiyaga24 do you still need help, plase let us know by re opening this issue. Sorry for the late response.


Setting JSONField schema dynamically

I have a situation where a user needs to define a template structure for something. Based on the data in this first JSONField, I am able to create a new schema dynamically, derived from the user input into the first model.
The thing now is that I want to set this derived schema to be the Schema for a JSONField of the instance of another Model (which has a foreignkey to the first model). Is this possible in any way? I found it hard to implement since:
field =JSONField(schema = my_schema)
Is declared class-wise for the model. Is there any way to change the schema of the JSONField of an instance of a model containing a django-jsonform JSONField? Otherwise, is there a workaround for this?

I was able to solve this by reading about callable schemas as described in a previous issue. I did however use the hacky version and could not find a cleaner implementation in the docs.

I did however use the hacky version and could not find a cleaner implementation in the docs.

Could you give me an example of what a cleaner implementation would look like?
Thanks.

I understand. Actually, it was fine and not that hard to do. And it works.


Show where in the process a PQIR belongs on the categorisation page

User input
I had a thought about the way the problems, ideas, questions and risks were logged. Would it be possible for the cards in the “categorise” area to have the heading of the subprocess? i.e. for Problem 7 in my case it would look something like this:

May be a challenge if this is a one to many relationship, but something to consider.
Sharepoint list ID
112
User
Paul Stewart

I did something similar as a PQIR edit/detail page proof of concept.
But we need to think it through.


Fix a panic in handling forwarded queries

Fixes #1117
Related to [docker/docker #22081] (https://github.com/docker/docker/issues/22081)
Signed-off-by: Santhosh Manohar<EMAIL_ADDRESS>

LGTM

LGTM


Allow empty last segment to have missing offset index during recovery

Within a LogSegment, the TimeIndex and OffsetIndex are lazy indices that don't get created on disk until they are accessed for the first time. However, Log recovery logic expects the presence of an offset index file on disk for each segment, otherwise, the segment is considered corrupted.
This PR introduces a forceFlushActiveSegment boolean for the log.flush function to allow the shutdown process to flush the empty active segment, which makes sure the offset index file exists.
Co-Author:    Kowshik Prakasam<EMAIL_ADDRESS>Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

cc @kowshik

@ccding the PR does have unit tests though, so we should update that part of the PR message.

Updated the Test section

@kowshik Thanks for the code review. Updated your email in the PR description as well as in the commit message.

Failed tests are irrelevant and passed on my local run.
 Build / JDK 8 and Scala 2.12 / org.apache.kafka.connect.mirror.integration.IdentityReplicationIntegrationTest.testOneWayReplicationWithAutoOffsetSync()	4.7 sec	1
 Build / JDK 8 and Scala 2.12 / org.apache.kafka.connect.integration.InternalTopicsIntegrationTest.testCreateInternalTopicsWithFewerReplicasThanBrokers	56 sec	1

While I am working on the test, I have a question:
The log.flush() function is also called at https://github.com/apache/kafka/blob/db42afd6e24ef4291390b4d1c1f10758beedefed/core/src/main/scala/kafka/log/LogManager.scala#L1245 and https://github.com/apache/kafka/blob/db42afd6e24ef4291390b4d1c1f10758beedefed/core/src/main/scala/kafka/log/UnifiedLog.scala#L933
They are not during a shutdown. Will these also flush empty active segments and hurt performance?
cc @junrao @kowshik

@ccding During a call to log.flush(), we remember here the offset upto which the log was flushed. So, a subsequent flush() will be a no-op due to this check unless the logEndOffset has advanced. This means that empty active segments shouldn't add additional burden to the log.flush() operation during each call, unless new empty active segments are generated in between 2 calls but that's quite uncommon (see relevant comment).
Furthermore, we typically don't configure to flush the log periodically or during appends. Even then, when we call log.flush() without passing an offset parameter, the intent was always to flush all data written to the log. It is just a corner case that "all data written to the log" needs to also include an empty active segment for correctness reasons since the logEndOffset is derived from it during recovery. Some related details on documentation below:
(1) Periodic flush: https://github.com/apache/kafka/blob/0fe4e24c095f57606a9c33a3135f2f81a1fb0285/core/src/main/scala/kafka/log/LogManager.scala#L1244-L1246
Here, log.flush() executes only when the timeSinceLastFlush >= log.config.flushMs. The flush.ms configuration is documented here and it has a default value of Long.MaxValue (very high!) defined here. The doc recommends us not to override the config unless needed.
(2) Flush during appends:
https://github.com/apache/kafka/blob/db42afd6e24ef4291390b4d1c1f10758beedefed/core/src/main/scala/kafka/log/UnifiedLog.scala#L933
Here, flush() executes only when unflushedMessages >= config.flushInterval. Similar explanation to the above. The flush.messages configuration is documented here and it has a default value of Long.MaxValue (very high!) defined here. The doc recommends us not to override the config unless needed.

@ccding : Thanks for reporting the test failure. This brings up a good point. It's kind of weird to ever have recovery point > log end offset. I am thinking that another potential way to fix this is for the flush() call in close() from recovery point to log end offset to be inclusive on both ends. This way, a flush of (log end offset, log end offset) will force a flush since it's needed for flushing the metadata of log end offset. All other flushes will still be exclusive on the right end since they don't need to preserve the metadata on the right end.

@junrao I think this should solve the issue. Please take a look
cc @kowshik

@kowshik @junrao I fixed the issues. Please take a look

@ccding : It seems there are compilation errors?

@junrao I accidentally changed the core/src/main/scala/kafka/utils/Logging.scala file which made it not compiling. Fixed the compilation issue now.

@kowshik @junrao @hachikuji I have addressed the review comments and please take a look. thanks

ping @kowshik @junrao @hachikuji

@ccding : The PR is kind of large now. Could you associate the PR with a jira? Thanks.

@ccding : There is a conflict now. Could you rebase?

@ccding : Thanks for the latest PR. LGTM. Merged to trunk.


Set up Genesis State Using Data Imported From Genesis Template File

Add functions to set up the Genesis State based on the file. We are already doing something similar for Genesis with CAR files, so perhaps we just need to modify those functions.
In Lotus they have:

MakeGenesisBlock

https://github.com/filecoin-project/lotus/blob/9b1d2f4c137433c1fe1f5ed44ba2e70105a409f0/chain/gen/genesis/genesis.go#L287

MakeGenesisBlock calls the following functions. In Forest we don't have to follow the same structure/architecture, but we should complete the same operations.

MakeInitialState

Creates empty state tree
Create system actor
Create init actor
Setup reward actor
Setup cron actor
Create empty power actor
Create empty market actor
Create verified registry
Setup burnt-funds
Create accounts
https://github.com/filecoin-project/lotus/blob/9b1d2f4c137433c1fe1f5ed44ba2e70105a409f0/chain/gen/genesis/genesis.go#L94

VerifyPresealData

https://github.com/filecoin-project/lotus/blob/9b1d2f4c137433c1fe1f5ed44ba2e70105a409f0/chain/gen/genesis/genesis.go#L244

Replaced by #2410


SASL reconnection error

When using SASL authentication, if a kazoo client is disconnected, all future API calls will return NoAuthError on reconnect.
The issue appears to be that the connection object maintains the state of the SASL request in the .sasl_cli attribute, but that is not reset on disconnection.  That means that when the reconnection attempt is made, it thinks that the SASL request is already completed, so it is not performed.
I am able to temporarily work around this in my app by setting client._connection.sasl_cli = None.  Perhaps something similar in the connection handling code would address the problem.

Hi,
Thank you for your report.
Can you clarify a little bit what state transitions your client is going
through when you say "disconnected"?
A SUSPENDED connection as the client transitions to a new server in the
ensemble?
A LOST connection that you subsequently reconnect?
A stop()/start()?
Thanks,
On Tue, Mar 10, 2020, 13:02 James E. Blair<EMAIL_ADDRESS>wrote:

When using SASL authentication, if a kazoo client is disconnected, all
future API calls will return NoAuthError on reconnect.
The issue appears to be that the connection object maintains the state of
the SASL request in the .sasl_cli attribute, but that is not reset on
disconnection. That means that when the reconnection attempt is made, it
thinks that the SASL request is already completed, so it is not performed.
I am able to temporarily work around this in my app by setting client._connection.sasl_cli
= None. Perhaps something similar in the connection handling code would
address the problem.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/python-zk/kazoo/issues/594?email_source=notifications&email_token=AAIFTHTTBF4LFQCGUXOKAGTRGZXEFA5CNFSM4LFDSOEKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IT6W4IA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIFTHSNWTVGDRSOUNCFP4DRGZXEFANCNFSM4LFDSOEA
.


Command Line options

I've noticed that, a couple years back, someone forked the project to create command line options for the program, but surprisingly, he never opened an issue or push request on this repo. Maybe it was never truly finished and he lost interest: https://github.com/daveMueller/PolicyPlus/commits/UseCommandLineUtils
Though, one big flaw was that he had to separate the GUI and console versions, making it difficult to reapply his work.

@ImportTaste, until this is implemented, have you tried editing Group Policy settings via PowerShell's registry editing capability? I find that it's remarkably easy.

@ImportTaste, https://answers.microsoft.com/en-us/windows/forum/windows_11-other_settings/are-modified-registry-values-reflected-in-gpedit/30735292-6eec-4535-baa4-ac7491778691 might be vaguely useful.


Url not valid for OkHttp Request, but valid for HttpUrlConnection

Could you describe why http request to http://ad.dc2.adtech.de/adserv/ADTECH;grp=[group] with using HttpUrlConnection are working fine:
String url ="http://ad.dc2.adtech.de/adserv/ADTECH;grp=[group]";
URL u = null;
try {
    u = new URL(url);
} catch (MalformedURLException e) {
    e.printStackTrace();
    return;
}
try {
    HttpURLConnection connection = (HttpURLConnection) u.openConnection();
    L.d("response code "+ connection.getResponseCode());
    connection.disconnect();
} catch (IOException e) {
    e.printStackTrace();
}

whereas request with using OkHttp return error:
String urlString ="http://ad.dc2.adtech.de/adserv/ADTECH;grp=[group]";
URL url = null;
try {
    url = new URL(urlString);
} catch (MalformedURLException e) {
    e.printStackTrace();
    return;
}
Request request = new Request.Builder()
        .url(url)
        .build();

okHttpClient.newCall(request).enqueue(new Callback() {
    @Override
    public void onFailure(Request request, IOException e) {
        e.printStackTrace();
    }

    @Override
    public void onResponse(Response response) throws IOException {
    }
});

Error:
java.io.IOException: not valid as a java.net.URI: http://ad.dc2.ad
       tech.de/adserv/ADTECH;grp=[group]
    W      at com.squareup.okhttp.Request.uri(Request.java:61)
    W      at com.squareup.okhttp.internal.http.HttpEngine.networkRequest(HttpEn
       gine.java:714)
    W      at com.squareup.okhttp.internal.http.HttpEngine.sendRequest(HttpEngin
       e.java:222)
    W      at com.squareup.okhttp.Call.getResponse(Call.java:267)
    W      at com.squareup.okhttp.Call$ApplicationInterceptorChain.proceed(Call.
       java:224)
    W      at com.squareup.okhttp.Call.getResponseWithInterceptorChain(Call.java
       :195)
    W      at com.squareup.okhttp.Call.access$100(Call.java:34)
    W      at com.squareup.okhttp.Call$AsyncCall.execute(Call.java:162)
    W      at com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:
       33)
    W      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecut
       or.java:1112)
    W      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu
       tor.java:587)
    W      at java.lang.Thread.run(Thread.java:818)
    W  com.squareup.okhttp.Call$AsyncCall.execute(Call.java:162)
    W      at com.squareup.okhttp.internal.NamedRunnable.run(NamedRunnable.java:
       33)
    W      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecut
       or.java:1112)
    W      at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecu
       tor.java:587)
    W      at java.lang.Thread.run(Thread.java:818)

Tested on OkHttp v2.5
How to make it works with using OkHttp?

Yeah, yuck. Right now OkHttp tries its best to avoid converting URLs to java.net.URI, since that class is overly strict around what characters are valid. Your best workaround is to string replace [ with %5b and ] with %5d. This only occurs because you're mixing [ URLs with cookies.
http://ad.dc2.adtech.de/adserv/ADTECH;grp=%5bgroup%5d
In a future version of OkHttp we'll replace java.net.CookieHandler with our own interface that doesn't require java.net.URI.

Thanks, will try your workaround. I hope in next version it will be fixed.

Fixed with https://github.com/square/okhttp/pull/1959

does this mean the cookie issue will be addressed?

@traic the issue is fixed now. You can use the 2.6.0-SNAPSHOT if you like.


Call parseConfig() after mass config update

Hi,
flatpickr.set() method accepts objects and allows mass updates to configs.
I noticed that some configs may gets lost during this process.
For example:
flatpickrInstance.set({
    onChange: function() {
    // new method
    }
})

calling parseConfig() right after merging new configs will ensure that each and every config property has been applied.

Whoops feels like build failed. May be this is not the best solution.
I found that only this code is sufficient to run after mass updates
// extracted from parseConfig()
for (let i = hooks.length; i--; ) {
      if (self.config[hooks[i]] !== undefined) {
        self.config[hooks[i]] = arrayify(self.config[hooks[i]] || []).map(
          bindToInstance
        );
      }
    }

Unless we arrayify our hooks they wont be called.


Presents is not syncing with app/LCD

In HA the integration shows all presets that the Clevertouch app has. However changing to a preset in the integration doesn’t register in the app or the LCD unit so the radiators won’t change the settings.
Is this expected? I would guess the presets are expected to work?

Definitely expected to work. It is slow to register changes however - and I’m not sure that is avoidable. I made one single test right now and that (still) works for me (changing from Comfort to Eco for a single radiator). I waited for maybe 30s without the app reflecting the change - but it did so when refreshing manually.
Does any changes at all work for you? Like changing temperatures etc.?

I did another (limited) test. The LCD display reflects the change much quicker - which is sort of expected. The app DID reflect the change without any user interaction after some period though (in this case 1-2 minutes).

Yeah thanks, I got it working after choosing the mode “off”. Then I could choose any other mode and it would register.
However, I’m using a climate card in HA and that automatically returns to the comfort mode whatever I choose. It looks right in the Clevertouch app though. So maybe I’ll have to find a better card for my dashboard.
Thanks for making this integration.


Update signalr-service-limits.md

1.Added description for Premium tier
2.Ordered the table rows so that readers can easily scan through the table 3.Updated the description below the table to make it clearer to readers

Learn Build status updates of commit 678b40f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

includes/signalr-service-limits.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

@sffamily
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@sffamily @cfowler - Can you review this old PR and determine whether it needs to be closed or merged?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.

@Kevin @.***>, please help review and close this document PR as needed.

From: Shannon Leavitt @.>
Sent: Wednesday, February 1, 2023 7:00 AM
To: MicrosoftDocs/azure-docs @.>
Cc: Zhidi Shang @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Update signalr-service-limits.md (PR #100839)
@sffamilyhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsffamily&data=05|01|zhshang%40microsoft.com|06c2e7ef4a13434d196508db03deebbc|72f988bf86f141af91ab2d7cd011db47|1|0|638108028230807489|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=1sgN4AG3BU6NKFGsC72dYIW%2B2gzzBXgQ%2Bln2xIC2KpU%3D&reserved=0 @cfowlerhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcfowler&data=05|01|zhshang%40microsoft.com|06c2e7ef4a13434d196508db03deebbc|72f988bf86f141af91ab2d7cd011db47|1|0|638108028230807489|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=bpbBYOwVhHK3yF9doVVG9mmr4eBHLnL7uhZIUC2QQrs%3D&reserved=0 - Can you review this old PR and determine whether it needs to be closed or merged?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F100839%23issuecomment-1411185650&data=05|01|zhshang%40microsoft.com|06c2e7ef4a13434d196508db03deebbc|72f988bf86f141af91ab2d7cd011db47|1|0|638108028230807489|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=YnImcoHglJAesVyWfPGAg35APItyQXRJXF69uXeoujo%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB5OOP4Z5LGPWJIND72752LWVGKQDANCNFSM6AAAAAARUT7IJI&data=05|01|zhshang%40microsoft.com|06c2e7ef4a13434d196508db03deebbc|72f988bf86f141af91ab2d7cd011db47|1|0|638108028230807489|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=h%2FQV17HGO%2BqMqERIRfndh7NUAEe9QBXY%2BAIpiLBPRUo%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>

Hello Zhidi,
Not a problem. Will do.
Warm regards,
Kevin
From: Zhidi Shang @.>
Sent: Wednesday, February 1, 2023 1:21 PM
To: MicrosoftDocs/azure-docs @.>; MicrosoftDocs/azure-docs @.>; Kevin Guo @.>
Cc: Mention @.***>
Subject: RE: [MicrosoftDocs/azure-docs] Update signalr-service-limits.md (PR #100839)

@Kevin @.***>, please help review and close this document PR as needed.

From: Shannon Leavitt<EMAIL_ADDRESS>Sent: Wednesday, February 1, 2023 7:00 AM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: Zhidi Shang<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] Update signalr-service-limits.md (PR #100839)
@sffamilyhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsffamily&data=05|01|kevinguo%40microsoft.com|ce1c961dd6d04961678e08db04141b97|72f988bf86f141af91ab2d7cd011db47|1|0|638108256641112687|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=17%2F4AyG6Bm%2BZT2ztoyuVSwnfbTaP1mGKre3Ol2WgkQs%3D&reserved=0 @cfowlerhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fcfowler&data=05|01|kevinguo%40microsoft.com|ce1c961dd6d04961678e08db04141b97|72f988bf86f141af91ab2d7cd011db47|1|0|638108256641112687|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=DcZqpob3zRozJq%2BKv2lKEGAE1VM7qzqX4mx1puESOQM%3D&reserved=0 - Can you review this old PR and determine whether it needs to be closed or merged?
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.

Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fpull%2F100839%23issuecomment-1411185650&data=05|01|kevinguo%40microsoft.com|ce1c961dd6d04961678e08db04141b97|72f988bf86f141af91ab2d7cd011db47|1|0|638108256641268915|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=Tq4%2B5o%2BkKf5w1gER%2FjsuJVLknu4TLLnVbnBsYgqZJKI%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAB5OOP4Z5LGPWJIND72752LWVGKQDANCNFSM6AAAAAARUT7IJI&data=05|01|kevinguo%40microsoft.com|ce1c961dd6d04961678e08db04141b97|72f988bf86f141af91ab2d7cd011db47|1|0|638108256641268915|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=smGVvY2B3Sy5wKpPyuWWSlGWWjGtHzzW5344SiVb2Ik%3D&reserved=0.
You are receiving this because you were mentioned.Message ID<EMAIL_ADDRESS>


Any proposed way of setting or disabling pageSizeLimit

yii2 REST API uses ActiveDataProvider to fetch and show data. This class has pageSizeLimit parameter which by default limit our pageSize to 50, so no matter how high is per-page (pageSizeParam) query parameter, maximum 50 rows are returned.
Is there any way to completely disable pageSizeLimit so that provider will show as many rows as we want by specifying per-page query parameter or defaultPageSize if not specified? Setting pageSizeLimit to false forces to always return defaultPageSize rows no matter what we pass by per-page.
Further investigation of source code showed, that setting pageSizeLimit to anything but false or two-dimensional array works, because the code in that case completely ignores pageSizeLimit link.
Won't it be better if we have framework proposed way of doing it and not hack, e.g. specifying only lower limit, or setting it true or something to obviously take the query param? I can make pull request if we come up with the way of specifying it...

You should always apply an upper bound to the page size because your system will run out of memory when processing too large pages.

It won't if you're using a DataReader and streaming the response without buffering :smile:

OK, I understand the limitation of running out of memory, but for the REST response:

It is very difficult to run out of memory (usually)
It's up to developer, I don't propose to change the default behavior, I propose to have way of disabling this limit at all.

At the end it was discussed many times here on github (under different issues) that the framework (yii) must not limit the developer, it can propose the right way to do something with its' defaults, but not limit him/her.
Currently I have very concise JSON objects in my response and I read 1000 row response without any problems and without increasing default php memory limit. And I can't say exactly yet how much more I will be able to read in one go. I'm using REST as backend for Android application which does it's job in seperate thread and it has no any limitation there either, and for now it is very much convenient for me to read the whole response from Android and not go page by page.
In my case: REST request is filtered and the response theoretically can't grow so much that I will hit any limit, so I don't see reason why I can't disable that limit on my own risk. (actually I can, but I don't think that using flow of code to disable it is the right way)

$dataProvider = new ActiveDataProvider([
    'query' => $query,
    'pagination' => [
        'pageSizeLimit' => [1],
    ]
]);

@mdmunir Your code is not the way of disabling pageSizeLimit, it is just a workaround. As I said anything but false and two dimensional array will work. Your way of doing it is the worst in my opinion, as you may think, tha giving one value in array will at least set lowet limit, but it will ignore that value.

Now that some time has passed, is there a "best practice" for changing (not necessarily disabling) the default pagination values? I realize I can override the yii/rest/IndexAction and change the pagination attributes, but this seems like something that should be more a config change than an override.


no method "S3.delete(path, callback)"

Bug in client:
delete: (path,callback) ->
Meteor.call "_s3_delete", path, callback
Use:
Meteor.call("_s3_delete", relative_url, function(e, r) {
if (e) {
console.error(e);
}
});

The method should look more like
Meteor.methods({
 delete : function(relativeUrl) {
  S3.delete(relativeUrl)
 }
})

And on the client
javascriptMeteor.call('delete',this.relative.url)


readme? how to use it

Sorry will get it done later today.
If you have the lua plugin installed, it should give auto-completion with anything starting with 'ngx'. If you don't have the lua plugin installed, it will just break.
E.g. if you start typing ngx.req. you should see get_headers, set_header etc.

If you have any more questions feel free to open another issue.


Warning in Python 3.6

Report from user:
Since I’ve started to use turi create with python 3.6, I get this message every time I load tc. It seem to be a numpy thing.
/Users/bunny/trove-env/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)
/Users/bunny/trove-env/lib/python3.6/importlib/_bootstrap.py:219: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
return f(*args, **kwds)

I had the same issue. Didn't bother since it was a warning. TuriCreate worked fine.
Followed the instructions at https://stackoverflow.com/questions/40845304/runtimewarning-numpy-dtype-size-changed-may-indicate-binary-incompatibility
To suppress warnings (to make the notebook look better :-)) use
import warnings
warnings.filterwarnings("ignore", message="numpy.dtype size changed")
warnings.filterwarnings("ignore", message="numpy.ufunc size changed")

One of the suggested method was to install using apt install. I haven't tried this.
pip uninstall -y numpy scipy pandas scikit-learn
sudo apt update
sudo apt install python3-numpy python3-scipy python3-pandas python3-sklearn


Register for onActivityResult callback automatically

Right now the install instructions suggest you add onActivityResult to your MainActivity manually to make signIn work. However, it's now possible to register with RN to receive this callback on your module. It's cleaner, easier and less error prone.

thanks @almost

Thanks @devfd, I've fixed it.
I can't believe I missed that!

perfect ; )
thanks


Did your views drop after 7 days?

Is there an existing issue for this?

[X] I have searched the existing issues

I'm submitting a ...

[ ] bug report
[X] feature request
[ ] support request --> Contact me over mail for support https://github.com/MShawon

Description
Did your views drop after 7 days?
Environment
- OS :
- Python :
- Script version :

config.json
aol

Has yours dropped?

Has yours dropped?

Have you been reduced?
I'm curious about this tool :D


disk I/O error

Hi
I have tried to query the SQLite file present in the S3 bucket using sqlite-s3-query package but I'm getting "Exception: disk I/O error".
The object is private and it is present in a private bucket. I have provided the correct access and secret keys of the user also verified that the user is able to access the object using boto3
Please find the complete details below,
version of sqlite_s3_query - sqlite-s3-query 0.0.44
the file format used in s3 bucket - filename.db, filename.sqlite
region, access key id, and secret access key are stored in environment variables
sample code
from sqlite_s3_query import sqlite_s3_query s3_url="https://<bucket>.s3.<region>.amazonaws.com/<key>" with sqlite_s3_query(url=s3_url) as query:   with query('SELECT * FROM table1 WHERE name= ?', params=('name1',)) as (columns, rows):     for row in rows: 	  print(row)
Error message
Error observedTraceback (most recent call last):
File "C:\Users\user1\Downloads\db.py", line 29, in
with sqlite_s3_query(url='') as query:
File "C:\Users\user1\AppData\Local\Programs\Python\Python39\lib\contextlib.py", line 117, in enter
return next(self.gen)
File "C:\Users\user1\AppData\Local\Programs\Python\Python39\lib\site-packages\sqlite_s3_query.py", line 319, in sqlite_s3_query
with
File "C:\Users\user1\AppData\Local\Programs\Python\Python39\lib\contextlib.py", line 117, in enter
return next(self.gen)
File "C:\Users\user1\AppData\Local\Programs\Python\Python39\lib\site-packages\sqlite_s3_query.py", line 275, in get_db
run(libsqlite3.sqlite3_open_v2, f'file:/{file_name}'.encode() + b'\0', byref(db), SQLITE_OPEN_READONLY | SQLITE_OPEN_URI, vfs_name.encode() + b'\0')
File "C:\Users\user1\AppData\Local\Programs\Python\Python39\lib\site-packages\sqlite_s3_query.py", line 73, in run
raise Exception(libsqlite3.sqlite3_errstr(res).decode())
Exception: disk I/O error
Could you please help me with this
Thanks,
4sachi

Let me know if you have any more details? (Otherwise will close the issue)

Closing, but feel free to reopen

Just FYI I am also seeing this error. I believe it occurs on 2nd attempt of downloading, after 1st attempt of downloading is cancelled. Perhaps clearing the cache would fix it

@ionox0 can you provide more details, such as a reproducible example? Specifically: which cache are you referring to?

Hi! I'm seeing this error as well. The sqlite file that I'm attempting to access is fairly sizeable, about 3GB. However, I did have this working with the same sqlite file just a few weeks ago. My exact setup is as follows:
with sqlite_s3_query(url=s3_url, get_credentials=lambda now: ( region,access_key,secret_key,token )) as query:         table_query = """SELECT name FROM sqlite_master WHERE type='table';"""         with query(table_query) as (columns, rows):             for row in rows:                 print(row)
which results in the same Exception: disk I/O error error.

Trying to run the same table name query on a smaller, test sqlite file still results in the disk I/O error. I'm running with Python 3.10, but got the same error on Python 3.8.

Hi @cjusko,
Are you able to share the specific SQLite file? Also - what version of SQLite?
Thanks,
Michal

@michalc
Thanks for getting back! Sorry about the delay. I was able to figure this out after spending some time messing with the permissions on the bucket.
For future reference, I was receiving this error because of an update our IT dept conducted which inadvertently removed s3:GetObject and s3:GetObjectVersion permissions. Adding those back resolved all issues we were having. So if this issue comes back up for anyone in the future, that's the first place I'd check.
Thanks again!

@cjusko
Ah good to know - thanks! So it probably would have caused a 403 response, which then we would convert to a exception, but then this gets converted to what I think would surface as a disk i/o error at https://github.com/michalc/sqlite-s3-query/blob/d6301d15e7b32553067c539ea79a199abccfb58d/sqlite_s3_query.py#L187
Maybe this should be better surfaced somehow...

@cjusko (and others that get here)
As of v0.0.80 sqlite-s3-query will now raise a range of more specific exceptions, including more consistently surfacing httpx exceptions, which are raised in the case of (for example) 403s from S3 in the case of not having the right permissions.
There are some details in the Exceptions section of the README


SIM115 extend with Path.open

The SIM115 rule covers the builtin open function, and should also pick up on Path.open, which is used for the same purpose.

@charliermarsh I'll take this :)


[Xamarin.Android] Downloaded/cached pictures doesn't load in no internet access status

Description
I use following code to pre-download some images (inside foreach) (My app should support offline mode, that's why)
ImageService.Instance.LoadUrl(url).DownloadOnly();

Then in offline mode (no internet access mode), I use following code (that works in online mode btw), but always img_warn.png shows up.
ImageService
    .Instance
    .LoadUrl(url)
    .LoadingPlaceholder("img_downloading.png", ImageSource.CompiledResource)
    .ErrorPlaceholder("img_warn.png", ImageSource.CompiledResource)
    .Into(vh.imageView);

BTW the url variable has same value in both codes.
Steps to Reproduce
Nothing fancy, I use Xamarin.Android, VS 2017 v15.9.3 and FFImageLoading v<IP_ADDRESS>9
Expected Behavior
Pre-Downloaded/Cached pictures can be used in offline mode.
Actual Behavior
Pre-Downloaded/Cached pictures can't be used in offline mode.
Basic Information

Version with issue: <IP_ADDRESS>9
Last known good version: No idea!
Platform: Xamarin.Android

Screenshots
Not necessary.
Reproduction Link / Code
Already mentioned!
Update
In online mode when second mentioned code runs, the loaded images can be used in offline mode! I have no idea why. also I used second one instead of first one, but doesn't work.
Thanks.

Never mind, I removed FFImageLoading from my project and used another library.


[TypeScript] random.hexaDecimal is not a function

Hello! I am using these deps:

typescript - 3.6.4
faker - 4.1.0
@types/faker - 4.1.7

I get an error in code like:
import {random} from 'faker';

console.log(random.hexaDecimal(32));

An error is hexaDecimal is not a function. Looking at typings, there is a definition for this function, but when I got into source code, there is no such function as hexaDecimal

import {finance} from 'faker';

console.log(finance.creditCardNumber());

Throws creditCardNumber is not a function.


[REQ] Bring back rendering mode (read the description)

Acknowledgement of preliminary instructions

[X] I have read and acknowledged the preliminary instructions.

What idea do you have?
Bring it back without vulkan and opengl but only with Direct3D11 and D3D11FL10 (Direct3D10)
DO NOT ADD VULKAN AND DO NOT ADD OPENGL, ONLY THE ONE I SAID

Read the latest release notes.

It will be added back in the future when better precautions are in place.

well vulkan is problematic, same with opengl, so why not adding the ones i said

well vulkan is problematic, same with opengl, so why not adding the ones i said

Yes, I just said they will be added back in the future.

so why not adding the ones i said lol??

I just said they will be added back in the future.


Update howto-using-azure-redhat-openshift.md

Add EastUS 2 availability
Update indicated extension version
Update az aro create command to use friendly CRG and domain names

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

@lamek @suvetriv ptal


Settings Sync extension startup too slow

Extension Name: code-settings-sync
Extension Version: 3.1.2
OS Version: Windows_NT x64 10.0.17134
VSCode version: 1.28.0

We have written the needed data into your clipboard. Please paste:
{
	"activationTimes": {
		"startup": true,
		"codeLoadingTime": 7502,
		"activateCallTime": 1,
		"activateResolvedTime": 7525,
		"activationEvent": "*"
	}
}

Closing please see https://github.com/Microsoft/vscode/issues/60318


pull the code a bit up to nowadays

These is quite all I want to edit till the moment.

no asyncio.coroutine decorator
the latest async_timeout version support
unittests are done with the pytest_asyncio plugin
formated with black
checked with mypy.

If it's ok it would be nice to get it at pypi as well ;)

Hei ;) Is it something wrong with the PR? It's taking long for some reasons...


Can’t add ATV to Home app

Preconditions

[X] Requirements fulfilled
[X] The known issues did not answer my question
[X] The question has not been asked in the past or the answer does not satisfy me
[X] There is currently no other opened issue that matches my question
[X] I cannot find any answer to my question in GitHub discussions

Current Situation
I reinstalled the plugin after having installed and configured it then deleted it a few months ago. I manually unpaired the ATV from the plugin using the Settings app on the ATV. It re-paired without issue. I got the HomeKit setup code from the logs and proceeded to add the accessory in the Home app, but it fails repeatedly every time.
The setup code is the same as for homebridge and other plugins. When I enter it in the Add Accessory window (tap More Options, then tap My accessory isn’t shown here, and then finally tap Enter Code). When I enter the setup code from the logs the Home app goes right back to the Add Accessory screen as if nothing had just happened. The ATV doesn’t get added, no matter how many times I’ve tried.
Logs
See attached

Configuration
{
            "name": "TuyaWebPlatform",
            "options": {
                "username"<EMAIL_ADDRESS>                "password": "6wtrNyP8k-XYGHPNp842",
                "countryCode": "1",
                "platform": "tuya"
            },
            "defaults": [
                {
                    "device_type": "form"
                }
            ],
            "scenes": false,
            "platform": "TuyaWebPlatform"
        },
        {
            "name": "Apple TV Enhanced",
            "mediaTypes": [
                "music",
                "tv",
                "video"
            ],
            "deviceStates": [
                "paused",
                "playing",
                "stopped"
            ],
            "deviceStateDelay": 0,
            "remoteKeysAsSwitch": [
                "down",
                "home",
                "left",
                "menu",
                "next",
                "play_pause",
                "previous",
                "right",
                "select",
                "stop",
                "turn_off",
                "turn_on",
                "up"
            ],
            "avadaKedavraAppAmount": 15,
            "disableVolumeControlRemote": false,
            "setTopBox": false,
            "discover": {
                "multicast": true
            },
            "forceVenvRecreate": false,
            "logLevel": 3,
            "updateCheckLevel": "stable",
            "deviceSpecificOverrides": [
                {
                    "overrideMediaTypes": false,
                    "overrideDeviceStates": false,
                    "overrideDeviceStateDelay": false,
                    "deviceStateDelay": 0,
                    "overrideRemoteKeysAsSwitch": false,
                    "overrideAvadaKedavraAppAmount": false,
                    "avadaKedavraAppAmount": 15,
                    "overrideCustomInputURIs": false,
                    "overrideDisableVolumeControlRemote": false,
                    "disableVolumeControlRemote": false,
                    "overrideSetTopBox": false,
                    "setTopBox": false
                }
            ],
            "platform": "AppleTVEnhanced",
            "_bridge": {
                "username": "0E:B7:B2:4F:FD:BE",
                "port": 42054
            }
        }

Operating System
Linux
Operating System: Bits
64-bit
Operating System: Distribution
Raspberry pi OS
Operating System: Distribution Version
12 (bookworm)
Docker
no
Docker Image
None
Docker Image Tag
No response
Homebridge Version
1.7.0
Homebridge Config UI Version
v4.55.1
Homebridge Storage Path
/var/lib/homebridge
Homebridge Apple TV Enhanced Version
1.2.5
Node Version
v20.11.1
NPM Version
10.2.4
Python Version
3.11.2
PIP Version
23.0.1
HDMI Hops
AppleTV -> Samsung q990c -> TV
Audio Output
no
Same Subnet
yes
Additional Context
homebridge-appletv-enhanced.log.txt

I would try to unpair the Apple TV in homebridge like here: https://github.com/maxileith/homebridge-appletv-enhanced/discussions/209#discussioncomment-8263888
If this does not work out for you, please open an issue in the homebridge repo. The pairing process is handled by homebridge not the plugins.

That solved it. Thank you!

@sethlong1 Please be more careful when posting your config. You have posted your username and password for your TuyaWebPlatform login. Based on your job description from linkedIn I would expect a bit more care :)


Update prettier

So that it supports importing type for Typescript

coverage: 88.316% (+0.004%) from 88.312%
when pulling cba1a85a084dc8a6f688a2cfe16e8f0ef9bdaef5 on update-prettier
into 0179daaf347673ff3205779d7012ee37a2a47cc1 on master.


[hyprlock] Add more description for monitor field

The monitors field of hyprlock was not described clearly. Trying to fix that.

@PaideiaDilemma is this correct?


Inquiry for cooperation

Hi,
We are working on the implementation of EET for one Czech client and we would need help with connecting to Czech Tax Authorities, so we decided to contact you with the hope that you can help us with your esteemed experience.
At this time, our development team is working on the solution, but we need someone who can help us to connect with Czech Tax Authorities by providing specific local inputs. This would take approximately 3-4 hours of your time per week, depending on the phase of integration. Of course, you would be paid for your time invested.
Please let us know if you are interested in cooperation so we can agree on terms.
Thank you and best regards,
Kristian

Hi
I have worked with this and has POS Sale computers that tranfer  information to the Czech TaxAutorities
I am from Denmark ))
Tommy Bach Lauritsen
+45 30250222
Fra: kposavcevic<EMAIL_ADDRESS>Sendt: 30. marts 2020 13:18
Til: todvora/eet-client<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Emne: [todvora/eet-client] Inquiry for cooperation (#43)
Hi,
We are working on the implementation of EET for one Czech client and we would need help with connecting to Czech Tax Authorities, so we decided to contact you with the hope that you can help us with your esteemed experience.
At this time, our development team is working on the solution, but we need someone who can help us to connect with Czech Tax Authorities by providing specific local inputs. This would take approximately 3-4 hours of your time per week, depending on the phase of integration. Of course, you would be paid for your time invested.
Please let us know if you are interested in cooperation so we can agree on terms.
Thank you and best regards,
Kristian
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/todvora/eet-client/issues/43, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFUFFUUD3QO3IAGNVGJXCQLRKB5XJANCNFSM4LWQAUKQ.

Hi,
thank you for a quick turnaround. I suppose that you know technical requirements for connecting to Czech Tax Authorities?
Can you please give me your email, so we can continue our conversation there?
Best,
Kristian

TBL<EMAIL_ADDRESS>Tommy Bach Lauritsen
+45 30250222
Fra: kposavcevic<EMAIL_ADDRESS>Sendt: 30. marts 2020 15:45
Til: todvora/eet-client<EMAIL_ADDRESS>Cc: Tommy Bach Lauritsen<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Emne: Re: [todvora/eet-client] Inquiry for cooperation (#43)
Hi,
thank you for a quick turnaround. I suppose that you know technical requirements for connecting to Czech Tax Authorities?
Can you please give me your email, so we can continue our conversation there?
Best,
Kristian
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/todvora/eet-client/issues/43#issuecomment-606008119, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AFUFFUXNWOIDN2GAQX7NXN3RKCO5NANCNFSM4LWQAUKQ.

Hi @kposavcevic and @TBLDK,
Awesome networking, thank you both for responding, I like it very much!
I hope you can get everything working soon. For me, this library was just a side project out of curiosity, so I am probably not the best person for the job.
Good luck, Tomas.


size_leaf_vector enforced to 0

I want to store multi value in tree's leaf and i noticed that xgboost have size_leaf_vector, but the code is currently not support, have many check that size_leaf_vector must be 0
my question is that what the plan about size_leaf_vector in xgboost?
the next question is that if i want to fork a branch to modify by myself, want to deal with multi class objective use leaf vector, any details about size_leaf_vector should i remember?

@weidong8405 I'm thinking about this on my spare time (when available).  But you are welcomed to work on it.  A few things though:

firstly there is a misunderstanding that if we use one tree per class then there is no correlation between classes.  That's not entirely correct since we use softmax to normalize output probability across all classes.
The change is big.  Once you have leaf vector, you will also need to modify histogram building, split evaluation etc.
Performance hit is uncertain.
Having vector leaf doesn't mean good result.  I read some related literature and there's no theoretical proof that says this way it can model correlation "better".

@weidong8405 Also if you are indeed working on it.  Please let me know your progress.  You can find my personal email address on github profile.

@trivialfis  thank you for reply so rapidly, currently i am working on multi classification, i understand your first answer,but use binary classification to deal with have the drawback is that it will use more trees(num_trees * num_class), that means more overhead when use the tree model in inference time.
the other one is that  i find that binary classification's performance is not as well as opencv do the multi classification

@weidong8405 You can remove that parameter if you like.  It's never used in actual code anyway.

@trivialfis  i want to use the parameter indeed, so in conclusion you think it will have many changes if want to use leaf vector?

Yup.  But certainly doable.  :-)

Reopening as we can use more inputs.

in fact i am not so care about the training speed, inference speed and online performance is more important to me, so if i do not care about cache or vector computation, the works can be much less?

Definitely lesser.

From: weidonghuang<EMAIL_ADDRESS>Sent: Tuesday, October 22, 2019 12:50:42 PM
To: dmlc/xgboost<EMAIL_ADDRESS>Cc: Jiaming Yuan<EMAIL_ADDRESS>State change<EMAIL_ADDRESS>Subject: Re: [dmlc/xgboost] size_leaf_vector enforced to 0 (#4972)
in fact i am not so care about the training speed, inference speed and online performance is more important to me, so if i do not care about cache or vector computation, the works can be much less?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHubhttps://github.com/dmlc/xgboost/issues/4972?email_source=notifications&email_token=AD7YPKN2CNHB724TGOAKPYDQP2BCFA5CNFSM4JDJ66C2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEB4QXIQ#issuecomment-544803746, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD7YPKNJSHISCWEIY4VENWLQP2BCFANCNFSM4JDJ66CQ.

Its probably going to need major changes to support this parameter. You could do a proof of concept pr and see how hard it is.

Closing in prefer to this one: https://github.com/dmlc/xgboost/issues/4840


cloudflare CNAME fails validation

I annotated an ingress with a CNAME:
external-dns.alpha.kubernetes.io/target: "tq.[root domain]"
This is recognized by external-dns:
time="2018-10-22T11:36:43Z" level=debug msg="Endpoints generated from ingress: prometheus/prometheus-grafana: [grafana.[root domain] 0 IN CNAME \"tq.[root domain]\" map[]]"
However, the CNAME is rejected by Cloudflare for unspecified reasons:
time="2018-10-22T11:37:44Z" level=error msg="failed to create record: error from makeRequest: HTTP status 400: content \"{\\\"success\\\":false,\\\"errors\\\":[{\\\"code\\\":1004,\\\"message\\\":\\\"DNS Validation Error\\\",\\\"error_chain\\\":[{\\\"code\\\":9007,\\\"message\\\":\\\"Content for CNAME record is invalid\\\"}]}],\\\"messages\\\":[],\\\"result\\\":null}\"" action=CREATE record=grafana.[root domain]ttl=1 type=CNAME zone=[redacted]

I don't run that cluster anymore, the time to ask me followup question is sorta gone
/close


⚠ Bofrost.at has degraded performance

In 09525f9, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1073 ms

Resolved: Bofrost.at performance has improved in 2aacf2d after 6 minutes.


overlay: add NetworkManager config to prevent requesting additional MAC

Resolves https://github.com/openshift/okd/issues/540

It should be:
 # sudo vi /etc/systemd/network/98-ovs-mac.link
 [Match]
 Driver=openvswitch
 [Link]
 MACAddressPolicy=none

@vrutkovs
Shouldn't you revert the change to /overlay/etc/dhclient/dhclient.conf also on master?

Oh, I though it already has been reverted, fixed it.

/test e2e-aws
One worker didn't fully start

/retest

/hold

/override ci/prow/e2e-aws
/override ci/prow/e2e-aws-upgrade
pods should successfully create sandboxes by other is permafailing in 4.8 OVN

/hold cancel