Making index URL unique and timestamp fields date

Type of change

[x] Refactor
[ ] New feature
[x] Bug fix
[ ] Optimization
[ ] Documentation Update

Description
PR to fix the index updates in this job: https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-qe-ocp-qe-perfscale-ci-main-aws-4.14-ocp-qe-perfscale-aws-ci-tests-small-scale-kube-burner/1688837575814418432
The plan is to drop the current index pattern perf_scale_ci and create the same with new mappings once this change is merged, as a direct re-index is not possible due to data inconsistencies at the moment. And also since it wasn't so long since this index was there simply dropping it and recreating a new one with correct mapping!
Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[x] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Testing

Tested in my local dev environment. Tried creating a new index pattern with new mapping and then indexing data into it.

curl --insecure -X POST -H 'Content-Type: application/json' -H 'Cache-Control: no-cache' -d '{
        "ciSystem" : "PROW",
        "uuid" : "736bf39c-e900-468f-b446-3dcc850d9df5",
        "releaseStream": "",
        "platform": "AWS",
        "clusterType": "self-managed",
        "masterNodesCount": 3,
        "workerNodesCount": 120,
        "infraNodesCount": 3,
        "masterNodesType": "m6a.4xlarge",
        "workerNodesType": "m5.xlarge",
        "infraNodesType": "r5.4xlarge",
        "totalNodesCount": 126,
        "clusterName": "ci-op-g2iw0cz5-86591-l98vw",
        "ocpVersion": "4.14.0-0.nightly-2023-08-08-005757",
        "networkType": "OVNKubernetes",
        "buildTag": "1688882872561176576",
        "nodeName": "XXXXXX-perfscale-aws-ci-tests-medium-scale-kube-burner-openshif",
        "jobStatus": "success",
        "buildUrl": "https://prow.ci.openshift.org/view/gs/origin-ci-test/logs/periodic-ci-openshift-qe-XXXXXX-perfscale-ci-main-aws-4.14-XXXXXX-perfscale-aws-ci-tests-medium-scale-kube-burner/1688882872561176576",
        "upstreamJob": "periodic-ci-openshift-qe-XXXXXX-perfscale-ci-main-aws-4.14-XXXXXX-perfscale-aws-ci-tests-medium-scale-kube-burner",
        "upstreamJobBuild": "d4d56114-6799-4a6b-aeb4-ca7e38bf0952",
        "executionDate": "2023-08-08T21:57:03Z",
        "jobDuration": "4237",
        "startDate": "2023-08-08T21:57:03Z",
        "endDate": "2023-08-08T21:57:03Z",
        "timestamp": "2023-08-08T21:57:03Z"
        }'<EMAIL_ADDRESS>{"_index":"new_perf_scale_ci","_type":"_doc","_id":"periodic-ci-openshift-qe-XXXXXX-perfscale-^C-main-aws-4.14-XXXXXX-perfscale-aws-ci-tests-medium-scale-kube-burner/d4d56114-6799-4a6b-aeb4-ca7e38bf0952/1688882872561176576/736bf39c-e900-468f-b446-3dcc850d9df5","_version":1,"result":"created","_shards":{"total":2,"successful":2,"failed":0},"_seq_no":0,"_primary_term":1}

why does it say 2 successful for your one call? I do see 2 hits under the elastic search. Was that from your manual test and the test in prow:
https://search-ocp-qe-perf-scale-test-elk-hcm7wtsqpxy7xogbu72bor4uve.us-east-1.es.amazonaws.com/_plugin/kibana/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:dc8f8470-360a-11ee-9852-6f1f2b2c645e,key:uuid,negate:!f,params:(query:'736bf39c-e900-468f-b446-3dcc850d9df5'),type:phrase),query:(match_phrase:(uuid:'736bf39c-e900-468f-b446-3dcc850d9df5')))),index:dc8f8470-360a-11ee-9852-6f1f2b2c645e,interval:auto,query:(language:kuery,query:''),sort:!())

why does it say 2 successful for your one call? I do see 2 hits under the elastic search. Was that from your manual test and the test in prow:
https://search-ocp-qe-perf-scale-test-elk-hcm7wtsqpxy7xogbu72bor4uve.us-east-1.es.amazonaws.com/_plugin/kibana/app/discover#/?_g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:now-15m,to:now))&_a=(columns:!(_source),filters:!(('$state':(store:appState),meta:(alias:!n,disabled:!f,index:dc8f8470-360a-11ee-9852-6f1f2b2c645e,key:uuid,negate:!f,params:(query:'736bf39c-e900-468f-b446-3dcc850d9df5'),type:phrase),query:(match_phrase:(uuid:'736bf39c-e900-468f-b446-3dcc850d9df5')))),index:dc8f8470-360a-11ee-9852-6f1f2b2c645e,interval:auto,query:(language:kuery,query:''),sort:!())

Yes those are my manual runs

Do we want to add in any sort of logic to not have duplicate entries of the same run/uuid?

this should not happen in any of our current runs!


CI Update

wip
testing
do not merge, thanks

          1 Error

:no_entry_sign:
Found links issues

          1 Warning

:warning:
Please only add one library per Pull Request

Link issues by awesome_bot

Line
Status
Link

8
-1
https://ims.io/badge/PRs-welcome-brightgreen.svg  getaddrinfo: Name or service not known

372
301
https://github.com/qutheory/fluent redirects tohttps://github.com/vapor/fluent

1613
301
https://github.com/qutheory/vapor redirects tohttps://github.com/vapor/vapor

1926
500
https://code.facebook.com/ios/

  Generated by :no_entry_sign: danger


Change Dali and Van Gogh Score banners to not use stars

I can't do this in code, the star outlines are part of the art itself.


Feature/generic with inheritance set up

This pull request POCs an alternative framework for generic testing. In this approach tests for all inherited behaviours are inherited from base test classes, the structure of which roughly mirrors the inheritance structure of the tubular package. In this PR I have  incorporated BaseTransformer, DataFrameMethodTransformer, BaseMappingTransformer, BaseMappingTransformerMixin and MappingTransformer into the generic testing framework. I believe this covers all the possible complexity that would be encountered extending this framework to the rest of the package.
Whilst this first PR is pending I have not updated the process docs on confluence, but will do with all relevant info from here if this PR is completed.
This is a big PR - to get an overview of the approach look at:

conftest.py (info on all transformers allowing them to be automatically tested)
base_tests.py (base generic classes to inherit)
specific_columns_type_tests.py (name pending - generic init test interfaces depending on column arg type)
test_BaseTransformer.py
test_DataFrameMethodTransformer.py
test_BaseMappingTransformer.py
test_BaseMappingTransfomMixin.py
test_MappingTransformer.py

I have detailed the other things done in this PR at the bottom.
Quick review of approach:
Pros:

All tests for a given transformer a run in the same file
This approach requires very minimal code to add a new transformer to
Transformer specific test files are pretty empty, only containing the behaviour tests relevant to that transformer. This will help us focus on whether the important behaviours are being tested.
The practice of having tests inherited strongly discourages introducing conditional logic into the generic testing suite to get transformers to pass the base tests.

Cons:

No simple logic for which base test classes to inherit, especially in the case of init and where mixins are present.
Slightly higher software skill level required to add transformer to test suite
Locating the failing test may require checking 2+ test files
No automatic check that generic tests are being run (compared to loading all transformers into one master generic test file and testing them)

