HBASE-24578 [WAL] Add a parameter to config RingBufferEventHandler's SyncFuture count

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 15s
Docker mode activated.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m  3s
the patch passed

+1 :green_heart:
compile
1m  3s
the patch passed

+1 :green_heart:
javac
1m  3s
the patch passed

+1 :green_heart:
shadedjars
5m 48s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 42s
hbase-server in the patch failed.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m 29s
master passed

+1 :green_heart:
checkstyle
1m  5s
master passed

+1 :green_heart:
spotbugs
2m  1s
master passed

-0 :warning:
patch
2m 10s
Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 20s
the patch passed

-0 :warning:
checkstyle
1m  2s
hbase-server: The patch generated 11 new + 19 unchanged - 0 fixed = 30 total (was 19)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
11m  9s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
2m 11s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 13s
The patch does not generate ASF License warnings.

31m 47s

Subsystem
Report/Notes

Docker
Client=19.03.11 Server=19.03.11 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/2/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1923

Optional Tests
dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle

uname
Linux 2e64a340bcd1 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 537a3caccd

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/2/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt

Max. process+thread count
94 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/2/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 29s
Docker mode activated.

-0 :warning:
yetus
0m  4s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m 43s
master passed

+1 :green_heart:
compile
0m 55s
master passed

+1 :green_heart:
shadedjars
5m 35s
branch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 38s
master passed

-0 :warning:
patch
6m 25s
Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

 Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m 37s
the patch passed

+1 :green_heart:
compile
1m 11s
the patch passed

+1 :green_heart:
javac
1m 11s
the patch passed

+1 :green_heart:
shadedjars
6m 41s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 46s
hbase-server in the patch failed.

_ Other Tests _

+1 :green_heart:
unit
198m 55s
hbase-server in the patch passed.

229m 41s

Subsystem
Report/Notes

Docker
Client=19.03.11 Server=19.03.11 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/2/artifact/yetus-jdk11-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1923

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 1fc0c44becb1 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 537a3caccd

Default Java
2020-01-14

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/2/artifact/yetus-jdk11-hadoop3-check/output/branch-javadoc-hbase-server.txt

javadoc
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/2/artifact/yetus-jdk11-hadoop3-check/output/patch-javadoc-hbase-server.txt

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/2/testReport/

Max. process+thread count
3091 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/2/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

Sorry, i think your request messes things up, and makes this simple improvement complicated, far away from my intention.

sorry, my question, I update.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 22s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m 11s
master passed

+1 :green_heart:
checkstyle
1m 13s
master passed

+1 :green_heart:
spotbugs
2m 14s
master passed

-0 :warning:
patch
2m 22s
Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

 Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m  3s
the patch passed

+1 :green_heart:
compile
1m  2s
the patch passed

+1 :green_heart:
javac
1m  2s
the patch passed

+1 :green_heart:
shadedjars
5m 46s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 39s
hbase-server in the patch failed.

 Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
4m  4s
the patch passed

+1 :green_heart:
compile
1m  2s
the patch passed

+1 :green_heart:
javac
1m  2s
the patch passed

+1 :green_heart:
shadedjars
6m 18s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 39s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
210m 55s
hbase-server in the patch passed.

239m 32s

Subsystem
Report/Notes

Docker
Client=19.03.11 Server=19.03.11 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/3/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1923

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 27abc230dceb 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 8f1353b447

Default Java
1.8.0_232

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/3/testReport/

Max. process+thread count
3697 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/3/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

any updates?

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 13s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m 57s
master passed

+1 :green_heart:
checkstyle
1m 13s
master passed

+1 :green_heart:
spotbugs
2m 10s
master passed

-0 :warning:
patch
2m 18s
Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 42s
the patch passed

-0 :warning:
checkstyle
1m 13s
hbase-server: The patch generated 3 new + 7 unchanged - 0 fixed = 10 total (was 7)

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
12m 12s
Patch does not cause any errors with Hadoop 3.1.2 3.2.1.

+1 :green_heart:
spotbugs
2m 17s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 12s
The patch does not generate ASF License warnings.

35m 45s

Subsystem
Report/Notes

Docker
Client=19.03.9 Server=19.03.9 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/4/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1923

Optional Tests
dupname asflicense spotbugs hadoopcheck hbaseanti checkstyle

uname
Linux 3d0d21d9ddf3 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 47742b2083

checkstyle
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/4/artifact/yetus-general-check/output/diff-checkstyle-hbase-server.txt

Max. process+thread count
84 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/4/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f) spotbugs=3.1.12

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 30s
Docker mode activated.

-0 :warning:
yetus
0m  3s
Unprocessed flag(s): --brief-report-file --spotbugs-strict-precheck --whitespace-eol-ignore-list --whitespace-tabs-ignore-list --quick-hadoopcheck

_ Prechecks _

_ master Compile Tests _

+1 :green_heart:
mvninstall
4m  8s
master passed

+1 :green_heart:
compile
1m  4s
master passed

+1 :green_heart:
shadedjars
5m 43s
branch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 39s
hbase-server in master failed.

-0 :warning:
patch
6m 33s
Used diff version of patch file. Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 57s
the patch passed

+1 :green_heart:
compile
1m  3s
the patch passed

+1 :green_heart:
javac
1m  3s
the patch passed

+1 :green_heart:
shadedjars
5m 45s
patch has no errors when building our shaded downstream artifacts.

-0 :warning:
javadoc
0m 39s
hbase-server in the patch failed.

 Binary files and potentially other changes not applied. Please rebase and squash commits if necessary.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
3m 47s
the patch passed

+1 :green_heart:
compile
0m 57s
the patch passed

+1 :green_heart:
javac
0m 57s
the patch passed

+1 :green_heart:
shadedjars
6m  8s
patch has no errors when building our shaded downstream artifacts.

+1 :green_heart:
javadoc
0m 35s
the patch passed

_ Other Tests _

+1 :green_heart:
unit
201m 21s
hbase-server in the patch passed.

227m 25s

Subsystem
Report/Notes

Docker
Client=19.03.12 Server=19.03.12 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/4/artifact/yetus-jdk8-hadoop3-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/1923

Optional Tests
javac javadoc unit shadedjars compile

uname
Linux 73b6196535bc 4.15.0-101-generic #102-Ubuntu SMP Mon May 11 10:07:26 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 47742b2083

Default Java
1.8.0_232

Test Results
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/4/testReport/

Max. process+thread count
3292 (vs. ulimit of 12500)

modules
C: hbase-server U: hbase-server

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-1923/4/console

versions
git=2.17.1 maven=(cecedd343002696d0abb50b32b541b8a6ba2883f)

Powered by
Apache Yetus 0.11.1 https://yetus.apache.org

This message was automatically generated.


fix, simplify and add tests for lxd backend

made a mistake in the #750 PR with methods being on the object not the instance 👎
using the docker backend as a template was a mistake as lxd is more like the ssh backend.
reworked the lxd backend, very simple and straightforward now.
added unit tests to ensure everything works as expected.

Thanks!

Released as v2.88.1.


post-install script breaks on aarch64 platform

From my (limited) understanding or archs, aarch64 and arm64 are the same.
This checks doesn't allow installation to pass on aarch64:
https://github.com/near/near-sdk-js/blob/develop/cli/post-install.js#L11
For me it breaks inside a Docker container on my mac, and it doesn't break outside the container.

@maxhr please, check if it works if you use code from the attached PR.

@volovyk-s it fails on:
wget https://github.com/near/binaryen/releases/download/v0.1.10/binaryen-Linux-arm64.tar.gz
says HTTP 404
Inside a Docker container from node:alpine image i have:
uname -s -> Linux
uname -m -> aarch64
uname -a -> Linux ed3742d9a6a2 5.10.104-linuxkit #1 SMP PREEMPT Thu Mar 17 17:05:54 UTC 2022 aarch64 Linux

We do not have a build for ARM Linux, what machine are you using?
I do not have such hardware, we need to add one more release here: https://github.com/near/binaryen/releases/tag/v0.1.10

Ideally, it should be one more job here: https://github.com/near/binaryen/blob/main/.github/workflows/release-artifacts.yml

done in #393


Incorrect Babylon plugins in ast.

The current Babylon configuration breaks when analyzing a file that uses the export * as newName from '...' syntax.  It looks like Babylon has since split exportExtensions into two different plugins: exportDefault and exportNamespace.
In my testing, everything works correctly if the exportExtensions plugin is replaced with the two new plugins in src/ast.js.
Speaking of the export-namespace syntax, are there any plans to support it in this plugin?

Looks like something deceived me.  For whatever reason, when I ran the tests with the above changes, they all came up fine...  Then later they didn't.  Maybe a cache got me or something?
Although they did make this change, I don't think it's reflected in the version of Babylon that this plugin is using.  It may be something to keep in mind on the next package.json update, though.


Suggested updates to GUI display

Hello,
The updates for Cellpose 2.0 are really nice and are proving to be very helpful in the diversity of datasets I work with. I have just a couple small suggestions to aid the user experience with the GUI; apologies if these suggestions have already been made.

Could you make it so that the selected model from the model zoo being applied is indicated?  I.e., have the GUI highlight (or indicate somewhere) the selected model after it is clicked? Perhaps even placing the full model zoo in a single dropdown would prove effective to thus display the single model being applied.
Could the number of segmented objects in the current image be displayed somewhere in the GUI?  Would be great to have a quick sense of how changing the model/inputs changes the total count without having to view this number in a terminal output.

Thank you!

good points these are added now!


Shadows in screenshots are colored lighter

Seen on ViroCore 1.5 and 1.6.
See the image below, the shadow should be darker:

This has been fixed in the latest release of ViroCore 1.7.2. Please checkout the update instructions here: https://virocore.viromedia.com/docs/releases


Test logger edge cases

Identifies 3 bugs:

Exception info with exc_info as an instance of exception does not format correctly
stack_info/sinfo is not implemented correctly and doesn't add the stack trace to the log message
child/parent NOTSET rules are not being adhered to

