Test clients can't talk to eachother by hostname

Currently, only the xlang container can talk to the others by hostname matching the container name. This is enabled by the links property in the docker-compose.yml file, which is single-direction networking.
We could add links to every container, effectively enabling bi-directional networking, but that would be a huge PITA. Fortunately, it looks like experimental networking was released in the current version of Docker Compose: https://docs.docker.com/compose/networking/
We just need to add the --x-networking flag like so:
docker-compose --x-networking run xlang

This will enable all containers to talk to eachother by hostname.
We won't be able to remove links, until depends_on makes it way to Docker Compose, since links is currently the only way docker-compose run xlang knows to also startup the dependent containers - https://github.com/docker/compose/blob/master/docs/compose-file.md#depends_on
Will submit a PR soon to enable.

@kriskowal until I can figure out the best way to use --x-networking, lets just use link between the containers that need to communicate.

Fixed by using Docker 1.10 and Docker Compose 1.6.0


Fix bug in edge-options doc: "hidden" to "isHidden"

hidden is correct. We changed that with the v10 release.


Gradle errors when run sonarlint tasks

Gradle v7.5.1
sonarlint-gradle-plugin v1.0.0-beta.5
When I run :sonarlintMain Gradle shows a lot of errors that still don't affect the build.

output
Errors occurred while build effective model from /root/.gradle/caches/modules-2/files-2.1/org.eclipse.platform/org.eclipse.core.resources/3.18.0/517a3c05e78707f1bbff4583c7bc2de12c167ca8/org.eclipse.core.resources-3.18.0.pom:
'modelVersion' must be one of [4.0.0] but is '4.0'. in org.eclipse.platform:org.eclipse.core.resources:3.18.0
Errors occurred while build effective model from /root/.gradle/caches/modules-2/files-2.1/org.eclipse.platform/org.eclipse.core.runtime/3.26.0/1e185dcbb0dfbd81f2cd8f61b7ba98eb0566336a/org.eclipse.core.runtime-3.26.0.pom:
'modelVersion' must be one of [4.0.0] but is '4.0'. in org.eclipse.platform:org.eclipse.core.runtime:3.26.0
Errors occurred while build effective model from /root/.gradle/caches/modules-2/files-2.1/org.eclipse.platform/org.eclipse.osgi/3.18.100/c62edc95892e837c57f020c698d2bc82c6714d2d/org.eclipse.osgi-3.18.100.pom:
'modelVersion' must be one of [4.0.0] but is '4.0'. in org.eclipse.platform:org.eclipse.osgi:3.18.100
Errors occurred while build effective model from /root/.gradle/caches/modules-2/files-2.1/org.eclipse.platform/org.eclipse.equinox.common/3.16.200/68be1223dba8d8d87277bcfc4684cea66c673d3a/org.eclipse.equinox.common-3.16.200.pom:
'modelVersion' must be one of [4.0.0] but is '4.0'. in org.eclipse.platform:org.eclipse.equinox.common:3.16.200
Errors occurred while build effective model from /root/.gradle/caches/modules-2/files-2.1/org.eclipse.platform/org.eclipse.core.jobs/3.13.100/9f532284ebca584d41c9b8e182343f2ee2d4c977/org.eclipse.core.jobs-3.13.100.pom:
'modelVersion' must be one of [4.0.0] but is '4.0'. in org.eclipse.platform:org.eclipse.core.jobs:3.13.100
Errors occurred while build effective model from /root/.gradle/caches/modules-2/files-2.1/org.eclipse.platform/org.eclipse.equinox.preferences/3.10.100/43fe3c49d5a6a30090b7081015e4a57bd0a6cb98/org.eclipse.equinox.preferences-3.10.100.pom:
'modelVersion' must be one of [4.0.0] but is '4.0'. in org.eclipse.platform:org.eclipse.equinox.preferences:3.10.100
Errors occurred while build effective model from /root/.gradle/caches/modules-2/files-2.1/org.eclipse.platform/org.eclipse.core.contenttype/3.8.200/e2fdb068262514474d73f236adaa821d9c861786/org.eclipse.core.contenttype-3.8.200.pom:
'modelVersion' must be one of [4.0.0] but is '4.0'. in org.eclipse.platform:org.eclipse.core.contenttype:3.8.200
Errors occurred while build effective model from /root/.gradle/caches/modules-2/files-2.1/org.eclipse.platform/org.eclipse.text/3.12.200/3a81eddfd0e8756cbdd23dd24b23f92e1cc6bb4c/org.eclipse.text-3.12.200.pom:
'modelVersion' must be one of [4.0.0] but is '4.0'. in org.eclipse.platform:org.eclipse.text:3.12.200

What may be the reason for this?

Hi
I have kind of heard this too at some point but I can't reproduce it. My suspicion is that some of the Eclipse dependencies don't have the correct meta data.
The plugin itself, nor the lib from Sonar have any dependencies to Eclipse.
The plugin isn't doing any meta data resolving either.
So if you can provide some sample project where you get this issue I will be super happy.
Or at least if you know some other plugin that you have that might infer in some way. Maybe Spotless? It uses Eclipse jars for formatting rules.

org.eclipse.core.resources-3.18.0.pom seems to be from Sep 13 so I think that some of the dependencies are just using "latest" as version they depend on and all of the sudden you got a newer org.eclipse.core.resources lib that isn't properly published.
Check with some of the cradle tasks what dependencies you have in the project. Then you can perhaps backtrace which lib is using Eclipse and alter that to fix the version to some older version of org.eclipse.core.resources etc.

The grgit plugin is also using Eclipse JARs so maybe the issue is with that plugin's dependencies.

See: https://github.com/eclipse-jdt/eclipse.jdt.core/issues/461
Sonar depends on eclipse.jdt.core

Same issue with org.eclipse.platform:org.eclipse.core.expressions:3.8.200, see
https://github.com/eclipse-platform/eclipse.platform/issues/180


Organisational domains vs mail server domains

What is the reason for setting up organisational domains? From what I gather, an Organisational domain is not used by any mail servers within the organisation.
Could you clarify the use case for setting up an organisational domain and what it's used for?

Also curious about this, it seems to serve no function.

Organisational domains can be used for any server in that org where as mail server domains can only be used for that mail server

As Dean has said, domains added to an organization can be used in the From address for any sever within the org. You can also add routes using domains from the org on any server within it.
Having them at the org level means you only need to add a single DKIM DNS record for all servers. Adding them per-server will require one record per server.


Fix mpd timeout error

Description:
Increase mpd client timeout to default mpd connection timeout (60s).
Related issue (if applicable): fixes #17253
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass

Hi @definitio,
It seems you haven't yet signed a CLA. Please do so here.
Once you do that we will be able to review and accept this pull request.
Thanks!


Command Line now correctly rehighlights elements

This fixes #2289.
The actual fix is quite simple:
-if (env.element.querySelector('.command-line-prompt')) { // Abort if prompt already exists.
-	commandLine.complete = true;
-	return;
-}
+// The element might be highlighted multiple times, so we just remove the previous prompt
+var existingPrompt = env.element.querySelector('.command-line-prompt');
+if (existingPrompt) {
+	existingPrompt.remove();
+}

But I also took the time to refactor Command Line a little.

It would be easier to review this if the stylistic changes were in a separate PR. Between the refactor, the actual change, & the indentation, I'm not really sure what I'm looking at here.


How to forbid fullscreen playing on safari？

Hi,When I click play button in safari,the play window is auto fullscreen,how to fobid that?
thanks,I love clapps.

@zczcyc0201 did you try play at demo page? For me it's not going to fullscreen.

@leandromoreira it seems like @zczcyc0201 is having this problem on iOS, more specifically on an iPhone. Is that correct?
If this is the case, there's nothing we can do, the Safari browser on iOS plays videos in fullscreen automatically, with no API to prevent this behavior. Some custom browsers which use UIWebView or WKWebView could allow inline playback, but in Safari there's no way to do it. The iPad version of Safari allows inline playback normally, this behavior is specific to the iPhone.