More detail on approach and its nuances:
The first nuance of the approach is that any test classes that need to be inherited cannot start with "Test" as is convention for pytest because otherwise all inherited tests will be run twice by virtue of pytest detecting the imported class as a class of tests to run. Instead, where some tests for a class will need to be inherited from a given test class file by others, another test class needs to be present in the test file which will actually run the tests.
One complexity is that the tests for the base transformer init behaviour need to be accessed through a subclass of GenericInitTests depending on the structure of the columns input for the tested transformer. This needs to be carefully flagged to a user. The BaseTransformer also has other methods than the classic three with behaviours that need testing for every transformer. For now, to reduce clutter in bottom level test files, I have encapsulated these in the OtherBaseBehaviourTests class, which can be inherited and run in each transformer test file. The user still has the option to overwrite any of the individual tests in here should any of these behaviours be altered. To alter a behaviour a user simply has make a test method in the child class with the same name as the one they wish to override.
Another (ultimately obvious) feature is that expected output checks should never be inherited, and should always sit in the TestTransform class of a given test file.  In the example of BaseMappingTransformMixin, the only additional tests required other than the generic ones are expected output tests, and so this mixin class does not need to be inherited by any classes that use it (as long as they are correctly using it as a mixin). This is a good example of where choosing the correct set of test classes to inherit requires some thought and may not be obvious to a user.
Other changes made in this PR:

The consistent args part of this project required removing the columns = None option from BaseTransformer. This broke a huge number of tests, which I have fixed. Where the broken test was a soon to be redundant implementation test, I deleted it. This makes up most of the changes to other test files.
With the above change, the columns_set_or_check method became redundant. I have removed this from the codebase. This mainly affected nominal transformers and their tests, as well the base transformer tests.
Upon getting some errors trying to test MappingTransformer with the generic tests I realised it's init method was not adding anything over the BaseMappingTransformer init, so I deleted it. All tests still passed.

Hmm the tests pass on my machine


Feature - Reverse Transliteration

Is there any plan for including Hindi-Hinglish transliteration (the reverse of what the library has currently)?

Hey, as of now we don't have any plans for the same. To my knowledge, I also think that datasets for reverse transliteration are extremely scarce. I wasn't able to find anything relevant on the internet either after skimming briefly.


Fixed missing package

Hi, your release of version 0.1.3 is broken with a missing package.

Thanks for the pr!


Command to publish, switch and jump to review current workspace

[x] Add publish, publishAll, discard, discardAll commands
[ ] Add go to review commands
[x] Switch to different workspace

Workspace switch implemented in https://github.com/Sebobo/Shel.Neos.CommandBar/commit/51d7c71b8a12061999d10b8f504b0c672429fa69


why not submit for official helm repo?

time this helm to submit as an official helm chart?

@asobti  I found this better than the chaos monkey currently in helm chart repohttps://github.com/linki/chaoskube,helm , but it has an official helm chart https://github.com/helm/charts/tree/master/stable/chaoskube, what stopping submitting as candidate to official helm repo, my pr must be fixed the issues we had on current helm, so users must be able to directly just install using helm , we might need to create a better helm installation page though.

TBH, I have absolutely no experience with Helm as I've never used it. So that's why I've never submitted it. I might consider it after I merge your PR

@asobti let me know if any helm, Happy to set-up a helm page for Kube-monkey.

@prageethw Thanks for all the improvements to the helm chart. Given that you probably understand the helm chart for kube-monkey the best, it would be great if you could take care of submitting it to the official helm repo.

@asobti  yep leave it with me...


Update README.md

Using the git version makes sure it’s updated.

yeah the github have a fix for makes lua works on mac, not the haxelib version.


Schedule and execute io_write tasks in the non blocking manner

Why
For output (of I/O) to be executed in a non blocking manner.
What
lib

Implement #io_write along with io_wait.
Update #close to execute fibers which have not been executed due to the block of outputting.
Add a hash @output_waitings.  The key is an Output object and the value is a fiber which is blocked by that.

spec

Add a spec in which each of three fibers writes to a file.

Merge without any PR.
I want someone who could help me out 😢

Merge without any PR.
I want someone who could help me out 😢


MTY_SprintfDL is unsafe, but is also very slow.

MTY_SprintfDL is unsafe because it uses thread-local memory, but is also very slow because it calls malloc/free. There is no reason to have the worst of both worlds. In this PR we no longer call malloc/free in MTY_SprintfDL.

@bmcnett You should just go ahead and hard fork libmatoya cause none of this stuff is going upstream. Clearly Unity is not giving you enough work to do


rez-context line continuation looks odd when you resize a window

When the rez context is displayed, either via a rez-env or rez-context call, there seems to be whitespace at the end of all the output lines.  When you resize the window, all the lines will start to line wrap as soon as the longest line starts to wrap.  I know it's cosmetic but it can be rather annoying.  We address this by adding a sed to eliminate trailing whitespace:

rez-context | sed 's/ *$//'

But it would be nice if rez-env and rez-context didn't insert any trailing whitespace in the output making sed unnecessary.

I always found that annoying too.


Error when running training, DLL load failed, module could not be found

I've followed the installation instructions (on Windows 10) but when I get to running the training command, it fails with the following error:
File "train.py", line 7, in
import torch
File "~\Miniconda3\envs\python36\lib\site-packages\torch_init_.py", line 84, in
from torch._C import *
ImportError: DLL load failed: The specified module could not be found.
site-packages/torch/ exists and contains torch.dll, but there is only _C.lib, not .dll

Is this issue solved?

I'm still experiencing this problem. Any ideas?

Reach out to the PyTorch forum.

Closing due to inactivity.


Azcopy failes with given SAS token

I am using the given SAS token to extract this YAML file

coco_flickr30k_googlecc_gqa_sbu_oi_x152c4big2exp168.yaml

./azcopy copy "https://biglmdiag.blob.core.windows.net/vinvl/pretrain_corpus/coco_flickr30k_googlecc_gqa_sbu_oi_x152c4big2exp168.yaml?sp=r&st=2023-08-28T01:12:41Z&se=3023-08-28T09:12:41Z&sv=2022-11-02&sr=c&sig=6R1YmWluiXmPLsdVn1rDUpeBp2SYBMxDjc6KoKNlY8Q%3D" data/ --recursive
but face the issue.
INFO: Scanning...
INFO: Any empty folders will not be processed, because source and/or destination doesn't have full folder support

failed to perform copy command due to error: cannot start job due to error: cannot list files due to reason HEAD https://biglmdiag.blob.core.windows.net/vinvl/pretrain_corpus/coco_flickr30k_googlecc_gqa_sbu_oi_x152c4big2exp168.yaml
--------------------------------------------------------------------------------
RESPONSE 403: 403 Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
ERROR CODE: AuthenticationFailed
--------------------------------------------------------------------------------
Response contained no body
--------------------------------------------------------------------------------

Can anyone help me resolve this? @xjli @ChunyuanLI @xiyinmsu @pzzhang. My work needs access to the VinVL files and I am stuck currently.

@meharbhatia were you able to find a fix for this? I am also unable to download the model checkpoints as per the instructions in the https://github.com/microsoft/Oscar/blob/master/VinVL_DOWNLOAD.md file. Getting the same error.

yes , my work also report AuthenticationFailed, how to fix it?

I also meet this problem, do you know how to solve it?

Currently only the VinVL vision encoder model can be downloaded from an updated google link. We do not provide extracted features any more. If you need image features, you need to run the VinVL vision encoder model to extract features by yourselves.
Sorry for the inconvenience!


Dark theme for settings page

Would be nice to have this page dark themed based on browser/system theme.
browser_style won't work in Firefox due to https://bugzilla.mozilla.org/show_bug.cgi?id=1593355