def test_notset_parent_level_match():
    logger_child = picologging.Logger("child", picologging.NOTSET)
    logger_parent = picologging.Logger("parent", picologging.DEBUG)
    logger_child.parent = logger_parent

    parent_io = io.StringIO()
    child_io = io.StringIO()
    logger_child.addHandler(picologging.StreamHandler(child_io))
    logger_parent.addHandler(picologging.StreamHandler(parent_io))

    logger_child.info("child message")
    logger_parent.info("parent message")
    parent_value = parent_io.getvalue()
    child_value = child_io.getvalue()
    assert "child message" in child_value
    assert "child message" in parent_value
    assert "parent message" in parent_value
    assert "parent message" not in child_value

One of the new test cases is invalid. For .exception() there must be a current exception on the frame
    def test_root_logger_exception(capsys):
        logging.root.handlers = []
        logging.exception("test")

        cap = capsys.readouterr()
        assert cap.out == ""
>       assert cap.err == "ERROR:root:test\n"
E       AssertionError: assert 'ERROR:root:test\nNoneType: None\n' == 'ERROR:root:test\n'
E           ERROR:root:test
E         + NoneType: None

Codecov Report

Merging #37 (5c5d2c1) into main (6ba5b16) will increase coverage by 0.72%.
The diff coverage is 80.59%.

@@            Coverage Diff             @@
##             main      #37      +/-   ##
==========================================
+ Coverage   84.60%   85.32%   +0.72%
==========================================
  Files          10       10
  Lines        1351     1595     +244
==========================================
+ Hits         1143     1361     +218
- Misses        208      234      +26

Impacted Files
Coverage Δ

src/picologging/_picologging.cxx
54.20% <42.85%> (-0.80%)
:arrow_down:

src/picologging/logger.cxx
81.58% <80.00%> (+3.60%)
:arrow_up:

src/picologging/__init__.py
92.40% <100.00%> (+0.51%)
:arrow_up:

src/picologging/formatter.cxx
89.51% <100.00%> (+0.38%)
:arrow_up:

src/picologging/handlers.py
91.02% <0.00%> (-5.57%)
:arrow_down:

Continue to review full report at Codecov.

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


Bug_Tag> All components> 'isInverse' control prop> Background of the button gets changed instead of appearing the dark blue background for the components.

Describe the bug
Background of the button gets changed instead of appearing the dark blue background for the following components:

Default
With Icon
Size
Size With Icon
Size With Delete
Size With Icon Delete
On Click
On Delete
On Delete With Icon
Primary
Low Contrast
High Contrast
Inverse

To Reproduce
Steps to reproduce the behavior:

Go to 'https://storybook-preview-290--upbeat-sinoussi-f675aa.netlify.app/?path=/story/tag--default&args=isInverse:true'
Select 'isInverse' control prop
Toggle it into 'True'
Verify the preview

Expected behavior
Dark blue background should appear instead of changing the background of the button.
Screenshots
https://somup.com/c3nbXrThTx
Desktop:
OS: [Win 10]
Browser [chrome]
Version [Version 98.0.4758.82 (Official Build) (64-bit)]
Additional context
As per the other inverse component, For example: Dropzone> Default> isInverse> Blue background appears if 'isInverse' control prop is 'True.

Working as intended. isInverse is a prop to change the background color of the Tag. Not to change the entire background. These are components, not entire applications, so the props change the individual components look.


[HOLD for payment 2024-07-22] [HOLD for payment 2024-07-17] [Payment history] add "Request refund" menu item to the Subscription page (UI)

Complete the frontend portion of this part of the design doc: add "Request refund" menu item.
Dependent on https://github.com/Expensify/App/issues/43286 for backend data.
Issue OwnerCurrent Issue Owner: @kubabutkiewicz

Hi, I'm Jakub from Callstack - expert contributor group - and I would like to take a look at this issue.

Assigning @mananjadhav since they reviewed the PR as C+

@blimpich Can you assign a BZ or post the payment summary for this one. This is supposed to be ready for payout today.

My bad @mananjadhav! I should have assigned this earlier to a bug zero member.
@anmurali can you handle payment for this? @mananjadhav needs to be paid for reviewing this PR

Quick bump @anmurali for the payout summary.

Payment summary (ready to be paid)

[ ] Reviewer: @mananjadhav owed $250 via NewDot

$250 approved for @mananjadhav


Industry ECI rankings COL-934

Rebasing to get latest changes from beta.

@makmanalp when pointing the branch to the atlas-colombia-harvard api, I get N/A for dept and city industry complexity in the rankings

@gregshap argh, my bad. One second.

@gregshap forgot to merge in the API changes - should work now. Might need to hard-refresh.

:+1: good buddy


llama3.1-70B-instruct 422 error Template error: unknown test: test iterable is unknown (in :99)

System Info
TGI-gaudi 2.0.4 docker image.
Model = meta-llama/Meta-Llama-3.1-70B-Instruct
HW = Gaudi2, 4 cards
python    3.11
langchain                0.2.12
langchain-core           0.2.28
langchain-huggingface    0.0.3
huggingface-hub          0.24.0
Information

[X] Docker
[ ] The CLI directly

Tasks

[ ] An officially supported command
[X] My own modifications