#572
On the other hand, for apps that are inline and/or part of a UIWebView, can we have an option to append webkit-playsinline="true" to the video?

Option for webkit-playsinline   looks useful
Also (not related to this issue) may ne we can add parameter to the video tag that allows AirPlay for older iOS devices
x-webkit-airplay="allow"
https://developer.apple.com/library/ios/documentation/AudioVideo/Conceptual/AirPlayGuide/OptingInorOutofAirPlay/OptingInorOutofAirPlay.html

ping @towerz
With support from iOS Safari 10, can we add this in?
https://developer.apple.com/library/prerelease/content/releasenotes/General/WhatsNewInSafari/Articles/Safari_10_0.html

@me-vlad @sjlu about AirPlay, I'm developing this as a standalone plugin. I'm still lacking an icon for enabling this, but it's nearly done.

When I open http://cdn.clappr.io/ and press play on my iPhone XS running iOS12.1.2 it is switching to the name full screen player :( - any ideas?


Simulator override refactor

Cleanup of simulator overrides to add them one-by-one. Also removes one unnecessary override (the keccak256(0 || 2) if owner == address(0)).

Looks good -- works in an ad-hoc sim: https://www.tdly.co/shared/simulation/5df2eff3-42df-4de5-95d3-cdcde48e923c


Add Clarification for VMIP_1 and VMIP_2

during the deployment , if this IPs for the VMs not in an ascending order the deployment fails with error Could not find an available address in IP pool of type VM ,  it seems to be excepting a starting IP  and ending IP on for a pool and obviously the starting IP has to be lower than the ending IP

@ManikaDhiman

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Hi @ZmanKyle: Could you review this PR for technical accuracy? There are a few typos that must be fixed before merging. Thanks!

@ManikaDhiman The comment here is technically accurate.

@ZmanKyle: Thanks for the review!
@igomaa: Thanks for your contribution. I have replicated these changes in a private repo PR and merged them--changes will be live after the next publishing pass. Thanks!
#please-close


chore: update function doc

Updated function doc

Looks good to me! 👍 Thanks for addressing the change requests so quickly.

@julian-risch Thank you so much for you help! Could you merge it or we have to wait?


Fix pytype error access oneof protobuf field.

request.target would cause attribute error which needs to specify which field it represents.

@yehtsohsin since the root cause had been fixed I'm closing this one :+1:


caravan_openframe uses old/wrong chip_io

caravan_openframe module  in main branch doesn't use chip_io_openframe or openframe_project_wrapper modules like caravel_openframe.  Is there a branch that has this module updated ?

@M0stafaRady :  There is no caravan openframe.  Anything so labeled is just a placeholder.


Release v0.0.2 has errors which are fixed in master

Has anyone else faced this or I am doing something wrong. Got this when I tried the example given in the readme. Environment is created successfully.
confluentcloud_service_account.test: Creation complete after 0s [id=90607]
confluentcloud_environment.environment: Creating...
confluentcloud_environment.environment: Creation complete after 1s [id=env-v13r0]
confluentcloud_kafka_cluster.test: Creating...

Error: rpc error: code = Unavailable desc = transport is closing