Implemented in version 2.2.0


Upgrade clickhouse jdbc driver

Purpose of the pull request
Upgrade clickhouse jdbc driver from the deprecated version 0.1.52 to the recommended latest 0.3.2-patch11
According to the official announcement of clickhouse jdbc driver, ru.yandex.clickhouse.ClickHouseDriver is now considered deprecated, It's highly recommended to upgrade to 0.3.2+ now for improved performance and stability.
I am also experiencing problems (params not working, socket timeout etc...) with the legacy driver, really hope it could be get upgraded.
Brief change log

Change ru.yandex.clickhouse.ClickHouseDriver 0.1.52 to com.clickhouse.jdbc.ClickHouseDriver 0.3.2-patch11

Verify this pull request
Not sure how to test it, but I have run the build, it looks good to me.

Codecov Report

Merging #12639 (f6c5841) into dev (4e2701b) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##                dev   #12639      +/-   ##
============================================
- Coverage     39.05%   39.03%   -0.03%
+ Complexity     4185     4182       -3
============================================
  Files          1043     1043
  Lines         39506    39474      -32
  Branches       4544     4526      -18
============================================
- Hits          15430    15408      -22
+ Misses        22318    22313       -5
+ Partials       1758     1753       -5

Impacted Files
Coverage Δ

...cheduler/common/constants/DataSourceConstants.java
0.00% <ø> (ø)

...olphinscheduler/plugin/task/api/TaskConstants.java
0.00% <ø> (ø)

...erver/master/processor/queue/TaskEventService.java
69.64% <0.00%> (-10.72%)
:arrow_down:

...org/apache/dolphinscheduler/remote/utils/Host.java
42.55% <0.00%> (-2.13%)
:arrow_down:

...hinscheduler/plugin/alert/script/ScriptSender.java
70.58% <0.00%> (-1.64%)
:arrow_down:

...e/dolphinscheduler/remote/NettyRemotingClient.java
51.38% <0.00%> (-1.39%)
:arrow_down:

...r/plugin/task/sqoop/parameter/SqoopParameters.java
51.19% <0.00%> (-1.20%)
:arrow_down:

...cheduler/plugin/alert/dingtalk/DingTalkSender.java
34.13% <0.00%> (-0.78%)
:arrow_down:

...rver/master/runner/task/BlockingTaskProcessor.java
75.86% <0.00%> (-0.55%)
:arrow_down:

...inscheduler/plugin/registry/etcd/EtcdRegistry.java
50.69% <0.00%> (-0.35%)
:arrow_down:

... and 20 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@kezhenxu94 OWASP check failed, does it mean this upgrade has introduced the vulnerabilities to the project?

@kezhenxu94 OWASP check failed, does it mean this upgrade has introduced the vulnerabilities to the project?

Just ignore that check, it doesn't block the PR from merging if everything else is OK

@simsicon Please check the dependency, you miss some third-part jar.

@simsicon Please check the dependency, you miss some third-part jar.

Thanks for the mention, but how can I checkout which dependencies were missed?

@simsicon Please check the dependency, you miss some third-part jar.

Thanks for the mention, but how can I checkout which dependencies were missed?

https://github.com/apache/dolphinscheduler/actions/runs/3368183179/jobs/5600294720#step:7:933

@kezhenxu94 thanks for the information, the build is ok now as I can see.


❓ Is there any way to get the current frame and display it as a static image on screen

Question
When use frame processors, i want to get the specific frame which the processor get useful data from, and display it as an image. So, is there anyway to achieve this?
What I tried
I tried to use takeSnapshot, but it has delay and is not exactly the same frame when the processor get data from.
VisionCamera Version
2.13.2
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

Yes, the frame object is an Image. It is obviously not a high quality image as if you would take a photo, but you can convert it to an image and save to file in your Frame Processor Plugin.

@mrousavy And how can i convert the frame to an image?

https://stackoverflow.com/questions/42997462/convert-cmsamplebuffer-to-uiimage


OPC UA IIoT Read - String in Payload instead of Object Array

Since V 2.0.x the Read Node writes a String in Payload instead of an Object Array as it was before. My current Workaround is to convert it with a json-node to an JavaScript-Object.
Next problem is that in this new Object is no "[0].convertedValue" like it was before.

"[{"value":{"dataType":"Float","arrayType":"Scalar","value":0},"statusCode":{"value":0,"description":"No Error","name":"Good"},"sourcePicoseconds":0,"serverPicoseconds":0},{"value":{"dataType":"Float","arrayType":"Scalar","value":0},"statusCode":{"value":0,"description":"No Error","name":"Good"},"sourcePicoseconds":0,"serverPicoseconds":0},{"value":{"dataType":"Float","arrayType":"Scalar","value":0},"statusCode":{"value":0,"description":"No Error","name":"Good"},"sourcePicoseconds":0,"serverPicoseconds":0},{"value":{"dataType":"Float","arrayType":"Scalar","value":0},"statusCode":{"value":0,"description":"No Error","name":"Good"},"sourcePicoseconds":0,"serverPicoseconds":0},{"value":{"dataType":"Float","arrayType":"Scalar","value":3276.699951171875},"statusCode":{"value":0,"description":"No Error","name":"Good"},"sourcePicoseconds":0,"serverPicoseconds":0}]"

Yes, the API of node-opcua has changed and if you get a string, then it is not to convert and send without problems. I am working on that.
Sent with GitHawk

Okay, thank you.
It would be nice if it would work like before, because i have a huge self written function behind the read-node to sort a lot of Datapoints in a SQL DB. For this Time i went back to the old version.

You could try v2.0.4 if it works for you. I am sorry if not, but it is a significant upgrade in v0.2.x of node-opcua.


Experiment to optimize aggregations

This PR shows an experiment to optimize aggregations.
In https://github.com/prometheus/prometheus/pull/8594 I've proposed some changes to speed up the aggregation function. While working on it I was wondering if there may be a more optimized way to run the rangeEval() with an aggregation.
As an experiment, I've implemented a simplified rangeEvalAggregations() which is the rangeEval() for few (but common) aggregations. In the comments below you can find the benchmark results.

Please look at https://github.com/prometheus/prometheus/pull/3966 which was the last big promql refactoring.

Briefly discussed with Julien offline and mentioned that this experiment may be very bad with churning series (and I agree). I will add some benchmarks to try to measure it.

I've tested this PR sending few selected sum() queries to a dedicated pool of Cortex queries running this PR and, from very preliminary results, the performance benefit looks significative (but such queries have nearly zero churning series). Latency has been cut by about -60%, which matches with the benchmark posted above.

I've posted updated benchmarks in the PR description.

It seems that you are handling NaN's in a special way by scanning the code. NaN can be rendered by PromQL. In fact the following code panics:
# Tests for NaN.
clear
load 5m
  http_requests     NaN

eval instant at 0m sum(http_requests)
  {} NaN

--- FAIL: TestEvaluations (0.05s)
    --- FAIL: TestEvaluations/testdata/aggregators.test (0.05s)
panic: runtime error: index out of range [0] with length 0 [recovered]
        panic: runtime error: index out of range [0] with length 0

goroutine 48 [running]:
testing.tRunner.func1.2(0x9715c0, 0xc0026c4090)
        /home/roidelapluie/godist/go/src/testing/testing.go:1144 +0x332
testing.tRunner.func1(0xc001f0a300)
        /home/roidelapluie/godist/go/src/testing/testing.go:1147 +0x4b6