Reproduction
I was using tgi-gaudi to serve llama3.1-7-B-instruct as the llm engine for my agent application. After the agent runs through one round of user/assistant (with tool calls)/tool/user messages,  when need to generate the next AI message by llm, tgi-gaudi gives 422 client error - Template error: unknown test: test iterable is unknown (in :99) . See example below. As you can see, there is no "test" in the messages sent to TGI-gaudi. So I'm suspecting this issue is caused by something internal to TGI-gaudi.
You can use the code here to reproduce this issue.
I used the command below to launch tgi-gaudi
docker run -d --name tgi-server -p 8085:80 -v $WORKDIR/hf_cache:/data --runtime=habana -e HF_TOKEN=$HF_TOKEN -e http_proxy=$http_proxy -e https_proxy=$https_proxy -e PT_HPU_ENABLE_LAZY_COLLECTIVES=true -e HABANA_VISIBLE_DEVICES=0,1,2,3 -e OMPI_MCA_btl_vader_single_copy_mechanism=none --cap-add=sys_nice --ipc=host ghcr.io/huggingface/tgi-gaudi:2.0.4 --model-id meta-llama/Meta-Llama-3.1-70B-Instruct --sharded true --num-shard 4 --max-input-tokens 4096 --max-total-tokens 8192
Example error output:
message sent to TGI:  [{'role': 'user', 'content': 'Question: how many songs has the band the beatles released that have been recorded at abbey road studios?
\nThe question was asked at: 03/21/2024, 23:37:29 PT'}, {'role': 'assistant', 'content': '', 'tool_calls': [{'function': {'name': 'search_knowledge_base', '
arguments': '{"query": "The Beatles songs recorded at Abbey Road Studios"}'}}]}, {'role': 'tool', 'content': 'Personnel[edit]\nWritten and composed by Rod Te
mperton\nProduced by Quincy Jones\nMichael Jackson: lead and background vocals, LinnDrum drum machine\nRod Temperton and Brian Banks: synthesizers\nGreg Phil
linganes: synthesizers, Rhodes piano\nAnthony Marinelli: synthesizer programming\nDavid Williams: guitar\nJerry Hey, Gary Grant: trumpets, flugelhorns\nLarry
Williams: saxophone, flute\nBill Reichenbach: trombone\nVocal, rhythm and synthesizer arrangement by Rod Temperton\nHorn arrangement by Jerry Hey\nEffects b
y Bruce Cannon and Bruce Swedien\nFeaturing: Narration by Vincent Price (Not featured on original edited single version)\nCharts[edit]\nWeekly charts[edit]\n
Chart (1983–1985)\nPeakposition\nAustralia (Kent Music Report)[51]\n4\nBelgium (Ultratop 50 Flanders)[52]\n1\nCanadian RPM Top Singles[53]\n3\nFinland (Suome
n virallinen singlelista)[54]\n7\nFinland Jukebox (Suomen virallinen singlelista)[54]\n3\nFrance (SNEP)[28]\n1\nIreland (IRMA)[55]\n4\nNetherlands (Dutch Top
40)[56]\n3\nNetherlands (Single Top 100)[57]\n4\nNew Zealand (Recorded Music NZ)[58]\n6\nPortugal (AFP)[59]\n1\nSouth Africa (Springbok)[60]\n26\nSpain (AFY
VE)[61]\n1\nUK Singles (OCC)[27]\n10\nUS Cashbox[62]\n4\nUS Billboard Hot 100[63]\n4\nUS Billboard Hot Black Singles[64][26]\n3\nUS Billboard Adult Contemporary[65]\n24\nUS Billboard Album Rock Tracks[64][26]\n42\nUS Radio & Records CHR/Pop Airplay Chart[66]\n1\nWest Germany (Official German Charts)[67]\n9\nChart (2006)\nPeakposition\nFrance (SNEP)[68]\n35\nGermany (Media Control Charts)[35]\n9\nIreland (IRMA)[55]\n8\nItaly (FIMI)[69]\n5\nNetherlands (Single Top 100)[57]\n34\nSpain (PROMUSICAE)[35]\n1\nSwitzerland (Schweizer Hitparade)[35]\n3\nChart (2007)\nPeakposition\nSpain (PROMUSICAE)[70]\n20\nUK Singles (OCC)[27]\n57\nChart (2008)\nPeakposition\nAustria (Ö3 Austria Top 40)[71]\n55\nNorway (VG-lista)[72]\n13\nSwitzerland (Schweizer Hitparade)[73]\n53\nUK Singles (OCC)[27]\n35\nChart (2009)\nPeakposition\nAustralia (ARIA)[74]\n3\nAustria (Ö3 Austria Top 40)[71]\n5\nBelgium (Ultratop 50 Back Catalogue Singles Flanders)[75]\n3\n', 'name': 'search_knowledge_base'}, {'role': 'user', 'content': 'Retrieved document is not sufficient or relevant to answer the query. Reformulate the query to search knowledge base again.'}]
***Error: 422 Client Error: Unprocessable Entity for url: http://<host_ip>:8085/v1/chat/completions
Template error: unknown test: test iterable is unknown (in :99)
Expected behavior
Expected output should be the tgi-gaudi should be able to process many rounds of user/assistant (with tool calls)/tool/user messages with llama3.1-70B-instruct model

The llama3.1 is new model for TGI, so the chat template support is also new for TGI. Our TGI is only 2.0.4 version. The fixed patch is included in
PR 2454. We need upgrade the tgi-gaudi to latest.
This will take some time.

https://github.com/huggingface/tgi-gaudi/pull/225
The patch is under review.


recorded video output is so poor

please understand my poor English too..
i try Full-screen record from CameraCaptureActivity. but i got poor quality output.
how can i get better quality output?

i just set camera previewsize and encode setting to 1280x720

Compare what you see on-screen in the camera preview to the recorded video.
If the preview is poor quality, you need to adjust the way Camera is configured. (Or get a device with a better camera.)
If the preview quality is good, but the recording quality is poor, you may be able to improve it by adjusting the encoding parameters. The basic stuff (like bit rate) is passed to the CircularEncoder constructor.
It's set for 6Mbps; try bumping that up to 20Mbps and see if the quality improves.  This will triple the amount of memory required.

work fine now, thanks!


Bump black from 22.1.0 to 22.3.0

Codecov Report

Merging #172 (63cb030) into main (3d73d7a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #172   +/-   ##
=======================================
  Coverage   91.93%   91.93%
=======================================
  Files          10       10
  Lines         831      831
=======================================
  Hits          764      764
  Misses         67       67

Continue to review full report at Codecov.

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


Generate security groups

Generic rules put into rule.go
Security group terraform generated for stacks
SG Terraform uploaded to container

What this PR does / why we need it:
Makes rules generic and is generated into terraform when needed
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #63
Release note:

NONE

@JoshVanL can you allow maintainers to push to this PR (should be a flag on the right side of this)
I have a few changes to push

@simonswine Strange, I did already have that checked. I've invited you to be a collaborator on my fork repo which should fix it. Let me know if it still doesn't work

@JoshVanL sorry I had a mistake in my git push command 😞

@dippynark can you take a look at my comments. Again also the verify boilterplate is failing because we don't have the LICENSE headers in the newly added files

Looking good sofar. I am waiting for a manual sonobuoy run to finish and then I am happy to merge
🎉

Looking good now, everything is green in CI and on a built cluster's prometheus

/approve

/lgtm


Event 'appOwnershipCached' not getting Emited.

My code
const SteamTotp = require('steam-totp');
const SteamUser = require('steam-user');

const client = new SteamUser();

// If enabled, then node-steam-user will internally cache data about all apps and packages that it knows about.
client.enablePicsCache = true;

// An object containing details for this logon
const logOnOptions = {
  accountName: process.env.STEAM_USERNAME,
  password: process.env.STEAM_PASSWORD,
  twoFactorCode: SteamTotp.generateAuthCode(process.env.STEAM_SHARED_SECRET)
};

// Logs onto Steam
client.logOn(logOnOptions);

// Emitted when you're successfully logged into Steam.
client.on('loggedOn', details => {
  console.log('Logged into Steam!');

  // const steamID64 = client.steamID.getSteamID64();

  client.setPersona(SteamUser.Steam.EPersonaState.LookingToTrade);
});

// Emitted once we have all data required in order to determine app ownership. You can now safely call getOwnedApps, ownsApp, getOwnedDepots, and ownsDepot.
// This is only emitted if enablePicsCache is true.
client.on('appOwnershipCached', function() {
  console.log(client.getOwnedApps());
});

Can anyone please tell me whats wrong?
My Node and NPM versions
anupkrbid@DESKTOP-MG2N75J:/mnt/e/Projects/web/steam-bot$ node -v
v8.11.2
anupkrbid@DESKTOP-MG2N75J:/mnt/e/Projects/web/steam-bot$ npm -v
6.1.0

Thanks bro. It worked.
Two more questions
1> Can I nor set the enablePicsCache  property like this
client.setOptions({
  enablePicsCache: true
});

2> The console log console.log(client.getOwnedApps()); returns me an array of 207 appids but I only have two games. Am I calling the wrong method?

Yes, that works.
Every Steam account is automatically granted Steam Sub 0.

Thanks For the Reply
So for the second Question, I need to filter by app types somehow
And Just to let you know tried setOptions
client.setOptions({
  enablePicsCache: true
});

also tries
client.setOptions(enablePicsCache: true);

But got this error instead
/mnt/e/Projects/web/steam-bot/node_modules/steam-user/components/apps.js:604
        if (this.steamID.type != SteamID.Type.ANON_USER && !this.licenses) {
                         ^

TypeError: Cannot read property 'type' of null
    at SteamUser.getOwnedPackages (/mnt/e/Projects/web/steam-bot/node_modules/steam-user/components/apps.js:604:19)
    at SteamUser._getLicenseInfo (/mnt/e/Projects/web/steam-bot/node_modules/steam-user/components/apps.js:461:24)
    at SteamUser.setOption (/mnt/e/Projects/web/steam-bot/node_modules/steam-user/index.js:154:9)
    at SteamUser.setOptions (/mnt/e/Projects/web/steam-bot/node_modules/steam-user/index.js:169:8)
    at Object.<anonymous> (/mnt/e/Projects/web/steam-bot/bot.js:7:8)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)

Don't use setOptions before being logged on.

ok. cool.
I moved the setOptions to the loggedOn Event Callback But got this error
Logged into Steam!
/mnt/e/Projects/web/steam-bot/node_modules/steam-user/components/apps.js:605
                throw new Error("We don't have our license list yet.");
                ^

Error: We don't have our license list yet.
    at SteamUser.getOwnedPackages (/mnt/e/Projects/web/steam-bot/node_modules/steam-user/components/apps.js:605:9)
    at SteamUser._getLicenseInfo (/mnt/e/Projects/web/steam-bot/node_modules/steam-user/components/apps.js:461:24)
    at SteamUser.setOption (/mnt/e/Projects/web/steam-bot/node_modules/steam-user/index.js:154:9)
    at SteamUser.setOptions (/mnt/e/Projects/web/steam-bot/node_modules/steam-user/index.js:169:8)
    at SteamUser.client.on.details (/mnt/e/Projects/web/steam-bot/bot.js:25:10)
    at emitTwo (events.js:126:13)
    at SteamUser.emit (events.js:214:7)
    at SteamUser._handlers.(anonymous function) (/mnt/e/Projects/web/steam-bot/node_modules/steam-user/components/logon.js:310:9)
    at SteamUser._handleMessage (/mnt/e/Projects/web/steam-bot/node_modules/steam-user/components/messages.js:249:30)
    at emitThree (events.js:136:13)

Thanks for all your help and time. Is there any other way to contact you if I get stuck or should I ask in this thread?

Why can't you just set it in the constructor?

I can. Just wanted to know the proper way to use setOptions just in case I need to use it later. But thanks a lot. So any other way to contact you other than this thread?

setOptions is supposed to work all the time, but there's a bug preventing you from changing enablePicsCache until after your licenses list is received (licenses event).
You should use https://dev.doctormckay.com for future questions and the like.


Bug: (iOS 13) closing keyboard re-focuses input on click event on other elements than ion-button

Ionic version:
[x] 4.x
I'm submitting a ...
[x] bug report
[ ] feature request
Current behavior:
The bug only occurs on iOS 13 Devices. When clicking in an ion-input or ion-searchbar, the keyboard opens. After closing the keyboard programmtically or on tablets with the specific button, when the user clicks on an ionic element which handles a click even other than ion-button the input is re-focused again. In some cases the click event is then executed shortly after but in the case that the input is outside the router-provider where the click happens,
the keyboard might open again and the click event is not executed.
Expected behavior:
Click events should be executed without re-focusing the previous input.
Steps to reproduce:

run the sample app on an iOS device.
Enter something into the searchbar and klick enter on the keyboard -> the keyboard gets hidden
In the page that got loaded unter the searchbar click on the button -> Error: the search bar is getting focused again, the navigation to the second test page is not executed.
Klick on the button again -> The navigation works correctly and the second test page is displayed.

Related code:
Sample Application here: https://github.com/NisStrom/ios13

Thanks for the issue. I am unable to run your sample application. I am getting the following error:
error TS2305: Module '"/Users/liamdebeasi/Ionic/ios13/node_modules/@angular/compiler/compiler"' has no exported member 'JitEvaluator'.
Can you please verify your app configuration?

it should build now. Had the wrong angular version in package.json.

Thanks for the follow up. I tested it out and it looks like the Keyboard.hide method does not properly blur the ion-searchbar which is why tapping anywhere seems to focus the searchbar again.
I was not able to reproduce this on iOS 12, so it is possible that this is either a bug in the keyboard plugin, or a bug on iOS 13.
As an alternative, I would recommend using event.target.blur() in your onInput method instead. This will ensure that a) the keyboard is hidden and b) the searchbar is properly blurred.

The workaround works partially but the problem still exists when the user closes the keyboard manually (which is possible only on iPad).  And it happens not only for ion-searchbar but also for every ion-input.

Ok I'm going to take a closer look. It's possible that the keyboard plugin needs to be updated.


Maybe provide Certificate Store Setting

The self signed certificate is stored in the certificate store "web hosting". Maybe it is needed to store the certifcates, used by tfs in this store?
I have not checked out, but we have stored our certificate from an external authority in this store and is was working.
It could be a good idea to recommend this store, when the private store is not the right.

Dokumentdetails
⚠ Bearbeiten Sie diesen Abschnitt nicht. Er ist für die Verknüpfung von docs.microsoft.com zum GitHub-Artikel erforderlich.

ID: 6d9693a5-28bc-a214-0611-0d94709ce8ec
Version Independent ID: 44ffcd1b-1a21-b216-0cde-f24c80797fbc
Content: Web Site Settings and Security, TFS Setup, Upgrade, and Administration | Microsoft Docs
Content Source: docs/security/websitesettings.md
Service: unspecified
GitHub Login: @douge
Microsoft Alias: douge

hey @HaraldSchmitt , thanks for this feedback and sorry for the super long wait. I'm adding @itillis to help find an elegant solution to this and I'll add it to the docs :)


Better LOESS performance and new rolling mean detrending

Pull Request Checklist:

[ ] This PR addresses an already opened issue (for bug fixes / features)

This PR fixes #xyz

[x] Tests for the changes have been added (for bug fixes / features)
[x] Documentation has been added / updated (for bug fixes / features)
[x] HISTORY.rst has been updated (with summary of main changes)

[x] Link to issue (:issue:number) and pull request (:pull:number) has been added.

[ ] bumpversion patch has been called on this branch
[ ] The relevant author information has been added to .zenodo.json

What kind of change does this PR introduce?