panic: interface conversion: interface {} is nil, not string
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2:
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: goroutine 59 [running]:
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: github.com/Mongey/terraform-provider-confluent-cloud/ccloud.clusterCreate(0xc0000faf50, 0x1b87120, 0xc000564fa0, 0x2, 0x2538700)
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: 	/var/folders/2k/fy8w13m902j3twpw64bp_wbc0000gn/T/=tf-installer.XOE99qcq/tf-installer-clone-confluentcloud/ccloud/resource_kafka_cluster.go:115 +0x62d
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc000044b00, 0xc0002a0fa0, 0xc0001246a0, 0x1b87120, 0xc000564fa0, 0x1a7b801, 0xc00078cae8, 0xc000796990)
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: 	/Users/sougata/go/pkg/mod/github.com/hashicorp/terraform@v0.12.1/helper/schema/resource.go:286 +0x365
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc000044d00, 0xc0007df8d0, 0xc0002a0fa0, 0xc0001246a0, 0xc00079a088, 0xc0001166e0, 0x1a7d700)
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: 	/Users/sougata/go/pkg/mod/github.com/hashicorp/terraform@v0.12.1/helper/schema/provider.go:285 +0x99
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: github.com/hashicorp/terraform/helper/plugin.(*GRPCProviderServer).ApplyResourceChange(0xc000010a58, 0x1dffb40, 0xc000789d10, 0xc00010e420, 0xc000010a58, 0xc000789d10, 0xc0004bca48)
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: 	/Users/sougata/go/pkg/mod/github.com/hashicorp/terraform@v0.12.1/helper/plugin/grpc_provider.go:842 +0x892
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: github.com/hashicorp/terraform/internal/tfplugin5._Provider_ApplyResourceChange_Handler(0x1b893e0, 0xc000010a58, 0x1dffb40, 0xc000789d10, 0xc0002a0dc0, 0x0, 0x1dffb40, 0xc000789d10, 0xc00021a5a0, 0x1c3)
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: 	/Users/sougata/go/pkg/mod/github.com/hashicorp/terraform@v0.12.1/internal/tfplugin5/tfplugin5.pb.go:3019 +0x217
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: google.golang.org/grpc.(*Server).processUnaryRPC(0xc000498f00, 0x1e09f40, 0xc000642a80, 0xc000791000, 0xc0006563f0, 0x24fed00, 0x0, 0x0, 0x0)
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: 	/Users/sougata/go/pkg/mod/google.golang.org/grpc@v1.18.0/server.go:966 +0x46a
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: google.golang.org/grpc.(*Server).handleStream(0xc000498f00, 0x1e09f40, 0xc000642a80, 0xc000791000, 0x0)
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: 	/Users/sougata/go/pkg/mod/google.golang.org/grpc@v1.18.0/server.go:1245 +0xc9e
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc000038570, 0xc000498f00, 0x1e09f40, 0xc000642a80, 0xc000791000)
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: 	/Users/sougata/go/pkg/mod/google.golang.org/grpc@v1.18.0/server.go:685 +0xa1
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: created by google.golang.org/grpc.(*Server).serveStreams.func1
2020-07-20T17:17:09.130+1000 [DEBUG] plugin.terraform-provider-confluentcloud_v0.0.2: 	/Users/sougata/go/pkg/mod/google.golang.org/grpc@v1.18.0/server.go:683 +0xa1
2020/07/20 17:17:09 [DEBUG] confluentcloud_kafka_cluster.test: apply errored, but we're indicating that via the Error pointer rather than returning it: rpc error: code = Unavailable desc = transport is closing
2020/07/20 17:17:09 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2020/07/20 17:17:09 [TRACE] EvalMaybeTainted: confluentcloud_kafka_cluster.test encountered an error during creation, so it is now marked as tainted
2020/07/20 17:17:09 [TRACE] <root>: eval: *terraform.EvalWriteState
2020/07/20 17:17:09 [TRACE] EvalWriteState: removing state object for confluentcloud_kafka_cluster.test
2020/07/20 17:17:09 [TRACE] <root>: eval: *terraform.EvalApplyProvisioners
2020/07/20 17:17:09 [TRACE] EvalApplyProvisioners: confluentcloud_kafka_cluster.test has no state, so skipping provisioners
2020/07/20 17:17:09 [TRACE] <root>: eval: *terraform.EvalMaybeTainted
2020/07/20 17:17:09 [TRACE] EvalMaybeTainted: confluentcloud_kafka_cluster.test encountered an error during creation, so it is now marked as tainted
2020/07/20 17:17:09 [TRACE] <root>: eval: *terraform.EvalWriteState
2020/07/20 17:17:09 [TRACE] EvalWriteState: removing state object for confluentcloud_kafka_cluster.test
2020/07/20 17:17:09 [TRACE] <root>: eval: *terraform.EvalIf
2020/07/20 17:17:09 [TRACE] <root>: eval: *terraform.EvalIf
2020/07/20 17:17:09 [TRACE] <root>: eval: *terraform.EvalWriteDiff
2020-07-20T17:17:09.132+1000 [DEBUG] plugin: plugin process exited: path=/Users/sougata/.terraform.d/plugins/terraform-provider-confluentcloud_v0.0.2 pid=90374 error="exit status 2"
2020/07/20 17:17:09 [TRACE] <root>: eval: *terraform.EvalApplyPost
2020/07/20 17:17:09 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: rpc error: code = Unavailable desc = transport is closing
2020/07/20 17:17:09 [ERROR] <root>: eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2020/07/20 17:17:09 [TRACE] [walkApply] Exiting eval tree: confluentcloud_kafka_cluster.test
2020/07/20 17:17:09 [TRACE] vertex "confluentcloud_kafka_cluster.test": visit complete
2020/07/20 17:17:09 [TRACE] dag/walk: upstream of "provider.confluentcloud (close)" errored, so skipping
2020/07/20 17:17:09 [TRACE] dag/walk: upstream of "meta.count-boundary (EachMode fixup)" errored, so skipping
2020/07/20 17:17:09 [TRACE] dag/walk: upstream of "root" errored, so skipping
2020/07/20 17:17:09 [TRACE] statemgr.Filesystem: have already backed up original terraform.tfstate to terraform.tfstate.backup on a previous write
2020/07/20 17:17:09 [TRACE] statemgr.Filesystem: state has changed since last snapshot, so incrementing serial to 13
2020/07/20 17:17:09 [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate
2020/07/20 17:17:09 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
2020/07/20 17:17:09 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock
2020-07-20T17:17:09.143+1000 [DEBUG] plugin: plugin exited

!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!

Terraform crashed! This is always indicative of a bug within Terraform.
A crash log has been placed at "crash.log" relative to your current
working directory. It would be immensely helpful if you could please
report the crash with Terraform[1] so that we can fix this.

When reporting bugs, please include your terraform version. That
information is available on the first line of crash.log. You can also
get it by running 'terraform --version' on the command line.

SECURITY WARNING: the "crash.log" file that was created may contain
sensitive information that must be redacted before it is safe to share
on the issue tracker.

[1]: https://github.com/hashicorp/terraform/issues

!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!```

I tried debugging this issue and when I build the module from master the issue was resolved. Please release a version :)

Sorry for the late reply. Hopefully this was fixed in the 0.0.3 / 0.0.4


Is it possible to get a notification when the print starts?

Hi, I don't see it in the docs, so I'm not sure if it's possible, but how can I get a message when a print is started?

@simpat1zq
here is an example of a message that should come when printing starts

there must be some errors in the log. please give me log

I just started a print and here's the output since then:
2021-11-16 16:37:31,464 - __main__ - ERROR - Exception while handling an update: Traceback (most recent call last):   File "/home/pi/moonraker-telegram-bot-env/lib/python3.7/site-packages/apscheduler/executors/base.py", line 125, in run_job     retval = job.func(*job.args, **job.kwargs)   File "/home/pi/moonraker-telegram-bot/bot/main.py", line 111, in send_print_start_info     send_file_info(context.bot, notifier.silent_status, message)   File "/home/pi/moonraker-telegram-bot/bot/main.py", line 115, in send_file_info     message, bio = klippy.get_file_info(message)   File "/home/pi/moonraker-telegram-bot/bot/klippy.py", line 244, in get_file_info     img = Image.open(urlopen(f"http://{self._host}/server/files/gcodes/{urllib.parse.quote(self._thumbnail_path)}")).convert('RGB')   File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen     return opener.open(url, data, timeout)   File "/usr/lib/python3.7/urllib/request.py", line 531, in open     response = meth(req, response)   File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response     'http', request, response, code, msg, hdrs)   File "/usr/lib/python3.7/urllib/request.py", line 569, in error     return self._call_chain(*args)   File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain     result = func(*args)   File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default     raise HTTPError(req.full_url, code, msg, hdrs, fp) urllib.error.HTTPError: HTTP Error 404: Not Found

I did configure the notification settings to not send any notifications based on height, percent, or time. Could that have any effect on this? Also, when it sent me the completion notification, there was no picture attached. The pictures are working because it sent me pics when I had it configured with the defaults which sent a picture every 60 seconds. Thanks for your help with this.

@simpat1zq
This problem will be fixed in the next release. please wait a bit)

@simpat1zq
pls check new release


Allow controlling task placement in bulk execution functions

First attempt was #3924 which was not general enough. Opening this to keep track of discussions.

I'm closing this since the placement needs to be executor/scheduler-specific. #3924 attempted to do it at a higher level. Additionally, both parallel_executor and thread_pool_scheduler essentially do the good type of placement now. In the future executors/schedulers could be customized with their own placement types.


Tutorial for angular material layout

Create a new tutorial which show the material layout in angular.
https://devonfw.com/website/pages/docs/master-devon4ng.asciidoc_angular.html#guide-angular-theming.asciidoc
https://devonfw.com/website/pages/docs/master-devon4ng.asciidoc_layouts.html

Tutorial exists in the meantime
https://github.com/devonfw-tutorials/tutorials/tree/main/devon4ng-mat-layout


use functioning fixup name in example: fast_api instead of fastapi

https://github.com/schemathesis/schemathesis/blob/master/src/schemathesis/fixups/__init__.py#L5 uses fast_api and not fastapi.
Description
The commented out example used "fastapi", but using that raised a KeyError in fixups/init.py.
The fixup module is named "fast_api", as is the key in ALL_FIXUPS, so it seemed more acceptable to adapt the documentation to the code.
Checklist

[-] Created tests which fail without the change (if possible)
[?] All tests passing (did not check)
[-] Added a changelog entry
[+] Extended the README / documentation, if necessary

Hi! Thank you for reporting :) Good catch.
There is also one similar case in docs/faq.rst. Would you mind updating it as well?

hm ok I'll try again with the conventionalcommits thingie


Searching with -find "**\bin\HostX64\x64\cl.exe" takes 500s on Github Actions

Hi,
I have a script that uses vswhere to find cl.exe
On Github Action, this takes 500s to run "C:\Program Files (x86)\Microsoft Visual Studio\Installer\vswhere.exe" -prerelease latest -format json -utf8 -find "**\bin\HostX64\x64\cl.exe" (then returns the correct result)
My guess is the -find with a ** globing leads to quadratic complexity, however I don't know enough of vswhere to track the issue further...
PS: I there some documentation on vswhere ? Looking into the project, I've only seen some examples. Lack of documentation makes understanding vswhere pretty hard (for instance -products * is often used in the examples... but I could not find what is the list of products possible)

There is both usage via -? and this wiki. There's really not any more documentation to write about it. It has a simple interface.
If the agents are taking 500s to check the disk, I suggest you use the older instructions in the wiki for finding the installation root and, based on what version of VS you require, just hardcode the path. The -find was added for more general cases, like GitHub Action developers who may not know what versions of VS their users will require.
The searching algorithm tries to be as efficient as possible but with wildcards near the beginning, there's little more the algorithm can do. It's going to be a function of how slow disk IO is at that point.

The -find was added for more general cases, like GitHub Action developers who may not know what versions of VS their users will require.

In my case, vswhere is used from within the application code (i.e. it's not part of the init script run in Github Actions).
This is because the project I'm working on (autopxd2) is a C to Cython transpiler, so it needs a C compiler at hand to handle the C preprocessing step.
Hence autopxd2 is run on someone's computer and  it needs a way to find the C compiler which can be basically anywhere (and adding 10mn to the transpilation for this is a no go ^^).

There is both usage via -? and this wiki. There's really not any more documentation to write about it. It has a simple interface.

To give you my (humble :smiley: ) user feedback:

My usecase is fixing a build on Github Action and I don't have a Windows machine at hand. So interactive solution like vswhere -? is very cumbersome.
The wiki page about finding VC mentions things such as -products *, -requires Microsoft.VisualStudio.Component.VC.Tools.x86.x64, -property installationPath. None of those items are explained and there is no information on the accepted values either.
I have absolutely no idea why -find "**\bin\HostX64\x64\cl.exe" takes so much time, and no idea how to improve this since there is no information on what this option does (for instance: does the ** part means the match is done from the root of every drive on the computer ? or is it only on every found installation of VisualStudio ?).

On top of that I want to state that I am thankful for this tool and you quick answer on my issue :smiley:
I believe providing user feedback has value, as complexity is not seen the same depending on one's experience in the field.

Ok so after spending my saturday morning playing hide and seek with Github Actions CI, I found a way to fix this (see https://github.com/elijahr/python-autopxd2/pull/55).
I'm putting the snippet here in case anyone stumble on this issue ;-)
def _find_cl():
    """Use vswhere.exe to locate the Microsoft C compiler."""
    host_platform = {
        "X86": "X86",
        "AMD64": "X64",
        "ARM64": "ARM64",
    }.get(platform.machine(), "X86")
    build_platform = {
        "X86": "x86",
        "AMD64": "x64",
        "ARM64": "arm64",
    }.get(platform.machine(), "x86")
    program_files = os.getenv("ProgramFiles(x86)") or os.getenv("ProgramFiles")

    if build_platform in ("x86", "x64"):
        # Note the `x86.x64` here not related to cross compilation, but just
        # poor naming of something which should have been called `x86_or_x64`.
        require = "Microsoft.VisualStudio.Component.VC.Tools.x86.x64"
    else:
        assert build_platform == "arm64"
        require = "Microsoft.VisualStudio.Component.VC.Tools.ARM64"

    cmd = [
        os.path.join(program_files, r"Microsoft Visual Studio\Installer\vswhere.exe"),
        "-prerelease",
        "-latest",
        "-products",
        "*",
        "-requires",
        require,
        "-property",
        "installationPath",
        "-utf8",
    ]
    try:
        install_dir = subprocess.check_output(cmd, encoding="utf-8").strip()
    except subprocess.CalledProcessError as ex:
        raise RuntimeError("No suitable compiler available") from ex

    with open(rf"{install_dir}\VC\Auxiliary\Build\Microsoft.VCToolsVersion.default.txt", encoding="ascii") as fd:
        default_version = fd.read().strip()

    return rf"{install_dir}\VC\Tools\MSVC\{default_version}\bin\Host{host_platform}\{build_platform}\cl.exe"


Hello, author, your framework is very useful, but my problem now is the framework is not up, can only reach 150, here please ask you how to go up.

Question
Minimal working example
   // <code goes here>

Relevant parts of the log file
   <log goes here>

is Concurrent


Modularize extract

extract should be split into small files, alowing to introduce various extraction mechanisms without touching any of the existing source files (except the config).

E.g.: place tests/examples separately, etc.


Windows x32 port...

Has anyone tried to port this over to a Windows (heresy, I know...) development environment?  If you have, could you include a link to the git repo?

Using vagrant to create a standardized development environment could be a good approach to resolve this.

Thanks Marshall
On Wed, Feb 18, 2015 at 11:32 AM, Marshall Jones<EMAIL_ADDRESS>wrote:

Using vagrant https://www.vagrantup.com/ to create a standardized
development environment could be a good approach to resolve this.
—
Reply to this email directly or view it on GitHub
https://github.com/Crowdtilt/CrowdtiltOpen/issues/256#issuecomment-74805623
.

--
Willliam Pattison
ProduceRun
Co-Founder / President
415 12th Avenue SE,
Cedar Rapids, IA 52401
Tel: +1<PHONE_NUMBER>
Email<EMAIL_ADDRESS>


Feature: export songlist in JSON format

adds export of songlist in JSON format, which may be used to visualize in a custom webpage like https://mindtakerr.github.io/ (repo: https://github.com/mindtakerr/ultrastar-songlist)
expected structure:
{
        "songs": {
            "id": int,
            "artist": string,
            "title": string,
            "year": int | null,
            "edition": string | null,
            "genre": string | null,
            "language": string,
            "golden_notes": bool,
            "cover-url": string | null,
            "cover-meta": string | null,
            "cover-preview": string (base64, 100x100) | null,
            "audio-url": string | null,
            "video-url": string | null,
          ,
        "date": "YYYY-MM-DD hh:mm:ss"
    }

see attached json as an example export of 5 songs:
2023-12-29_songlist.json

[ ] currently probably a little hacky, would appreciate ideas for better ways to collect all data
[ ] need to apply formatter and check linter outputs, just dropped current progress
[ ] currently incompatible to JSON imports

changed to this format as dashes are sometimes problematic to parse, adds version of syncer that produced this exported file
{
    "songs": {
        "id": int,
        "artist": string,
        "title": string,
        "year": int | null,
        "edition": string | null,
        "genre": string | null,
        "language": string,
        "golden_notes": bool,
        "cover_url": string | null,
        "cover_meta": string | null,
        "cover_preview": string (base64, 100x100) | null,
        "audio_url": string | null,
        "video_url": string | null,
        },
    "date": "YYYY-MM-DD hh:mm:ss",
    "syncer_version": string,
}

rebased on #223 to fix following linting error in pdf.py of current main that is changed in #223 anyways
py311-lint: commands[3]> black . --check --diff
--- C:\Daten\Git\usdb_syncer\usdb_syncer-feat_json_export\src\usdb_syncer\pdf.py        2024-01-27 20:46:46.956117+00:00+++ C:\Daten\Git\usdb_syncer\usdb_syncer-feat_json_export\src\usdb_syncer\pdf.py        2024-01-27 21:27:36.103495+00:00@@ -18,18 +18,16 @@
     section1: dict[str, list[Any]] = {}
     document["sections"].append(section1)
     content1: list[Any] = []
     section1["content"] = content1
     date = datetime.datetime.now()
-    content1.append(
-        {
-            ".": f"Songlist ({date:%Y-%m-%d})",
-            "style": "title",
-            "label": "title1",
-            "outline": {"level": 1, "text": "A different title 1"},
-        }
-    )
+    content1.append({
+        ".": f"Songlist ({date:%Y-%m-%d})",
+        "style": "title",
+        "label": "title1",
+        "outline": {"level": 1, "text": "A different title 1"},
+    })

     for song_id in songs:
         song = UsdbSong.get(song_id)
         if song:
             data = f"{song.song_id}\t\t{song.artist}\t\t{song.title}\t\t{song.language}"
would reformat C:\Daten\Git\usdb_syncer\usdb_syncer-feat_json_export\src\usdb_syncer\pdf.py

Oh no! 💥 💔 💥
1 file would be reformatted, 60 files would be left unchanged.
py311-lint: exit 1 (1.48 seconds) C:\Daten\Git\usdb_syncer\usdb_syncer-feat_json_export> black . --check --diff pid=16940
py311-lint: FAIL ✖ in 1 minute 24.91 seconds

Seems to work as expected, but is blocked by #223, currently requiring to install NotoSans-Regular.ttf and NotoSans-Bold.ttf, else usdb_syncer crashes on start.

rebased on #223 to fix following linting error in pdf.py of current main that is changed in #223 anyways
py311-lint: commands[3]> black . --check --diff
--- C:\Daten\Git\usdb_syncer\usdb_syncer-feat_json_export\src\usdb_syncer\pdf.py        2024-01-27 20:46:46.956117+00:00+++ C:\Daten\Git\usdb_syncer\usdb_syncer-feat_json_export\src\usdb_syncer\pdf.py        2024-01-27 21:27:36.103495+00:00@@ -18,18 +18,16 @@
     section1: dict[str, list[Any]] = {}
     document["sections"].append(section1)
     content1: list[Any] = []
     section1["content"] = content1
     date = datetime.datetime.now()
-    content1.append(
-        {
-            ".": f"Songlist ({date:%Y-%m-%d})",
-            "style": "title",
-            "label": "title1",
-            "outline": {"level": 1, "text": "A different title 1"},
-        }
-    )
+    content1.append({
+        ".": f"Songlist ({date:%Y-%m-%d})",
+        "style": "title",
+        "label": "title1",
+        "outline": {"level": 1, "text": "A different title 1"},
+    })

     for song_id in songs:
         song = UsdbSong.get(song_id)
         if song:
             data = f"{song.song_id}\t\t{song.artist}\t\t{song.title}\t\t{song.language}"
would reformat C:\Daten\Git\usdb_syncer\usdb_syncer-feat_json_export\src\usdb_syncer\pdf.py

Oh no! 💥 💔 💥
1 file would be reformatted, 60 files would be left unchanged.
py311-lint: exit 1 (1.48 seconds) C:\Daten\Git\usdb_syncer\usdb_syncer-feat_json_export> black . --check --diff pid=16940
py311-lint: FAIL ✖ in 1 minute 24.91 seconds

removed this PR again from history of this PR, no again just rebased to main


Do not perminantly cache device metadata

This addresses #272. Currently, device level metadata is polled once at start and then never again.
This is a legacy behavior from when we only looked at SysOID and things like this, but doesn't seem optimal now. Patch just removes the cache part so that device metadata is polled every time interface metadata is polled.
Separately, it looks like we're using https://github.com/kentik/ktranslate/blob/main/pkg/inputs/snmp/metadata/poll.go#L35, which is
	DEFAULT_INTERVAL = 30 * 60 * time.Second // Run every 30 min.

I really thought this was polled every 3 hours but looks like its actually every 30. What do you think? Keep at 30 or move around? Also we can change so that device metadata is polled every 3hrs, but interface 30. Thoughts?

So just to clarify which attributes fall under device metadata?  System MIB + metric_tags?  Or is there a hardcoded listing inside ktrans?  I don't feel like 30m is too much, especially since the data gets decorated into the payload sent to NR regardless of how stale it.  30m feels like a reasonable lag time to describe to customers between making a change on a device and it updating in the console if all it costs is a dozen or so extra GETS per device

metadata is everything under metric_tags which doesn't start with if. For example:
    metric_tags:
      - column:
          OID: <IP_ADDRESS>.<IP_ADDRESS>.<IP_ADDRESS>.2
          name: ciscoMemoryPoolName
        tag: memory_pool_name

I would agree; if the current setting is 30m, then we shouldn't see a major change in data ingest by leaving that alone and adding the device metadata. I think there's a good argument to allow a customer to set metadata collection to its own interval in the snmp-base.yaml, but that's probably a separate FR.

Cool, sounds good to me.


Implementing Security.txt file in .well-known

Creating and implementing security policy file for Airbranch reports. Creating folder, .well-known in wwwroot folder inside WebApp under src, then placing security.txt file in .well-known. For more information, refer to https://github.com/gaepdit/EPD-IT/issues/68.

Deployed to prod: http://air.gaepd.org/.well-known/security.txt


Malformed response during handshake

What is wrong?
I'm getting a malformed response from one of the Görli bootnodes.
ERROR  2020-06-15 10:34:29,388           ETHPeerPool  Got malformed response from <Node(0x46add44b9f13965f7b9875ac6b85f016f341012d84f975377573800a863526f4da19ae2c620ec73d11591fa9510e992ecc03ad0751f53cc02f7c7ed6d55c7291@<IP_ADDRESS>:30313)> during handshake

This is most likely an error on our end so I'm going to investigate further
The error is thrown here:
https://github.com/ethereum/trinity/blob/615d6bcc871ac8c8ae795a39fb55ac6745650cb2/p2p/transport.py#L263-L266
Traceback (most recent call last):
  File "/home/cburgdorf/Documents/hacking/ef/trinity/p2p/peer_pool.py", line 352, in connect
    return await asyncio.wait_for(task, timeout=HANDSHAKE_TIMEOUT)
  File "/usr/lib/python3.7/asyncio/tasks.py", line 442, in wait_for
    return fut.result()
  File "/home/cburgdorf/Documents/hacking/ef/trinity/p2p/peer.py", line 527, in handshake
    protocol_handshakers=handshakers,
  File "/home/cburgdorf/Documents/hacking/ef/trinity/p2p/handshake.py", line 336, in dial_out
    protocol_handshakers=protocol_handshakers,
  File "/home/cburgdorf/Documents/hacking/ef/trinity/p2p/handshake.py", line 233, in negotiate_protocol_handshakes
    ephemeral_base_protocol,
  File "/home/cburgdorf/Documents/hacking/ef/trinity/p2p/handshake.py", line 138, in _do_p2p_handshake
    async for _, cmd in stream_transport_messages(transport, base_protocol):
  File "/home/cburgdorf/Documents/hacking/ef/trinity/p2p/multiplexer.py", line 56, in stream_transport_messages
    msg = await transport.recv()
  File "/home/cburgdorf/Documents/hacking/ef/trinity/p2p/transport.py", line 266, in recv
    raise MalformedMessage(*err.args) from err
p2p.exceptions.MalformedMessage: Deserializing list length (1) does not match sedes (2)

How can it be fixed
Debug

Closing as we have more info in #2052


Add pg_embedding backend

https://github.com/neondatabase/pg_embedding
pg_embedding is a new extension in the vector search space promissing quite a bit of speedup over pg_vector - https://neon.tech/blog/pg-embedding-extension-for-vector-search
See notes from #4

Note that pg_embedding is no longer supported by Neon as per the repo README:

As of Sept 29, 2023, Neon is no longer committing to pg_embedding.
Support will remain in place for existing users of the extension, but we strongly encourage migrating to pgvector.

Certainly not averse to supporting it if there is demand though.

uff, I missed that note.
Now found the blog post about pgvector implementing the pg_embedding algorithm - https://neon.tech/blog/pgvector-meets-hnsw-index
Given that the next blog post about vector indexing is about pgvector, and the note above - https://neon.tech/blog/understanding-vector-search-and-hnsw-index-with-pgvector - it is safe to not pursue this any further


[BugFix] catch exception for mv when replaying journal

Fixes #30019
What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[x] Yes, this PR will result in a change in behavior.
[ ] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.1
[x] 3.0
[x] 2.5
[ ] 2.4

[FE Incremental Coverage Report]
:disappointed: fail : 0 / 32 (00.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/alter/AlterJobMgr.java
0
32
00.00%
[300, 302, 304, 305, 306, 307, 320, 321, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 336, 358, 386, 387, 388, 389, 390, 404, 406, 415, 416, 417, 418]

[BE Incremental Coverage Report]
:heart_eyes: pass : 0 / 0 (0%)

@Mergifyio backport branch-3.1

@Mergifyio backport branch-3.0

@Mergifyio backport branch-2.5


fix: upgrade nitropack

🔗 Linked issue
resolves #322, resolves #31, resolves #32
❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This upgrades nitropack which should fix a few issues on the books at the moment. Also note https://github.com/nuxt/bridge/pull/316 which could be combined with this one.
📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

@pi0, what about this PR? If you accept it, it will be great, please! 🙏❤

Hey @danielroe, can we help somehow to get this done?
I know about the priority on nuxt/framework, but this is really the major issue with bridge right now, sadly. Having a P4 resolved would allow for a much better experience.
Could we maybe have a little chat besides that exact issue on Discord because @pi0 is currently busy with other things? Feel free to tell me what fits for you!

@danielroe is the current maintainer of this repo :) There is no need for my approval 👍🏼

What about https://github.com/nuxt/bridge/issues/319. This PR may close #319 issue? I can't  upgrade nuxt-bridge :(

@P4sca1 are you asking whether https://github.com/nuxt/bridge/issues/375 is fixed? I only checked for .output generation yet.

Alright, I will check the other 2 issues I currently have after the PR has been merged.

In case anyone else wants to test this fix too for their project, here are the steps to do so in your project:

clone the bridge repo
checkout the fix/nitropack branch
run yarn install, yarn build and yarn pack
in your project, replace the bridge import with "@nuxt/bridge": "file:...../nuxt-bridge/nuxt-bridge-v3.0.0.tgz",
build your project
check the results!

I'd be fine with a soon merge of this PR of course. I can't imagine it breaking more than what already broke? 🤭

@danielroe you write

If you were relying on the previous full static generation of Nuxt, you should switch to using nuxt generate rather than nuxi generate...

Would you mind explaining the reason why that is recommended? I suppose nuxi is missing static rendering capabilities?

@dargmuesli

4. "@nuxt/bridge": "file:...../nuxt-bridge/nuxt-bridge-v3.0.0.tgz"

I tried
"@nuxt/bridge": "/home/developer/bridge/nuxt-bridge-v3.0.0.tgz"
and
"@nuxt/bridge": "file:/home/developer/bridge/nuxt-bridge-v3.0.0.tgz"
both resulting in /tmp/build-1657186514315.sh: Zeile 2: nuxi: Kommando nicht gefunden.

@dargmuesli

4. "@nuxt/bridge": "file:...../nuxt-bridge/nuxt-bridge-v3.0.0.tgz"

I tried
"@nuxt/bridge": "/home/developer/bridge/nuxt-bridge-v3.0.0.tgz"s
and
"@nuxt/bridge": "file:/home/developer/bridge/nuxt-bridge-v3.0.0.tgz"
both resulting in /tmp/build-1657186514315.sh: Zeile 2: nuxi: Kommando nicht gefunden.

I've experienced the file source to be a little buggy sometimes, and I don't know why that is. To be sure, you can also extract the .tgz to node_modules/@nuxt/bridge manually.

the error is now Uncaught SyntaxError: Invalid or unexpected token (at 5c5260d.js:2:76798)

Would be interesting to see the offending part of the file.
Just a hint: you've duplicated your last comment, you can delete one ;)

@dargmuesli
thank you
I extracted it, still nuxi is an unknown command.
nuxt generate results into the same broken output.
Here is the file from the error Uncaught SyntaxError: Invalid or unexpected token (at 5c5260d.js:2:76798):
5c5260d.js.zip

@dargmuesli
thank you
I extracted it, still nuxi is an unknown command.
nuxt generate results into the same broken output.
Here is the file from the error Uncaught SyntaxError: Invalid or unexpected token (at 5c5260d.js:2:76798):
5c5260d.js.zip

Hmm, I don't see anything special about
,[s,y]=r.b.sincos(v);
            ^

...
You last comment got posted 3 times now ;D please find out why that's happening. We get notifications for every comment.

Argh, sorry.
Github is telling me all the times you can't post at this time.
Maybe the Microsoft Guys are doing some Updates in the back.
I'm sorry.

Did you try using nuxt generate instead of nuxi generate? @danielroe said to do so in the first post, but I'm not entirely sure why yet.

@dargmuesli
Yes, because nuxi generate either tells me nuxi not found with this PR or it won't give me an .output folder without this PR.

clone the bridge repo
checkout the fix/nitropack branch
run yarn install, yarn build and yarn pack
in your project, replace the bridge import with "@nuxt/bridge": "file:...../nuxt-bridge/nuxt-bridge-v3.0.0.tgz",
build your project
check the results!

This does not work for me either.
node:internal/modules/cjs/loader:936
  throw err;
  ^

Error: Cannot find module<EMAIL_ADDRESS>    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.Module._load (node:internal/modules/cjs/loader:778:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

I think the reason is that yarn pack does not pick up the bin folder, because it is not listed in files in package.json

nuxi dev seems to work fine. nuxi build ran for around 10 minutes and then crashed with heap out of memory. The log contains output like ℹ Initializing prerenderer and ℹ Initializing prerenderer. I intend to use server side rendering without any pre-rendering (deployment as a Node.js server). Is it intended that pre-rendering is performed with ssr: true in nuxt.config.ts? I have not changed the nitro configuration.

I can confirm that nuxi generate now works.
The hook from #27 is still needed for static generation without SSR.
The .output/public/index.html has the same issue I mentioned before:
e8733a2.js:1          Failed to load resource: net::ERR_FILE_NOT_FOUND
0bc3695.js:1          Failed to load resource: net::ERR_FILE_NOT_FOUND
2f420ae.js:1          Failed to load resource: net::ERR_FILE_NOT_FOUND
527fe90.js:1          Failed to load resource: net::ERR_FILE_NOT_FOUND

I replaced src="/_nuxt/ with src="_nuxt/.
This results into 2f420ae.js:2 Uncaught SyntaxError: Invalid or unexpected token (at 2f420ae.js:2:76798)
Thank you for fixing the obstacles towards the broken static site generation without ssr.

It's likely there are remaining issues, but I think this PR is sufficient to enable us to test and iterate with edge releases.
Thank you to everyone who has tested it so far - please let me know in a new issue if you are experiencing any issues ❤

Hmm, I don't see anything special about

@dargmuesli
I think the texteditor showed us the wrong position.
The browser console shows me the real position of the invalid character.
v=t.d*n+t.m*o+t.n*l+t.f*c+t.Ï‰*d,[s,y]=r.b.sincos(v);
at
Ï‰


cmd/cue: cue import -p $pkg doesn't work

As of commit c1b5e62be28a357b4dc75e137d0bc3f8b707eb47, cue import seems to have stopped working correctly.
Easily reproduced with the following testscript:
exec cue import -p foo ./...

-- x.yml --
x: yyy

This produces the error:
"package" flag clashes with existing package name (foo vs )

It works fine under v0.0.15.

This issue has been migrated to https://github.com/cue-lang/cue/issues/301.
For more details about CUE's migration to a new home, please see https://github.com/cue-lang/cue/issues/1078.


Potions with Orange colors sometimes render as transparent instead

Version
Slay the spire: BETA
Mod version: v0.53.0
Describe the bug
Sometimes, potions with orange colors in them seem to get drawn incorrectly with transparent colors instead. From discord

Explosive, fire, attack blessing of the forge and fruit juice potions have slightly messed up assets. It seems to mess up the orange/red colours used on those potions

We saw something similar in the 12/19 Jorbs run.

Issue doesn't repro when addition potions in a fresh game, but does start reproing after wrath upgrading a card and then acquiring potions. Suspect we're passing Color.ORANGE somewhere where we need to pass Color.ORANGE.cpy().


Objective - c

Is there an objective c code for this excellent animation?

I wrote an Objective-C version https://github.com/drinking/DKFavoriteButton base on this implementation.


add profiling flag to cmake scripts

and replace hacky instruction about -fno-omit-frame-pointer in index.md

done


Feature request: Search by emoji name

Currently, the emoji name is not part of the searchable content. E.g. by searching for construction I would assume the emoji for 🏗 would appear. But unfortunately, it doesn’t. Thus I would like to include the emoji names to be searchable, too.

Hi @MatzeKitt, I'm sorry to reply to you only today, the feature you described has been implemented, but this feature needs to be turned on in the settings (gitmoji.showEmojiCode), it is off by default.


Update DG UML diagrams

Codecov Report

Merging #241 (52a9ef6) into master (b15e27d) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #241   +/-   ##
=========================================
  Coverage     44.95%   44.95%
  Complexity      503      503
=========================================
  Files           124      124
  Lines          2547     2547
  Branches        310      310
=========================================
  Hits           1145     1145
  Misses         1342     1342
  Partials         60       60

Continue to review full report at Codecov.

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


Update timeout for .github/workflows/integration-test-nightly.yaml

This is an automated pull request to update default timeouts for all jobs in .github/workflows/integration-test-nightly.yaml that do not currently contain a default timeout property.
Please review these changes closely to ensure that all jobs have sufficient time to run. If a job needs more time, please add a timeout property to that job to override the organization default.
Additionally, please be attentive to unintended changes to the workflow YAML file, as the parser is not perfect.
Lastly, note that it is up to the reviewer to merge this pull request and delete the PR branch once they are satisfied with the changes.

 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.

 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.


Bio Weekly - Add Tables for Collections by Location

Generate two new metrics tables: (1) research collections by collection location and (2) non-KP clinical collections by clinic location.
All locations should be included in the code, but it is okay if all do not populate in the tables (they may not be live yet; "UCM Pop-Up" for example).
Please create sub-rows in a table, with the site name as the main row and its locations as indented sub-rows (see mock-ups below for example). Each site's row should count all collections at all of the locations (100%), and the sub-rows of each site should add up to the count in the site row.
Requestor(s): Domonique
Table or Figure title:

Table 1.1  Baseline Research Biospecimen Collections by Collection Location
Table 1.2  Baseline Clinical Biospecimen Collections by Clinic Location

Metrics to be updated or created: Create new metric tables
Variables needed (include variable name and Concept ID):

BioSpm_Setting_v1r0 (650516960) - Collection setting (research or clinical)
RcrtES_Site_v1r0 (827220437) - Sites (Non-KP sites only)
BioRec_CollectFinal_v1r0 (410912345) - Complete Collections
BioSpm_Location_v1r0 (951355211) - Research Locations
BioClin_SiteBlLocation_v1r0 (185243482) - Clinic Locations

Specify numerator and denominator by variable name where applicable: N/A
Table 1.1

Denominator = Complete research collections (650516960 = 0; 410912345 = 1)
Numerator = Non-KP sites research collection locations (827220437 = 0, 1, 6, 7, 8; 951355211)

HP - 951355211 = 4
Henry Ford - 951355211 = 5, 6, 7
Marshfield - 951355211 1, 2, 3, 12, 13, 14, 15, 16, 18
Sanford - 951355211 = 8, 17
University of Chicago - 951355211 = 9, 10, 11, 12, 19, 20
Table 1.2

Denominator = Complete clinical collections (650516960 = 1; 410912345 = 1)
Numerator = Non-KP sites clinic locations (827220437 = 0, 1, 6, 7, 8; 185243482)

HP - 185243482
NSC = 1
Elk River = 2
Chanhassen = 3
HFH - 185243482
Macomb =<PHONE_NUMBER> OR<PHONE_NUMBER>
West Bloomfield =<PHONE_NUMBER> OR<PHONE_NUMBER> OR<PHONE_NUMBER>
Wyandotte =<PHONE_NUMBER>
Fairlane (Dearborn) =<PHONE_NUMBER>
Plymouth =<PHONE_NUMBER>
Royal Oak =<PHONE_NUMBER>
Troy =<PHONE_NUMBER>
K1 HFH Main =<PHONE_NUMBER> OR<PHONE_NUMBER>
Sterling Heights =<PHONE_NUMBER>
Columbus =<PHONE_NUMBER>
Livonia =<PHONE_NUMBER>
Mock-up table if applicable:

Notes: N/A
Approved by:

@HopkinsDC  Should HFH Cancer Pavilion Research Clinic be included in 1.1?

@KELSEYDOWLING7 Yes! Sorry, I must have mistakenly left that one out of the mock-up. Thank you for catching that!

@HopkinsDC  Of course! Also I'm not seeing any participants with d_173836415_d_266600170_d_185243482= 1 or 2 or 3 for the HP sites. Does that sound right?

@KELSEYDOWLING7 Yes, that's right. I don't think HP has collected their first clinical collection yet.

@HopkinsDC  Last question! For table 1.2 do you only want counts of clinical blood collection and not clinical urine collections?  You can use the blood location ID (185243482) or the urine location ID (452847912) to get the location; it can be assumed that they are the same if both are present. If one is not populated, the other can be used.

@HopkinsDC  Great, thanks. This is where I'm at for these tables right now. The percentages are proving to be difficult so I'll have to keep looking into this for next week. I may not be able to do a full count and 100% next to each Site, but I should be able to do a per site collection count

@HopkinsDC  Got the percentages! Does this work or do we definitely need the grouped counts?

@KELSEYDOWLING7 This looks great! We will definitely need to total group counts for each site. If you can't add it to the same row as the site name, maybe adding a "Total" sub-row below the locations that adds them together would work better (example below)?

@HopkinsDC  Got it!! Sorry the delay and all the back and forth

@KELSEYDOWLING7 This looks perfect; thank you! One last thing: HP now has clinical collections, so Table 1.2 should include those in production.

@HopkinsDC  Thanks for the heads up. Here's that table updated

@KELSEYDOWLING7 Looks good, thanks!

@KELSEYDOWLING7 Table 1.2 is out of order in the 1/8 report. Please move it up to come before Table 2.

New tables implemented in 1/8 weekly biospecimen metrics report; corrections made and report was re-ran on 1/9.


No Toolbar-Buttons since (49597b8c423b8e8d16ee252adc1e6e8f69e8c1ac)

Hi,
the toolbar buttons are gone with the checkin (49597b8c423b8e8d16ee252adc1e6e8f69e8c1ac)
Squashed commit of the following:
16. April 2018 10:44:13
Only the pictures are left. Is this a Win7 only behavior or a preparation for visual styles?
The following lines are addes in winfile.c
#pragma comment(linker, "\"/manifestdependency: \
    type = 'Win32'                              \
    name = 'Microsoft.Windows.Common-Controls'  \
    version = '<IP_ADDRESS>'                         \
    processorArchitecture = '*'                 \
    publicKeyToken = '6595b64144ccf1df'         \
    language = '*'                              \"")
Greetings
Daniel

It is not a bug. Moreover, it is an intended part of using the visual styles.

I have supposed something.
But how can I get the old style back?

I am not sure, but perhaps setting Disable visual themes in winfile.exe compatibility properties will help?

@thecatkitty that may help but I seem to remember that disables Aero as well?
Having this as an option should probably be investigated

@ZanderBrown Windows of course enables us to do that. We might add such option to the menu (it starts to seem like the Preferences dialog could become a good thing to add) but it would create a dependency on uxtheme.dll... Shall we use LoadLibrary then?

First check if that API works for WinXP or Vista.

Yes LoadLibrary would seem the way to go, I think for now the Options menu is fine but maybe we should have a separate dialog for all the additions over the original WinFile features

This issue has been now fixed in the latest commit. I think this can be closed.


Debian package?

Subj.
xephem_4.1.0_amd64.deb.gz

A Debian package is a welcome addition. I would have no objection to a maintainer stepping forward who could contribute official build files that would result in the Debian Universe having a .deb for XEphem.
In the meantime: it would be helpful to see the DEBIAN directory that directed the creation of the .deb. I would be open to hosting the appropriate DEBIAN/ files in the main repository, to help other folks who want to build a .deb for the package.

Hi @brandon-rhodes .
Ok. I'll clarify right away:
uname -a
Linux devuan-zvezdochiot 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux

You can get the files you are interested in yourself from the package attached above:
gzip -d xephem_4.1.0_amd64.deb.gz
ar x xephem_4.1.0_amd64.deb
tar -xavf control.tar.gz

But if it is necessary, then I attach them separately:
control.tar.gz
I built the package in the opposite way, using bash-deb-build (https://github.com/BASH-Auto-Tools/bash-deb-build).

Oh — I’m unfamiliar with .deb structure and hadn’t realized the files were already in the .deb (the fact they were in an embedded .tar.gz hid them from me!), and didn’t realize you had already provided what I needed to see. Thanks for pointing out where the files were!
I should have time to delve back into XEphem in a few days. When I do so, I'll see whether GitHub Actions might be able to build these .deb files for us on each release!

Hi @brandon-rhodes .
I'll warn you right away: I don't understand GitHub Actions (I don't need them).
PS: Maybe cast someone knows?

It’s okay, I understand them, and have another project that already uses them:
https://github.com/brandon-rhodes/python-sgp4/blob/7f3319534852791d60e34efc1b83340cf4a7fc76/.github/workflows/test_package.yml
When I have some extra time to tackle it, I’ll see if I can get it working, and comment back here.

@zvezdochiot — I have looked in more detail through the control.tar.gz and your bash-deb-build repository, and I still cannot find where you have put the commands that do the work of copying xephem, xedb, and the other binaries, and all the data files, into the /usr/ system hierarchy. Could you point me specifically at the script that gets all of those files arranged? Thanks!

Hi @brandon-rhodes .
There is no such scenario. You take the old package, unpack it (you get the structure), copy the new files here, edit DEBIAN/control and pack it anew.

Oh — and, which Debian is your particular .deb for? I don't see any linking errors on Ubuntu 20.04, so my guess is that you were targeting a Debian of around that era.
If we decide that XEphem wants to offer a .deb for every release then I suppose we will need to produce n binaries for some n recent number of Debian releases, each linking against the correct version of libc? I just tried building under 21.04 and installing under 20.04 and got the error:
/usr/bin/xephem: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by /usr/bin/xephem)

Or is there the possibility that if we statically link the binary, that we can get away with just one amd64 binary and that everyone will be able to install and use it? Do you know what the best practice would be here?

@brandon-rhodes  say:

Do you know what the best practice would be here?

The best option considering your dependencies:
libc6, libssl1.1, libx11-6, libxm4, libxt6

make a package for the most ancient platform. Most likely such a package will work in all later ones.
The only thing that raises doubts: libssl.

make a package for the most ancient platform. Most likely such a package will work in all later ones.

That's an interesting idea! I just tried compiling under the oldest Ubuntu that I have an XEphem build script for, which is 14.04, but when I install that on my 20.04 laptop the binary complains:
xephem: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

So my guess is that either a technique needs to be worked out for compiling a static version of the binary, in which case that binary can be tried to see if it works on later versions of Debian/Ubuntu; or else we'll have to produce several .deb files per release.

Xephem used to be in debian. Actually, the last package is for version 3.4, and the date is 2001.
Shall I try to port it to current version? @brandon-rhodes

Hi @jochym .
The problem with libssl. It is different everywhere, but there is no decent wrapper.

@brandon-rhodes - the correct way would be to return xephem to proper debian repo by first making packaging config for the package. Building the package for all variants of debian, ubuntu, etc. would be wasteful. Since the package was in debian previously, it should be possible to get it there again.
And ssl, X11 and other libraries are not compatible between releases, unfortunately.

Xephem in debian is on the way:
https://salsa.debian.org/debian-astro-team/xephem

@sanlupkim — I'm not familiar with the "salsa" Debian service, but if this results in Debian packages being built automatically for recent Debian releases, then this is exciting news! Do you know which versions it will cover? Will it affect Ubuntu as well? And, which package collection will it be part of, "universe" or something else? (Apologies if all those questions are answered by a file in the debian/ directory, if only I knew where to look for it!)

Hi @brandon-rhodes .
Its devel-config:
Build-Depends: debhelper-compat (= 13),
               libmotif-dev,
               libice-dev,
               libjpeg-dev,
               libncurses5,
               libsm-dev,
               libssl-dev,
               libx11-dev,
               libxt-dev,
               x11proto-core-dev,
               zlib1g-dev

for src-package. Src-package compiled to binary separately for each distribution.

@zvezdochiot — Which of my questions is answered by that snippet? I can't quite tell?

Hi @brandon-rhodes .
I myself do not fully know the answers. I see a good opportunity, but specific details are hidden from me.

@brandon-rhodes Salsa is collabortive enviroment for debian packaging, and Yes - the result will be xephem in Debian release. I dont know yet exact process how debian packages are comintg to Ubuntu, but I like to xephem will be in Ubuntu also.
@zvezdochiot debhelper-compat can't be >= becouse of dh error. If you like build package for other release just change this line - e.g ubuntu 18.04 will be debhelper-compat = 11

HI @sanlupkim .
:question: I got it with debhelper-compat. But add | debhelper> = 13 to it?

Package for Devuan:
xephem_4.1.0-chimaera_amd64.deb.gz

I had a problem compiling debian package on buster/sid x86_64, in the Makefile  add -lcrypto to LIBLIB
LIBLIB = -lastro -lip -llilxml -ljpegd -lpng -lz -lssl -lcrypto, I also compiled openssl-1.1.0l and specified the LIB/INCs in the Makefile
and in netmenu.c
comment SSLv23_client_method, its deprecated in the new release of SSL
        #ssl_method = SSLv23_client_method();

https://github.com/mikemolina/XEphem/tree/distpack
In this repository I make a contribution to build Debian packages and RPM of the project. In it, the respective files, scripts and patches are included to build the project. On my machine (Ubuntu bionic), I have successfully built *.deb packages for Ubuntu jammy/kinetic/lunar and Debian sid (the unstable), as well as *.rpm packages for fedora 37 and 39 (the unstable).
I am not a maintainer or developer of any of the mentioned distributions, I am an enthusiastic follower of the project for years and I hope, perhaps, that the contribution will expand the distribution of the project in the Linux Universe. The packaging guides are located in the debian and RPM directories, which include the new installation of AppStream metadata file to present the project in the software centers included in some linux distributions.


Updated SHOW ZONE CONFIGURATIONS diagram, parameters, and example output

Fixes https://github.com/cockroachdb/docs/issues/10056.

This change is


How to edit the graph size?

I tried the sample code and only got a small graph .... Fresh to frontend codes, can someone helps?

Hi @mt324010,
Since v-network-graph matches the parent container size, please try to specify the size externally.
An example is shown below. I would also like to add a supplement to the example in Getting Started.
Thank you for your question.
<script setup lang="ts">
const nodes = {
  node1: { name: "Node 1" },
  node2: { name: "Node 2" },
  node3: { name: "Node 3" },
  node4: { name: "Node 4" },
}

const edges = {
  edge1: { source: "node1", target: "node2" },
  edge2: { source: "node2", target: "node3" },
  edge3: { source: "node3", target: "node4" },
}

const layouts = {
  nodes: {
    node1: { x: 0, y: 0 },
    node2: { x: 50, y: 50 },
    node3: { x: 100, y: 0 },
    node4: { x: 150, y: 50 },
  },
}
</script>

<template>
<div class="graph">
  <v-network-graph
    :nodes="nodes"
    :edges="edges"
    :layouts="layouts"
  />
</div>
</template>

<style>
.graph {
  width: 800px;
  height: 600px;
  border: 1px solid #000;
}
</style>

Starting from v0.6.7, the display size can be directly specified by css in v-network-graph.
An example code is shown below, and the same code is also available in Getting Started.
<script setup lang="ts">
  const nodes = {
    node1: { name: "Node 1" },
    node2: { name: "Node 2" },
    node3: { name: "Node 3" },
    node4: { name: "Node 4" },
  }

  const edges = {
    edge1: { source: "node1", target: "node2" },
    edge2: { source: "node2", target: "node3" },
    edge3: { source: "node3", target: "node4" },
  }
</script>

<template>
  <v-network-graph
    class="graph"
    :nodes="nodes"
    :edges="edges"
  />
</template>

<style>
.graph {
  width: 800px;
  height: 600px;
  border: 1px solid #000;
}
</style>

I close this issue for now.
If you have any questions, please re-open this or open a new issue.


feat: config schema

Adds intellisence for Cobra CLI config (YAML Red Hat VS Code extension is required).
When this PR is merged I can reference this schema from SchemaStore GitHub repository to enable intellisence automatically in Cobra CLI config based on its path.

 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.

@spf13, can you review this PR?


feat: add additionalDebugConfiguration configuration

As per the modification to README.md:

vitest.additionalDebugConfiguration: Properties overlayed onto the run configuration to launch the vitest for debugging. For example: {"trace": true}

Please, create an enhancement issue first with the reasoning for this option.

I've forgotten why I needed the run configuration overlay.
would like to wait for someone who needs it, and hope they raise the enhancement issue.


#3640, fix missing milliseconds when reading

Fixes #3640.

/run ci

/run ci

Pull Request Test Coverage Report for Build 1048

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.006%) to 68.163%

Files with Coverage Reduction
New Missed Lines
%

sharding-proxy/sharding-proxy-transport/sharding-proxy-transport-mysql/src/main/java/org/apache/shardingsphere/shardingproxy/transport/mysql/packet/command/query/text/MySQLTextResultSetRowPacket.java
1
90.91%

Totals

Change from base Build 583:
-0.006%

Covered Lines:
11461

Relevant Lines:
16814

💛  - Coveralls


add cmd get, delete, keys

#115  , I will be happy to help if there is a problem. also I handled using put command before start.

Is it okay now? If it's not, please let me know what is the problem.

thanks