panic(0x9715c0, 0xc0026c4090)
        /home/roidelapluie/godist/go/src/runtime/panic.go:965 +0x1b9
github.com/prometheus/prometheus/promql.(*Engine).execEvalStmt(0xc001135340, 0xa4d040, 0xc0002fe3f0, 0xc00113daa0, 0xc001144140, 0x0, 0x0,
0x0, 0x0, 0x0, ...)
        /home/roidelapluie/dev/prometheus/promql/engine.go:610 +0x148f
github.com/prometheus/prometheus/promql.(*Engine).exec(0xc001135340, 0xa4d040, 0xc0002fe3f0, 0xc00113daa0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ..
.)
        /home/roidelapluie/dev/prometheus/promql/engine.go:536 +0x4fe
github.com/prometheus/prometheus/promql.(*query).Exec(0xc00113daa0, 0xa4cf98, 0xc0011485c0, 0xc001f14bc4)
        /home/roidelapluie/dev/prometheus/promql/engine.go:174 +0x9d
github.com/prometheus/prometheus/promql.(*Test).exec(0xc00047e320, 0xa44720, 0xc00047f310, 0x0, 0x0)
        /home/roidelapluie/dev/prometheus/promql/test.go:537 +0x2e2
github.com/prometheus/prometheus/promql.(*Test).Run(0xc00047e320, 0xc001f0a300, 0x0)
        /home/roidelapluie/dev/prometheus/promql/test.go:433 +0x71
github.com/prometheus/prometheus/promql.TestEvaluations.func1(0xc001f0a300)
        /home/roidelapluie/dev/prometheus/promql/promql_test.go:31 +0xa7
testing.tRunner(0xc001f0a300, 0xc001e82af0)
        /home/roidelapluie/godist/go/src/testing/testing.go:1194 +0xef
created by testing.(*T).Run
        /home/roidelapluie/godist/go/src/testing/testing.go:1239 +0x2b3
FAIL    github.com/prometheus/prometheus/promql 0.230s
FAIL

It seems that you are handling NaN's in a special way by scanning the code. NaN can be rendered by PromQL. In fact the following code panics:

Thanks @roidelapluie for pointing out. Yes, I was doing an hack with NaN. I should have fixed it in the last commit.

 I'm going to close it for now.


Showing blank screen when run the Example of Swift

Hello,
I have download the latest example from GitHub and changed the licence key but when try to start live chat,
its showing the blank page to me in iOS does any facing same issue?

+1

Yes, this is the most common source of these issues. I will add that to the docs, hope that will help someone in the future with similar problem. Thanks for the response.


ukmm: 0.13.0 -> 0.15.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for ukmm is: New mod manager for The Legend of Zelda: Breath of the Wild
meta.homepage for ukmm is: https://github.com/NiceneNerd/ukmm
meta.changelog for ukmm is: https://github.com/NiceneNerd/ukmm/blob/refs/tags/v0.15.0/CHANGELOG.md
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.15.0 with grep in /nix/store/m5b5fgmrmsvxdsakv0irwgz2v571hs8l-ukmm-0.15.0
found 0.15.0 in filename of file in /nix/store/m5b5fgmrmsvxdsakv0irwgz2v571hs8l-ukmm-0.15.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

ukmm

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m5b5fgmrmsvxdsakv0irwgz2v571hs8l-ukmm-0.15.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ukmm https://github.com/r-ryantm/nixpkgs/archive/7164b8d0c2af5480c2f41b7ad91eba86db67c820.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/7164b8d0c2af5480c2f41b7ad91eba86db67c820#ukmm

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m5b5fgmrmsvxdsakv0irwgz2v571hs8l-ukmm-0.15.0
ls -la /nix/store/m5b5fgmrmsvxdsakv0irwgz2v571hs8l-ukmm-0.15.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

ukmm

Maintainer pings
cc @kira-bruneau for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 338331 run on x86_64-linux 1

1 package built:

ukmm


yaml errors

First of all, very nice project.
But when i tried to adopt the device in esphome it came back with the message: failed config. See attached screen for details.
Probably i do something wrong but i don't what.

You must update your esphome to minimal version 2022.11.x
And also have Home Assistant version v2022.11.x minimal.
Than it's must be going to work.

Thanks for the fast reaction.
You're right. I was using the version 2022.3.xx but i didn't noticed it was the community version, thats why i never got an update because you have to use the official version. So i installed the official version (2022.12.xx) and it works.
Thanks.


lemmy-help panics on classes with no fields

A file containing (minimized):
local rpc = {}

---@class RpcRef

return rpc

seems to produce:
⊙  ~/Desktop/lemmy-help lua/lean/rpc.lua                                                                                julian@Airm ●
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/papergrid-0.3.0/src/lib.rs:364:17
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
zsh: abort      ~/Desktop/lemmy-help lua/lean/rpc.lua

where RUST_BACKTRACE says:
⊙  RUST_BACKTRACE=full ~/Desktop/lemmy-help lua/lean/rpc.lua                                                                                julian@Airm ●
thread 'main' panicked at 'index out of bounds: the len is 0 but the index is 0', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/papergrid-0.3.0/src/lib.rs:364:17
stack backtrace:
   0:        0x104ea836e - __mh_execute_header
   1:        0x104e3b4bb - __mh_execute_header
   2:        0x104ea77be - __mh_execute_header
   3:        0x104eab755 - __mh_execute_header
   4:        0x104eabe15 - __mh_execute_header
   5:        0x104eab9c4 - __mh_execute_header
   6:        0x104eab939 - __mh_execute_header
   7:        0x104eab8f5 - __mh_execute_header
   8:        0x104eb18e3 - __mh_execute_header
   9:        0x104eb18a6 - __mh_execute_header
  10:        0x104e79e26 - __mh_execute_header
  11:        0x104e52c2f - __mh_execute_header
  12:        0x104e5691a - __mh_execute_header
  13:        0x104e3b4bb - __mh_execute_header
  14:        0x104e70f4e - __mh_execute_header
  15:        0x104e3b4bb - __mh_execute_header
  16:        0x104ea7624 - __mh_execute_header
  17:        0x104e0d68e - __mh_execute_header
  18:        0x104e0e059 - __mh_execute_header
  19:        0x104e0ebf4 - __mh_execute_header
zsh: abort      RUST_BACKTRACE=full ~/Desktop/lemmy-help lua/lean/rpc.lua

Ohh yeah, I am assuming the class should have at least one ---@field. I am not sure whether someone defining an empty class is a good thing or not. Anyway, I'll prevent that panic :)


Use time travel in cypress tests