Implement 2 adaptations in the loes tools of xclim.sdba. In xclim.sdba.loess._loess_nb, the normal case is accelerated by subsetting the timeseries to exclude points that we know have weights of 0, this is taken directly from Cleveland 1979, the source. An additional performance boost is given with the special case whendx == 0 (points are spaced equally), here we don't need to recompute the weights at each iteration.
Implement RollingMeanDetrend, simply a basic rolling mean. I added a weights option, but we might want to think about adding extrapolation for the boundaries.
Add handling of the group's window and additional dimensions in LoessDetrend : simply averaging over them before sending them to the loess. This is done by Alavoine et Grenier (2022).

Does this PR introduce a breaking change?
No.
Other information:

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

64 of 67 (95.52%)  changed or added relevant lines in 4 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 90.003%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

xclim/sdba/loess.py
11
12
91.67%

xclim/sdba/detrending.py
28
30
93.33%

Files with Coverage Reduction
New Missed Lines
%

xclim/sdba/detrending.py
4
84.11%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
12307

Relevant Lines:
13674

💛  - Coveralls


강제종료 후 복원시 onMapReady() 메소드 호출 불가

Rerun after forced shutdown (state recovery) An ongoing issue with the onMapReady () method call is not.
(In fragment)

Ditto


Artifact download may try to write a file to the build directory

If an artifact is downloaded, and the artifact’s name is the same as the name of the build directory, the Agent will attempt to save the artifact over the directory, and will fail because the destination path is a directory.
This is because of this code: https://github.com/buildkite/agent/blob/fe3f98124caaac5f38961625f2b978526a72442d/agent/download.go#L48-L69 and appears to have been the case for all versions of the agent.
For clarity, the example case is:
Pipeline build folder: buildkite/builds/my-agent-1/my-organisation-1/pipeline-name
Artifact name: pipeline-name
Artifact download command: buildkite-agent artifact download pipeline-name .
Given that this behaviour is intended to be helpful, and in many cases is likely being used as intended, it might be best to simply disallow this behaviour for artifacts whose names have no directories in them.

Thanks @ticky !!!!  Happy to beta test any fixes y'all come up with.

We’ve had another report of this today

Given that this behaviour is intended to be helpful, and in many cases is likely being used as intended, it might be best to simply disallow this behaviour for artifacts whose names have no directories in them.

Agree with this approach @ticky, I'll investigate.

My take on this is that it's dangerous behaviour. Rsync uses a trailing slash on destinations to get the different behaviour, I reckon we should do the same:
buildkite-agent artifact download pipeline-name . vs buildkite-agent artifact download pipeline-name ./

Just wanted to chime in to mention that I too have just encountered this issue with an artifact carrying the same name as the pipeline.   I worked around it easily enough (renamed the artifact) but would love to see the behavior @lox mentioned.    It's the first thing I tried in an effort to resolve this issue.

I have come across something similar to this issue, though from looking at the code snippet in the first post of this thread I'm unsure if it is expected behaviour or not. Any confirmation would be appreciated.
So the situation I found is where the first folder in the path matches the pipeline name (which seems like a reasonable approach in a monorepo implementation) the artifact is downloaded to an unexpected location
so in a monorepo approach like this (just for context):

./buildkite/pipeline.yml # this file uses the monorepo diff plugin to trigger the other pipelines
project1/.buildkite/pipeline.yml
project1/test/test.sh
project2/.buildkite/pipeline.yml

project1 pipeline name: project1
artifact uploaded in a step: project1/test/report.xml
artifact downloaded in following step: project1/test/report.xml
expected file location: project1/test/report.xml
actual file location: test/report.xml
As a workaround I have renamed our pipeline to something like project1-build but this is not desirable really


rake is not part of the bundle. Add it to Gemfile. (Gem::LoadError)

I cloned the repo, without any changes, but error occurs when i'm trying to create a post.
svbtle-jekyll git:(master) ✗ rake posts:create "test post" test 2013-12-16
/usr/local/opt/rbenv/versions/2.0.0-p353/lib/ruby/gems/2.0.0/gems/bundler-1.3.5/lib/bundler/rubygems_integration.rb:214:in `block in replace_gem': rake is not part of the bundle. Add it to Gemfile. (Gem::LoadError)
	from /usr/local/opt/rbenv/versions/2.0.0-p353/bin/rake:22:in `<main>'

Solution was: https://github.com/orlando/svbtle-jekyll/commit/3098b09c99a781e4501aa88992cbb6f83e9bc2ee


Panoramax: Image not found

URL
No response
How to reproduce the issue?

No response
Which deployed environments do you see the issue in?
Development version at ideditor.netlify.app
What version numbers does this issue effect?
2.30.0-dev
Which browsers are you seeing this problem on?
Chrome

Yes, the URL said ORTHO before and now mentioned Panoramax in the details so I was unsure.


Change the Tag line with a more fun msg

Refinemenet:
would like to request the search box text to something like the below.
"Find Your Recipe Match and Burn It Off!"
"Discover Deliciousness, Burn the Calories!"

"From Plate to Pace: Discover, Devour, and Shed"
"Calorie Search: Flavorful Recipes, Active Results"
"Eat Well, Move More: Discover, Devour, Burn!"
"Search, Cook, Sweat: Uncover the Perfect Pairing"

Ill do this and create the pr


Figure out PEP 561 for this package

https://www.python.org/dev/peps/pep-0561/

this is implemented


updating gulp-eslint

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 42.053%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
28015

Relevant Lines:
62322

💛  - Coveralls


Add or remove feature from vector source doesn't work while map is dragging or zooming

Describe the bug
I use vector layer with vector source which is asyncronously changing by adding or removeng features.
When vectorSource.addFeature/removeFeature is calling while map is dragging or zooming map doesn't update vector layer with features and they are freezing on layer.
To Reproduce
Steps to reproduce the behavior:

Go to https://codesandbox.io/s/qoj8o
Click on map and drag it more then two second
One feature is freezing on map

In this example feature is added/removed on/from layer every second by timer.
Expected behavior
Feature must be added/removed on/from layer immediatelly independing on dragging or zooming.

You can configure the vector layer with updateWhileInteracting: true, updateWhileAnimating: true. Then the layer should be updated immediately when you remove a feature.

You can configure the vector layer with updateWhileInteracting: true, updateWhileAnimating: true. Then the layer should be updated immediately when you remove a feature.

Thank you so much for responding so quickly! It works!


Error: write EPIPE

I get this error in C and C++ when I provide stdin, but in the actual program I never use it.
Eg:
let resultPromise = c.runSource("#include<stdio.h>int main(){printf("Hello world");return 0;", {stdin: 10\n20});
The error I get is:
events.js:160
      throw er; // Unhandled 'error' event
      ^

Error: write EPIPE
    at exports._errnoException (util.js:1020:11)
    at WriteWrap.afterWrite (net.js:800:14)

This just outright CRASHES the entire server
This only happens when i provide a stdin and I dont use it in my code.
I've tested this with C,C++ and Python and C and C++ seem to be showing this error while Python doesnt give any error

What OS and version of package are you using? The following works fine for me for version 2.1.2 on Windows 7.
const { c } = require('compile-run');
c.runSource('#include<stdio.h>\nint main(){printf("Hello world");return 0;}', { stdin: '10\n20}' }).then(r => console.log(r)).catch(err => console.log(err));

Output:
{ stderr: '', stdout: 'Hello world', exitCode: 0 }

Im coding in Cloud9, which I believe runs on Ubuntu 14. Also the package version is 2.1.2. I forgot to mention that 6-7 out of 10 tries show this error, so you probably didn't encounter the error on that single try. Also, I run the same code with different inputs 2-4 times in very quick successions. Is this causing the issue?

I think its happening as the stdin stream is closed before we're writing input to it. I'll update you with the fix.

Hello,
Please check the version 2.1.3. I made some fixes and please let me know if the issue still exist.

I am closing this. If you are still facing the same issue in the newer version. Please comment so I would reopen it.

This issue still persist, if you try run multiple testcases in a loop.

Hi @mav-raj
Can you please provide a detailed scenario where it fails and gives this error?

Sorry for late response, it is not related with multiple case, this error is shown in c and cpp, if you are compiling with input and have not use either of input or output, For eg,
"#include<stdio.h>
int main() {
return 0;
}"
try compiling this code with input "2\n2" in both c and cpp.


No handler for Heartbeat

I am trying to establish a connection to a Keba wallbox. The wallbox constantly sends a heartbeat. Which ends with the following error:
INFO:ocpp:Wallbox001_Test: receive message [2,"a53bc09e-90fc-4dd6-967b-231703da55a9","Heartbeat",{}]
ERROR:websockets.server:Error in connection handler
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/ocpp/charge_point.py", line 161, in _handle_call
    handlers = self.route_map[msg.action]
