web socket not connecting

The below is repeated in the console.  Tracing the code and it appears that the web socket is not connecting and the watchdog is timing out as a result.  I have downloaded binance-java-sdk and used the web socket tests successfully, so the socket is accessible from my computer and is working properly.
I've gone through the docs and I'm likely missing something, just not sure what.  Your assistance is appreciated, thanks!
[main] INFO com.binance.client.impl.WebSocketConnection - [Sub] Connection [id: 0] created for Candlestick for LTCUSDT
[main] INFO com.binance.client.impl.WebSocketConnection - [Sub][0] Connecting...
[OkHttp https://fstream.binance.com/...] INFO com.binance.client.impl.WebSocketConnection - [Sub][0] Connected to server
[pool-2-thread-1] WARN com.binance.client.impl.WebSocketConnection - [Sub][0] No response from server
[pool-2-thread-1] WARN com.binance.client.impl.WebSocketConnection - [Sub][0] Reconnecting after 15 seconds later
[OkHttp https://fstream.binance.com/...] ERROR com.binance.client.impl.WebSocketConnection - [Sub][0] Unexpected error: Socket closed
com.binance.client.exception.BinanceApiException: Unexpected error: Socket closed
[pool-2-thread-1] INFO com.binance.client.impl.WebSocketConnection - [Sub][0] Connecting...
[pool-2-thread-1] INFO com.binance.client.impl.WebSocketConnection - [Sub][0] Connecting...
[OkHttp https://fstream.binance.com/...] INFO com.binance.client.impl.WebSocketConnection - [Sub][0] Connected to server
[OkHttp https://fstream.binance.com/...] INFO com.binance.client.impl.WebSocketConnection - [Sub][0] Connected to server
[pool-2-thread-1] WARN com.binance.client.impl.WebSocketConnection - [Sub][0] No response from server
[pool-2-thread-1] WARN com.binance.client.impl.WebSocketConnection - [Sub][0] Reconnecting after 15 seconds later
[OkHttp https://fstream.binance.com/...] ERROR com.binance.client.impl.WebSocketConnection - [Sub][0] Unexpected error: Socket closed

Hi,
I will appreciate it if you will add the following information:

Did it happen to you every time you ran the code? if not how many times did it happen?
Do you think you found a specific place in the code where the bug is at?

This error happened to me a couple of times in the past because of bugs in the binance-java-sdk or connection problems.
I will check if this could have been caused by the sdk and I will appreciate if you try to run the bot again and let me know if it worked or not.
Kind regards,
Yonathan

Yes, it happens every time I run the code.   I even cleared all my folders and rebuild the project with a fresh download.  I downloaded the zip, not a git clone, perhaps I will try that in case somehow there is something in the zip causing issues.
I traced the code all the way down to the okHttp connect but didn't see anything that looked out of place.  I didn't see anything that would allow me to output any handshakes or debug type details for the connection.
I just ran it again and did get the same result.  I may also try this on my laptop to see if it is local to my machine.  I am running the code in IntelliJ on Windows 10
If there is anything that you would like me to try please let me know.  I'll let you know if I am able to uncover anything.
thanks.


Openwebui Bridge Tutorial (windows)

can you please elaborate on what the issue is?
if you want to run the application on windows, currently the best way is to use docker-desktop + compose.yml
alternatively, set the environment variables in powershell, setup the virtual environment and run main.py.
The config difficulties on windows should be resolved after #5 is merged, as you can just use a json file like Claude desktop.

Oh and btw, thank you for developing this MCP bridge, very very important.

Thanks, I am glad that you like it.

Yeah, docker is not preferred by windows devs, wsl take 3gb+ of ram, pip is preferred.
Just need a step by step setting up MCP bridge, server and openwebui non docker way.

I am not aware of any way to run open web ui on windows without WSL, though there is nothing stopping you running MCP-Bridge on windows. I would suggest that you setup a python environment
python -m venv .venv
.vene/scripts/activate
pip install -r requirements.txt
python mcp_bridge/main.py

you will need to set the environment variables appropriately, or target the branch for pr #4 and use a json file.

If you need an inference server on windows, I would suggest ollama. They have a stable openai compatible tool use API and is easy to run without docker. (I tested this with vLLM only so far, but that would require docker desktop)

@bukit-kronik please review the readme for the manual installation. This should work for windows.

glad this worked


StreamUtils uses old naming standard of batchXXX rather than grouped

alias in grouped alternatives, deprecate and remove in 2.0

Fixed in https://github.com/aol/cyclops-react/pull/317


LICENSE file not included

Could you please add a LICENSE file or something similar so others aren't worried about including it in their projects?
Would love to use this style sheet in a code jam if that's ok.
Thank you!

Sure you can use win95.css in any of your projects.
I have added the MIT license


Porterise existing deployment code

We have identified a key workflow as "I already have { a Terraform script for AKS / a Helm chart for nginx ingress / a k8s manifest for Consul }, I just want to shove it into my bundle" -> "it produces this output, I want to grab that and pass it to the next step".  That is, we do not start from "I want to write a porter.yaml"  but from "I have some deployment code, I want to Porterise it."
This implies we should be able to point to existing deployment code and say "add this to my porter.yaml" and to point to outputs (somehow identified) in said code and say "make this visible to Porter."
cc @carolynvs to help make the vision more concrete

@carolynvs @itowlson I think there's a possibility that a mixin/vs code extension should be able to recognize porter.yaml and search for, find, parse, and pre-load creds/params?


use C++ namespace in C# project

[Enter feedback here]
Hello,
I want to add C++ dll reference into one C# project by managed way, then I find this document of wrapping native C++ class.
I have already generated C++ dll, and can add it to my C# project, but now the problem is that the namespace cannot be found which is defined in C++ dll. I've tried to change the target framework according to someone's experience, but it didn't work. Could you please give some suggestion or examples?
Thank you.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0400aa0c-0a2d-bce1-1be7-f89cdabf2ca7
Version Independent ID: f97da8f0-701a-c110-53e1-c86b302739f8
Content: How to: Wrap Native Class for Use by C#
Content Source: docs/dotnet/how-to-wrap-native-class-for-use-by-csharp.md
Product: visual-cpp
Technology: cpp-cli
GitHub Login: @TylerMSFT
Microsoft Alias: twhitney

Hi, this is better suited for the C++ Q&A


Github action: uploading to coveralls fails since 2 December for version 1.9.1 with repo_token from env

My github action seem to start failing at or around the time of the update of coveralls from 1.8.2 to 1.9.1.
Per the docs (which are a bit wonky here and there, see #206 ) we expose a COVERALLS_REPO_TOKEN being stored as a secret in the repositorty secrets (settings > secrets). The github action workflow can be found here
This is the output of the last working example:
ref: https://github.com/KE-works/pykechain/runs/329621318
Mon, 02 Dec 2019 17:17:03 GMT - Successfully installed coveralls-1.8.2 docopt-0.6.2
Mon, 02 Dec 2019 17:17:03 GMT - Submitting coverage to coveralls.io...
Mon, 02 Dec 2019 17:17:03 GMT - Coverage submitted!
Mon, 02 Dec 2019 17:17:05 GMT - Job ##74.1
Mon, 02 Dec 2019 17:17:05 GMT - https://coveralls.io/jobs/56368806

After the 2nd of december I get the following error across all branches.
Successfully installed coveralls-1.9.1 docopt-0.6.2
Tue, 03 Dec 2019 20:55:33 GMT - Submitting coverage to coveralls.io...
Tue, 03 Dec 2019 20:55:33 GMT - Could not submit coverage: 422 Client Error: Unprocessable Entity for url: https://coveralls.io/api/v1/jobs
Tue, 03 Dec 2019 20:55:34 GMT - Traceback (most recent call last):
Tue, 03 Dec 2019 20:55:34 GMT -   File "/opt/hostedtoolcache/Python/3.6.9/x64/lib/python3.6/site-packages/coveralls/api.py", line 185, in wear
Tue, 03 Dec 2019 20:55:34 GMT -     response.raise_for_status()
Tue, 03 Dec 2019 20:55:34 GMT -   File "/opt/hostedtoolcache/Python/3.6.9/x64/lib/python3.6/site-packages/requests/models.py", line 940, in raise_for_status
Tue, 03 Dec 2019 20:55:34 GMT -     raise HTTPError(http_error_msg, response=self)
Tue, 03 Dec 2019 20:55:34 GMT - requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://coveralls.io/api/v1/jobs
Tue, 03 Dec 2019 20:55:34 GMT -
Tue, 03 Dec 2019 20:55:34 GMT - During handling of the above exception, another exception occurred:
Tue, 03 Dec 2019 20:55:34 GMT -
Tue, 03 Dec 2019 20:55:34 GMT - Traceback (most recent call last):
Tue, 03 Dec 2019 20:55:34 GMT -   File "/opt/hostedtoolcache/Python/3.6.9/x64/lib/python3.6/site-packages/coveralls/cli.py", line 77, in main
Tue, 03 Dec 2019 20:55:34 GMT -     result = coverallz.wear()
Tue, 03 Dec 2019 20:55:34 GMT -   File "/opt/hostedtoolcache/Python/3.6.9/x64/lib/python3.6/site-packages/coveralls/api.py", line 188, in wear
Tue, 03 Dec 2019 20:55:34 GMT -     raise CoverallsException('Could not submit coverage: {}'.format(e))
Tue, 03 Dec 2019 20:55:34 GMT - coveralls.exception.CoverallsException: Could not submit coverage: 422 Client Error: Unprocessable Entity for url: https://coveralls.io/api/v1/jobs
Tue, 03 Dec 2019 20:55:34 GMT - ##[error]Process completed with exit code 1.

coveralls debug results in
Successfully installed coveralls-1.9.1 docopt-0.6.2
Missing .coveralls.yml file. Using only env variables.
Testing coveralls-python...
{"source_files": [ ... ]
... more stuff ...
"config_file": ".coveragerc", "repo_token": "[secure]", "service_name": "github"}

It seems that the token is picket up correctly from the environment, but for some reason not used in the transfer to coveralls?
I also tested if github did change something to their secrets API or that github failed to expose the environment variables in the the shell, but those test pass successfully.
One remedy is to pin coveralls on 1.8.2 and that fixes the problem. Was there something changed in the coveralls package regarding github. I believe so when I look at the CHANGELOG

#autoresolve
pinning on version 1.9.2 fixes the problem
see: https://github.com/KE-works/pykechain/runs/331896542
Tue, 03 Dec 2019 21:12:19 GMT - Installing collected packages: docopt, coveralls
Tue, 03 Dec 2019 21:12:19 GMT - Successfully installed coveralls-1.9.2 docopt-0.6.2
Tue, 03 Dec 2019 21:12:19 GMT - Submitting coverage to coveralls.io...
Tue, 03 Dec 2019 21:12:19 GMT - Coverage submitted!
Tue, 03 Dec 2019 21:12:21 GMT - Job ##76.1
Tue, 03 Dec 2019 21:12:21 GMT - https://coveralls.io/jobs/56429602

Glad to hear its resolved -- thanks again to @ArturKlauser on #209 for the fix.


Motsog exits unexpectedly

Hi,
I am using Motsog 19 compiled by Gunther Simon, I see Motsog crashes sometimes. My OS is Windows 10 64bits, my PC is a Ryzen 7 5700G, the GUI is Winboard 4.6.2
Here is a game:
[Event "Computer Chess Game"]
[Site "DESKTOP-PIO4BDF"]
[Date "2024.11.21"]
[Round "1"]
[White "Motsog 1.9 GS"]
[Black "Dual 0.2.1"]
[Result "0-1"]
[TimeControl "180+2"]
[Annotator "6. +8.88   6... +0.00"]

c4 c6 2. d4 d5 3. Nf3 Nf6 4. Nc3 a6 5. a4 e6 6. e3 {+8.88/7 0.9} Bd6
{+0.00/5 0.1} 7. c5 {+8.88/7 1.2} Bc7 {+0.00/5 0.1} 8. Bd3 {+10.80/7 2.4}
O-O {+0.00/5 0.1} 9. e4 {+10.22/7 1.2} dxe4 {+0.00/5 0.1} 10. Nxe4
{+8.56/8 2.1} Ba5+ {+0.00/5 0.2} 11. Bd2 {+14.24/7 0.7} Bxd2+ {+0.00/5 0.1}
Qxd2 {+11.28/8 1.3} Nxe4 {+0.00/5 0.1} 13. Bxe4 {+10.40/8 2.1} Nd7
{+0.00/5 0.1} 14. O-O {+15.40/7 2.6} Nf6 {+0.00/5 0.2} 15. Bd3
{+15.00/7 0.7} Bd7 {+0.00/5 0.1} 16. a5 {+15.00/7 1.8} h6 {+0.00/5 0.3} 17.
Ne5 {+13.04/6 1.3} Qc7 {+0.00/5 1.2} 18. Nc4 {+15.60/6 2.9} Rad8
{+0.00/5 0.7} 19. Rad1 {+18.08/6 1.0} Ne8 {+0.00/5 0.3} 20. Rfe1
{+19.96/6 0.8} Bc8 {+0.00/5 0.3} 21. Be4 {+22.04/6 0.8} Nf6 {+0.00/5 0.2}
Bf3 {+23.40/7 1.2} Nh7 {+0.00/5 0.3} 23. Nd6 {+23.56/6 0.7} Ng5
{+0.00/5 0.2} 24. Be2 {+25.88/8 4} Rxd6 {+0.00/5 0.1} 25. cxd6
{+33.51/8 1.4} Qxd6 {+0.00/5 0.1} 26. Qe3 {+36.49/7 2.2} Qd8 {+0.00/5 0.2}
Qe5 {+34.22/7 1.5} f6 {+0.00/5 0.1} 28. Qc5 {+32.42/8 3} f5
{+0.00/5 0.2} 29. Bc4 {+32.42/6 0.7} Ne4 {+0.00/5 0.4} 30. Qe5
{+38.81/7 2.6} Re8 {+0.00/5 0.2} 31. Bd3 {+37.39/7 1.6} Nf6 {+0.00/5 0.2}
h3 {+35.63/6 0.6} Bd7 {+0.00/5 0.3} 33. Bc4 {+37.26/7 2.0} Kh8
{+0.00/5 0.3} 34. Re3 {+37.36/6 0.8} Ne4 {+0.00/5 0.5} 35. Bd3
{+38.13/7 2.0} Nf6 {+0.00/5 0.1} 36. Bc4 {+37.36/6 0.7} Ne4 {+0.00/5 0.5}
Bd3 {+37.49/7 2.0} Nf6 {+0.00/5 0.1} 38. Rg3 {+36.06/6 0.8} Kh7
{+0.00/5 0.3} 39. Bc4 {+36.92/7 2.5} Bc8 {+0.00/5 0.4} 40. Bb3
{+35.49/6 1.0} g6 {+0.00/5 0.2} 41. Bc2 {+31.58/6 0.6} Nd5 {+0.00/5 0.2}
Ra3 {+32.41/7 3} Nb4 {+0.00/5 0.5} 43. Bb1 {+32.41/7 1.4} Nd5
{+0.00/5 0.3} 44. Ba2 {+30.24/6 0.8} Rf8 {+0.00/5 0.4} 45. Bb3
{+31.20/6 0.8} Qg5 {+0.00/5 0.4} 46. Bxd5 {+34.32/7 0.8} exd5 {+0.00/5 0.2}
Qc7+ {+40.29/7 1.6} Kg8 {+0.00/5 0.1} 48. Rg3 {+33.96/7 2.4} Qh5
{+0.00/5 0.2} 49. Re1 {+35.75/8 3} f4 {+0.00/5 0.1} 50. Rf3 {+37.68/8 4}
Qf5 {+0.00/5 0.1} 51. Qd6 {+39.90/7 0.9} Kg7 {+0.00/5 0.2} 52. Re7+
{+43.26/6 0.7} Rf7 {+0.00/5 0.1} 53. Rxf7+ {+63.99/8 1.0} Qxf7
{+0.00/5 0.1} 54. Qe5+ {+57.27/8 1.2} Kh7 {+0.00/6 0.1} 55. Rxf4
{+59.46/8 1.0} Qg7 {+0.00/6 0.1} 56. Rf6 {+59.46/8 1.6} Bd7 {+0.00/6 0.1}
Qd6 {+65.62/8 1.8} Bf5 {+0.00/6 0.2} 58. Qf8 {+75.42/8 2.0} Qxf8
{+0.00/6 0.1} 59. Rxf8 {+78.63/10 1.3} Kg7 {+0.00/6 0.1} 60. Rb8
{+81.36/10 3} Bd3 {+0.00/6 0.2} 61. f3 {+79.62/10 3} Kf7 {+0.00/6 0.1}
{Error: first chess program (polyglot -noini -ec "motsog_native.exe" -ed "C:\WinBoard-4.6.2\Engines\Motsog_19GS") exited unexpectedly} 0-1

I am attaching the debug file.
debugMotsog.txt
Also some games were Motsog also crashed:
https://www.mediafire.com/file/si70ej5czyrpdq8/bad.pgn/file
Regards,
Carlos

Hi Carlos,
could you please test my compile under the same conditions and see if it crashes too?
Thanx,
Alex

Hi,
There is a bug in how motsog handles some usage of the UCI protocol. As an example it crashes when used with cute chess.
I haven't found out what caused this bug yet.

Hi Carlos, could you please test my compile under the same conditions and see if it crashes too?
Thanx, Alex

Hi Alex,
I just tested your binary. It crashes from time to time, it had a good result in the mini tournament I ran with the new engines.
https://www.mediafire.com/file/46hg0fquqym94ow/Test_Ed50.pgn/file
Carlos

Hi, There is a bug in how motsog handles some usage of the UCI protocol. As an example it crashes when used with cute chess. This is most likely what causes the crashes, however, I haven't found out what caused this bug yet.

I hope you can fix it soon. I'll include it in the new edition of my tournament, anyway.

https://www.mediafire.com/file/46hg0fquqym94ow/Test_Ed50.pgn/file

Hint for the author: all crashes happened between moves 57-58.
Alex


jsx option when using tsconfig.json

Thanks for this project, made the switch to TypeScript a breeze...
I might be missing something obvious here, but using v2.8.0 I can't get the jsx option to work when specified via tsconfig.json, or via a manual override:
{
   "compilerOptions": {
      "target": "es5",
      "module": "system",
      "declaration": false,
      "noImplicitAny": false,
      "removeComments": true,
      "noLib": false,
      "jsx": "react"
   }
}

And:
var tsProject = ts.createProject('app/tsconfig.json', {jsx: "react"});

...

gulp.task('ts', function() {
   return gulp.src('app/**/*.{ts,tsx}')
   .pipe(print(function(filepath) {
      return "transpiled: " + filepath;
   }))
   .pipe(ts(tsProject))
   .js.pipe(gulp.dest(filepath.js.dest));
});

I always get errors of the sort:
... XYZ  must have extension '.ts' or '.d.ts'.

A quick debug of tsProject shows:
...
  config:
   { compilerOptions:
      { target: 'es5',
        module: 'system',
        declaration: false,
        noImplicitAny: false,
        removeComments: true,
        noLib: false } },
  options:
   { declaration: false,
     noImplicitAny: false,
     removeComments: true,
     noLib: false,
     target: 1,
     module: 4,
     jsx: undefined,
     sourceMap: true }
...

Running a manual compilation using tsc works just fine:
tsc --jsx react --module system --rootDir app --outDir dist app/**/*.{ts,tsx}

Any ideas?

Indeed I can't get this working at all with v2.8.0
$ tsc --version
message TS6029: Version 1.6.0-dev.20150803

Which suggests I'm missing something basic... any pointers much appreciated.

Sorry, hit Cmd-Enter too quickly on the last post. I meant to say that I can't get this working even with explicit configuration (i.e. not using tsconfig.json)

Sorry for the noise; I didn't get to this part of the README
All sorted now.


[BUG] Video API: accessing non-existing frames creates ghost frames

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 20.04.4 LTS
FiftyOne installed from (pip or source): pip
FiftyOne version (run fiftyone --version): 0.16.6
Python version: 3.8.10

Describe the problem
I have a video dataset like this:
Name:        sfu-hw-objects-v1
Media type:  video
Num samples: 1
Persistent:  True
Tags:        []
Sample fields:
    id:         fiftyone.core.fields.ObjectIdField
    filepath:   fiftyone.core.fields.StringField
    tags:       fiftyone.core.fields.ListField(fiftyone.core.fields.StringField)
    metadata:   fiftyone.core.fields.EmbeddedDocumentField(fiftyone.core.metadata.VideoMetadata)
    media_type: fiftyone.core.fields.StringField
    class_tag:  fiftyone.core.fields.StringField
    name_tag:   fiftyone.core.fields.StringField
Frame fields:
    id:           fiftyone.core.fields.ObjectIdField
    frame_number: fiftyone.core.fields.FrameNumberField
    detections:   fiftyone.core.fields.EmbeddedDocumentField(fiftyone.core.labels.Detections)

Frame numbering starts from 10:
dataset.distinct("frames.frame_number")
[10,
 11,
 12,
 13,
 14,
 15,
 16,
 ...
509
]

To my surprise, I can access frame number 1 (although I shouldn't be able to do this):
sample.frames[1]
<FrameView: {'id': None, 'frame_number': 1, 'detections': None}>

Now if I do
for num in sample.frames:
    print(num)

I get:
1
10
11
12
13
...

So simply accessing sample.frames[1], instead of rising an IndexError or the like, creates a "ghost" frame object into the Frames list (!)
However, if I try again
dataset.distinct("frames.frame_number")

The number 1 doesn't show up (presumably because the id of the "ghost" Frame object is  None).
Code to reproduce issue
Create any video dataset with a Sample having Frames object where the frame_number members of Frames start from, say, 10.  Along these lines:
f=fo.Frame()
sample.frames.add_frame(frame=f, frame_number=[start indices from 10])

To recap:
I don't think if this is a bug or feature.  I think it is a bug.  Creating non-existent Frame objects into Dataset.Sample.Frames when using the [] operator on Dataset.Sample.Frames is very sneaky and can lead to all kinds of unexpected problems.
Willingness to contribute
The FiftyOne Community encourages bug fix contributions. Would you or another
member of your organization be willing to contribute a fix for this bug to the
FiftyOne codebase?

[ ] Yes. I can contribute a fix for this bug independently.
[ ] Yes. I would be willing to contribute a fix for this bug with guidance
from the FiftyOne community.
[X ] No. I cannot contribute a bug fix at this time.

intended behavior


Feature/cu 1dfz5c1 level1 merge and bugs

Modified materials for Melee Enemies and added chromatic aberration on hit

Task linked: CU-1dfz5c1 Level1 Merges and bug solving


SignedTransactions should be created on demand to prevent TRANSACTION_EXPIRED errors

Problem
If someone submits a transaction and the nodes continuously return BUSY then eventually the transaction will fail with TRANSACTION_EXPIRED instead of recreating the transaction ID.
Solution
Create SignedTransaction as needed instead of all at once.
Alternatives
No response

Generate TransactionIds on demand only for each chunk in a chunked transaction.
Generate a new TransactionId only in response to a TRANSACTION_EXPIRED response.  (Add API for disabling this feature.)

Fixed and released v2.8.0-beta.1


Pre configure jenkins with jobs / credentials / SCM Sync configuration plugin

Hello,
Would it be possible to pre configure jenkins with a set of jobs ? Credentials?
Maybe even with some pre configured plugins, like the repo url for the SCM Sync configuration plugin..
Please advise,
Roy

@roydekleijn Take a peek @ this work I did yesterday:
https://github.com/isuftin/docker-WUDS-WaDE/tree/master/jenkins

You can ask in the Jenkins mailing lists. Populating credentials is a bad idea


KubernetesCatalogWatch is triggered when spring.cloud.kubernetes.discovery.enabled is false

Bug exists in Kubernetes Java Client implementation. When spring.cloud.kubernetes.discovery.enabled is set to false KubernetesCatalogWatch should not be created. All of the parameters of bean KubernetesCatalogWatch  don't exist when  spring.cloud.kubernetes.discovery.enabled=false,
Possible solution is to add @ConditionalOnKubernetesDiscoveryEnabled to https://github.com/spring-cloud/spring-cloud-kubernetes/blob/v3.1.0/spring-cloud-kubernetes-client-discovery/src/main/java/org/springframework/cloud/kubernetes/client/discovery/catalog/KubernetesCatalogWatchAutoConfiguration.java#L46 similar to KubernetesInformerDiscoveryClientAutoConfiguration

I took a closer look and I think that you might be right. In the meanwhile, I found some other minor things we should do before I look at this one again. Let me open proper PRs and see what Ryan thinks about them and then I'll get back to this one.

Yes, sure. We've started exploring possiblilites to switch from eureka discovery to kubernetes discovery and we are still using one or another depending on the environment, Right now as a workaround we are injecting ${spring.cloud.kubernetes.discovery.enabled} to spring.cloud.kubernetes.discovery.catalog-services-watch.enabled
Thanks for your contribution to this project :)

seems fine with me to align these. wdyt?

agree


Added ability to add form Data , and added some tests for Value and Fake

Hi,
1.This pull request is adding some basic tests for the fake and value .
2.And adds the ability to send form data and files

Resolves #23


Transcriptions with repeated sentences

Sometimes, my transcriptions return with repeated sentences that are not in the original audio file or nonsense like three dots where there should be speech. Any idea what may be the problem?
I'm using the large-v2 model, fp16, beam 5, with the VAD filter on, temperature 0.

I had the same experience with even unlikely hallucinations (Dutch language, same settings).

This is a recurring issue in both whisper and faster_whisper issues. I recommend you read whisper #679 entirely so you can understand what causes the repetitions and get some ideas from it.
I also recommend you try changing the tokens that are suppressed in the transcribe options, the default value is -1, which refers to the config.json file that contains the tokens that will be suppressed, which are mostly symbols that are described in the tokenizer.py file. When you suppress those and the model chooses to output something when it is silent, it tends to get stuck in a failure loop outputting complete gibberish.
You can also set condition_on_previous_text = False, as mentioned in the documentation, this makes the model less prone to get stuck in a failure loop.
Lastly, you can do some postprocessing with the dictionaries generated for the transcription and suppress the repetitions that might still happen. You can save the dicitonaries in a list and iterate over them with this:
segments_list = []
        for segment in segments:
            segments_list.append(segment._asdict())

@guilhermehge thanks for the sharing , this repeating issue is really a annoyingissue
from my understanding , the following way can be used to solve this problem

set condition_on_previous_text to False
set suppress_tokens to [], which is empty list

is there any other options you can suggest from code perspective?
I am trying to find an optimal way to handle this , so I want to try all possible options

@iorilu No worries! Just sharing what I discovered reading a few topics and exploring it myself
Of course, you activate the VAD filter that this model has.
What you can do from here, to my knowledge, is to postprocess the transcription.
You can try something like this:
First you save the dictionaries of the transcriptions in a list
segments_list = []
for segment in segments:
    segments_list.append(segment._asdict())

Then you can access that list and do something like:
text = ''
for i, dict_item in enumerate(segments_list):
    if dict_item['text'][i] == dict_item['text'][i-1] # this is for repetitions that happen in sequential lines
        continue

    text += *mount the transcription the way you want it*

This is not a perfect approach, because the person can say the same thing twice and you'd eliminate it, but, it is good for when the repetitions happen.
Another approach for the repetitions that happen in the same segment, or row, you can try counting each word in that segment, if, for example, one word repeats more than, let's say, 5 or 6 times, you also "continue" that line and eliminate it from the transcription, also a not perfect approach, but, when it is a repetition, it will remove it from the transcription.
Since the last update there are a few parameters to avoid repetitions. I'm not using them yet because I didn't have the time to test them, but they might be of help.

@guilhermehge Thanks a lot for the quick help , I will try your suggestion , that is helpful
one other issue I want to check regarding paramters with vad
I just post a issue, #477
As I am not quite sure what are the best vad options to use , I found faster-whisper use very different parameters from silero-vad, do you have any experience regarding this one.

Hey @guilhermehge! Thanks for your reply, it was super helpful. I tried setting condition_on_previous_text to False, and it was enough to prevent hallucination on the audio clip I was testing.
Do you know if there are any disadvantages to leaving it False? I read it can make the transcription less consistent, but I imagine that's not necessarily a bad thing since it can avoid the repetition of transcription mistakes.

Could you try https://github.com/Purfview/whisper-standalone-win on audio where you've issue with "stuck in a failure loop"?

Hey @guilhermehge! Thanks for your reply, it was super helpful. I tried setting condition_on_previous_text to False, and it was enough to prevent hallucination on the audio clip I was testing.
Do you know if there are any disadvantages to leaving it False? I read it can make the transcription less consistent, but I imagine that's not necessarily a bad thing since it can avoid the repetition of transcription mistakes.

I also tried set condition_on_previous_text  to False, it seems the performce of transcription is worse

@iorilu that I do not know, and I see that guillaumekln answered your topic. Silero-VAD helps lower the number of repetitions the way it is by default, since it eliminates what mostly causes the repetitions, that is, long chunks of silence, but they still happen in some files. In some cases, even when setting condition_on_previous_text = False, the repetitions might still happen, so, that's why you should try all those solutions I prevented together, suppress_tokens = [], condition_on_previous_text = False and some postprocessing.
@bfavero glad I could be of help. This parameter basically feeds a prompt made from the last few seconds (I don't remember how many) of the previous chunk to the next chunk to be transcribed (see encoder-decoder models in HF course for more details. When you set the parameter off, that prompt will not be fed to the decoder, making the transcriptions less consistent, but, as you said, that is not necessarily a bad thing, since the model is less prone to repetitions and, also, the whisper model is really good even with condition_on_previous_text = False.


Enable CONFIG_USB_HIDDEV  in config-wsl

Is your feature request related to a problem? Please describe.
USBIPD allows usb passhtrough however the WSL2 Linux config doesn't expose all driver hence many devices utilizing the USB hid subsystem simply fail.
Typically with this error message
[16046.225922] hid-generic 0003:16C0:0478.0001: device has no listeners, quitting

Describe the solution you'd like
Change config-wsl to expose these drivers
CONFIG_HIDRAW=y
CONFIG_USB_HIDDEV=y

I also need this

Can be closed along with #8302 @kelsey-steele

Thank you for ping, @sirredbeard. Closing. :)
CONFIG_HIDRAW and CONFIG_USB_HIDDEV are now enabled in the latest WSL2 kernel release linux-msft-wsl-<IP_ADDRESS>
Please keep in mind the kernel is released to the WSL2-linux-kernel repo first and will be included in an upcoming WSL release.


"Python is not installed!" error.

I have Python 3.11.3. It's added to path. I have antivirus off. I have zero clue why this is happening.

Can you run the command python --version in cmd

Can you type where python in cmd

Hey can you try to run these commands one by one
where python > NUL 2>&1
echo %errorlevel%
python --version > NUL 2>&1
echo %errorlevel%

Also I have updated the code, check if that works for you?

And at last if none of this works
Do this

Open CMD in the builder's folder (the folder containing the file gui.py)
Type pip install customtkinter pillow
Type python gui.py

Tell me which one worked for you

I didn't do any of your steps, but your new changes to the python checker have worked for me. Thanks, man.


fix(cli): user may be created without password

influx should allow to create users within organization without password. This is requested eg. for users migrated from 1.x. As of now, when --password is not specified, influx creates the user but returns error code as it tries to set password. This PR fixes that.

[x] Well-formatted commit messages
[x] Tests pass
[x] Signed CLA (if not already signed)

@alespour this code looks fine, however, I need to verify this is valid behavior.
@timhallinflux @russorat can you confirm it is valid in 2.0 that a user may be created without a password?

a user should always have a password in 2.0, even though i think the apis allow for one to be created without.

This is a result of my upgrade process misunderstanding.


Image in ScatterSpot

Instead of dots showing in ScatterSpot . is there any way to show circle image or custom widget in that.

Unfortunately, you can do neither at the moment.


[Bug]: shopify app dev creates package-lock.json when using pnpm

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
App
Expected behavior
Do not create package-lock.json
Actual behavior
It creates package-lock.json
Reproduction steps
Run package.json script that uses shopify app dev command with pnpm, e.g. pnpm dev
Operating System
Debian GNU/Linux 11 (bullseye) WSL2
Shopify CLI version (check your project's package.json if you're not sure)
3.44.1
Shell
zsh
Node version (run node -v if you're not sure)
v19.8.1

hi @tobiasdalhof, I followed this steps and could not reproduce

pnpm create @shopify/app --template=node
cd newly-created-app
pnpm dev

these are the contents of my app:
$ ls -l
total 152
-rw-r--r--   1 arkham staff    206 Mar 24 12:21 Dockerfile
-rw-r--r--   1 arkham staff  10597 Mar 24 12:21 README.md
-rw-r--r--   1 arkham staff   4163 Mar 24 12:21 SECURITY.md
drwxr-xr-x 373 arkham staff  11936 Mar 24 12:22 node_modules
-rw-r--r--   1 arkham staff    424 Mar 24 12:21 package.json
-rw-r--r--   1 arkham staff 118953 Mar 24 12:22 pnpm-lock.yaml
-rw-r--r--   1 arkham staff     83 Mar 24 12:21 shopify.app.toml
drwxr-xr-x  12 arkham staff    384 Mar 24 12:22 web

I see, I'm afraid this is caused by the pnpm workspace creating a single pnpm-lock.yaml at the top level of the monorepo. The CLI checks for presence of pnpm-lock.yaml or yarn.lock to decide which package manager to use, but it does this only inside the app folder. We definitely want to improve our support for monorepos, so thanks for reporting this, it will help us to prioritize adding support for them.

Hi @Arkham. Do you have any recommendations on developing Shopify application with extensions in a pnpm monorepo? For example, having one shopify-X-app in the apps folder or splitting each backend/frontend/extension in different apps/shopixy-X-app-backend folders? Or would it be better to have only one package.json file inside shopify-X-app and all backend/front/extension reuse that?


Pandas 0.23.0 Versioning

There was an issue with pandas 0.23.0 version and it involved some type of date to time function, was this ever resolved? I would like to remove the pinned version in our conda yaml file. Thanks.

I think this warning comes from importing ulmo and will need to be fixed there. Should be an easy fix.

I faintly remember it being some where in the filters I thought? Thanks.

I think it is a filter that is calling ulmo. On the first import of ulmo you get a depreciation warning for pandas that is probably changed to a full exception on 0.23.0

You are correct Dharhas, here is the error:
/Users/rditlaav/miniconda3/envs/pyviz/lib/python3.6/site-packages/ulmo/twc/kbdi/core.py:20: FutureWarning: pandas.tslib is deprecated and will be removed in a future version.
You can access Timestamp as pandas.Timestamp
  CSV_SWITCHOVER = pandas.tslib.Timestamp('2016-10-01')

So, what are your thoughts on getting this fixed.

Its probably just replacing pandas.tslib.Timestamp('2016-10-01') with pandas.Timestamp('2016-10-01').
If you do a pull request on ulmo, I can accept it.

Alright @dharhas I added a PR to Ulmo for the Pandas issue, and now we can unpin the 0.22.0 version for Quest. Thanks

So we can't actually close this until the PR is accepted in ulmo and a new version of ulmo is released. Then we would probably pin quest to the latest ulmo...

Ya I must've accidentally hit the close and comment rather than just the comment. My apologies.


fix: various coverage fixes

Now accounts for inheritance and abstract contracts, however it seems there are still some issues with internal functions and libraries. For internal functions, no instructions can be found, which is pretty weird considering Godbolt does display a range of bytecode that matches internal functions when I test on there. For libraries, my suspicion is that it is related to unlinked bytecode
Opening up a draft to get a sanity check on the way I find matching instructions, perhaps it is wrong in some cases and that is why internal functions don't work
This also relaxes the coverage analysis part a bit, so instead of panicking when we can't find anchors, items will now just show up as uncovered, and RUST_LOG=warn will show more info. I think this is ok; we fail irrecoverably and we don't end up showing things as covered if they aren't. This is possible because finding anchors and coverage items is two separate stages now
Still want to fix these before merge, but we can also merge before that if it makes more sense:

[x] Functions that only return something seem to not be covered for some reason
[x] Internal functions are not covered

I will also do a bit of clean up before merge (some stuff should be in other modules, some stuff is missing docs)

Interestingly enough internal functions and return-only functions are covered sometimes. Not entirely sure what makes or breaks it right now. See e.g. my example in #2194

Great to see this! Just tried it.
My repo has a contracts directory, but when I try forge coverage -c contracts or forge coverage -c contracts/, it still includes our tests directory. Is my command wrong or is that an issue with forge?

@gigamesh The -c option just specifies where the contract sources are, it does not affect where the tests are

Should be good to review, the only unsupported contract now should be libraries that have internal functions - currently figuring out what the best way is to detect those without having to walk the entire AST. Will start work on fuzz testing support

Should we consider merging anyway and maybe filter out libraries from the output, until we get coverage for them?

We could

@onbjerg LGTM as well. The latest ethers has the helpers requested, if you want to use them


docs: improve Rust language guide

Motivation for this change
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

This stems from a discussion here
I removed an entire section because I feel like that duplicated
Mozilla's original instructions on how to consume the overlay.
The goal here is to simply the "getting started with Rust" in a nix or
NixOS environment.
I will try to do some follow up work to update the code snippets and
output. nightly is on 1.57.0-nightly :)

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/nixpkgs-fmt-on-embedded-snippets-in-markdown/15900/1

Thanks again for the PR!


netcoreapp3.1 support?

Should we create another packaging target for netcoreapp3.1 support?

Given that 3.1 is LTS that might be a good idea. I think it's unfortunate that netcore3.0 came out and wasn't LTS.

Having netcore3.1 would be awesome!

How difficult would this be to implement? What steps would need to be taken?

I've got it going in https://github.com/SaturnFramework/Saturn/pull/220

Released in 0.12.0


Leading of first line in footnotes sometimes stretched

For some reason the first line (and first line only, not the first footnote insert) sometimes shows up with a much larger leader than its cousins. Note the extra leading where marked:

One is manifesting after the first line in a wrapped comment, the others ore in the inter-insert space. I haven't been able to find what triggers this, but when extra space is added it seems to be always after the first line. Note about 50% of pages are fine, but this is pretty frequent. This is possibly related to #212 but distinct in that it's never squished and always the first line.
My current footnote code (used in the example above) is in this comment.

Can you see if this still happens with the latest insertion package? If so, I may need a MWE, unfortunately - I can't reproduce it.

I'm out of town right now but I'll re-run this as soon as I get a chance and report back where it's at.

I'm getting nothing but an error when typesetting any of my books that have footnotes. Others without seem to work fine.
Error detected:
/usr/local/share/sile/core/utilities.lua:111: attempt to get length of a nil value (local 't2')

So it's not actually failing on all footnotes, it's actually throwing in the towel on the very ones that, in the previous version I was using, would have ended up overlapping the body text.

So with the patch above, this is still not fixed. The first line of footnotes is still not consistently spaced with. But it seems like it's not just the first line any more, sometimes the last one in affected.

As per slack, I think the issue is that leading in footnotes is applied according to the usual TeX rules, i.e. lines with descenders will have different spacing to lines without. Even if the body text has fill-font spacing, we reset the settings when we box up footnote content.
Setting inter-insertion-skip to zero shows the problem:

And that's even with
\define[command=footnote:atstart]{\set[parameter=linespacing.method,value=fit-font]\set[parameter=linespacing.fit-font.extra-space,value=20pt]X}

But of course that won't work because letting is only applied between lines.
TLDR: Leading should be added between footnotes, and isn't being.

I'm getting confused. Leading is a distraction. The inter-insertion-skip is the leading between footnotes. The actual problem is that box depth is not being used in insertoin height calcuations.

This looks sooooo much better. I owe you one @simoncozens.


Convert app lookup to DRF (bug 1161865)

@diox I'm thinking making this PR about the DRF conversion, then a follow up PR will add website lookup in a similar fashion. If you agree please review.

Works great for me locally. r+wc.

Updated to address comments and merged:
https://github.com/mozilla/zamboni/commit/1ed1e3b3bbfdea0dcff600cfd814ef2583b85ad2


Update Crossfeed DNS entries to enable certificate verification

🗣 Description
Need to remove the existing connection to the staging-cd and api.staging-cd certs, so that we can create new ones.

[x] Apply terraform without the CNAME route53 records
[x] Remove the Certificates in the Crossfeed AWS account
[x] Create new certificates in the Crossfeed AWS account
[ ] Re-add CNAME route53 records and run terraform

💭 Motivation and context
Crossfeed needs to create new certificates because the existing one's have expired. ACM isn't allowing us to create new certificates without removing the old expired ones.
The problem is the expired Crossfeed certificates cannot be removed because they are still connected to the load balancers in this AWS configuration.
So we can run the terraform to disconnect them, then create the new certs, and then re-add the CNAMEs.
🧪 Testing
Terrafrom plan and apply

✅ Pre-approval checklist

[x] This PR has an informative and human-readable title.
[x] Changes are limited to a single goal - eschew scope creep!
[x] All relevant type-of-change labels have been added.
[x] I have read the CONTRIBUTING document.
[x] These code changes follow cisagov code standards.
[ ] All relevant repo and/or project documentation has been updated
to reflect the changes in this PR.
[x] All new and existing tests pass.

✅ Pre-merge checklist

[ ] Re-run terraform-docs if anything relevant changes.

@aloftus23 I applied your changes and those two CNAME records have been removed.  When youo update this PR with the new certificate validation info, I will re-apply.

Adding blocked tag until @aloftus23 updates this PR with the new certificate validation info.

OK, I reapplied the Terraform. If everything is working from your end, please let us know and I can simply close out this PR.

@dav3r Didn't work for some reason. Do you mind running again and seeing if there's any errors this time?

OK, I reapplied the Terraform. If everything is working from your end, please let us know and I can simply close out this PR.

@dav3r Didn't work for some reason. Do you mind running again and seeing if there's any errors this time?

@aloftus23 There are no changes to re-apply in the Terraform.  Are you sure that the new certificates have the same validation info?  I was expecting that to change here:
https://github.com/cisagov/cool-dns-cyber.dhs.gov/blob/cd20047d480ccbf302e014a90418ed697b572b44/route53_crossfeed_app.tf#L269
and here:
https://github.com/cisagov/cool-dns-cyber.dhs.gov/blob/cd20047d480ccbf302e014a90418ed697b572b44/route53_crossfeed_app.tf#L373

This is PR is no longer needed and being addressed in #104 and #103


feat: Add support for custom signing algorithms

Some use cases need signing algorithms that aren't available in the library. This change makes the library more flexible by letting users add their own algorithms for signing and verification.
This PR adds support for custom signing algorithms beyond the ones currently implemented in the library. The changes are split into three commits:

Library modifications to support custom algorithms.
New tests for coverage of new code.
Documentation updates for implementing custom algorithms.

The changes modify the existing algorithms Record to support customization, adding some functions to add the signing algorithm. No new dependencies are required
If needed, we have created a working example using EIP-712 (Typed structured data hashing and signing) here:
https://github.com/AntonioAlarcon32/did-jwt-eth-typed-data-signature. Using EIP-712 allows signing of JWTs using wallets like Metamask without any DID document modification, which more coveniently couples DID management with Ethereum accounts.

Thank you for the contribution!
There are some open discussions about customizing the verifiers. See #234 #170
Adding signers is no longer necessary as you can specify the signer when creating the JWT.
For adding verifiers, we shouldn't modify the internal mapping globally. Either provide custom verifiers as parameters to verifyJWS / JWT, or adopt a builder pattern to construct a verifier that supports extra algorithms.

Thank you for the prompt reply. I'm working with @AntonioAlarcon32 in the same project.
You point us to the actual support of external signers. However, they are not an option since they can be only used for the algorithms that are already hardcoded internally, and we need to use different ones, such as EIP-712.
On your Jul 5 2022 comment to issue #170 you considered removing the internally hardcoded mapping of algorithms to signers and verifiers. This would be in our option a good approach. One way to address it would be to create a standard interface/class JWTSigner supporting one or more algorithms that are able to sign with, and something similar with verifiers. In order to keep backwards compatibility (no breaking changes), we think we could support both the actual Signer signature and the new JWTSigner.
Would you consider such an approach for merging? If it is case, we could start developing it promptly.
Thank you in advance for your time!


[#155625342] Cleanup final RDS snapshots

What
We added a cron job process to the RDS broker to clean up old RDS snapshots. We only delete manual snapshots which have a matching Broker Name AWS tag.
We define a separate job for it so it can run as a separate process.
The cron process will only run on the first instance.
Related PRs:

https://github.com/alphagov/paas-rds-broker-boshrelease/pull/53
https://github.com/alphagov/paas-rds-broker/pull/73

❗ This PR contains a temporary commit which needs to replaced when the final rds-broker BOSH release was built.
How to review

If you want to see the cron job working you need to add a temporary commit to change the rds-broker-cron config to run every minute and delete some RDS snapshots. Alternatively you can change this manually on the VM when testing.

--- a/manifests/cf-manifest/manifest/050-rds-broker.yml
+++ b/manifests/cf-manifest/manifest/050-rds-broker.yml
@@ -65,8 +65,8 @@ instance_groups:
             aws_secret_access_key: ""
             aws_region: "eu-west-1"
             broker_name: "((terraform_outputs_environment))"
-            cron_schedule: "0 0 * * *"
-            keep_snapshots_for_days: 35
+            cron_schedule: "0 * * * *"
+            keep_snapshots_for_days: 3

Deploy your CF from this branch:
BRANCH=cleanup_final_snapshots_155625342 make dev pipelines

SSH onto the rds_broker VMs and check if the cron process runs only on one VM (paas-rds-broker -cron [...])

Check the logs under /var/vcap/data/sys/log/rds-broker-cron/. If you have some old snapshots in the dev account (there are for: farms, andrew, dcarley, henry) you can see the cron job deleting them.

{"timestamp":"1521650640.783340454","source":"rds-broker","message":"rds-broker.db-instance.delete-snapshot","log_level":1,"data":{"session":"1","snapshot_id":"rdsbroker-d507e153-c703-4532-aaf3-03d7bb6a115e-final-snapshot"}}

Who can review
Not me.

I've updated the temporary commit.


don't show tips when omnibar has focus

Task/Issue URL: https://app.asana.com/0/461563361318156/1116986626461595
Tech Design URL:
CC:
Description:
Prevents tips being shown if the omni bar has focus, reducing the confusion about where the tip is pointing.
Steps to test this PR:

Clean install
As soon as the home screen shows give the omnibar focus (you have < 0.5 seconds) - the tip should not show
Trigger the home screen again (e.g. open and close bookmarks)
Tip will show
Check for both home screen tips
Repeat for the browsing tips

Internal references:
Software Engineering Expectations
Technical Design Template

Thanks!


JSVerify is looking for a new maintainer.

It's quite clear that I don't have enough time to even do the very basic maintenance tasks. Nor I write JavaScript/TypeScript anymore. So, I'm looking for a new maintainer(s).
Unfortunately I don't have anyone in mind to ask directly. IIRC @StoneCypher have been active answering in many issues. Maybe @jvanbruegge know someone interested?

The job is to make and keep jsverify the property testing library in JavaScript (with TypeScript typings)
There aren't any formal requirements, but I don't want to give this library to just anyone either. Based on npmjs package stats, someone is using it!
I can send you few HaskHEL stickers as a gratitude

You may publicly ask questions in this issue, or you could send them (and "applications") to<EMAIL_ADDRESS>
Q: What about dependencies?
A: jsverify indeed depends on a few libraries I also authored. I will transfer them to this organisation. Their maintenance is a part of a deal.

Hi @phadej,
I personally wrote another framework for property based testing in JavaScript called fast-check.
As the API is close, maybe the alternative could be to suggest people ways to move from one framework to the other.
Contrary to jsverify, DSL is not part of the framework but it comes with other useful features such as:

ability to shrink sum
no need for a reverse operation in smap to have shrinking capabilities
easier debugging: verbose mode, replay of the minimal counterexample
command based capabilities - this point and sum not shrinking were the initial reason why I wrote fast-check (initially as a POC)

Regards ;)

I have been active, and I would be happy to pitch in some, but it's worth noting that a few people like @lastmjs and @glebec have made more contributions than I have

i am actually kind of taking this seriously though
my opinion is that jsverify is the conceptually strongest built of the property testers, but also, that its documentation state is some of the most difficult
it also has most of its examples written in a different programming language that has little overlap with the target userbase
i feel that jsverify would benefit greatly from two things: a significantly changed documentation culture, and the deployment of a large set of generators, intended to take on something of a similar worldview to faker, but with reduction and composition
this would mean giving a lot of examples of The Right Way To Do It ™ , in documentation
would this seem of interest to you, @phadej ?

I've moved on to https://github.com/dubzzz/fast-check, perhaps the projects could be merged or effort given to one or the other instead of maintaining two, unless there are some fundamental tradeoffs that can't be reconciled

@StoneCypher I've made 0 code contributions to JSVerify though I recently was pretty active in browsing through issues, PRs, and the source code – part of writing this article series. I definitely have some opinions here and there as to small specific improvements or fixes, but that's a very different level of commitment from being a maintainer (though I'm flattered my name was brought up).
I also have taken a short glance at @dubzzz's library fast-check and like it a lot so far. Haven't done a deep dive so I wouldn't want to make any premature conclusions. However I can imagine a future in which jsverify is kept in maintenance mode, focusing on bug fixes / typings / refinements, and users are encouraged to check out fast-check for a more actively updated library with a different approach and ongoing feature development.
I am not at all saying that I know enough about either project to declare that that should be how these projects are handled, just floating one option for consideration by those who know this landscape better.

However I can imagine a future in which jsverify is kept in maintenance mode, focusing on bug fixes / typings / refinements

You don’t need to imagine it, that the present state already :) (except, i’m not so good on even merging fixes / typings / etc)

On 18 Apr 2019, at 7.55, Gabriel Lebec<EMAIL_ADDRESS>wrote:
However I can imagine a future in which jsverify is kept in maintenance mode, focusing on bug fixes / typings / refinements

it also has most of its examples written in a different programming language that has little overlap with the target userbase

What you mean by that? Isn’t examples written in JavaScript, or do you mean that most users use TypeScript? Hmm. It’s JS-Verify. If I’d now make TS-Verify, it would look different. JSVerify embraces dynamism of JS.

On 18 Apr 2019, at 7.48, John Haugeland<EMAIL_ADDRESS>wrote:
i am actually kind of taking this seriously though
my opinion is that jsverify is the conceptually strongest built of the property testers, but also, that its documentation state is some of the most difficult
it also has most of its examples written in a different programming language that has little overlap with the target userbase
i feel that jsverify would benefit greatly from two things: a significantly changed documentation culture, and the deployment of a large set of generators, intended to take on something of a similar worldview to faker, but with reduction and composition
this would mean giving a lot of examples of The Right Way To Do It ™ , in documentation
would this seem of interest to you, @phadej ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

No, what I meant was, you write a lot of your documentations and examples in pseudo-haskell, which most JS people don't actually understand

Are you talking about the DSL? Yes, personally I've never really used or wanted to use the DSL, seems to just get in the way and make things more confusing

@lastmjs I believe that the DSL is part of what @StoneCypher means, but more generally, it's the fact that the documentation is largely based on:

documentation via types, which many JS-only devs are neither fluent at parsing visually nor familiar with conceptually (e.g. union types, tagged vs. untagged, etc.)
a custom type syntax that is neither Ramda-like, Flow, TS, etc.
the use of functional / mathematical concepts like "identity functor" and "monad", functional data structures like tuple and either, and non-JS language (void) for JS values (undefined)
very minimal introduction to arbitraries, generators, and shrinks (familiar to QuickCheck/Haskell programmers, but novel to JS devs)

In short, the documentation is usable for someone with both JS and Haskell experience, but very non-idiomatic / difficult to understand for a JS-only dev. It's not written from the perspective of making the concepts accessible to a non-functional userbase.
The ideal documentation would be both a typed API documentation (which this has, though it can be polished up a bit) but also a fairly thorough guide via examples and use cases, written assuming little to no FP mastery.

ya, i mean, i speak js and quickcheck, but i actually do not speak haskell meaningfully (i learned quickcheck in erlang)
the haskell notation has always been my largest barrier

Ya, sure, add me as a maintainer, @phadej
I'll see what I can do

@phadej @StoneCypher @lastmjs @glebec As I don't exactly know what is the current status for this issue, here is a proposal: I built a tool to ease the migration from jsverify to fast-check - see https://github.com/dubzzz/jsverify-to-fast-check.
This is only a proposal, if the final choice is to keep jsverify maintained there is no need to talk about it anywhere in the documentation. If the final choice is not to take the time to maintain jsverify, maybe we could add a note linking to this project.

I'm still up to help maintain, like Oleg originally asked

Reading the documentation of fast-check, it is quite clear that this is (has become?) a TypeScript centric library. I deduce this from the fact that most of the documentation is written in TypeScript.
There are still many people who have no interest in using TypeScript, and for whom reading the TypeScript based documentation is awkward at best.
I think there is still a place for a JavaScript centric property based testing library, and would love to see JSVerify revitalised with new documentation that uses examples that assumes no prior knowledge of Haskell or TypeScript.
How can we get this going again?


Add "Why power Beacons as an API provider" section to the beacon docs

Not a hackathon thing, but it would be nice to have a section that explains why an API provider would want to operate a Beacon (and the answer is it's the most straightforward way to monetize your data if it's applicable)

This is now JIRA issue BEC-325.


Add example DAG for task group

This PR adds an example for the task group.
Depend on PR: https://github.com/astronomer/dag-factory/pull/292

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

Project coverage is 93.22%. Comparing base (7626fa6) to head (f1ee37c).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #293   +/-   ##
=======================================
  Coverage   93.22%   93.22%
=======================================
  Files           8        8
  Lines         664      664
=======================================
  Hits          619      619
  Misses         45       45

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

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


update 20.17.1

Changelog:

update version, checksum

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_400yk1pfr4/clone/recipe/meta.yaml:64: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_400yk1pfr4/clone/recipe/meta.yaml:64: missing_doc_source_url: The recipe is missing a doc_source_url
Warnings were found

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_62hl025c4v/clone/recipe/meta.yaml:65: missing_license_url: The recipe is missing a license_url
Warnings were found

Linter check found the following problems:
The following problems have been found:
WARNING: /tmp/abs_bd0ycdzzp4/clone/recipe/meta.yaml:64: missing_license_url: The recipe is missing a license_url
WARNING: /tmp/abs_bd0ycdzzp4/clone/recipe/meta.yaml:64: missing_doc_source_url: The recipe is missing a doc_source_url
Warnings were found


Publish library to Maven central

blockscore-java would be much easier to integrate into a project if it were available on the central repos with everything else.

We've just released a new version of the Java wrapper: https://github.com/BlockScore/blockscore-java/releases/tag/v4.0.0. It is available on Maven Central (see the README). This version is for Blockscore API version 4.0 (http://docs.blockscore.com/v4.0/java).


Treat any database with AMR mesh as time-varying metadata

avtFileFormat::HasInvariantSIL() and avtFileFormat::HasInvariantMetaData() are the functions VisIt calls down into a plugin to ask if the current database is timevarying in SIL or MD.
A potential hedge against #4845 (which I think comes up for a lot of users) would be to have these methods return true whenever there is a mesh of type AVT_AMR_MESH in the database.
A minor problem with the interface is that the question is asked of the whole plugin instance, not a specific mesh in the database the instance is associated with. In most cases, we have only a single mesh though.

A minor problem with the interface is that the question is asked of the whole plugin instance, not a specific mesh in the database the instance is associated with. In most cases, we have only a single mesh though.

It sounds like we do want to treat the entire plugin as having time-varying metadata if at least one of its meshes is AMR then (well, maybe not want to, but this is the path of least resistance). Is that right?


Default filelist command with rg includes misc git files

The default command for file list (fzf_preview_filelist_command) is determined by this I believe:
if !exists('g:fzf_preview_filelist_command')
  if executable('rg')
    let g:fzf_preview_filelist_command = 'rg --files --hidden --follow --no-messages -g \!"* *"'
  else
    let g:fzf_preview_filelist_command = 'git ls-files --exclude-standard'
  endif
endif

The git ls-files will properly exclude git internal files while the rg one will not. See:

Although we can modify the default command, I believe most users will not want to see git internal files.
To avoid this, I am currently using something like:
let g:fzf_preview_filelist_command = 'rg --files --hidden --follow --no-messages --glob "!.git/*"'

It is not included in ripgrep because it can be set to ignore in the .ignore file.
Many users may want to ignore the .git directory by default, so consider changing it.
-g \!"* *" is required in relation to fzf's delimiter

I've recently been ignoring the .git directory with the following configuration, but I'm going to add it to my default configuration.
$ export RIPGREP_CONFIG_PATH=$HOME/.config/ripgrep/rc
$ cat ~/.config/ripgrep/rc
--glob=!.git/*
--colors=match:fg:magenta
--colors=match:style:nobold
--colors=path:fg:green
--colors=path:style:bold
--colors=line:fg:cyan
--colors=line:style:bold

Thank you very much.
bbcc871799c4760f11fe12749841a82bccaee7cb


adding lto-offload calls

Adding lto-offload calls to provide functionality for gcc:devel/lto-offload

I think I'm a lttle confused by the UI.  It seems GH showed me the whole set of patches, even when I just clicked on one of them?  Anyway, the goal I want to achieve is a single commit to trunk.  Does that mean you have to collapse your patch sequence in some way?  I'm not sure how I can tell what's going to be committed without that happening (why would I need to maintain a patch stack in my head?)


Dashrews/ROX-15841 network flows cursors

Description
Transitioning flows to use cursors for get matching flows since it goes through each flow and only keeps ones that match the given predicate.
Checklist

[ ] Investigated and inspected CI test results
[ ] Unit test and regression tests added
~- [ ] Evaluated and added CHANGELOG entry if required~
~- [ ] Determined and documented upgrade steps~
~- [ ] Documented user facing changes (create PR based on [openshift/openshift-docs]~(https://github.com/openshift/openshift-docs) and merge into rhacs-docs)

If any of these don't apply, please comment below.
Testing Performed
TODO(replace-me)
Use this space to explain how you tested your PR, or, if you didn't test it, why
you did not do so. Valid reasons include, for example, "CI is sufficient",
"No testable changes". Feel free to attach JSON snippets, curl commands,
screenshots.
In addition to reviewing your code, reviewers must also review your testing
instructions and make sure they are sufficient.

/test gke-postgres-scale-tests

Improvement will most likely not be via cursor.  We can utilize SQL for filtering out the data instead of walking the functions.


If useLoaderData has nested structure, then TS infer is wrong

What version of Remix are you using?
1.19.3
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce
Go here
and hover over pointed places.
Result in runtime is obviously string, but if useLoaderData has nested structure, then parsing Date -> string isnt working
Expected Behavior
In all places current should have string type
Actual Behavior
When structure is nested, TS wrong infers types and returns object instead of primitive.

current does have string in all places.  When you hover over nested the type you're seeing is not saying nested.current is a Date, it's saying that nested is of type:
SerializeObject<UndefinedToOptional<{ current: Date }>>

And the SerializeObject type is what does the conversion from Date -> String, so nested.current is always type string.
See this updated playground.

Why such behavior is correct?

This is how TypeScript works.  The type of nested is a serialized version of an object with a Date field.  The serialization turns that date field a string.
Here's a similar example using TS primitives: https://www.typescriptlang.org/play?ts=5.1.6#code/C4TwDgpgBAKgFgSwHYHMoF4oCUIEcCuCAThACYA8A3gFBRQkHFkBcUAzsEcigDS1QB7MMAQCkAQwA2AflYcuqagF8AfNWoB6DbDjRQkKLpLs4AgO5sowXVCQQOZQQCMAVhADGwKOMsJLZhGsrGwADIRExKRCoTW0AMwQISVIoJwhuQWFRCUkeVPwva2gcRhIKFStwaClgCCJLa3EvNnx3OBitYKaoEOtuADpw7KioP1sBKEkxFDrvJEyInKgEpNJqSQhCxFRWeG4AblpOgD1pdU69hrgic0txebqbolSPcXw2PRshyMllxOTDD4XhB5gBbcSkaCxeh4QhlVIgYLFWFMcqVSDUPqoDBQGh0BhwlhQADkbAEoM22xQxOU1CAA


Test failure: AppOfflineDroppedWhileSiteStarting_SiteShutsDown_InProcess

This issue was made automatically. If there is a problem contact ryanbrandenburg.
This test failed with the following error:
Assert.Equal() Failure
Expected: 0
Actual:   -1073740767

Other tests within that build may have failed with a similar message, but they are not listed here. Check the link above for more info.
This test failed on release/2.2.
CC Eilon

This comment was made automatically. If there is a problem contact ryanbrandenburg.
Please use this workflow to address this flaky test issue, including checking applicable checkboxes and filling in the applicable "TODO" entries:

Is this actually a flaky test?

No, this is a regular test failure, fix the test/product (TODO: Link to commit/PR)
Yes, proceed below...

Is this test failure caused by product code flakiness? (Either this product, or another product this test depends on.)

[ ] File a bug against the product (TODO: Link to other bug)
Is it possible to change the test to avoid the flakiness?

Yes? Go to the "Change the test!" section.
No?

[ ] Disable the test (TODO: Link to PR/commit)
[ ] Wait for other bug to be resolved
[ ] Wait for us to get build that has the fix
[ ] Re-enable our test (TODO: Link to PR/commit)
[ ] Close this bug

Is it that the test itself is flaky? This includes external transient problems (e.g. remote server problems, file system race condition, etc.)

Is there is a way to change our test to avoid this flakiness?

Yes? Change the test!

[ ] Change the test to avoid the flakiness, for example by using a different test strategy, or by adding retries w/ timeouts (TODO: Link to PR/commit)
[ ] Run the test 100 times locally as a sanity check.
[ ] Close this bug

No?

Is there any logging or extra information that we could add to make this more diagnosable when it happens again?

Yes?

[ ] Add the logging (TODO: Link to PR/commit)

No?

[ ] Delete the test because flaky tests are not useful (TODO: Link to PR/commit)

This comment was made automatically. If there is a problem contact ryanbrandenburg.
There were 1 failures with about the same error on release/2.2 at 10:25:52 PM:

AppOfflineDroppedWhileSiteStarting_SiteShutsDown_InProcess

This comment was made automatically. If there is a problem contact ryanbrandenburg.
There were 1 failures with about the same error on master at 8:45:00 PM:

ServerShutsDownWhenMainExitsStress

This comment was made automatically. If there is a problem contact ryanbrandenburg.
There were 1 failures with about the same error on namc/sign-ancm at 4:49:13 PM:

AppOfflineDroppedWhileSiteStarting_SiteShutsDown_InProcess


chore(main): release 0.3.0

:robot: I have created a release beep boop
0.3.0 (2024-06-28)
Features

added better error handling (9188b96)
added better error handling (127dcbf)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.3.0
:sunflower:


setuptools finds 'Flask WTF' to be the best match for a requires on 'flask'

I have a project and it depends on, among other things, Flask and Flask-WTF. However, python setup.py install doesn't work. I'm not sure if this is a setuptools issue or Flask-WTF issue, but I thought I'd bring it up here first. Here's a reproducing setup.py:
#!/usr/bin/env python

"""
Setup script
"""

from setuptools import setup, find_packages

setup(
    name='Test',
    description='This is a test.',
    version='0.1.0',
    author='Jeremy',
    license='GPLv2+',
    packages=find_packages(),
    install_requires=['flask', 'flask-WTF'],
)

Then just try to install it:
python setup.py install
running install
running bdist_egg
running egg_info
creating Test.egg-info
writing dependency_links to Test.egg-info/dependency_links.txt
writing requirements to Test.egg-info/requires.txt
writing top-level names to Test.egg-info/top_level.txt
writing Test.egg-info/PKG-INFO
writing manifest file 'Test.egg-info/SOURCES.txt'
reading manifest file 'Test.egg-info/SOURCES.txt'
writing manifest file 'Test.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
warning: install_lib: 'build/lib' does not exist -- no Python modules to install

creating build
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying Test.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying Test.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying Test.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying Test.egg-info/requires.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying Test.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/Test-0.1.0-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing Test-0.1.0-py3.5.egg
Copying Test-0.1.0-py3.5.egg to /home/jcline/.virtualenvs/test4/lib/python3.5/site-packages
Adding Test 0.1.0 to easy-install.pth file

Installed /home/jcline/.virtualenvs/test4/lib/python3.5/site-packages/Test-0.1.0-py3.5.egg
Processing dependencies for Test==0.1.0
Searching for flask-WTF
Reading https://pypi.python.org/simple/flask-WTF/
Downloading https://pypi.python.org/packages/ba/15/00a9693180f214225a2c0b1bb9077f3b0b21f2e86522cbba22e8ad6e570c/Flask-WTF-0.14.2.tar.gz#md5=586f50f233926cade42e3d744aca3e8f
Best match: Flask-WTF 0.14.2
Processing Flask-WTF-0.14.2.tar.gz
Writing /tmp/easy_install-gel4w07x/Flask-WTF-0.14.2/setup.cfg
Running Flask-WTF-0.14.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-gel4w07x/Flask-WTF-0.14.2/egg-dist-tmp-0d48lmv_
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files found matching 'docs/_themes/.git*'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
creating /home/jcline/.virtualenvs/test4/lib/python3.5/site-packages/Flask_WTF-0.14.2-py3.5.egg
Extracting Flask_WTF-0.14.2-py3.5.egg to /home/jcline/.virtualenvs/test4/lib/python3.5/site-packages
Adding Flask-WTF 0.14.2 to easy-install.pth file

Installed /home/jcline/.virtualenvs/test4/lib/python3.5/site-packages/Flask_WTF-0.14.2-py3.5.egg
Searching for flask
Downloading https://pypi.python.org/packages/ba/15/00a9693180f214225a2c0b1bb9077f3b0b21f2e86522cbba22e8ad6e570c/Flask-WTF-0.14.2.tar.gz#md5=586f50f233926cade42e3d744aca3e8f
Best match: Flask WTF-0.14.2
Processing Flask-WTF-0.14.2.tar.gz
Writing /tmp/easy_install-73yqdlk5/Flask-WTF-0.14.2/setup.cfg
Running Flask-WTF-0.14.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-73yqdlk5/Flask-WTF-0.14.2/egg-dist-tmp-lzch3t_m
warning: no previously-included files matching '*.pyc' found under directory 'tests'
warning: no previously-included files matching '*.pyo' found under directory 'tests'
no previously-included directories found matching 'docs/_build'
warning: no previously-included files found matching 'docs/_themes/.git*'
warning: no previously-included files matching '*.pyc' found under directory 'docs'
warning: no previously-included files matching '*.pyo' found under directory 'docs'
removing '/home/jcline/.virtualenvs/test4/lib/python3.5/site-packages/Flask_WTF-0.14.2-py3.5.egg' (and everything under it)
creating /home/jcline/.virtualenvs/test4/lib/python3.5/site-packages/Flask_WTF-0.14.2-py3.5.egg
Extracting Flask_WTF-0.14.2-py3.5.egg to /home/jcline/.virtualenvs/test4/lib/python3.5/site-packages
Flask-WTF 0.14.2 is already the active version in easy-install.pth

Installed /home/jcline/.virtualenvs/test4/lib/python3.5/site-packages/Flask_WTF-0.14.2-py3.5.egg
error: The 'flask' distribution was not found and is required by flask-WTF, Test

Duplicate of #196


Cannot change class of UIButton to CheckboxButton in Interface Builder 9.3

The documentation states that you can change a UIButton to CheckboxButton in Interface Builder, but as of 9.3 this does not seem to be possible.
UIControl is a superclass of UIButton, but Interface Builder does not let you substitute a class that is not a subclass of the object you have placed.  Changing CheckboxButton to subclass UIButton resolves this issue.
Otherwise, you must place a UIView in the storyboard scene and change its class to CheckboxButton

You are right, to use in Interface Builder, the view component in the storyboard needs to be UIView, not a UIButton. Thanks for reporting the inaccuracy of the docs, I'll update it


fix filter null string

JSON转换时，过滤空数据

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

请签署CLA，同时是否可以帮忙补上testcase覆盖

已签署CLA。另外，有空的时候会持续补全测试用例

请签署 CLA，同时是否可以帮忙补上测试用例覆盖率

已签署。另外，有空的时候会持续补全测试用例


AHSD Not able to find streamDeck

Win 10 system
StreamDeck XL
Line 12: GetDeck ([0-10])
Source: AutoHotStreamDeck
Description "Could not find device [0,1,2,3,4,5,6,7,8,9,10]" ==Tested 0-10
HelpFile: (null)
HelpContext: 0

Hi,
The XL came out since the last release of AHSD, and as such, is not currently supported.
AHSD uses OpenMacroBoard and the StreamDeckSharp SDK, which appear to have been updated to support the XL.
As such, I think it is pretty much just a case of updating the libraries and rebuilding
Do you have Discord? If so, ping me in my channel, and I will build a new copy and we can see if it works

Fixed in v0.3.0


Document a non Ansible way to deploy on OpenShift

The current way to deploy on OpenShift is listed here - https://github.com/openshift/online-archivist#deploy-to-an-openshift-cluster
This README does not cover which resources will be created, and what access levels are required for archivist to run.
Also, what gets deployed using Ansible should be covered, for when I do not desire to deploy using Ansible but just via an OpenShift template, on let's say minishift, to try it out. The template is available at ansible/roles/oso_archivist/files/archivist-template.yaml, and should be documented.

/kind documentation


[Bug] [Chrome 81+] Usage of RTCPeerConnection close causes the party to break when a player leaves.

Summary:
Chrome 81 changed the behaviour of RTCPeerConnection close to not fire a signalingstatechange event when close is called directly. https://bugs.chromium.org/p/chromium/issues/detail?id=699036
Ponytone currently relies on this behaviour to remove a player  when they leave the game.
https://github.com/Katharine/ponytone/blob/0702367/assets/js/lib/party/p2p.ts#L130-L141
https://github.com/Katharine/ponytone/blob/0702367/assets/js/lib/party/comms.ts#L133-L136
Affected Browsers:

Chrome 81 onwards.

Expected Behaviour
When a player leaves the party they should be removed and the remaining players should be able to continue with their game.
Current Behaviour
Due to the change in behaviour in Chrome when a player leaves the party their RTCPeerConnection is not removed from the rtcConnections hashTable used by the other players. This causes exceptions when messages are broadcasted and breaks the party as no additional communication can be done between the players. To fix this the players must setup a new party and join it instead.
Example Exception.
Uncaught DOMException: Failed to execute 'send' on 'RTCDataChannel': RTCDataChannel.readyState is not 'open'
    at e.PeerConnection.send (https://ponytone.online/static/party-d25a40a65fe468cece0b.js:1:40635)
    at e.NetworkSession.broadcast (https://ponytone.online/static/party-d25a40a65fe468cece0b.js:1:32830)
    at e.Party.setReady (https://ponytone.online/static/party-d25a40a65fe468cece0b.js:1:31792)
    at e.GameController._handleReady (https://ponytone.online/static/party-d25a40a65fe468cece0b.js:1:27739)
    at e.Ready.<anonymous> (https://ponytone.online/static/party-d25a40a65fe468cece0b.js:1:25472)
    at e.Ready.n.emit (https://ponytone.online/static/party-d25a40a65fe468cece0b.js:1:1364)
    at e.Ready._handleReady (https://ponytone.online/static/party-d25a40a65fe468cece0b.js:1:89654)
    at HTMLButtonElement.button.onclick (https://ponytone.online/static/party-d25a40a65fe468cece0b.js:1:88492)

Possible Solution
Either;

Call 'this.emit("close")' when closing PeerConnection to re-introduce the previous behaviour. https://github.com/Katharine/ponytone/blob/0702367/assets/js/lib/party/p2p.ts#L44
Check if the PeerConnection's signalingState is 'closed' before use and trigger it to be removed from rtcConnections.

I'm not familiar with WebRTC so I don't know which of the above is better or if there is another more appropriate solution.

I took another look at this as I wanted to understand the full scope of the problem before submitting a PR and I wanted to understand WebRTC a bit better.
When ponytone creates the RTCPeerConnection it configures it to handle "failed", "closed" and "disconnected" iceconnectionstatechange events. I didn't understand why the "disconnected" event wasn't being handled as it should also have prevented this problem.
It looks like when a player closes their web-browser or navigates away from the page the member_left WebSocket message is handled first and this logic closes the RTCPeerConnection before the "disconnected" event occurs. If it isn't closed the "disconnected" event fires shortly afterwards. This is useful to know as there could be cases where the "disconnected" event can occur but "members_left" doesn't (Eg. Players losing the connection between themselves but not the connection to the Ponytone server).


[WIP] Add radolan method

This PR does the following:

[x] add functions for individual steps of the RADOLAN-method required to produce RADOLAN-RW, DWD's hourly gauge-adjusted product, working with gauge and CML data
[ ] add full test coverage of new functions
[ ] add example notebook for radar-CML-adjustment with OpenMRG dataset
[ ] add example notebook to show individual functionalities of RADOLAN functions

Current status:

ruff linting is now okay
idw.py not added, this is why pylint complains

next steps:

need to add and clean up idw.py
do first notebook with current code and example data
move over tests and run with old DWD example data locally on my machine
adjust tests to use OpenMRG example data

😬 problem with build on readthedocs due to  Failed to fetch wheel: llvmlite==0.36.0 for Python 3.12...

This test
  np.testing.assert_array_equal(
        df_stations.sort_values("radar_at_gauge").station_id.to_numpy()[-5:],
        np.array(["O980", "O811", "M500", "F598", "O708"], dtype=object),
    )

fails on Windows because the ordering is slightly different...
 ACTUAL: array(['O980', 'O811', 'M500', 'O708', 'F598'], dtype=object)
 DESIRED: array(['O980', 'O811', 'M500', 'F598', 'O708'], dtype=object)

Just one screenshot to remind me later of what I did in the last commit

row1: Weight off additive and multiplicative and sum (on the right, has to be one)
row2: adjustment fields for diff and fact, RW-RH in the right)
row3: RH-add_adjusted, RH-fact_adjusted, RW-RH (contour plot shows where additive adjust won, isoline 0.2 0.5 0.8)

For documentation: In these two plots the regions I have chosen are visible (red box). I added a dummy station in France to check that interpolated station values are filled in regions without radar coverage.

I will merge this now (given that the tests that I already added are green) so that we have it as a basis for today's discussion and work.
There remain some TODOs so:

Add all test that I have from old code to get 100% coverage, this also requires testing rh_to_rw with CML data
Add function that wraps current rh_to_rw so that we can directly feed it with the all data in xr.Dataset. There is already one radolan.io function that does the required transformation from Dataset to DataFrame for gauge and CML data.
Add notebook that shows some details of the RADOLAN method (selection of audit stations, weighting of add_diff and mult_fact fields)


no minimum KEEP stake or operator is not authorized to use it;

I excuted  install.sh and initialize.sh successfully. But when I use  start.sh to start keep-ecdsa client ,it displays:
no minimum KEEP stake or operator is not authorized to use it; please make sure the operator address in the configuration is correct and it has KEEP tokens delegated and the operator contract has been authorized to operate on the stake%

Hey @eyebrown, sounds like you haven't staked tokens or authorized the ECDSA contracts?
There are folks around to help on Discord if you want live support https://chat.keep.network


the first two links are not functioning correctly

Hello, thank you for creating such useful GitHub actions.
the last comment on https://github.com/abcdefghijklmn2/pokitoki/pull/15,
it seems that the first two links are not functioning correctly: (move to pr page)

Could you advise on how to fix this? Thank you.
Below is my GitHub action.yml code.
# .github/workflows/chromatic.yml

name: "Chromatic-on-pr"

permissions:
  contents: read
  pull-requests: write

on:
  pull_request:
    types: [opened, reopened, synchronize]

jobs:
  chromatic:
    runs-on: ubuntu-latest
    outputs:
      status: ${{ job.status }}
    steps:
      - name: Checkout code
        uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - name: Use Node.js
        uses: actions/setup-node@v2
        with:
          node-version: 18.18.1

      - name: Install pnpm
        run: npm install -g pnpm

      - name: Cache pnpm modules
        uses: actions/cache@v2
        with:
          path: ~/.pnpm-store
          key: ${{ runner.os }}-pnpm-${{ hashFiles('**/pnpm-lock.yaml') }}
          restore-keys: |
            ${{ runner.os }}-pnpm-

      - name: Install dependencies
        run: pnpm install

      - name: build repositories
        run: pnpm build --filter=\!web --filter=\!docs

      - name: Run Chromatic
        uses: chromaui/action@latest
        with:
          # ⚠ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret
          projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
          workingDir: apps/docs

      - name: Storybook Link
        uses<EMAIL_ADDRESS>        with:
          app-id: ${{ secrets.CHROMATIC_APP_ID }}
          github-token: ${{ secrets.GITHUB_TOKEN }}

In the latest version you should pass these variables from chromatic especially if you're running this directly after chromatic
review-url: ${{ steps.chromatic.outputs.url }}
          build-url: ${{ steps.chromatic.outputs.buildUrl }}
          storybook-url: ${{ steps.chromatic.outputs.storybookUrl }}

The issue was due to not reading the readme properly. It has been resolved now.
Thank you!


Enhancement/251 remove bower components

Updates zatana file names
Updates dev url
Updates documentation
all to service ❗ 🌮
@chriskacerguis @Fryguy @himdel

Uh-oh.. I'm almost sure there'll be bugs related to changing the URL.. IIRC some of our css references paths with ../ which may or may not have to become ../../.
Has anybody tested this in production?

Also.. this needs links to PRs in manageiq-appliance, manageiq-appliance-build and manageiq to fix all the code that depends on the wrong public/ location or the wrong URL.

@himdel looping in @Fryguy as that might have been included in his efforts as they relate to this, if not then yes! if so then no 🤘


Add initial support for national clouds authentication and snippet execution

Initial support for USGov and USGovDoD national clouds.

#6


Feature suggestion: Add 'scale' property to Elements?

Hi again, would it be possible to add a scale property on elements as a feature? This way, it would be possible, for example, to reuse the same cube-shaped mesh by elements with various box shapes. I think this feature would be important for when saving a .bim from a model representation that relies on scaling as part of geometry instancing, because otherwise such an application would then need to bake the scale into each instance, then save each instance to .bim as a separate mesh.

Hello :)
There is a reason why there is only rotation + position described here, however what I can tell is the lack of it also seems weird in some scenarios. E.g. if platform has rotation, position and scale described already, than there is some unnatural coding required to make .bim file, cause first you have to scale the meshes, and later save rotation and position. So for these cases having scale property for elements would definitely help.
I'm leaving it here to consider it for 1.3.0 version :)
Also it will be good to consider what to do with "ugly" negative scaling scenarios then :)


Update networks.json

Remove LUM PoorButHappy Node , it seem crashed the scripts didn't run rest of it.

Remove LUM PoorButHappy Node , it seem crashed the scripts didn't run rest of it.

I'll merge but let me know if you need a hand with anything


Add erase_args parameter to add_logging_args()

Implemented this suggestion.

@irinakhismatullina Tests failure

On it

@vmarkovtsev Ready. Please check the test code, i'm not shure that 'pass' means everything is 100% correct.

Now is awesome 👍

But test-failing 😭

@vmarkovtsev Finally


Vendor dependencies

Just testing how CI works with this. I tend to prefer vendoring, as it
means that if you have a copy of the code you can always build it.
Even if you're 20 years in the future
This is the output of
cargo vendor --versioned-dirs

+3 million, no biggie

Just give it a skim, doesn't need a thorough review ;)
In seriousness I have mixed feelings on this, might leave it open while I have a think 🤔

"if you have a copy of the code you can always build it" — that is great but @ellie going from 37 MB → 296 MB & 78 files → 14,884 files seems like a bad idea... 😬

Yuuuuup I'm less keen on that :(
It's much less than that to download + obviously it's 300ish once unpacked, but... I guess I'll avoid this for now :/

Maybe a vendor repo that automatically syncs with latest versions yada yada submodule yada yada


Add updateCMSFields extension point to WorkflowInstance getCMSFields

I need to add a couple of extra fields to the edit form of WorkflowInstance, but I noticed that there was no extension point within WorkflowInstance::getCMSFields().
Could one please be added?

What an odd oversight!


Aligned pack target table

Related: https://github.com/dotnet/project-system/issues/7246
I simply took the content of this table and aligned the columns. No content was changed. This doesn't affect how the table is rendered in any way. It simply makes it easier for editing/updating.
Before:

After:

@JonDouglas Sounds good. Closing PR.


What are aliases?

I find myself pretty confused by aliases and uncertain where to get clarification on their purpose.
An alias, in US English, means "a name someone is otherwise called or also known as, an additional name that a person sometimes uses." In people terms, an alias is not the legal or official name of the person--basically, it's not their canonical name within the social system.
So when I started experimenting, I approached it from that perspective:
{
  "props": {
    "cloudBurstBlue": {
      "value": "#20315A"
    }
  },
  "aliases": {
    "blue": "cloudBurstBlue"
  }
}

My intention was to set up a canonical name for a color, e.g. cloudBurstBlue, within the design system. Then, I wished to create aliases for that color, alternative names by which that color might called at other times within implementations, e.g. blue.
The output I got was this:
:root {
  --cloud-burst-blue: #20315A;
}

No alias in the output, which was disconcerting. Can't use the alternative name if it's not present, after all. In trying to figure out what I did wrong, I began to get the impression that values, if I wish to reuse them under other names, have to be set up in the aliases--exactly the opposite way from my intuition and with a special syntax:
{
  "props": {
    "blue": {
      "value": "{!cloudBurstBlue}"
    }
  },
  "aliases": {
    "cloudBurstBlue": {
      "value": "#20315A"
    }
  }
}

Then the output I got was this:
:root {
  --blue: #20315A;
}

I only get one name in my result again. So I infer the alias feature is a preprocessor-style feature; it gets compiled away by Theo. (Which I also found somewhat unexpected for no particular reason.)
Is my new understanding of "aliases" as a compile-time-only feature that allows an "alias" to be used to reference its own value an accurate one?

Thanks for the feedback. After reading your comments, I agree that aliases is probably a misleading name.

So I infer the alias feature is a preprocessor-style feature; it gets compiled away by Theo.

You are exactly right. "aliases" are variables that can be referenced inside of "props" and other "aliases" using the {!} syntax and are then replaced during the compilation process. "variables" would probably be a more appropriate name. Sorry for the confusion.
If you have time, a PR to the README would be greatly appreciated.

Thanks as well! Later I recognized a couple places in the README that should have given me hints (I ended up looking at some issues and PRs, hah), but it could be clearer. I'll see if I can make a PR soon.


feat(dgeni): render API source block

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/graycoreio/daffodil/blob/develop/CONTRIBUTING.md#commit
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[x] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Fixes: #3306
What is the new behavior?
One of the major outstanding issues with this is that the dgeni TS package doesn't correctly infer types of everything that TS can. For example, injection tokens and providers that are destructured from the factory function are untyped. Functions that do not have explicit return annotations have untyped return types even when TS correctly infers the return type.
Some of the consts that are function do have some of their type correctly inferred though.
Does this PR introduce a breaking change?
[ ] Yes
[x] No

Other information

@xelaint @damienwebdev this is ready to preview and give feedback

Is it possible to make the individual properties within the source block linkable to the properties section? When a user is on a page with a long source block section (i.e. docs/api/cart/state/DaffCartFacade), the individual properties take a while to scroll to.

Is it possible to make the individual properties within the source block linkable to the properties section? When a user is on a page with a long source block section (i.e. /docs/api/cart/state/DaffCartFacade), the individual properties take a while to scroll to.

yes this is my eventual goal. I'm not sure if it should be in this PR though since it will require changes to how the properties are laid out

Do we need to render the API blocks for design?

Do we need to render the API blocks for design?

I like them but I'll leave the final decision up to you and @damienwebdev. I have them here mostly as an example of what the source blocks will look like for components.


⚠ Bofrost.be has degraded performance

In db4f9aa, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 929 ms

Resolved: Bofrost.be performance has improved in 3351ef2 after 6 minutes.


Creating a NdArray from ndarray

This is a question.
I have a data (nda below) of type ndarray (scijs/ndarray). Its dtype is float32 and underlying storage (nda.data) is a Buffer.
I was able to convert ndarray to NdArray by doing this:
const nja = nj.array(nda.data, 'float32').reshape(nda.shape);

I'd like to know if this is the right way to do.  Would it allocate a new buffer under the hood?
(Some documents about migrating from ndarray to numjs(NdArray) would be great.)
Thanks in advance.

I noticed, NdArray#selection is actually an scijs/ndarray. The NdArray's constructor takes the first argument as an 'selection'.  I believe the following is the answer:
const nja = nj.NdArray(nda);

Correct?

sorry for the delay
clone method implementation should answer your question
Best regards


Auto-play across annotations on canvas

Description
As a lay user, I want to control when the audio stream starts and stops at the individual page level, rather than line by line or note by note, in order to not have to click many times and to experience the full page worth of music.
Variation(s)
(do you know of, or can you imagine, similar use cases?)
Functionality
It should be possible to progress from one audio annotation to the next on a single canvas, in the same as progressing from canvas to canvas with or without a gap as per #12. Thus auto-play annotation two after playing annotation one.
Proposed Solutions
Annotation List could provide a hint as to the continuous-ness of the annotations.  Lists are ordered already, so it would be a case of playing from the beginning of the list.
If there are multiple points to break at, this could be multiple lists each with the hint, or the connection could be at the annotation level rather than the list level.
Additional Background
From Shared Canvas demo2, Worlde's Blisce.

@azaroth42 Does this shared canvas demo still exist anywhere? http://www.shared-canvas.org/impl/demo2/ redirects to http://demos.iiif.io/

I have the code and resources still, but no hosting domain.


How can I delete rows?

is there any function for deleting a selected row?

Yes, you could refer to the document in github


How to use multiple GPUs to train cycleGAN

It's not possible to allow Data Parallelism as the batch_size=1.
Instead can anyone help out how to make Model Parallelism possible in cyclegan.py, especially in models.py for multiple GPU training.