[https://app.zenhub.com/workspaces/ccbc---delivery-board-61c0c1204c8bcb001491c5f3/issues/bcgov/conn-ccbc-portal/367 follow-up]

duplicate of https://github.com/bcgov/CONN-CCBC-portal/issues/485


auth-mailchimp-sync: Plugin fails to add user on linkWithCredential

Original issue from https://github.com/firebase/extensions/issues/630

As per this comment, onCreate is only triggered when the user account is first created. For people with this issue, suggested solutions:

Persist data to firestore as well, and the change will be detected, OR
Create a new user once this detail is known, rather than re-using the anonymous one. Clean up the anonymous one if you can.


CellStyle textAlign:"center" works headerStyle textAlign:"center" doesnt

https://postimg.cc/gxHnysXm
for columns data if you put textAlign of cellStyle to center it works but it does not work for headerStyle. How to center text in header?
This problem does not occur in material-table.

Could you add a sandbox for this?

Hi @Domino987
I also encounter the same problem (the textAlign attribute does not work for headerStyle, but it does work for cellStyle). You can quickly test it on any of the live demos in the "Style" category on this project website by adding headerStyle: { textAlign: "center" } to one of the column definition.
I also found out that the "draggable" div that wrap around the header cell might be the culprit, since if I disable draggable, I can center the text in the header again with the textAlign attribute.

Could you add a sandbox for this?

https://codesandbox.io/s/material-table-starter-template-forked-5xbnm2?file=/src/index.js

Hi @Domino987
I also encounter the same problem (the textAlign attribute does not work for headerStyle, but it does work for cellStyle). You can quickly test it on any of the live demos in the "Style" category on this project website by adding headerStyle: { textAlign: "center" } to one of the column definition.
I also found out that the "draggable" div that wrap around the header cell might be the culprit, since if I disable draggable, I can center the text in the header again with the textAlign attribute.

How to disable draggable?

Yes this might be the cause but I do not see a way to resolve this, since the tableheader themselves cannot be draggable without breaking the table layout and it is needed to create the drag and drop functionality.

Add draggable: false works for me.
options={{  draggable: false  }}
Version: "@material-table/core": "4.3.44"


Fgs new facilities

Adding a handy option to bypass clinics from csv file that have undefined district.
Some stylistic changes in a separate commit.

It occurred that this change is not needed. Districts are already optional in clinic lists.


GPU Mesh Memory clear + Enumerator named tuple + fixed Viz for no objects in scene

This contains a new clear_gpu_memmesh() method in the renderer, although it only clears small amounts of mesh memory in the GPU. One must still instantiate a new renderer if they use this functionality.
New named tuple implementation of enumerators (Block resim GenJAX trace updates). All notebooks have been updated with this.
Viz can now show an empty image for no objects in a scene instead of crashing

Will be splitting up this PR


Re-running cached tasks fails

It seems like the tasks defined in the plugin do not play well with the caching mechanism.
Try to re-run tasks yields a failure (regular builds are just fine):
$ ./gradlew -rerun-tasks build
:asciidoctor
:compileJjtree
Java Compiler Compiler Version 6.1_2 (Tree Builder)
(type "jjtree" with no arguments for help)
Reading from file /Users/jponge/Code/gololang/src/main/jjtree/fr/insalyon/citi/golo/compiler/parser/Golo.jjt . . .
Warning: Output directory "/Users/jponge/Code/gololang/build/generated/jjtree/tmp/fr/insalyon/citi/golo/compiler/parser" does not exist. Creating the directory.
opt:java
File "Node.java" does not exist.  Will create one.
File "SimpleNode.java" does not exist.  Will create one.
File "ASTerror.java" does not exist.  Will create one.
File "ASTCompilationUnit.java" does not exist.  Will create one.
File "ASTModuleDeclaration.java" does not exist.  Will create one.
File "ASTImportDeclaration.java" does not exist.  Will create one.
File "ASTToplevelDeclaration.java" does not exist.  Will create one.
File "ASTStructDeclaration.java" does not exist.  Will create one.
File "ASTUnionValue.java" does not exist.  Will create one.
File "ASTUnionDeclaration.java" does not exist.  Will create one.
File "ASTNamedAugmentationDeclaration.java" does not exist.  Will create one.
File "ASTAugmentDeclaration.java" does not exist.  Will create one.
File "ASTFunctionDeclaration.java" does not exist.  Will create one.
File "ASTDecoratorDeclaration.java" does not exist.  Will create one.
File "ASTContinue.java" does not exist.  Will create one.
File "ASTBreak.java" does not exist.  Will create one.
File "ASTThrow.java" does not exist.  Will create one.
File "ASTWhileLoop.java" does not exist.  Will create one.
File "ASTForLoop.java" does not exist.  Will create one.
File "ASTForEachLoop.java" does not exist.  Will create one.
File "ASTTryCatchFinally.java" does not exist.  Will create one.
File "ASTExpressionStatement.java" does not exist.  Will create one.
File "ASTUnaryExpression.java" does not exist.  Will create one.
File "ASTInvocationExpression.java" does not exist.  Will create one.
File "ASTMultiplicativeExpression.java" does not exist.  Will create one.
File "ASTAdditiveExpression.java" does not exist.  Will create one.
File "ASTRelationalExpression.java" does not exist.  Will create one.
File "ASTEqualityExpression.java" does not exist.  Will create one.
File "ASTAndExpression.java" does not exist.  Will create one.
File "ASTOrExpression.java" does not exist.  Will create one.
File "ASTOrIfNullExpression.java" does not exist.  Will create one.
File "ASTMethodInvocation.java" does not exist.  Will create one.
File "ASTBlock.java" does not exist.  Will create one.
File "ASTFunction.java" does not exist.  Will create one.
File "ASTLiteral.java" does not exist.  Will create one.
File "ASTCollectionLiteral.java" does not exist.  Will create one.
File "ASTReference.java" does not exist.  Will create one.
File "ASTDestructuringAssignment.java" does not exist.  Will create one.
File "ASTLetOrVar.java" does not exist.  Will create one.
File "ASTAssignment.java" does not exist.  Will create one.
File "ASTReturn.java" does not exist.  Will create one.
File "ASTArgument.java" does not exist.  Will create one.
File "ASTAnonymousFunctionInvocation.java" does not exist.  Will create one.
File "ASTFunctionInvocation.java" does not exist.  Will create one.
File "ASTConditionalBranching.java" does not exist.  Will create one.
File "ASTCase.java" does not exist.  Will create one.
File "ASTMatch.java" does not exist.  Will create one.
File "GoloParserTreeConstants.java" does not exist.  Will create one.
File "GoloParserVisitor.java" does not exist.  Will create one.
File "GoloParserDefaultVisitor.java" does not exist.  Will create one.
File "JJTGoloParserState.java" does not exist.  Will create one.
Annotated grammar generated successfully in /Users/jponge/Code/gololang/build/generated/jjtree/tmp/fr/insalyon/citi/golo/compiler/parser/Golo.jj
:compileJjtree FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileJjtree'.
> Could not copy /Users/jponge/Code/gololang/build/generated/jjtree/tmp/fr/insalyon/citi/golo/compiler/parser/ASTCompilationUnit.java from /Users/jponge/Code/gololang/build/generated/jjtree/tmp to /Users/jponge/Code/gololang/build/generated/jjtree

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 11.033 secs

You can play with the branch at https://github.com/jponge/golo-lang/tree/feature/gradle to reproduce the issue.

Definitely have my vote for this.

Thanks for the feedback! I've added acceptance tests to verify this behavior and everything now passes.
Keep them coming if you find more issues :)

:+1:


Run msbuild out of process

We currently run msbuild in proc which gets into trouble when we resolve 5.0 sdk. The tasks used by the 5.0 SDK needs 5.0 assemblies which are not available when msbuild runs in proc.

Oops opened duplicate issues: https://github.com/dotnet/tye/issues/594


Move logic of stopping core and services to api or daemon package

Now, when stopping the core (command mesg-core stop), the CLI manually load and stop services before stopping the core.
This logic should be move in API or daemon package.
Concerned source code:
https://github.com/mesg-foundation/core/blob/a5a1dc6fb4640a2a43366be0fcf59191c36794fb/commands/provider/core_provider.go#L34-L72

That would be good start, but for now we are listing services from the database.
Maybe we should add label to each container and just create a function container.StopService(filter/label)
And in daemon - container.StopService("mesg-label")
Because overall we don't need to list service from a database, but rather from current stat of docker containers.

Moved to https://forum.mesg.com/t/move-logic-of-stopping-core-and-services-to-api-or-daemon-package/146