KeyError: 'Heartbeat'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/websockets/server.py", line 191, in handler
    await self.ws_handler(self, path)
  File "test.py", line 40, in on_connect
    await cp.start()
  File "/usr/local/lib/python3.8/dist-packages/ocpp/charge_point.py", line 125, in start
    await self.route_message(message)
  File "/usr/local/lib/python3.8/dist-packages/ocpp/charge_point.py", line 143, in route_message
    await self._handle_call(msg)
  File "/usr/local/lib/python3.8/dist-packages/ocpp/charge_point.py", line 163, in _handle_call
    raise NotImplementedError(f"No handler for '{msg.action}' "
ocpp.exceptions.NotImplementedError: No handler for 'Heartbeat' registered.

I can't find any possibility to disable the heartbeat.
How can I handle this?

I can't find any possibility to disable the heartbeat.

You can't disable the heartbeat using OCPP. You could configure a very large heartbeat interval. That is done using the response on a BootNotification.
Alternatively you can implement a handler for the Hearbeat message. Is trivial to do.

import ocpp

class CP(ocpp.v16.ChargePoint):
    ...
    @route.on("Heartbeat")
    def on_heartbeat(self):
        return ocpp.v16.call_result.HeartbeatPayload(
            current_time=datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%S') + "Z"
         )


Animation events on:enter and on:leave should be propagated to descendant elements

I have some issues with Regular animations. Very often the animations are not called, because the element which I want to animate is wrapped in another element, like in example below:
{#if show}

{/if}

I find this behavior unreliable, especially when I have some animations in components, sometimes they are fired, sometimes not. Also there are some elements you don't want to animate, like
 when it is shown, but you want to animate elements inside of it, but how to do this in Regular?
The similar goes to on:leave animation. Element should be removed from the DOM only when all of it's descendant elements have stopped being animated. Now it is just removed immediately.
I think that is also could be useful, although less important, to provide additional directives for on:enter and on:leave animations, some kind of shortcuts, because they are quite common. For example Ractive has intro and outro directives which are very useful and commonly used.
I would also like to mention, that the animation directive could be also used for something different than animating, eg.

<input type="text" intro="focus">

<input type="text" r-animation="on:enter;focus">

which is very simple to create:
Regular.animation('focus', function(t) {
  return function(complete) {
    t.element.focus();
    complete();
  };
});

Unfortunately because of the problem with wrapping elements, this event in Regular in most cases won't be fired.

Now, enter , leave only fired at the first-level in the section (or component). Beacuse It is expensive to handle deep animation among all children. animation module should be rewrited  to fit the advanced usage.
Before rewriting complete,   There is also a trick to realize your case in current version.

    Box: Inner

see it in codepen http://codepen.io/anon/pen/raGObo
It is very dirty, but works.
regularjs's animation is designed to have the ability  of creating complex animation sequence but not onlyenter and leave.  Although, obviously, current version is difficult to use. I will make it better and release stable animation system before 0.3.5;

Maybe I need to explain it to detail.
when  leave occurs.

compute the first-level elements animation sequence
unlink all children (destory directive, event or other living things), but not remove them from parent.
when compelete, directly remove the first-level elements.

So, the deep element's leave animation doesn't trigger as expect


Buildpacks example appears to be failing

Bug Report
The buildpacks example (make example-buildpacks) appears to be failing.
Current Behavior
The buildpacks example PipelineRun fails with the following in the log.
[build-trusted : create] ===> DETECTING
[build-trusted : create] samples/ruby-bundler 0.0.1
[build-trusted : create] ===> ANALYZING
[build-trusted : create] Previous image with name "ttl.sh/6f12d6ea3750859157c3b945bdf62226/example-buildpacks:f71d5eeaaf994f9809ad2e6025a44a573dc56960" not found
[build-trusted : create] Layer cache not found
[build-trusted : create] ===> RESTORING
[build-trusted : create] Layer cache not found
[build-trusted : create] ===> BUILDING
[build-trusted : create] ---> Ruby Buildpack
[build-trusted : create] ---> Downloading and extracting Ruby 2.5.0
[build-trusted : create] ---> Installing bundler
[build-trusted : create] ERROR:  Error installing bundler:
[build-trusted : create]        The last version of bundler (>= 0) to support your Ruby & RubyGems was 2.3.26. Try installing it with `gem install bundler -v 2.3.26`
[build-trusted : create]        bundler requires Ruby version >= 2.6.0. The current ruby version is 2.5.0.
[build-trusted : create] ERROR: failed to build: exit status 1

Steps to Reproduce
make example-buildpacks

Your Environment
Last commit:
  d3d8157 chains controller needs to be scaled down and up (#374)  (HEAD -> main, origin/main, origin/HEAD)
Kubernetes:
  Client Version: version.Info{Major:"1", Minor:"26", GitVersion:"v1.26.0", GitCommit:"b46a3f887ca979b1a5d14fd39cb1af43e7e5d12d", GitTreeState:"clean", BuildDate:"2022-12-08T19:51:43Z", GoVersion:"go1.19.4", Compiler:"gc", Platform:"darwin/arm64"}
Kustomize Version: v4.5.7
Server Version: version.Info{Major:"1", Minor:"25", GitVersion:"v1.25.4+k3s1", GitCommit:"0dc63334c0db3e7b99244427615e091909fc486e", GitTreeState:"clean", BuildDate:"2022-11-18T18:14:41Z", GoVersion:"go1.19.3", Compiler:"gc", Platform:"linux/arm64"}
Tekton:
  Client version: 0.28.0
Chains version: v0.13.0
Pipeline version: v0.41.0
Triggers version: v0.22.0

From what I can tell, this appears to be an issue with the image docker.io/cnbs/sample-builder:bionic

Actually, it looks like our fork (https://github.com/buildsec/example-buildpacks) of https://github.com/buildpacks/samples is out of date.

I've updated https://github.com/buildsec/example-buildpacks to match the current main branch of https://github.com/buildpacks/samples.


Expose settings editor to other JSON files

The new settings editor provides a great UI to edit flat json configs based on json schema. Can it be extended to edit other json config files? This is very helpful to improve the configuration experience for a wide range of tools.
If an extension marks a file to show settings editor using contributes. jsonValidation, an editor will be shown to edit the file, using the same schema provided for validation.
"contributes": {
    "jsonValidation": [{
        "fileMatch": ".jshintrc",
        "url": "http://json.schemastore.org/jshintrc",
        "settingsEditor": true
    }]
}

The settings editor is designed specifically for vscode settings, not as a generic json editor. It wouldn't do a good job with other json patterns.

Right, I understand that it won't work well with arbitrary json like .jshintrc in the above example.
Would it be possible to extend it to files that followed vscode settings convention?
docfx wanted an UI to manage its configuration, preferably right inside vscode. Now extension settings only goes to /.vscode/settings.
If settings editor can be used to edit other json files, we are more than happy to align our settings format with whatever vscode desires.

That's pretty unlikely, the current editor doesn't even parse or write JSON directly. It just talks to our ConfigurationService.

Normal settings in vscode extensions will show up in the new settings editor automatically.

Thank you for the info. For now, we can try having a vscode extension populate the settings editor, and sync settings from .vscode/settings.json back to docfx.json (our own settings file)


Retrospective

Reflecting on the project

My comments / grade: https://github.com/DavidL0914/TheIdealGam/issues/3#issuecomment-1850683525
Retrospect:
One of the main points my peer grader brought up was that I didn't show progress through issues or comments on my code throughout the project. I often committed lots of things at once instead of committing things after every small feature I add, making it look like I copied code (even though I didn't). So in the future, I should commit much more frequently, even if the things I add are small, and show my progress through issues or utterances.
I think the CSS behind my page looks pretty good and matches the overall theme of our site. I think the "game feature" behind my feature is also really cool and helps teach people binary in a competitive way. However, I think I could have made the game more interesting by adding different types of binary questions instead of just converting decimal numbers to binary numbers. I also should add tips or instructions on how to convert decimals to binary numbers for players who are just starting to learn conversions.
Conclusion:
Overall, I need to commit more frequently and update and show my progress through issues and utterances, commenting on things I changed from my initial plan. I also need to make the game more interesting with new features and think through the minds of my users, especially those new to the topic of binaries.

Answering complaints: The main problem that Trevor expressed was the difficulty of the projects without being taught the actual Ascii values for each letter. In order to counteract this I added a map of every letter in the alphabet. I also limited the ASCII guesser to only use letters from the alphabet to make it easier to follow. I also reorganized the buttons so that it shows the full process of converting words into binary. He also mentioned that the challenge button made less sense so I decided to have it combine the steps that were shown by the other two buttons into one step. I also made it so that the game does not keep you in an infinite loop if you are unable to guess the value. This was a complaint made by both Trevor and Mr. Mortensen.
For next time: I think the actual game feature was not very creative. It was difficult for me to think of any entertaining games that made use of binary as the main function. Even if the buttons work, it was not a very difficult program to create. I should have supplemented this by better expressing how the conversion is made.
I need to commit more frequently and use issues to explain my progress. I should also make my commit names more detailed instead of "aha." The feature should be more creative but I think the actual code worked well.

Retrospect:
Looking back, there were a couple things that I didn't end up finishing that would have increased the quality of our project. Firstly, mentioned by Trevor in our team review, we didn't really have color codes implemented into our site. I intended to implement something like this into my feature, but didn't end up doing so. I should have dedicated more time to thinking about how to incorporate more features of binary/hexadecimal.
In my video, Mr. Mortensen also called out that a lot of peoples' captions were too fast. This 100% applied to me, and it was not my intention to have such short read-times. Regardless, it was my mistake, and I should have spent less time on less important features, and spent more time with longer-lasting and more readable comments on the more important features. Other than my fast-paced comments, I think I did alright demonstrating my feature, at least having arrows pointing to what was popping up instead of mouse wiggling, and having captions on the bottom to show overall what was going on.
Lastly, I know I could have fleshed out my code more. It had a basic function, but I think I could have had more, touching back on the comment about not implementing more features. For example, I could have had any form of color customization on the site that used a binary to hexadecimal conversion system.
Summary:
In summary, I could have added more to my feature in the form of logic gates/hexadecimal, and I could have improved the quality of my video by making the comments longer-lasting. I think the basic function of my project was well done, but I could have added more depth to it.

My comments / Grade: #3 comment
Answering complaints: The main problem that Hanlun said that it was difficult to see the letters and the instructions for the game because the words were in a dark font he suggested that the words were to be in a brighter color. He also suggested that there could instructions and a warning of guessing some numbers is harder than others. He also suggested a leader board and timer. Overall his complaints were suggested but his biggest complaint was changing the font color of the instructions so it is visually easy to see.
For the future: The feature was a very basic feature. It wasn't entertaining. Even though it works very well it could be better and there are other ways to use binary in a feature and also have the instructions and words be easy to see by using a brighter color.
Summary: I could have added more meaningful commit names instead of naming them all changes and have a more creative idea behind the feature instead of something basic.


With out setting “no_root_squash” option , stack scope volumes fail with “operation not permitted”.

Rancher server version - 1.6.3
Steps to reproduce the problem:
Deploy rancher-nfs ( version - rancher/storage-nfs:v0.8.3)
Create a service with stack scoped volumes using rancher-nfs volume driiver.
Service instances fail to come up with the following exceptions:
Expected state running but got error: Error response from daemon: chown /var/lib/rancher/volumes/rancher-nfs/mystackagain1_foo3_c2c5e: operation not permitted

Settings on nfs server:
/etc/exports mount options
/var/nfs    *(rw,sync,no_subtree_check)

Permissions on export directory:
drwxr-xr-x 13 nobody nogroup 4096 Jul 15 00:07 nfs

External volumes works fine with the above settings.
Note - In case of external volume , I have to create a volume from UI  before starting a service with this external volume.

Duplicate of https://github.com/rancher/rancher/issues/7334


Game A.I.M.2 Clan Wars

AIMII_d3d8.log
The game crashed after the screensaver.
System information

GPU: GTX 1070
Driver: 546.33
Wine version: Windows 10
DXVK version: Version 1.0 - Croaka-Cola Classic

Log files
the log created by the game:
25- 3-2024 21:33:55:226 EXCEPTION:->CMMApp::InitGraphic->CMMApp::Init

The game broke down due to the fact that I set compatibility with win98, after I turned it off, the game works fine.

I have the game and can say it works just fine with Wine, aside from some minor crashing which seems to be a game bug. There's no issues with rendering at least, so nothing we can do about it in d8vk.
I remember there being an unofficial patch to address the crashing on modern systems, but it was buried somewhere on a modding forum if I recall correctly.


Crash when attempting to download from artist id (Error 31)

When I attempt to download by artist id it crashes. It seems to be a windows error, but I haven't found any solution it yet.
2018-08-05 19:19:22,664 - PixivUtil20180726 - INFO - Member id mode.
2018-08-05 19:19:48,523 - PixivUtil20180726 - INFO - Member IDs: [736905]
2018-08-05 19:19:48,523 - PixivUtil20180726 - INFO - Processing Member Id: 736905
2018-08-05 19:19:48,536 - PixivUtil20180726 - INFO - Member Url: https://www.pixiv.net/member_illust.php?id=736905&p=1
2018-08-05 19:19:49,795 - PixivUtil20180726 - ERROR - Unknown Error: [Error 31] A device attached to the system is not functioning.
Traceback (most recent call last):
File "PixivUtil2.py", line 2074, in main
File "PixivUtil2.py", line 1826, in main_loop
File "PixivUtil2.py", line 1422, in menu_download_by_member_id
File "PixivUtil2.py", line 594, in process_member
File "PixivHelper.pyc", line 447, in print_and_log
File "PixivHelper.pyc", line 254, in safePrint
File "win_unicode_console\streams.pyc", line 256, in write
File "win_unicode_console\streams.pyc", line 216, in write
File "win_unicode_console\streams.pyc", line 165, in write
WindowsError: [Error 31] A device attached to the system is not functioning.
2018-08-05 19:19:49,796 - PixivUtil20180726 - INFO - EXIT: -1
2018-08-05 19:19:49,796 - PixivUtil20180726 - INFO - ###############################################################

Are you running from script or from executables? What is the windows version/bit?

Executable. Version 2018,07,26

Not sure why, are you changed registry code page to 65001?
Refer to https://stackoverflow.com/a/51252456 (not sure if related).
I don't have Win7 to test, but can you try on another PC?

I don't think I've changed the registry code page. I'll try to install Windows 10 on a partition tomorrow and see if the problem persists.

Seems to be a Windows problem. Everything is working fine after installing Windows 10 on a separate drive.

Yeah, I suspect because I compile the py using win10, maybe some dll is not compatible with win7 anymore.
You can always try to run from the source code in Win7 by following instructions at https://github.com/Nandaka/PixivUtil2/wiki


clarified mTLS can't be used between Istio and non-Istio services.

Fixes #39

Clarifiying notes and reference to istio.io FAQ
instructions to skip mTLS verification on Guestbook while above issue is pending
instructions for disabling mtls auth globally and enabling for guestbook

@vwilburn @szihai can you review?  I glanced over and LGTM.


Ensure SMK images don't timeout on validation

Fixes

Fixes #494, #334
Description

A little bit of background:
SMK (National Gallery of Denmark) returns both HQ and 'legacy' images. HQ images are IIIF enabled and have an image_iiif_id and IIIF image/thumbnail urls. Legacy images do not have this iiif_id field at all, and no IIIF links.
Our SMK provider script currently assumes that all images are IIIF enabled, and uses an IIIF image_url with the size set to max (example URL: https://iip.smk.dk/iiif/jp2/KKSgb5781.tif.jp2/full/max/0/default.jpg). These images are very large and take a very long time to download.
This PR does a couple things:

Renames "statensmuseum" to SMK for clarity
Updates the image_url for HQ (IIIF-enabled) images to max 2048 px wide, which is what Open SMK itself uses
Adds support for legacy images as well. Since these do not have IIIF links, we fallback to the image_native and image_thumbnail fields

Lots of really wonderful images coming from this provider :) I'm excited to get them back into Openverse!
Additional Notes
Because legacy images don't have an iiif_id, I decided to use id as the foreign_identifier. According to API docs this is the ID from collection DB.
I chose not to use the image_native and image_thumbnail fields for HQ images as well as legacy ones, because:

image_native for HQ images gives us a max size download link like this: https://api.smk.dk/api/v1/download/W3siaW1nX3VybCI6Imh0dHBzOi8vaWlwLnNtay5kay9paWlmL2pwMi9ra3MxMDM3OWMudGlmLnJlY29uc3RydWN0ZWQudGlmLmpwMi9mdWxsL2Z1bGwvMC9uYXRpdmUuanBnIiwicHVibGljX2RvbWFpbiI6dHJ1ZSwib2JqZWN0X251bWJlciI6IktLUzEwMzc5YyIsIm51bSI6IiJ9XQ==/KKS10379c.jpg
image_thumbnail for HQ images gives us the same IIIF link we're currently using, but with size 1024 instead of 400, so we get larger thumbnails than we're currently using. In either case it's unclear whether this field is being used at all.

Testing Instructions

In your local Airflow, run the SMK provider script. Check the logs for the pull_data task, and wait until it has written several 100 lines from buffer to disk. We want to make sure we get some legacy images, so give it at least 30 seconds.
Find and download the TSV file that was loaded into storage through your MinIO Console (localhost:5011). In the TSV, the first column is id, the third is image_url, and the fourth is thumbnail.

You should be able to see some legacy images in the TSV. These are spotted most easily by scrolling down the first column (id) and looking for an id that looks like<PHONE_NUMBER>_object. Its image_url and thumbnail values should both be non-IIIF thumbnail links, something like: "https://api.smk.dk/api/v1/thumbnail/5249f164-62b1-46e5-b099-d9ba9f596407.jpg"
The other rows are all HQ images. Take a look at the generated image_url and see that the size is 2048. Example, https://iip.smk.dk/iiif/jp2/kksgb20949.tif.jp2/full/!2048,/0/default.jpg (specifically looking at the full/!2048,/, as opposed to full/max/)

You can also time a HEAD request for a few URLs of each type to verify the speed improvement. Example:
// The old URL format we were using (very slow)
$ time curl -I https://iip.smk.dk/iiif/jp2/KKSgb5781.tif.jp2/full/max/0/default.jpg

// New HQ URL format, restricts the image size (fast)
$ time curl -I https://iip.smk.dk/iiif/jp2/KKSgb5781.tif.jp2/full/!2048,/0/default.jpg

// A legacy image (fast)
$ time curl https://api.smk.dk/api/v1/thumbnail/5249f164-62b1-46e5-b099-d9ba9f596407.jpg

Checklist

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

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

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

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

Developer's Certificate of Origin 1.1

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

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

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

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

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

Have we or should we deleted their existing data as part of this PR, or sometime in the future when we deploy it?

Since it's not a dated DAG, we should automatically re-consume everything and update all the URLs on the next ingestion. Now you mention it though, it would be just as easy to just delete all the statensmuseum data first (rather than updating the provider field). It will all get backfilled, and then we don't have to worry about any edge cases with records that may have been ingested previously and then removed from the SMK API.


Slightly broken UI in Firefox

Firefox:

Chrome for comparison:

This is Firefox developer edition (67.0b11 – 64-bit) running on MacOS High Sierra 10.13.4 (17E199)

Hi @dfosco , thanks for pointing this out! I did test on Firefox but then made some pretty big UI changes to the Scripts view which probably lead to these problems 😖.
I'll get to work on fixing it right away


changing the build behavior in the aws cloudformation template from […

…scripts-user, always] to [scripts-user, once-per-instance] so the userdata script is not run every time the server boots.

If you are in the Mintplex Labs Discord you can get a contributor role if you want one! Just ping me in the discord via DM or in a channel


Fix some warnings

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

Project coverage is 100.00%. Comparing base (269c92b) to head (cfc10c4).
Report is 10 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #470   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files          112       112
  Lines         2864      2864
  Branches       172       172
=========================================
  Hits          2864      2864

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


Start HTTP/2 requests when HTTP2-Settings is applied

Motivation:
The SessionProtocol event is rescheduled to fire it after Http2Settings is applied to HttpSessionHandler.
https://github.com/line/armeria/blob/f93ccca0ea955b6e1858f2b7d95974b561a98423/core/src/main/java/com/linecorp/armeria/client/HttpClientPipelineConfigurator.java#L423-L426
This strategy relying on executors does not provide 100% correct order. We also got a report LINE internally that requests start before Http2Settings is applied to HttpSessionHandler which results in RST_STREAM due to a violation of the max concurrent stream.
Modifications:

Remove the rescheduler for SessionProcotol and refactor HttpSessionHandler so that sessionPromise is completed when both SessionProtocol and Http2Settings are applied.

Result:
Armeria client no longer violates max concurrent streams.

Sorry, I forgot to make this ready-for-review. 😱

Can we also fix addBeforeSessionHandler because an addBeforeSessionHandler is always added before?

I don't think so because a session protocol is negotiated during the SSL handshake which is before connectionPromise completes.

🚀 🚀 🚀


Risco Alarm Panel not working, but my scripts do.  What's happening???

I have this in my configuration.yaml:
alarm_control_panel:
  - platform: mqtt
    name: Risco Alarm
    unique_id: !secret risco_alarm_id
    state_topic: "riscopanel/armstatus"
    command_topic: "riscopanel/armstatus/SET"
    payload_disarm: "disarmed"
    payload_arm_home: "partially"
    payload_arm_night: "partially"
    payload_arm_away: "armed"

Which of course creates an entity:
alarm_control_panel.risco_alarm

However, when I look in the logbook, no activity is recorded for the alarm_control_panel.risco_alarm entity, even though there were times when the alarm was set.  Also, if I add an Alarm Panel to my Lovelace UI, it does not work at all.
Because the above was not working I created a sensor and a binary_sensor which use MQTT messages directly as follows:
In sensors.yaml
- platform: mqtt
  unique_id: risco_alarm_status
  state_topic: "riscopanel/armstatus"
  name: Alarm Status
  icon: mdi:bell

And in binary_sensor.yaml
- platform: template
  sensors:
    ###################### Risco Alarm Armed ######################
    risco_alarm_armed:
      friendly_name: 'Alarm'
      value_template: >-
        {{ is_state('sensor.alarm_status', 'armed')
          or is_state('sensor.alarm_status', 'partarmed')
        }}
      icon_template: >-
        {% if is_state('binary_sensor.risco_alarm_armed', 'on') %}
          mdi:bell-check
        {% else %}
          mdi:bell-off-outline
        {% endif %}

In an attempt to replace the Alarm Panel in Lovelace, I created a switch in switches.yaml
- platform: mqtt
  name: "Risco Alarm"
  command_topic: "riscopanel/armstatus/SET"
  payload_on: "armed"
  payload_off: "disarmed"
  state_topic: "riscopanel/armstatus"
  state_on: "armed"
  state_off: "disarmed"
  optimistic: false

This works, although there is a delay in setting the state to On / Armed.
The question is, why does the alarm_control_panel.risco_alarm config fail to work when my switch does??  Any help would be appreciated.

what is that uniqie id? i dont have it
here is mine...
ps: the delay for arming / disarming is normal if you arm/disarm trough a hardware panel... if you test with the app, then its almost instant
alarm_control_panel:
 - platform: mqtt
   name: Risco Alarm
   state_topic: "riscopanel/armstatus"
   command_topic: "riscopanel/armstatus/SET"
   payload_disarm: "disarmed"
   payload_arm_home: "partially"
   payload_arm_away: "armed"
   code_arm_required: false

Removing the unique_id and adding
  code_arm_required: false

simply created a second Risco alarm entity which still did not work.  The second Risco alarm entity still reported that the Risco alarm was disarmed when it was armed and my sensor reported armed too.
I found the unique_id on the https://www.home-assistant.io/integrations/alarm_control_panel.mqtt/
unique_id (string)(Optional) An ID that uniquely identifies this alarm panel.
Which is why I added it.  With or without this unique_id the panel does not work.  All a bit odd.
Also, if I change
  code_arm_required: true

The alarm control panel does not request a code.
All a bit confusing!

inactivity

Hey Luca, integration has been working well for a while, hence no update.  I had made a mistake in the config file.  Did a rebuild of my Pi4 recently.  Used portainer to install the docker image and bingo, all working again without a hitch.  I love docker!

Hey Luca, integration has been working well for a while, hence no update. I had made a mistake in the config file. Did a rebuild of my Pi4 recently. Used portainer to install the docker image and bingo, all working again without a hitch. I love docker!

so can close  it ?

Of course


Warning:  Ambiguous class resolution

Hi,
I'm using laravel-json-api in my project and everything works just fine.
Now I'm trying to use some other package that has dependency of neomerx/json-api and I run into this problem. When doing composer update I get several messages like this:
Warning:  Ambiguous class resolution, "Neomerx\JsonApi\Contracts\Encoder\EncoderInterface" was found in both "/vendor/laravel-json-api/neomerx-json-api/src\Contracts\Encoder\EncoderInterface.php" and "/vendor/neomerx/json-api/src\Contracts\Encoder\EncoderInterface.php", the first will be used.

and
PHP Fatal error:  Cannot redeclare Neomerx\JsonApi\I18n\format() (previously declared in\web\vendor\laravel-json-api\neomerx-json-api\src\I18n\format.php:31) in \web\vendor\neomerx\json-api\src\I18n\form
at.php on line 31

Is it possible to use laravel-json-api together with any other package that uses neomerx/json-api?
What would be the best solution for this problem?

This is because we had to fork the neomerx/json-api package. So you're getting laravel-json-api/neomerx-json-api installed for our package, and the other dependency will be installing neomerx/json-api. So you'll end up with two neomerx packages installed, which then conflict with each other.
There's nothing I can do about this unfortunately. The neomerx/json-api package isn't maintained, and there was a bug in it that needed to be fixed for our use of it. Which is why I forked it and fixed it.
The solution is to get the other package that relies on it to use our fork.

Thank you for explanation and quick response 👍

The solution is to get the other package that relies on it to use our fork. At the moment by relying on neomerx/json-api they are relying on an unmaintained package

Will try to do that!


Build Scripts for OSX and Windows

The project should be able to be built into a standalone app or installer for both OSX and Windows

Closed in https://github.com/ashokfernandez/kiste/commit/b6ab0b6f45ec4e5b2af341bc963a7a14b862146f


matmul: optimize cases (nd @ 2d) to be memory and compute efficient

As per title. Resolves https://github.com/Lightning-AI/lightning-thunder/issues/872.
See https://github.com/Lightning-AI/lightning-thunder/issues/872#issuecomment-2283599147 for more details.

fyi @parthmannan, @tfogal


PartiallySucceed pipeline run displays Failed status on branch

Hey,
Is there any reason why PartiallySucceed pipeline run displays Failed status on branch? The same question was already asked here:
https://developercommunity.visualstudio.com/t/azuredevops-shows-incorrect-pipeline-status-on-the/923077
Pipeline results in:
Compilation ended at '15:57:32.0'. ##vso[task.complete result=SucceededWithIssues;]Succeeded With Issues.

@MatDDev This looks like a product question, not a docs one. Depending on the cause, there may be docs fixes needed.
Consider these resources:

Azure DevOps Services
Azure DevOps Support Bot
Azure DevOps on Stack Overflow

This could be a product issue. To make sure it gets in front of the right people, please submit your bug here.


Message "Version of Python no longer supported"

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
When I open a Notebook VS Code displays a message in the bottom right corner saying:
"The version of Python associated with the selected kernel is no longer supported. Please consider selecting a different kernel."
I'm using a Miniconda environment running Python 3.12.1.

VS Code Version
Version: 1.86.0 (Universal) Commit: 05047486b6df5eb8d44b2ecd70ea3bdf775fd937 Date: 2024-01-31T10:29:15.765Z Electron: 27.2.3 ElectronBuildId: 26495564 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: <IP_ADDRESS>-electron.0 OS: Darwin arm64 23.2.0
Jupyter Extension Version
v2024.1.0
Jupyter logs
No response
Coding Language and Runtime Version
Python 3.12.1
Language Extension Version (if applicable)
v2024.0.1
Anaconda Version (if applicable)
Conda 23.11..0 (Miniconda)
Running Jupyter locally or remotely?
Local

Excuse me, somehow rebooting my machine resolved the problem... Weird...

Sorry, I was a bit too quick with closing... After restarting VS Code the problem is back again.

I see this in my logs:
20:45:44.076 [info] Starting Kernel startUsingPythonInterpreter, .jvsc74a57bd06aa9a930b94239702003b1d5483aca273205853dc0a175a13e8fde3b74aafeaf.~/miniconda3/envs/python311/python.~/miniconda3/envs/python311/python.-m#ipykernel_launcher  (Python Path: ~/miniconda3/envs/python311/bin/python, Conda, python311, 3.1.0) for '~/Code/crypto-quotes/notebooks/2. Data analysis/Analyse crypto quotes.ipynb' (disableUI=true)
Notice the "3.1.0". This is weird, because my Conda environment runs version 3.12. I also completely reinstalled Miniconda and setup multiple environments using Python 3.10, 3.11 and 3.12 and all give the same error.

And now I also completely removed and reinstalled VS Code and the issue persists.
This only started occurring suddenly today, so maybe it has to do with an upgrade of the extension or of VS Code...?

Hmm, you also see the version being interpreted incorrectly in the kernel selector. Notice the 3.1...


cue/load: fix infinity loop on package import cycle

Fixes #849

Sorry, what is this fixing? It would be best if you opened a bug report first, following the template to include a way to reproduce the issue.

@mvdan, this PR fixes very old #849 issue.
I also add cue/testdata/eval/issue849.txtar testcase for this issue.

Thanks. Could you please expand your commit message to explain the fix? At least what you're doing isn't obvious to me :)

Changes:

move Complete after all files is parsed to ast (fix infinity loop at load stage): cue/load/import.go -> cue/load/instances.go;
build transitive dependencies after files registered (fix infinity recursive at build stage): internal/core/runtime/build.go;
add test for import cycle at load stage;
add test for import cycle at build stage.

If revert changes from cue/load/import.go, cue/load/instances.go, internal/core/runtime/build.go then both added tests are hangs.

Looks like this PR also fixes #2288 issue, although I don't see a loop in the test code.

There is no loop in that issue - just one package that imports another package with the same name. Great to hear it's also fixed! I assume you also checked that this last added test also fails without your fix?

Great to hear it's also fixed! I assume you also checked that this last added test also fails without your fix?

Yes. Without this PR test stuck on load stage.

Thanks! The changes look fine to me; do you want to squash your commits and write a good commit message explaining your changes and including all the "fixes" lines? In general we follow the guidelines at https://github.com/golang/go/wiki/CommitMessage.

Squashed :)

Thank you! I'll import into Gerrit and merge once Marcel has skimmed the changes, since I'm not super familiar with the package.

Although this does technically fix the issue, it also makes cyclic imports work, which raises another question: should a cyclic import produce an error or not?
Currently the spec is clear on the matter:

It is illegal for a package to import itself, directly or indirectly

So this PR isn't quite right, according to that.
It's possible we might want to change the spec, but that's a larger policy question.
For now, it would be better to make this an explicit error, I think.

I couldn't figure out how to do a check for cyclic import without breaking the https://github.com/cue-lang/cue/issues/2284 fix.
From my point of view, allowing cyclic imports is less evil than an infinite loop at the loading stage.

Looks like #2284 is differ bug. But this PR mask it.

Roger is right - I had not noticed that this was allowing cyclic package imports to work, which shouldn't per the documentation. Thanks for opening the other PR! We can focus on that one, then.


docs(site): add the hero video with custom player

Was adding hero video to doc and realized the default video player is so ugly so built a custom component in Vue to display the video that:

only starts playing the video when the frame is in viewport
shows no controls for the video (like the progress bar)
pause/resume the video when a user clicks on it with custom icons for pause / resume + smooth transitions
makes the video responsive

Check it out:
https://github.com/alchemyplatform/aa-sdk/assets/83442423/50e71729-9c94-4f78-ad31-77742dcf2ffb

PR-Codex overview
Detailed summary

Added a new VideoEmbed component.
Registered the VideoEmbed component globally.
Updated the why-account-kit.md file to use the VideoEmbed component.
Created the VideoEmbed.vue component with the necessary functionality to play and pause videos.
Added CSS styles for the VideoEmbed component.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

Yes, can confirm that the video is responsive and works well with all screen sizes!


Duplicated options in context menu

Microsoft PowerToys version
0.84.1
Installation method
WinGet
Running as admin
No
Area(s) with issue?
File Locksmith, PowerRename
Steps to reproduce
Options for Power Rename and File Locksmith appear twice in the File Explorer extended context menu. And not next to each other as would be expected.
✔ Expected Behavior
The options should appear once, next to each other.
❌ Actual Behavior
The options appear twice, once near the start with Notepad in between them, and again further down with Share in between.

Other Software
No response

Issue still present in v0.85.0. Not an issue in the default context menu from my experience, only in the extended menu.

There's no way of keeping only one option with Default and extended context menu option enabled, because legacy and modern context menu share common registry keys and cannot be seperated from each other.

If I'm reading this right, the issue is caused by them appearing once on the extended menu from a general context menu registry entry and once again from a specific extended context menu registry entry? If that's the case, shouldn't the extended registry entry be disabled when set to show in both menus, so it just has the one for both of them?

Update: Just updated to Windows 11 24H2 from 23H2 and the issue seems to have vanished. I'd updated to PowerToys 0.85.1 before updating to 24H2 and the issue was still present, but once I updated my OS the issue went away. Would be interesting to hear whether others have had the same experience.

I am still having this issue in 24H2 and version 0.86.0.

I still have duplicate entries when "Default and extended menu" are selected. I would rather have default be the solo option since extended requires shift to be pressed.

I am still having this issue in 24H2 and version 0.86.0.

The issue actually returned for me after updating PowerToys to 0.86.0 from 0.85.1 on 24H2. Wonder if that could facilitate exploration of the issue.

If the display language is not English, then the first context menu entry will be in English while the second in the localized language. Also there is no duplication for hard drives.


After following the installation, my PyCharm still does not give me bpy object introspection

Hi!
I've managed to install it, and followed the configuration steps to the letter (to the best of my knowledge ;-) )
I've then created a new Blender Addon just as in the instructions you've provided.
The problem is that the template file __init__.py does start with import bpy, but PyCharm does not recognize that module.
I am able to reproduce my problems on Ubuntu 20.04 with Blender installed from Snap and PyCharm Professional 2022.1,
and on MacOS (12.3.1) with Blender installed using the manual method from the blender.org with PyCharm CE 2022.1.

Hi Adam,
Sadly the bpy module is not included in almost every python libs by default since it's a specific Blender module.
In any case your IDE does not require to recognize the module for your add-on to work in Blender, but it's definetly better to have less red lines and auto-completition while coding.
To fix it, there are a lot of python packages that replicate the structure of that module, the one that I use is fake-bpy-module.
It's very simple to install, you can use pip and after that all your IDEs should be able to find the module correctly!
For the second issue... I didn't test my plugin in a Linux enviroment since I have none at hand right now.
It may require me to use a VM so it may take a while to find the cause.
One question... it looks you started it in debug-mode, does everything work in the default run-mode?
Thanks and sorry for the issues~

No need to be sorry. You pave the way for the future of using Blender in the scientific environment. Glitches are expected :-)
Thank you very much for the tip. It does help us. I will rise a separate ticket about the problem with the debug mode, to keep the conversation clean.