Rewrite script which generates regressions tests

Fixes #3213

new script generates bug reports from downstream (currently just KEVM) tests
the bug reports are modified to comply with current Makefile testing harness
removes tests which are no longer supported by downstream project

Review checklist
The author performs the actions on the checklist. The reviewer evaluates the work and checks the boxes as they are completed.

[ ] Summary. Write a summary of the changes. Explain what you did to fix the issue, and why you did it. Present the changes in a logical order. Instead of writing a summary in the pull request, you may push a clean Git history.
[ ] Documentation. Write documentation for new functions. Update documentation for functions that changed, or complete documentation where it is missing.
[ ] Tests. Write unit tests for every change. Write the unit tests that were missing before the changes. Include any examples from the reported issue as integration tests.
[ ] Clean up. The changes are already clean. Clean up anything near the changes that you noticed while working. This does not mean only spatially near the changes, but logically near: any code that interacts with the changes!

Somehow @goodlyrottenapple 's Nix script for running profiles (https://github.com/runtimeverification/haskell-backend/pull/3235) already gives a way to take a tarball and run a profile for it via the Nix build system.
Can there be a way we just re-use that a bit here, but instead of turning on profiling we collect and inspect the output? That way we just have to regenertae and store the new tarballs, and it's using the same infrastructure for profiling or for downsteram testing?
Not sure it makes sense, but I figure we should try for a unified approach to things.


Parameterizing at build time

Hi,
I'm trying to use JQF for fuzzing a java method. It works well, but I want to make the number of trials parameterized at build time (or through an environment variable). Is there an easy way to do this? (as of now, I'm using bash hooks in my gradle build configuration to do macro expansion at compile time)
@Property(trials = 10_000)
public void testEquivalence(
	       @Probability(....))

Also, is there a solution to run those 10000 trials on N cores (typically in the order of 256)? I've seen that junit is able to run different tests in parallel, but it seems that a fuzzing task is considered as a single test only.
Thanks, George.

The @Property annotation is used for vanilla JUnit-Quickcheck tests, and it is not controlled by JQF. You can ask on https://github.com/pholser/junit-quickcheck/issues if this can be controlled at run-time.
If you are using the @Fuzz annotation provided by JQF, then the test can be executed in one of two ways:

By explicitly running mvn jqf:fuzz -Dclass=<..> -Dmethod=<...> as a command, where you can optionally give a timeout using -Dtime=60s or similar. In this case, JQF will instrument the bytecode to do coverage-guided fuzzing.
By running the test as part of your normal test suite, such as mvn test. JUnit will pick up any @Fuzz annotated test driver and run it as a random test without coverage feedback (because the code is not instrumented when run this way), similar to what quickcheck would have done with the @Property annotation. In this instance, the default is to run the test for 100 executions of random input, but you can override that by setting the system property jqf.quickcheck.trials. For example, mvn test -Djqf.quickcheck.trials=1234 or set it in the pom.xml configuration using environment variables.

The fuzzing task does indeed run single threaded at this time. JQF was mainly designed for people running the fuzzer via something like mvn jqf:fuzz. With this command, you can use a bash script to run the fuzzer on 256 different cores, but each independent run will use its own internal state for things like coverage feedback. There is a way to run fuzzers in parallel and share coverage info via files on disk, but this logic is not currently in the release version. When @Fuzz tests are run with the default Maven Surefire plugin with mvn test, they always run single threaded because this mode is just a wrapper around a simple while loop. See NoGuidance.


update github workflows codecov action

Change-Id: I3ee30bd7b8cbe94eed6764b414183d85c67d48f1

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

Project coverage is 97.66%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #44   +/-   ##
=======================================
  Coverage   97.66%   97.66%
=======================================
  Files          17       17
  Lines         171      171
  Branches        4        4
=======================================
  Hits          167      167
  Misses          2        2
  Partials        2        2

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


Update HLS for Python and C++ changes

change

Initial pass

https://github.com/alienflip/N-Body-Problem/commit/d08d87c033b1ccffc32db6bdd68b0da22e264aa3


Type hinting for common functions

Now that we have updated to python 3.6 we can have sensible type hinting ("->" syntax for methods for example). We should add that.

Hey, I was hoping to pick this up ! What do you mean by "common" functions in this context ?

Hey, I was hoping to pick this up ! What do you mean by "common" functions in this context ?

I mean the ones exposed to the end user.
The end goal is that things like self.client.post() and basic Locust properties (like wait_time) should be picked up by a user's IDE (like vscode) and any errors be picked up when checked with MyPy (http://mypy-lang.org/).

Lets do this after 1.0. I tried some stuff, but it is harder than it seems and I dont want to delay 1.0

The API documentation should provide a good list of functions and methods that we would like to add type hinting for.


Add support for list and string in higher order functions

This PR adds support for list and string types in higher order functions (except partition) and also adds support for env.Builtin as the block type where appropriate.

Thank you! This is great and great for additional tests!


Limits validation

running -  deis limits:set -c 2000 -m 6G
2000 doesn't fit format type=#unit or type=#
Examples: web=2G worker=500M web=300
6G doesn't fit format type=#unit or type=#
Examples: web=2G worker=500M web=300
Applying limits... .o.

If neither fits what are we applying?
It resulted in
=== app Limits

--- Memory
memory     10gb

--- CPU
Unlimited

Certainly the above is entirely user error, but the results were odd.
The correct steps were
deis limits:set cmd=6G
deis limits:set --cpu cmd=2000

Looks like part of this needs to be addressed in the CLI (https://github.com/deis/workflow-cli)

the second comment is how you use it. You can only set CPU or memory at one point in the CLI, since --cpu and --memory are boolean flags to determine which type of limit your are setting. Perhaps deis limits:cpu or deis limits:memory would have been a better choice, but then it would've been confusing on the invocation of deis limits:unset.
@helgi 's got the right idea.

considering that this has been fixed I'm going to close it, but please feel free to re-open a new ticket at https://github.com/deis/workflow-cli if you feel this needs to change.


Can specify plot axis

Added option to specify axis for plot_objective, allowing more complex plots

Hello @AyrtonB! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file skopt/plots.py:

Line 717:61: W291 trailing whitespace


Make success redirect optional

I want to use this library in a dialog, so I don't want to redirect anywhere.
I want to keep the same dialog open after sending the email.
As mentioned in
(https://github.com/sergiodxa/remix-auth/discussions/245
this should be possible.
Thank you.

We are open to PRs; the library development is currently on standby.
Please propose and showcase, and we may work on it, rather than requesting.
Thanks.


CSS Issue

so basically i am creating a PDF file using a HTML which contains One image and it also contains some div with background color property.
But what happens here is that if i were to load the image in PDF the background colors of the Divs does not appear and in the same if i just remove the Image from the html then the backgroud colors are back again visible.
I was told by one of my fireld that it can be beacuse of using flex proprty but since i checked my HTML and i tried after removing flex as well but still the issue is happening.

Hi @nilkanthdesai76, thank you for raising this issue. It would be helpful if you could provide a minimal reproduction of the issue so that I can investigate. Can you do this?

ok so basically when there is a backgroud color applied to any div but if that div also happens to have a img then the background color property is not rendering in the PDF but it is shown there if i load the same html in a webview

It's not immediately clear to me why this would happen. I'll be able to check into it (hopefully) next week.

hey, i have found the solution so basically what's happening here is that after iOS 16 the swift language just ignores the background color property from css and to resolve the issue we need to add the below text in the stylesheet in the header style tag

That’s great news! However, it seems that this library may not provide a solution, as it doesn’t directly handle CSS. Let me know if you have a different perspective on this.


[DROOLS-7274] Add LSP client integration tests

WIP

Add CI for vscode extension test

Add a vscode extension test for code completion "package"

Set up Java version for integration test

Find java home

Hi @ederign @yesamer , I'm working on VS Code Extension for DRL editor based on LSP (drools-lsp). Now I have added an extension client integration test to the project. Could you kindly review this PR or re-assign a suitable reviewer on this PR from Tools team point of view? Thanks!

Hi @ederign  @paulovmr  Could you kindly review this PR? If you don't have time, I think we can merge this PR because already a good number of reviewers have approved.

@tkobayas if @caponetto approved, we are good to go in our side!


[UI] UI change for Register Page

Description
Improve the UI of Register page to be more attractive.
Current Behavior
The current UI is minimalist.
If you're going to work on this issue, create a new issue explaining your changes and mention this issue.

I want to work on this issue. Please assign this issue to me.

Hey @BinaryBhakti , Create a new issue stating all the changes you want to make and mention this issue like (issue #2). I'll review it and assign it to you.

I have created a issue with the name #22 , so do review it.

@BinaryBhakti , I reviewed your issue. Please check it out. Thank you!

@Vignesh025 you can assign me this issue

Hi @Vignesh025 can you add hactoberfest-accepted and gssoc-ext to it.Thanks!


Wire up SignatureValidation in RegistryClient

Also change default onUnsigned and onUntrustedCert to log warning instead of prompt since the latter is not yet supported.

@swift-ci please smoke test


Wrong indentation when the first element is elem/strong

#import "@preview/indenta:0.0.3": fix-indent

#set par(first-line-indent: 2em)
#show: fix-indent()

= A

B // Looks Good!

= C

_D_  // Error Here

= E

*F* // Error Here

Thanks for your feedback. Seems that there are still many inline elements missed. I will add them later.
You can use fix-indent(unsafe: true) to disable the inline check for now.

Thanks for your reply. Hope this package goes better.
And I am still wondering why the unsafe option is unsafe :no_mouth:

This package works by adding an h(indent-length) after a specific element (denoted as a) and before the first paragraph after it (denoted as b).
But there is no good way to tell if b is a paragraph or an inline element. If an h(indent-length) is added before a block element, it will result in an extra blank line.
The current practice is to be more conservative by default, determining that b is 1) not a block element and is 2) in the list of known inline elements.
The list is currently not perfect. By specifying unsafe: true, the 2) inline element check can be skipped.


Main submenus are all black sometimes

Tested versions

Reproducible in main as of https://github.com/godotengine/godot/commit/6a13fdcae3662975c101213d47a1eb3a7db63cb3
Not reproducible in 4.3 beta 2

System information
Godot v4.3.beta - TUXEDO OS 3 22.04.4 - Wayland - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4060 Laptop GPU - 13th Gen Intel(R) Core(TM) i7-13700H (20 Threads)
Issue description
The main sub menus are black when first opened.
You have to hover over them and move the mouse a bit for them to show up correctly.

Steps to reproduce
Open any menu, by clicking on it, but do not move the mouse. It shows up blank.
Move the mouse a few times over the menu, and the items will then render correctly.
Try this with different menus (Scene, Project ...)
Minimal reproduction project (MRP)
Not needed. This is just an editor bug.