Arrikto Kubeflow as a Service

This page:
https://www.kubeflow.org/docs/distributions/kfaas/
contains a link to:
https://kubeflow.arrikto.com/
Which doesn't resolve for me:
curl https://kubeflow.arrikto.com/
curl: (6) Could not resolve host: kubeflow.arrikto.com

@andrewspiers-csiro thanks for raising this, I have made a PR to remove it from the website https://github.com/kubeflow/website/pull/3549

Resolved by https://github.com/kubeflow/website/pull/3549
/close


Security Incident: Token Leakages in Commit Metadata

Token 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 was accidentally set as the username in 3 commits: 75d967d5, f01931d1, and be14743f.
Affected scopes:

https://github.com/ProjectNeura/LEADS
https://github.com/ProjectNeura/leads-docs
https://github.com/ProjectNeura/leads-vec-rc

The token has already been automatically revoked by the GitHub bot.

This issue must be fixed before the next commit.

Found in another commit: f9306f0e.

Username changed.


Tx attached gas bugfix

Description
Fixes #74.
Currently, the transactions table takes the gas of only the first action of the transaction. Some transactions can have multiple actions.
This PR sums the attached gas of all the actions together. This brings us to match the values given out by the explorer.
Tests

This is for incremental run though.
Notes
A --full-refresh is required to update bugged values.