Bisecting was not conclusive, so I built back up to 4.3 beta 2 then 4.3 beta 1  (https://github.com/godotengine/godot/commit/a4f2ea91a1bd18f70a43ff4c1377db49b56bc3f0) from source, and it also had the issue.
There is no problem with the official builds, so this seems to be happening on self-built versions.
Couple of points :

Going back and forth on the same menus still shows the issue, it's not a one time thing
The problem shows up also on tool tips
Enabling Single Window Mode fixes it

I don't seem to reproduce the issue with custom builds on Fedora 40, also running KDE Plasma on Wayland.
Godot v4.3.beta (6a13fdcae) - Fedora Linux 40 (KDE Plasma) - Wayland - Vulkan (Forward+) - dedicated AMD Radeon RX 7600M XT (RADV NAVI33) - AMD Ryzen 7 7840HS w/ Radeon 780M Graphics (16 Threads)

Do you have the same issue with both the Nvidia dGPU and Intel iGPU?
Might be related to a system package if it only happens on some distros, possibly older X11 or Mesa in Ubuntu 22.04.
Could be worth checking just to confirm whether you reproduce the same issue with 4.2-stable, so we fully rule out a potential 4.3 regression.

Alright, this only happens on Nvidia + Vulkan (both F+ and Mobile).
This is also the case for official builds actually (I had different GPU configs for development) up to 4.2-stable.
On official builds though, it's much less noticeable, I can see the black window for less that a sec, but then it goes away.
On my builds, the black screen stays there until I slightly move the mouse.
Any other combination does not exhibit the issue (including Nvidia + compat and Intel + Vulkan)
My Nvidia driver version :
-> nvidia-smi
Wed Jul  3 15:14:32 2024
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 550.90.07              Driver Version: 550.90.07      CUDA Version: 12.4     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 4060 ...    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   43C    P8              1W /   60W |     612MiB /   8188MiB |      0%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A      5027    C+G   /home/hak/Apps/Godot/Godot                    601MiB |
+-----------------------------------------------------------------------------------------+


[Bug]--mnemonic-file parameter not working

The --mnemonic-file parameter does not seem to work when loading a mnemonic file on startup

@Steve-Mc can you share more details and the content of your mnemonic file?

did this get resolved?

@xfyfb sure. The command I'm trying to run is:
cargo run -p libra_swarm -- -s --mnemonic_file /path/to/file.mnemonic
I have also tried:
cargo run -p libra_swarm --  --mnemonic_file /path/to/file.mnemonic -s
and:
cargo run -p libra_swarm --mnemonic_file /path/to/file.mnemonic -s
When I run the above command I receive:
error: Found argument '--mnemonic_file' which wasn't expected, or isn't valid in this context
The contents of the mnemonic file itself ends in ;3, not sure if that is expected or not.

finally got it working with:
cargo run -p client --bin client -- -n /path/to/wallet.mnemonic --host ac.testnet.libra.org --port 8000 --validator_set_file /libra/scripts/cli/trusted_peers.config.toml

Oh, I see. Yes, --mnemonic_file is the argument of client, not libra_swarm. So cargo run -p libra_swarm -- -s --mnemonic_file /path/to/file.mnemonic will not work. Can you close this one if there is no other issue?


get_matching_files issue

In saver.py, if the argument of get_matching_files is a relative path with no ./ in the beginning, get_matching_files will return an empty list. e.g., get_matching_files("filename") returns [], while get_matching_files("./filename") returns ['filename']
Thus when using freeze_graph with input checkpoint in the same directory, I found the issue below:
python freeze_graph.py \
--input_graph=input_graph.pb \
--input_checkpoint=input.ckpt \
--output_graph=output_graph.pb \
--output_node_names=Softmax

Input checkpoint 'input.ckpt' doesn't exist!

Behavior in file_io.py that relies on Python's Glob is similar to functionality as it's reimplemented in io_ops.cc
IE, this works
filename_queue = tf.train.string_input_producer(["./file"])
_, serialized_example = reader.read(filename_queue)

This finds nothing
filename_queue = tf.train.string_input_producer(["file"])
_, serialized_example = reader.read(filename_queue)

Got it. I think the PR was in the right direction, but depending on the io_ops, maybe in the wrong place. If it's a general bug in io_ops, then it should go there, otherwise, it should go in the wrapper code. The problem that I had was really about ./ which is not always portable. Do you want to resubmit the PR again?

Seems related to this one: https://github.com/tensorflow/tensorflow/issues/4921

Thanks @ppwwyyxx for the cross-reference! Yes, it's a peculiarity in the lookup. It does look odd.

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Improve search UI

For #976. This PR removes the blue patch of empty space below the search bar. Had to do quite a bit of work to make it work correctly. No UI design change otherwise since it might be redesigned.

Building on #1318 because there are changes that affect the UI changes introduced in HD wallet support; so holding this as a draft PR till the former is merged.

@James-Sangalli good to merge after #1318


Need support for assert_contains, refute_contains, assert_starts_with, etc.

@ztombol Since jasonkarns/bats-assert has been deprecated in favor of this repository, can you please add support for some of the handy assertions in jasonkarns/bast-assert such as assert_contains, refute_contains, assert_starts_with, etc. to make this repository a super set of jasonkarns/bast-assert? This will help users who have already started with jasonkarns/bast-assert migrate easily to this. Please let me know if you would like to get a pull request for this.

Migration guide from jasonkarns/bats-assert (v1.1.1) to my fork of this repo (v2.0.0): https://github.com/jasonkarns/bats-assert-1/wiki/Migrating-from-v1.1.1


Show on Focus

How can I show the popover on focus, e.g. if I tab into an input which has a popover associated with it?

you can write code like this, there is an example in  demo page's advance section.
$('.form-input').on('focus',function(){
						$(this).webuiPopover('show');
					});


Compilation from source fails

arm64 and arm32
Description
Compilation from source produce this :
Removing intermediate container b41259d53d37
Step 3/5 : RUN go get -u -d code.gitea.io/gitea
---> Running in 1e54dc5a510f
---> 5ac9d7356e34
Removing intermediate container 1e54dc5a510f
Step 4/5 : WORKDIR /go/src/code.gitea.io/gitea
---> 4d24d5274fa8
Removing intermediate container 6898ad55735a
Step 5/5 : RUN TAGS="bindata" make generate build
---> Running in 574365d69d99
make: *** No rule to make target 'generate'.  Stop.
The command '/bin/sh -c TAGS="bindata" make generate build' returned a non-zero code: 2

You are not providing enough information. What image to you use? Which commands have you executed?

This simply sounds like you are executing make in the wrong directory.

FROM troyfontaine/armhf-alpinelinux
RUN apk update &&
apk add
git
alpine-sdk
binutils
gcc
musl-dev
openssl
make
go
sqlite &&
rm -rf /var/cache/apk/*
RUN go env
RUN go get -u -d code.gitea.io/gitea
RUN cd /go/src/code.gitea.io/gitea
RUN TAGS="bindata,sqlite" make build

As already stated on chat you just used the wrong path to execute make.


[3.2] [Net] Fix miniupnpc when no interface is specified

This is a tricky one, it used to work, but it was wrong, because in such a scenario instead of passing NULL as required by the API, it would pass a buffer containing the \0 terminator.
This stopped working on a specific miniupnpc version, when they fixed some network endianess issue on Windows, to which we made a workaround, which in turn would probably result in failures when the interface is specified.
This commit address the issue properly, by checking the specified interface string size, and correctly passing NULL instead of the empty string when necessary.
One of those PR when the explanation is much longer then code changes :).
3.2 version of #47027

Thanks!


New Examples, new API-Version

Hello,
the last commit of the samples (especially for Xamarin) was a long time ago. Also the net-sdk does not support as much as the android or ios sdk. When do you update the api version to the next level with new features? Especially the managemant of custom scopes for the access token and management of attributes of cognito user would be very fine...
Greetings

I love the special attention users get from the AWS team...

Here on 2020, looking to see if there is any support


PSN library not authenticating

Check for existing issue
Nothing found
Describe the bug
PSN integration shows as user not authenticated, even after refreshing the NPSSO token multiple times
To Reproduce
Sign into PSN website, go to https://ca.account.sony.com/api/v1/ssocookie and paste code into PlayNite, click "check authentication"
Screenshots

Diagnostics ID
playnite.log

I'm having the same issue, and I don't see anything useful in the logs even with trace on.

I'm having the same issue.

Fixed in https://github.com/XenorPLxx/playnite-library-psn/releases/tag/2.34


go/control/status: Add fields for quick overview of node status

TODO:

[ ] not sure if current runtime worker statuses make sense, maybe some should be added as well (e.g. runtime suspended)

D: https://github.com/oasisprotocol/oasis-sdk/blob/main/cli/cmd/inspect/node_status.go


Built-in end-to-end encryption

Hey,
I imagine public mesh network created from servers and desktops running weave, but I see one issue: encryption and man-in-the-middle attacks.
Currently weave only allows network-level encryption with one password, but in case of public network it is meaningless, because everyone knows the password.
One possible solution is for to implement asymmetric encryption capabilities into the weave daemon, so all data is encrypted with with per-host public keys propagated through the network.
Would it be possible for weave team to implement such "end-to-end" mode for weave? I see a great potential in this featue.
As a bonus it would allow for encrypted handshake as every host has its public/private key to use.

By the way, would you guys be interested in bootstrapping such public weave network (for now alpha)?
For example under https://public.weave.works/
I think it would show potential issues with scaling weave network to thousands of nodes.

Other than "show potential issues of scaling weave network to thousands of nodes", what would the purpose of such a public weave network be?

A base for P2P services that could run network with full end-to-end encryption by default.
There are many attempts to do so: https://github.com/redecentralize/alternative-internet
Weave is remarkably simple to setup, though. And it supports DNS by default.


Overwrite existing tag

Codecov Report

Merging #271 (f67d383) into main (1c47136) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #271   +/-   ##
=======================================
  Coverage   76.90%   76.90%
=======================================
  Files          48       48
  Lines        8462     8462
=======================================
  Hits         6508     6508
  Misses       1954     1954

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


AIDungeon 2

Project description
AI Dungeon 2 is a completely AI generated text adventure built with OpenAI's largest GPT-2 model. It's a first of it's kind game that allows you to enter and will react to any action you can imagine.
Metadata

homepage URL:
https://aidungeon.io
source URL:
https://github.com/AIDungeon/AIDungeon
license: mit, bsd, gpl2+ , ...
MIT
platforms: unix, linux, darwin, ...
linux

How is that different to playing in browser via https://play.aidungeon.io/ ?

@prusnak It's like asking why Nextcloud users wouldn't just use something like Google Drive. Some of us just like to self-host for any variety of reasons including:

Offline support
Parameter tuning
Offsetting the costs the developers are paying to host it
Being able to use CUDA-acceleration (which is big for neural nets)
Avoiding the frequent connection issues with that website
and more...

I do agree that the demand for this is probably pretty low though.

Archived by the original maintainers.


specific rebufferingGoal override manifest one #1547

EDIT: pull request updated to add manifest.dash.ignoreMinBufferTime
i'm not really satisfied of adding a defaultRebufferingGoal to config but at least changes in code are very light
see #1547

I signed it!

Thank you for contributing!  You should also add yourself to CONTRIBUTORS and AUTHORS files (alphabetically).

i added 2 tests for ignoreMinBufferTime

one to check that when ignoreMinBufferTime is true minBufferTime is 0
another to verify when it is false it should respect manifest ```minBufferTime````

dont know if the second one is necessary or if it is already tested somehow

Released in v2.5.0-beta2.