Testing a full refresh of silver__transactions+, may take some time

I'm getting a very large number of null values for attached_gas after a full refresh on this PR branch
14:54:20  Failure in test not_null_silver__transactions_ATTACHED_GAS (models/silver/silver__transactions.yml)
14:54:20    Got 21397560 results, configured to fail if >25000
14:54:20
14:54:20    compiled SQL at target/compiled/near/models/silver/silver__transactions.yml/not_null_silver__transactions_ATTACHED_GAS.sql

@forgxyz Brought back the coalesce function, my mistake for taking it out in the first place. Bad assumption. Here's to another... 2 hours? Gah.

All good @eevui
Confirming you did not run a full refresh? Don't want to do so if it's already happened.

LGTM!
Interestingly there are some transactions that show more gas used than attached...
But, this PR removes ones where attached_gas is erroneously low.


Remove basePadding from indentwrap hack

As noted by @redmunds on Slack there's an slightly ankward gap between the gutters and the text

This is due to the indent-wrap hack in https://github.com/adobe/brackets/pull/11909: the texts are pushed 4 pixels back by the hack. This PR compensates for that by pulling the editor back -4 pixels:

tagging @swmitra

Thanks for this fix. This is better, but I now see a gap between gutter and Active Line highlighting:

Same issue. Here is my original question and also temporary fix for now.
https://groups.google.com/forum/?hl=en#!topic/brackets-dev/6ri52cF2FB8
On Thu, Jan 21, 2016 at 10:24 AM, Randy Edmunds<EMAIL_ADDRESS>wrote:

Thanks for this fix. This is better, but I now see a gap between gutter
and Active Line highlighting:
[image: brackets-1 6-12110]
https://cloud.githubusercontent.com/assets/1197144/12484589/de1d9c7e-c00f-11e5-9a8d-e69a57b60a49.png
—
Reply to this email directly or view it on GitHub
https://github.com/adobe/brackets/pull/12110#issuecomment-173604704.

@redmunds Which theme is that? Looks like the regular theme, but grayer? Cannot replicate on my machine.
However, I pushed in alternative (but similar) solution in https://github.com/adobe/brackets/commit/b461a1a20c1fafd9a5428c236129391d9a72c878 if you want to give it a try.

@petetnt has anyone figured out when this gap appeared and why is started happening?
I only noticed it fairly recently. If we understood what introduced the problem we could address it where it was introduced instead of hacking the style sheet.

@petetnt, never mind, I see what the problem is. I didn't realize that ugly Code Mirror word wrap hack made it into the core code. We really should have made that a preference.

FWIW I think the padding has been working pretty well (sans the 4px space issue this PR is trying to account for). I do think that the hack is pretty ugly too, but indent wrapping is much more crucial IMHO.

In #12184 there's another case where the gutter shows up (and screws the fold marks too) with this fix. The thing is that I can't replicate it on Windows 10, 8.1 nor Mac OS, all with same version of Brackets Shell and same commit.

I too cant replicate the gap issue .

LGTM, even I can not replicate the gap issue.

@abose Can we get this fix in for 1.7 ?

@redmunds do you have any idea what causes the gutter thing yet? I have tried this on 10+ computers and I still haven't been able to replicate the issue you were having above 😕

+1 this has been a long pending issue that's a must fix. Tagging @swmitra
also +1 It will be neater to club the hacks together in one place as @busykai pointed out.

Made some changes to this, 3ff302e now contains the compensation in the padding hack itself. Not sure if it's the most optimal solution either but seems to work for me.

Build failed to the cla-check so disregard that.

@petetnt I confirmed that your fix is good with the default "show line numbers" on. If you turn off line numbers, then all lines are shifted to the left and your change does not fix in that case. So I believe we also need to adjust @code-padding in brackets_codemirror_override.less file to get it right.

Thanks for the feedback @RaymondLim , I'll get that fixed ASAP 👍

Somewhat related: #12630

@RaymondLim adjusting @code-padding to 0 showed just similar issues for me (albeit upside down from the screenshots in this thread 🍔.
However, removing the basePadding variable altogether from the hack seemed to fix everything, as it is not really needed for the hack itself (Brackets pads itself with @code-padding from top of the editor and the left side of the pres).
Does it work for you / others?

@petetnt Sorry, I was wrong to say that I don't have any other changes. Actually, I do have the following change in Editor.js that I believe is from your previous commit.
        // For word wrap. Code adapted from https://codemirror.net/demo/indentwrap.html#
        this._codeMirror.on("renderLine", function (cm, line, elt) {
            var charWidth = self._codeMirror.defaultCharWidth(), basePadding = 4;
            var off = CodeMirror.countColumn(line.text, null, cm.getOption("tabSize")) * charWidth;
            elt.style.textIndent = "-" + off + "px";
            elt.style.paddingLeft = (basePadding + off) + "px";
            $(elt).children().each(function (i, child) {
                child.style.marginLeft = -basePadding + "px";
            });
        });

Yeah, but that is not needed anymore. Together with #12630 all of the issues should be resolved. (The PR's solve different issues)

LGTM, if we'll find more issue we can look at them in another PR.


Fix FluComboBox click issue with AppBar

Fixed bug with Popup topMargin because click is consumed by FluAppBar.
If the list of chooses use 100% of the window, the top part of the Popup is not clickable because the FluAppBar consume it for the double click resize of the window. So a simple solution is to set a bigger margin at the top (the size of the AppBar / Tiitle bar) to avoid the issue.

thank you very much!