Unable to connect to my websoclet when i moved it from localhost to my online host

The websocket was working perfectly when on localhost but when i moved it to an online host, i couldn't connect to it again. Please i'm lost i dont know what is wrong and i'cve spent a lot of time trying to fix this. I've been on this for over a month now. Please help

Please provide some source code so I can help troubleshoot.

`<?php
use Ratchet\Server\IoServer;
use Ratchet\Http\HttpServer;
use Ratchet\WebSocket\WsServer;
use MyApp\Chat;
use Ratchet;
require dirname(__DIR__) . '/vendor/autoload.php';
$app = new Ratchet\App('<IP_ADDRESS>', 3128,'<IP_ADDRESS>');
$app->route('/chat', new Chat);
$app->route('/echo', new Ratchet\Server\EchoServer, array('*'));
$app->run();

`
Thats the code i used in my chat-server.php

I get a connection timeout when trying to connect. Who's your host?
I don't know GoDaddy but I'm fairly confident they're not going to allow you to open ports to the outside world.

timeout

if they wont allow me open port what should i do then?

Your best bet is to use a virtual private hosting service such as AWS, Google Compute, Linode, Digital Ocean, Microsoft Azure, etc.
A quick google for "WebSockets on GoDaddy" reveals that they don't allow this kind of behaviour; they only allow PHP to run through CGI.

wow... thank you very much.
But just want to confirm there is nothing wrong with my code

Nope, code looks good 👍

Okay. Thank you very much. I really appreciate your help


Fix CommandBar failing

Anyway under this scenario:

Running latest version of Summaries plugin's /saveSearchResultsInPeriod. Choose 'other week', 2022, 9, and then include just a single search term (e.g. #family, not #family, #friends). The command bar then pops up for less than 1/10 second before disappearing with a plugin crash.

David thinks it's probably a race condition:

The crash here comes from a race condition where you are using CommandBar.onMainThread and onAsyncThread and trying to pop up a CommandBar to ask where you want things to be stored (probably) while the code is (still?) on the wrong thread. I commented out all the async/main thread stuff and the plugin works as expected.

As far as I can see I'm following the documentation at https://help.noteplan.co/article/70-javascript-plugin-api#commandbar.
But when David runs a (slightly different) set of tester code it's OK:
  await CommandBar.onAsyncThread()
  await CommandBar.showLoading(true, 'Loading', 0.1)
  await CommandBar.showLoading(false, 'Loading', 0.1)
  await CommandBar.onMainThread()
  await CommandBar.showOptions(['this'], '')

Removing the showLoading calls in @jgclark’s code eliminates the crash. But those calls look to me totally in-line with the documentation.
On Wed, Mar 16 2022 at 2:37 AM, Jonathan Clark < @.*** > wrote:

Anyway under this scenario:

Running latest version of Summaries plugin's /saveSearchResultsInPeriod.
Choose 'other week', 2022, 9, and then include just a single search term
(e.g. #family, not #family, #friends). The command bar then pops up for
less than 1/10 second before disappearing with a plugin crash.

David thinks it's probably a race condition:

The crash here comes from a race condition where you are using
CommandBar.onMainThread and onAsyncThread and trying to pop up a
CommandBar to ask where you want things to be stored (probably) while the
code is (still?) on the wrong thread. I commented out all the async/main
thread stuff and the plugin works as expected.

As far as I can see I'm following the documentation at https://help.noteplan.co/article/70-javascript-plugin-api#commandbar
.
But when David runs a (slightly different) set of tester code it's OK:
await CommandBar.onAsyncThread()
await CommandBar.showLoading(true,
'Loading', 0.1)
await CommandBar.showLoading(false, 'Loading', 0.1)
await CommandBar.onMainThread()
await CommandBar.showOptions(['this'],
'')
—
Reply to this email directly, view it on GitHub (
https://github.com/NotePlan/plugins/issues/248 ) , or unsubscribe (
https://github.com/notifications/unsubscribe-auth/ACEI6VDZMA24YQINDEOIX2TVAGTWTANCNFSM5Q3JBPSA
).
You are receiving this because you are subscribed to this thread. Message
ID: <NotePlan/plugins/issues/248 @ github. com>

@EduardMe reports he's made a fix ready for next release.

We can review this in the next alpha. Let me just get to an alpha
releasable Meeting Notes feature state.
On Wed, Mar 16, 2022 at 1:18 PM Jonathan Clark @.***>
wrote:

@EduardMe https://github.com/EduardMe reports he's made a fix ready for
next release.
—
Reply to this email directly, view it on GitHub
https://github.com/NotePlan/plugins/issues/248#issuecomment-1069411593,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAZCAYWLZ2SYA7KILZ6J5KDVAIQZDANCNFSM5Q3JBPSA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Appears to be fixed on the original command that was having problems. Closing.


Swap the semantics of the two StreamBuilder constructors

Description
Based on a survey of usage, it appears that the ratio is about
3:1 of callers that create StreamBuilder without initial
data to callers that create StreamBuilder with initial data.
Given this, the updated API will break fewer callers if we swap
the semantics of the two constructors:
Before
StreamBuilder(
  @required T initialData,
  ...
)

StreamBuilder.withoutInitialData(
  ...
)

After
StreamBuilder(
  ...
)

StreamBuilder.withInitialData(
  @required T initialData,
  ...
)

This also allows us to provide a softer transition period by
deprecating the initialData argument to the default constructor.
During this deprecation period, null values will be interpreted as
"no initial data".
Related Issues
https://github.com/flutter/flutter/issues/34545
Tests
I updated the existing tests to reflect the switch.
Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I signed the [CLA].
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I updated/added relevant documentation (doc comments with ///).
[x] All existing and new tests are passing.
[x] The analyzer (flutter analyze --flutter-repo) does not report any problems on my PR.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change

[x] Yes, this is a breaking change (though only for users on master).  I will update the existing breaking change announcement at https://groups.google.com/forum/#!topic/flutter-announce/H6Od0QdsdrI
[ ] No, this is not a breaking change.

Closing since I reverted the original change.


Add support for guide step. Some kind of visual confirmation is needed

Using horizontal tray as a temporary fix.


pip install gives error..

Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/bv/2pw80_r535j10nqy91l3p1cw0000gn/T/pip-install-yjsemuse/imgur-downloader/
tried in python 2.7 and 3.7

what OS are you using?
try
pip3 install -U --user imgur-downloader

It installed just fine after downloading the compressed module (or repo?), deleting the setup.cfg then sudo python3 setup.py install
It's been so long since I built up my config stuff for making module pip installable, I don't remember what setup.cfg is for and a quick google search makes it seem like an alternative to doing the same stuff I do in setup.py https://gist.github.com/althonos/6914b896789d3f2078d1e6237642c35c
But, now I'm having an issue with the global cli entry point becoming a null reference when I installed this module using sys wide python 3.7, uninstalled it, installed this module using a locally installed version of python (3.5).
I'm ready to make js my main language


Add new issue reason for non-matching variant key

Fixes #235.
This is a breaking change because with this change only literal schemas are allowed for the discriminator.

This is partially fixed in v0.25.0. Sorry that I did not build on this PR to implement it.

I think this is now completely fixed with the changes in v0.28.0


Whisper model word-level timestamps broken

System Info
"@xenova/transformers": "^2.14.0",
macbook with M2 chip and MacOs Sonoma
Node.js: 20.11.0
Environment/Platform

[ ] Website/web-app
[ ] Browser extension
[X] Server-side (e.g., Node.js, Deno, Bun)
[ ] Desktop app (e.g., Electron)
[ ] Other (e.g., VSCode extension)

Description
I am running whisper like this:
export const speechToText = async (audio: Buffer) => {
  const float32Array = await convertAudioToFloat32Array(audio)
  env.allowLocalModels = false

  const transcriber = await pipeline(
    "automatic-speech-recognition",
    "Xenova/whisper-large-v3",
  )
  const output = await transcriber(float32Array, {
    return_timestamps: "word",
  })

  return output
}

However the returned word-level timestamps are all equal to the total duration of the audio file.
During the run my console also gets flooded with this kind of logs:
2024-01-30 15:14:37.230 node[87226:3900219] 2024-01-30 15:14:37.230677 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.20/self_attn_layer_norm/Constant_1_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.230 node[87226:3900219] 2024-01-30 15:14:37.230684 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.12/self_attn_layer_norm/Constant_1_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.230 node[87226:3900219] 2024-01-30 15:14:37.230693 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.6/final_layer_norm/Constant_1_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.230 node[87226:3900219] 2024-01-30 15:14:37.230701 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.11/encoder_attn_layer_norm/Constant_1_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.230 node[87226:3900219] 2024-01-30 15:14:37.230708 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.4/encoder_attn_layer_norm/Constant_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.230 node[87226:3900219] 2024-01-30 15:14:37.230716 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.1/self_attn_layer_norm/Constant_1_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.230 node[87226:3900219] 2024-01-30 15:14:37.230741 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.0/final_layer_norm/Constant_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.230 node[87226:3900219] 2024-01-30 15:14:37.230761 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.10/encoder_attn_layer_norm/Constant_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.230 node[87226:3900219] 2024-01-30 15:14:37.230773 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.8/self_attn_layer_norm/Constant_1_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.230 node[87226:3900219] 2024-01-30 15:14:37.230782 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.3/final_layer_norm/Constant_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.230 node[87226:3900219] 2024-01-30 15:14:37.230797 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.6/self_attn_layer_norm/Constant_1_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.231 node[87226:3900219] 2024-01-30 15:14:37.230806 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.2/self_attn_layer_norm/Constant_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.231 node[87226:3900219] 2024-01-30 15:14:37.230814 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.0/self_attn_layer_norm/Constant_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.231 node[87226:3900219] 2024-01-30 15:14:37.230844 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.17/self_attn_layer_norm/Constant_1_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.231 node[87226:3900219] 2024-01-30 15:14:37.230855 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.19/encoder_attn_layer_norm/Constant_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.231 node[87226:3900219] 2024-01-30 15:14:37.230865 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.0/encoder_attn_layer_norm/Constant_output_0'. It is not used by any node and should be removed from the model.
2024-01-30 15:14:37.231 node[87226:3900219] 2024-01-30 15:14:37.230873 [W:onnxruntime:, graph.cc:3490 CleanUnusedInitializersAndNodeArgs] Removing initializer '/model/decoder/layers.5/final_layer_norm/Constant_output_0'. It is not used by any node and should be removed from the model.

There is a releated PR in the python project: https://github.com/huggingface/transformers/pull/25607
Reproduction

Call whisper with  return_timestamps: "word"
Inspect output

Call whisper with  return_timestamps: "word"
Inspect output

Could you please provide a link to the audio file tested?

Hey @xenova
Really big thanks for awesome project.
I also have wrong timestamps issue.
From my tests looks like stride param change fix it, but maybe it's deeper issue.
Whisper web with only
 return_timestamps: "word",

Whisper web with word level and fixed valuestride_length_s=3 at worker.js - line 160
instead of
 stride_length_s: 3, //isDistilWhisper ? 3 : 5,

Codesandbox link  with changes that fix timestamp
Attaching audio file with which I have tested
output.wav.zip
Thanks and have a great day!


Filtering of Clips

Hi,
I'm hoping to setup the card to quickly show me the clips for both my cameras, I've selected both camera's as entities although the default is to display the first one only, I've added my second camera into the filter (backyard) although this change isn't persistent after a refresh. Is there anyway to set up the card similar to below although have it persistent after reboot/refresh etc.

Thank you!

Right now there's no way to make a persistent "filter query", but you can probably do something very similar by just having one camera depend on the other. In the following example, when media for camera.landing is shown, the card will also show media for camera.living_room. Then if you list camera.landing as the first default card, and the clips gallery as the default view, you may get what you want ...
  - camera_entity: camera.landing
    dependencies:
      cameras:
        - camera.living_room

Hi,
I've updated it to:
type: custom:frigate-card
cameras:

camera_entity: camera.backyard
dependencies:
cameras:
- camera.driveway

Although it still only looks to only show camera.backyard.

Sorry, my example was incomplete. You need to not only tell it that camera.backyard depends on camera.driveway, but you also need to actually define camera.driveway also, i.e. like this:
  - camera_entity: camera.backyard
    dependencies:
      cameras:
        - camera.driveway
  - camera_entity: camera.driveway

@asteriqz Did this example work for you?

Awesome, that worked.
Thank you mate!

Sorry, my example was incomplete. You need to not only tell it that camera.backyard depends on camera.driveway, but you also need to actually define camera.driveway also, i.e. like this:
  - camera_entity: camera.backyard
    dependencies:
      cameras:
        - camera.driveway
  - camera_entity: camera.driveway

Thanks for this. This was exactly what I came looking for. :)


Support NestJS 8.0.0^

Ey! Nice project! thank you for the effort
Is possible to update your lib for support NestJS 8.0.0^?
Regards!

Hey, I'm glad you like the project!
I just added ^8.0.0 to the peer dependencies of the package, so you'll find it in the latest version (1.1.2).
Thank you :smile:


copyfile and copydir are osx specific

They both use the pbcopy command which is only available on osx.

Affects plugins cloudapp and coffee, too.
$ grep -r pbcopy *
plugins/cloudapp/cloudapp.rb:`echo '#{url}' | tr -d "\n" | pbcopy`
plugins/coffee/coffee.plugin.zsh:  cf $1 | pbcopy
plugins/coffee/coffee.plugin.zsh:alias cfpc='cfp | pbcopy'

Added a PR #4254 to make them portable. Tested on OS X and Windows; think it will work on Linux too. Would you mind giving it a test and see if it works for you too?


[CT-2989] [Bug] --log-format json should imply --no-use-colors

Is this a new bug in dbt-core?

[X] I believe this is a new bug in dbt-core
[X] I have searched the existing issues, and I could not find an existing issue for this bug

Current Behavior
When running dbt --log-format json run the json message's "msg" field can include terminal color escapes like the following:
{"data": {"keyboard_interrupt": false, "num_errors": 0, "num_warnings": 0}, "info": {"category": "", "code": "Z030", "extra": {}, "invocation_id": "b2cb1694-7afc-469f-af08-22c37c793426", "level": "info", "msg": "\u001b[32mCompleted successfully\u001b[0m", "name": "EndOfRunSummary", "pid": 1, "thread": "MainThread", "ts": "2023-08-14T20:53:17.931454Z"}}

Expected Behavior
Given the log format is json, I would expect that terminal color escape codes shouldn't be present in the out as if --no-use-colors was passed so you get output like:
{"data": {"keyboard_interrupt": false, "num_errors": 0, "num_warnings": 0}, "info": {"category": "", "code": "Z030", "extra": {}, "invocation_id": "dc6bab70-e8b9-40aa-9328-e60b237eabd3", "level": "info", "msg": "Completed successfully", "name": "EndOfRunSummary", "pid": 1, "thread": "MainThread", "ts": "2023-08-14T20:59:29.702170Z"}}

Steps To Reproduce
Run dbt --log-format json run and see color escapes like \u001b[32m included in some of the messages.
Relevant log output
See above

Environment
- OS: debian buster
- Python: 3.8.17
- dbt: 1.6.0

Which database adapter are you using with dbt?
redshift
Additional Context
No response

@pdebelak Thanks for opening!
I have two thoughts here:

There is a legitimate use case for --log-format json while preserving --use-colors. We do this in dbt Cloud, to consume structured logs on the backend, while still presenting human-friendly colorized text-formatted logs in the UI.
Creating implicit behavior that mixes multiple flags together feels like more confusion than it's worth. I'd rather keep the two things neatly separated. It doesn't seem like a big lift to set both configs (via flag or environment variable), if you're already setting one.

I'm going to close this as wontfix


请问青龙能备份脚本配置文件和环境变量降级安装吗

Clear and concise description of the problem
请问青龙能备份脚本配置文件和环境变量降级安装吗
Suggested solution
请问青龙能备份脚本配置文件和环境变量降级安装吗
Alternative
No response
Additional context
No response
Validations

[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

docker 映射目录 重新启动指定版本


feat: pass strikethrough markdown for hint message on field

Summary
This adds the option to include strikethrough HTML in the hint message on a field. Closes #5717
The issue creator requested support for strikethrough Markdown

Test plan
Please guide me to the testing details if any for this modification. Thanks in advance.

Checklist
Please add a x inside each checkbox:

[x] I have read the contribution guidelines.
[x] Code is formatted via running yarn format.
[x] Tests are passing via running yarn test.
[x] The status checks are successful (continuous integration). Those can be seen below.

A picture of a cute animal (not mandatory but encouraged)

Hi @JonasMatos0, can you share a sample config.yml where you got the strikethrough to work?


Renamed Py* commands to JavacompletePy*.

[Problem]
Because we use a very generic name for our Python commands (Py and Pyfile) there
is a chance other plugins or the user might have already created those commands
and overriding them might cause unwanted effects for the user.
[Solution]
Use a more "unique" name for our commands to minimize the change of conflict.
Although these commands will be globally available, the user would have to
create a "JavacompletePy" command in order to have problem.

Thanks.


throw type error when accessing a property that isn't defined

def Cat(@name) end
Cat["fluffy"]:age -- this should throw a type error

I believe this is the only feature holding us back from claiming a strong dynamic type system.
I'm thinking adding a method on Meta protocol defined?(key) to handle this for legit use cases for example iterating through properties of unknown (json) objects that might have certain properties.

I'm not 100% convinced this is a good idea yet, closing for now.
I would love to do this before 1.0, but we need good patterns to handle the legit use-cases of this before just canning it.


only set cookie and connect if RocketChat object available

closes #2

Unfortunate this doesn't work :disappointed: window.RocketChat does not exist when extension is loaded.. I'm trying to find another way to test it.


[BUG] fix spellcheck errror in job.py from TIMEDOUT to TIMEOUT

Changes
Currently, Flyte is integrating Databricks's service.
https://github.com/flyteorg/flytekit/pull/1797
We have to do a mapping mechanism to handle the response from Databricks API.
https://github.com/flyteorg/flytekit/blob/master/flytekit/extend/backend/base_agent.py#L138
But the spellcheck seems to be an error, please merge it, and thanks a lot!
Test

[ ] make test run locally
[x] make fmt applied
[ ] relevant integration tests applied

It is not allowed to change autogenerated files. It’s a valid enum state, please add exception to the spellcheck you’re using.


Add Origin

Add manifest for Origin Installer <IP_ADDRESS>362
Microsoft Reviewers: Open in CodeFlow

I guess the package is not possible then. There is no version-specific URL.


how to check if the acount is out of free messages

The api can also return the same massages of latest valid request if acount is out of free messages. Then, is there a way to check it?

claude.ai is acually , currently there is no limit and free to use . so there is no chance of getting "out of free messages."

claude.ai is acually , currently there is no limit and free to use . so there is no chance of getting "out of free messages."

Actually not, I met the same limitation after about 150 conversations as here. At the time out of free messages, this api will always return the same massages of latest valid request.

Hey! @merlinarer , I've used more than 400  conversations a day ,i still didn't encounter such kind of issue , and as claude.ai currently is in beta in some countries, might have restricted access. (try resetting the conversations using reset_all())
Also Refer to this https://www.anthropic.com/index/claude-2 , claude.ai currently doesn't seems to have such limitations.

Hey! @merlinarer , I've used more than 400 conversations a day ,i still didn't encounter such kind of issue , and as claude.ai currently is in beta in some countries, might have restricted access. (try resetting the conversations using reset_all()) Also Refer to this https://www.anthropic.com/index/claude-2 , claude.ai currently doesn't seems to have such limitations.

Hello, I have identified an issue with the current implementation. When there are multiple requests for conversations that involve very long contexts in a short period of time, the server responds with the message: {"error":{"type":"rate_limit_error","message":"Exceeded completions limit","code":"too_many_completions","resets_at":1689951600}}.
To handle this situation more effectively, we can add a few lines of code to check the response from the server. Here's an improved version of the code:
if response.status_code == 200:
        ## go on
elif response.status_code == 429:
        return "Exceeded completions limit"
else:
        raise Exception(f"Unexpected code: {response.status_code }")

Thanks @merlinarer for letting me know this issue. I'll surely consider this and recheck the code under such conditions and will fix it soon.


"what was the weather on Friday" should extract Friday the 16th if today is Wednesday the 21st

Instead, it seems that we choose the closest Friday (the 23rd).
I realize that detecting this case is a little more complicated than detecting last Friday, since we have to rely on detecting the tense (past) of the sentence, but it would be cool if it is possible.

Just as a caveat, if the user utters "next Friday" or "in two Friday", we should disregard the tense of the sentence. I think the tense is really only useful in the case of "Friday".
Here are some awkward example sentences:

what was the weather on Friday: last Friday

what was the weather last Friday: Friday the 16th

what was the weather this Friday: Friday the 23rd

what is the weather on Friday: Friday the 23rd

what will the weather be Friday: Friday the 23rd

what was the weather next Friday: Friday the 30th (or the 23rd, depending on how #44 goes)

Hi @yegeniy,
Indeed, this requires to use full sentence features and is currently outside of the scope of Duckling.
At this point, we only look at the text parsed by the rule (e.g. "Friday", "last Friday", "this Friday", "next Friday").
Closing for now, as there is no plan to support this in the near future.

That's great to know. I can rely on my own rules in wit.ai without fear of a regression coming in from support for this kind of thing from Duckling.


Add more URL Scheme actions

The following UTM features could reasonably be exposed via the URL scheme:

[ ] Delete a VM
[ ] Rename a VM
[ ] Clone a VM
[ ] Import a VM from file URL (as opposed to the downloadVM action which only works with Web URLs)
[ ] Quit (possibly with a parameter whether to force quit any running VMs)

If a URL scheme can return data, an export QEMU command url might be helpful.

To allow bidirectional communication, we would need to implement the X-Callback-URL specification. I'm not sure if this would be helpful for scripting from the command line. It would definitely work with Shortcuts.

I've opened #3256 about the X-Callback-URL implementation.

Another feature that could be reasonably exposed is Pause|Snapshot/Resume VM.  You could also expose ejecting/loading removable media from a VM.

Pause & resume is already implemented, see the Wiki for the full list.

I'm using Monterey m1 virtualization, is there a way (or a workaround) how to clone a VM, or at least import/download from local file system? I understand the QEMU export is off limits

Closing because we have two scripting options for macOS now: AppleScript and utmctl. https://docs.getutm.app/scripting/scripting/


accessing your own peerId

Hi! I'm new to trystero -
From the current README, it didn't seem immediately obvious that for the js of a user to access their own peer ID selfId, you need to do an import like import {selfId} from './nostr.js'
I get that it's technically at the same level of indentation in the README as the other things listed under API (like joinRoom), but any thoughts on adding a code snippet here?

Maybe we could add something like this?
import {selfId} from 'trystero'

I also remember struggling with this, eventually I discovered I could access selfId as a global var (via variable hoisting?) : https://codeberg.org/coderofsalvation/xrfragment/src/branch/main/src/3rd/js/plugin/p2p/trystero.js#L54
however this example uses trystero-torrent.min.js, not the module version.

Thanks for the suggestion, I added a section early in the readme mentioning how to do this.


plugin doesn't detect a non zero exit status returned from minion cmd.run function

Salt detects this well:
root@master:~# salt minion cmd.run 'true 1'
minion:
root@master:~# echo $?
0
root@master:~# salt minion cmd.run 'false 1'
minion:
ERROR: Minions returned with non-zero exit code
root@master:~# echo $?
11
root@master:~#

The plugin doesn't detect the error and continues the job.
It would rock if plugin detects this situation and fails the job (or not ? config parameter ?)

Thanks for reporting. I'll get on it

Hmmm. It appears this isn't exposed through the salt-api.
Here's the output from cmd.run 'false 1':
{
    "return": [
        {
            "web1": ""
        }
    ]
}

So first we'll need salt-api updated as mentioned in saltstack/salt/issues/18510

So, salt CLI command receives the exit status from minion and exits correctly, but salt-api doesn't expose it to the caller, right?

Yep. It looks that way. At least for 2015.8.8

The salt-api has been enhanced with the 2017.7 release, and this will be supported in the next release of the Jenkins plugin.

This was corrected in the 3.2.0 release. It should be available within the next 24 hours.


Incorrect configuration may lead to segfault

Hi,
I'm trying to run ydb in "strange" configuration - 2 nodes(just for testing purposes).
I have the following configuration file
static_erasure: none
host_configs:
  - drive:
      - path: ydb.data
        type: SSD
    host_config_id: 1
hosts:
  - host: host1.test
    host_config_id: 1
    port: 19001
    walle_location:
      body: 1
      data_center: '1'
      rack: '1'
  - host: host2.test
    host_config_id: 1
    port: 19001
    walle_location:
      body: 2
      data_center: '2'
      rack: '2'
domains_config:
  domain:
    - name: Root
      storage_pool_types:
        - kind: ssd
          pool_config:
            box_id: 1
            erasure_species: none
            kind: ssd
            pdisk_filter:
              - property:
                  - type: SSD
            vdisk_kind: Default
  state_storage:
    - ring:
        node: [1,2]
        nto_select: 2
      ssid: 1
table_service_config:
  sql_version: 1
actor_system_config:
  executor:
    - name: System
      spin_threshold: 0
      threads: 2
      type: BASIC
    - name: User
      spin_threshold: 0
      threads: 3
      type: BASIC
    - name: Batch
      spin_threshold: 0
      threads: 2
      type: BASIC
    - name: IO
      threads: 1
      time_per_mailbox_micro_secs: 100
      type: IO
    - name: IC
      spin_threshold: 10
      threads: 1
      time_per_mailbox_micro_secs: 100
      type: BASIC
  scheduler:
    progress_threshold: 10000
    resolution: 256
    spin_threshold: 0
blob_storage_config:
  service_set:
    groups:
      - erasure_species: none
        rings:
          - fail_domains:
              - vdisk_locations:
                  - node_id: host1.test
                    path: ydb.data
                    pdisk_category: SSD
          - fail_domains:
             - vdisk_locations:
                  - node_id: host2.test
                    path: ydb.data
                    pdisk_category: SSD
channel_profile_config:
  profile:
    - channel:
        - erasure_species: none
          pdisk_category: 0
          storage_pool_kind: ssd
        - erasure_species: none
          pdisk_category: 0
          storage_pool_kind: ssd
        - erasure_species: none
          pdisk_category: 0
          storage_pool_kind: ssd
      profile_id: 0

When i run server with this config i've got
$ ./start.sh disk
Starting storage process...
./start.sh: line 27: 10017 Segmentation fault      `pwd`/ydbd/bin/ydbd server --yaml-config $cfg --node static --grpc-port 2136 --ic-port 19001 --mon-port 8765 --log-file-name logs/storage_start.log > logs/storage_start_output.log 2> logs/storage_start_err.log
Registering database ...
Errors found when registering database, cancelling start script, check logs/db_reg.log
$ cat logs/db_reg.log
GRPC call error: failed to connect to all addresses

So what I'm doing wrong? Is it possible to start the server if the server on host2.test did not start yet?

Does it works in single node local mode with default config on same server?

Yes. In a single node mode, it works perfectly.

First of all, you should fix your config:

state_storage - ring should have odd number of nodes (1, 3, 5, etc)

  state_storage:
    - ring:
        node:
        - 1
        nto_select: 1
      ssid: 1

blob_storage_config - remove host2.test (or you have to wait until host2.test starts)

blob_storage_config:
  service_set:
    groups:
      - erasure_species: none
        rings:
          - fail_domains:
              - vdisk_locations:
                  - node_id: host1.test
                    path: ydb.data
                    pdisk_category: SSD

But I tried to use your config - I got some errors, but not Segmentation fault .


Arrow function in object literal does not have function syntax color

VSCode Version: 1.18.1
OS Version: Microsoft Windows 10

Steps to Reproduce:

Inside of an object literal, create an arrow function, like

{
  someFunction: () => something()
};

someFunction should be colored as a function (yellow in dark+).

Reproduces without extensions: Yes

This issue was moved to Microsoft/TypeScript-TmLanguage#548

Looks like we special case this in our Light+/Dark+ grammar. However the other built-in grammars all colorize:
({
	someFunction: () => something(),

	someFunction2() { something() }
});

the same way


tls-sni-01 not working

I have successfully used letsencrypt-express with raw HTTP+HTTPS setup. (Presumably the challenge was done with http-01.)
To test the scenario without HTTP access, I have replicated everything except for opening port 80 at the firewall. Account creation went successfully, then I get the follow error:
[letsencrypt/lib/core.js] get certificate
[LEX] write file <domain> /tmp/acme-challenge
challenge: zeY6qxTlyl-mdbj7iH78YsWF0zVhfUvl5jgJRDL3iCs
response: zeY6qxTlyl-mdbj7iH78YsWF0zVhfUvl5jgJRDL3iCs.Da1o3SG0jr69MY4CJIhbNItcDmuZdCYxNilg6FNkcI0
[LEX] mkdirp /tmp/acme-challenge
[LEX] write file <domain> /tmp/acme-challenge
challenge: vFIE4HuxVhJ336P1gW_F3LoGoZ5XFo64pF9jhZesxDM
response: vFIE4HuxVhJ336P1gW_F3LoGoZ5XFo64pF9jhZesxDM.9DXrw7Tt3RxxqGGpA381fSErHeSchqsBIWgUXEnFFDs
[LEX] removeChallenge /tmp/acme-challenge/vFIE4HuxVhJ336P1gW_F3LoGoZ5XFo64pF9jhZesxDM <domain> vFIE4HuxVhJ336P1gW_F3LoGoZ5XFo64pF9jhZesxDM
The CA was unable to validate the file you provisioned.
 - https://acme-staging.api.letsencrypt.org/acme/challenge/78yLyqmWTxozm4gJUoMP6wYVZUaU7cWsplcjMhEevVc/5580140 [pending]
 - https://acme-staging.api.letsencrypt.org/acme/challenge/78yLyqmWTxozm4gJUoMP6wYVZUaU7cWsplcjMhEevVc/5580141 [invalid]
   Could not connect to http://<domain>/.well-known/acme-challenge/vFIE4HuxVhJ336P1gW_F3LoGoZ5XFo64pF9jhZesxDM
 - https://acme-staging.api.letsencrypt.org/acme/challenge/78yLyqmWTxozm4gJUoMP6wYVZUaU7cWsplcjMhEevVc/5580142 [pending] null { identifier: { type: 'dns', value: '<domain>' },
  status: 'invalid',
  expires: '2016-05-14T19:35:45Z',
  challenges:
   [ { type: 'tls-sni-01',
       status: 'pending',
       uri: 'https://acme-staging.api.letsencrypt.org/acme/challenge/78yLyqmWTxozm4gJUoMP6wYVZUaU7cWsplcjMhEevVc/5580140',
       token: 'E2IOaLIOlKuG0DwhzQ5zKXUhrG-09epIgBU0S1qnBiU' },
     { type: 'http-01',
       status: 'invalid',
       error: [Object],
       uri: 'https://acme-staging.api.letsencrypt.org/acme/challenge/78yLyqmWTxozm4gJUoMP6wYVZUaU7cWsplcjMhEevVc/5580141',
       token: 'vFIE4HuxVhJ336P1gW_F3LoGoZ5XFo64pF9jhZesxDM',
       keyAuthorization: 'vFIE4HuxVhJ336P1gW_F3LoGoZ5XFo64pF9jhZesxDM.9DXrw7Tt3RxxqGGpA381fSErHeSchqsBIWgUXEnFFDs',
       validationRecord: [Object] },
     { type: 'dns-01',
       status: 'pending',
       uri: 'https://acme-staging.api.letsencrypt.org/acme/challenge/78yLyqmWTxozm4gJUoMP6wYVZUaU7cWsplcjMhEevVc/5580142',
       token: 'U0nfIi2_eFpZO7CwveOt7n9xkdgp1-k_KNeCqbz1B68' } ],
  combinations: [ [ 2 ], [ 1 ], [ 0 ] ] }
[DEBUG le/lib/core.js] registeryAsync err
Error: The CA was unable to validate the file you provisioned.
 - https://acme-staging.api.letsencrypt.org/acme/challenge/78yLyqmWTxozm4gJUoMP6wYVZUaU7cWsplcjMhEevVc/5580140 [pending]
 - https://acme-staging.api.letsencrypt.org/acme/challenge/78yLyqmWTxozm4gJUoMP6wYVZUaU7cWsplcjMhEevVc/5580141 [invalid]
   Could not connect to http://<domain>/.well-known/acme-challenge/vFIE4HuxVhJ336P1gW_F3LoGoZ5XFo64pF9jhZesxDM
 - https://acme-staging.api.letsencrypt.org/acme/challenge/78yLyqmWTxozm4gJUoMP6wYVZUaU7cWsplcjMhEevVc/5580142 [pending]
    at handleErr (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/letiny-core/lib/get-certificate.js:372:17)
    at ensureValidation (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/letiny-core/lib/get-certificate.js:245:16)
    at Request._callback (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/letiny-core/lib/get-certificate.js:227:13)
    at Request.self.callback (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/request/request.js:200:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/request/request.js:1067:10)
    at emitOne (events.js:82:20)
    at Request.emit (events.js:169:7)
    at IncomingMessage.<anonymous> (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/request/request.js:988:12)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:913:12)
    at nextTickCallbackWith2Args (node.js:442:9)
    at process._tickCallback (node.js:356:17)
[LEX] '<domain>' register completed Error: The CA was unable to validate the file you provisioned.
 - https://acme-staging.api.letsencrypt.org/acme/challenge/78yLyqmWTxozm4gJUoMP6wYVZUaU7cWsplcjMhEevVc/5580140 [pending]
 - https://acme-staging.api.letsencrypt.org/acme/challenge/78yLyqmWTxozm4gJUoMP6wYVZUaU7cWsplcjMhEevVc/5580141 [invalid]
   Could not connect to http://<domain>/.well-known/acme-challenge/vFIE4HuxVhJ336P1gW_F3LoGoZ5XFo64pF9jhZesxDM
 - https://acme-staging.api.letsencrypt.org/acme/challenge/78yLyqmWTxozm4gJUoMP6wYVZUaU7cWsplcjMhEevVc/5580142 [pending]
    at handleErr (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/letiny-core/lib/get-certificate.js:372:17)
    at ensureValidation (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/letiny-core/lib/get-certificate.js:245:16)
    at Request._callback (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/letiny-core/lib/get-certificate.js:227:13)
    at Request.self.callback (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/request/request.js:200:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/request/request.js:1067:10)
    at emitOne (events.js:82:20)
    at Request.emit (events.js:169:7)
    at IncomingMessage.<anonymous> (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/request/request.js:988:12)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:913:12)
    at nextTickCallbackWith2Args (node.js:442:9)
    at process._tickCallback (node.js:356:17) undefined
cert is NOT looking good
[LEX] removeChallenge /tmp/acme-challenge/zeY6qxTlyl-mdbj7iH78YsWF0zVhfUvl5jgJRDL3iCs <domain> zeY6qxTlyl-mdbj7iH78YsWF0zVhfUvl5jgJRDL3iCs
The CA was unable to validate the file you provisioned.
 - https://acme-staging.api.letsencrypt.org/acme/challenge/oCuiDupCmdwOjyEgITYiCSu6ki5QwrP9fVXgAfiaRrY/5580137 [pending]
 - https://acme-staging.api.letsencrypt.org/acme/challenge/oCuiDupCmdwOjyEgITYiCSu6ki5QwrP9fVXgAfiaRrY/5580138 [pending]
 - https://acme-staging.api.letsencrypt.org/acme/challenge/oCuiDupCmdwOjyEgITYiCSu6ki5QwrP9fVXgAfiaRrY/5580139 [invalid]
   Could not connect to http://<domain>/.well-known/acme-challenge/zeY6qxTlyl-mdbj7iH78YsWF0zVhfUvl5jgJRDL3iCs null { identifier: { type: 'dns', value: '<domain>' },
  status: 'invalid',
  expires: '2016-05-14T19:35:45Z',
  challenges:
   [ { type: 'tls-sni-01',
       status: 'pending',
       uri: 'https://acme-staging.api.letsencrypt.org/acme/challenge/oCuiDupCmdwOjyEgITYiCSu6ki5QwrP9fVXgAfiaRrY/5580137',
       token: '6xRU-yGZu7WyurTa_woxgocEtAJsM-X1Eot6xwTrqIo' },
     { type: 'dns-01',
       status: 'pending',
       uri: 'https://acme-staging.api.letsencrypt.org/acme/challenge/oCuiDupCmdwOjyEgITYiCSu6ki5QwrP9fVXgAfiaRrY/5580138',
       token: 'ucVLTJvTGLQvVvkpiVvV60oM3pBeB3tKamb3rKsuYQw' },
     { type: 'http-01',
       status: 'invalid',
       error: [Object],
       uri: 'https://acme-staging.api.letsencrypt.org/acme/challenge/oCuiDupCmdwOjyEgITYiCSu6ki5QwrP9fVXgAfiaRrY/5580139',
       token: 'zeY6qxTlyl-mdbj7iH78YsWF0zVhfUvl5jgJRDL3iCs',
       keyAuthorization: 'zeY6qxTlyl-mdbj7iH78YsWF0zVhfUvl5jgJRDL3iCs.Da1o3SG0jr69MY4CJIhbNItcDmuZdCYxNilg6FNkcI0',
       validationRecord: [Object] } ],
  combinations: [ [ 1 ], [ 2 ], [ 0 ] ] }
[DEBUG le/lib/core.js] registeryAsync err
Error: The CA was unable to validate the file you provisioned.
 - https://acme-staging.api.letsencrypt.org/acme/challenge/oCuiDupCmdwOjyEgITYiCSu6ki5QwrP9fVXgAfiaRrY/5580137 [pending]
 - https://acme-staging.api.letsencrypt.org/acme/challenge/oCuiDupCmdwOjyEgITYiCSu6ki5QwrP9fVXgAfiaRrY/5580138 [pending]
 - https://acme-staging.api.letsencrypt.org/acme/challenge/oCuiDupCmdwOjyEgITYiCSu6ki5QwrP9fVXgAfiaRrY/5580139 [invalid]
   Could not connect to http://<domain>/.well-known/acme-challenge/zeY6qxTlyl-mdbj7iH78YsWF0zVhfUvl5jgJRDL3iCs
    at handleErr (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/letiny-core/lib/get-certificate.js:372:17)
    at ensureValidation (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/letiny-core/lib/get-certificate.js:245:16)
    at Request._callback (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/letiny-core/lib/get-certificate.js:227:13)
    at Request.self.callback (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/request/request.js:200:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/request/request.js:1067:10)
    at emitOne (events.js:82:20)
    at Request.emit (events.js:169:7)
    at IncomingMessage.<anonymous> (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/request/request.js:988:12)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:913:12)
    at nextTickCallbackWith2Args (node.js:442:9)
    at process._tickCallback (node.js:356:17)
[LEX] '<domain>' register completed Error: The CA was unable to validate the file you provisioned.
 - https://acme-staging.api.letsencrypt.org/acme/challenge/oCuiDupCmdwOjyEgITYiCSu6ki5QwrP9fVXgAfiaRrY/5580137 [pending]
 - https://acme-staging.api.letsencrypt.org/acme/challenge/oCuiDupCmdwOjyEgITYiCSu6ki5QwrP9fVXgAfiaRrY/5580138 [pending]
 - https://acme-staging.api.letsencrypt.org/acme/challenge/oCuiDupCmdwOjyEgITYiCSu6ki5QwrP9fVXgAfiaRrY/5580139 [invalid]
   Could not connect to http://<domain>/.well-known/acme-challenge/zeY6qxTlyl-mdbj7iH78YsWF0zVhfUvl5jgJRDL3iCs
    at handleErr (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/letiny-core/lib/get-certificate.js:372:17)
    at ensureValidation (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/letiny-core/lib/get-certificate.js:245:16)
    at Request._callback (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/letiny-core/lib/get-certificate.js:227:13)
    at Request.self.callback (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/request/request.js:200:22)
    at emitTwo (events.js:87:13)
    at Request.emit (events.js:172:7)
    at Request.<anonymous> (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/request/request.js:1067:10)
    at emitOne (events.js:82:20)
    at Request.emit (events.js:169:7)
    at IncomingMessage.<anonymous> (node_modules/letsencrypt-express/node_modules/letsencrypt/node_modules/request/request.js:988:12)
    at emitNone (events.js:72:20)
    at IncomingMessage.emit (events.js:166:7)
    at endReadableNT (_stream_readable.js:913:12)
    at nextTickCallbackWith2Args (node.js:442:9)
    at process._tickCallback (node.js:356:17) undefined
cert is NOT looking good
[LEX] certs for '<domain>' recently failed and are still in cool down
[LEX] certs for '<domain>' recently failed and are still in cool down

Reading through the docs it seems that Let's Encrypt should try and probe my server via SNI using x.y.token.acme.invalid, but logging all the SNICallbacks I don't see any of that in there...

Did you figure this out?
I don't understand exactly the situation you're describing, but the common errors it sounds like you might be having are if the dns resolution isn't valid to the ip of the server that you're trying to certify and if the firewall isn't allowing all of ports 80 (plain), 443 (tls), and 5001 (tls).
I'm closing this for now since no one else has reported as similar issue and I don't think your issue is actually related to any bug in letsencrypt-express, but feel free to continue the discussion.

@coolaj86 yeah it's not a bug - letsencrypt-express only supports validation via http-01, so basically if a server only have access to port 443 but not 80 then this module can't do much to help.

Does what you want to do work in the official python client with the production boulder server?
If it works there and it doesn't work here, then it is a bug.

tls-sni-01 does work and is supported by the official client, yes.
Judging by their discussions they will move on to tls-sni-02 in the near future as well...

FYI: In version 2.x http-01, tls-sni-01, and dns-01 are all now handled by the le-challenge-* plugins (search npm for le-challenge-).
Everything has been broken down into much smaller code chunks so that it's easier to grok and build upon.


MAINT: 1.5.3 backports related to ARM64

backport gh-12705 to allow openblas_support.py to pull in aarch64 OpenBLAS binary--this is the current cause of v1.5.x wheels Linux ARM64 CI failure here: https://github.com/MacPython/scipy-wheels/pull/99

update the SciPy 1.5.3 release notes to clarify that we are planning to release Linux ARM64 wheels

If the CI remains green for this backport PR, I'll merge and then adjust the above scipy-wheels repo PR to point at the tip of maintenance/1.5.x to see if we are "good to go" for the Linux ARM64 wheel builds there.

Looking good!


How to change audio route from flutter

I want to audio route to speaker from My Flutter Custom UI. But it doesnt change although it can changed from android call ui

ConnectionService.setAudioRoute()


What is the simile of MediatorLiveData#addSource

Hi !
The MediatorLiveData of the Architecture Components has a method called addSource, the description is:

addSource(LiveData<S> source, Observer<S> onChanged)
Starts to listen the given source LiveData, onChanged observer will be called when source value was changed.

So the MediatorLiveData listen to changes on the added source but respecting the lifecycle of the MediatorLiveData, how can I achieve this with RxJava ?
I'm triying to port this class to RxJava.
I hope I was clear, thanks !
Sorry for my english

The simile would be merging multiple Observable<LifecycleEvent> as the source for events.
The issue tracker is for bugs and feature requests in RxLifecycle, not a help request forum. As such, I'm closing this issue.


Module '"vue"' has no exported member 'mergeDefaults'

Describe the bug
我在vue3中引入外部文件中的props对象，并赋值给withDefaults的第二个参数，然后使用dts生成声明文件时，会出现”Module '"vue"' has no exported member 'mergeDefaults'“报错，但实际上代码本身可以正常运行，请问我该怎么处理避免这个报错出现呢？

Reproduction
http://www.google.com
Steps to reproduce
No response
System Info
System:
    OS: Windows 10 10.0.19044
    CPU: (20) x64 12th Gen Intel(R) Core(TM) i9-12900H
    Memory: 6.29 GB / 15.70 GB
  Binaries:
    Node: 14.18.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.19 - C:\Program Files\nodejs\yarn.CMD
    npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (110.0.1587.69)
    Internet Explorer: 11.0.19041.1566
  npmPackages:
    @vitejs/plugin-vue: ^4.0.0 => 4.0.0
    vite: ^4.1.4 => 4.1.4
    vite-plugin-dts: ^2.1.0 => 2.1.0

Validations

[X] Read the FAQ.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] The provided reproduction is a minimal reproducible example of the bug.

I had the same problem

I'm also running into this error when doing my build.
Here is one example where it's happening for me:
https://github.com/webdevnerdstuff/vuetify-inline-fields/blob/main/src/plugin/VInlineCheckbox.vue#L117
To replicate the issue if you clone the repo and run pnpm i then pnpm build.
Error output example:

2 import { mergeDefaults as _mergeDefaults, defineComponent as _defineComponent } from 'vue'
           ~~~~~~~~~~~~~
src/plugin/VInlineCheckbox.vue.ts:8:2 - error TS6133: 'VInlineCheckboxProps' is declared but its value is never read.

8  VInlineCheckboxProps,```

I'm currently facing a similar issue as I'm trying to wrap and expand an existing component from a third-party library within a new component. My approach involves combining the default properties provided by the library with the ones I have defined. Here's an example:
const props = withDefaults(
  defineProps<
    IThirdPartyLibraryProps & { myNewProperty1: string; myNewProperty2: string }
  >(),
  {...thirdPartyLibraryDefaults, ...myNewDefaults}
);

with myNewDefaults:
const myNewDefaults = {myNewProperty1: "foo", myNewProperty2: "bar"};
I've found a comment in<EMAIL_ADDRESS>"runtime-core.d.ts":
/* removed internal: mergeDefaults */
I guess this plugin should get an update?

Should be fixed in 3.0.0-beta.2.


Add solarized theme

@daniel-beck it would be good to add the appropriate topic to solarized so that it shows up with the right category in plugin manager


30.11

Today we will try to use the system that Miha made in order to create more encapsulated properties for our cards and characters.
The future goal is to be able to mix and match these elements to create unique game elements.
After we have all the pieces it is time to think about turning this framework of sorts into a ressemblence of turn based combat.
But, with all the peaces ready, I think its time to think about letting the designers create something out of this, while also trying to create that combat we talked about, with the already predesigned peaces, which allows us to have a first test scenario in place.
In the far future, we will have to think about making all those peaces move around on the batlefield.

We have added a couple of examples for game objects and those are going to help the designers figure out what they want to do.


Why ads automatically pop up ,and ads are test mode

I set the like this
admob.banner.config({
id: 'ca-app-pub-7283507444107040/8635712814',
isTesting: false,
autoShow:false,
});
but the ads automatically pop up and are test mode.
could anybody help me? thank you very much

ios

I'm having the same issue. My AdMobFreeBannerConfig is configure with autoShow=false. On Android, it works well but on iOS after calling banner.prepare(), it shows automatically the banner. Since autoShow is false, it should not start automatically.
admob Free version 0.14.0
last cordova, android, ionic, version

is your ad test-mode?

That is weird, on iOS I am not running into that issue. Here is my code:
let bannerConfig: AdMobFreeBannerConfig = {
        isTesting: true, // Remove in production
        autoShow: false,
        id: adId
    };

    this.admob.banner.config(bannerConfig);

    this.admob.banner.prepare().then(() => {
        if (showBanner) {
        	console.log("show banner");

        	this.admob.banner.show();
        } else {
        	this.admob.banner.remove();
        }
    }).catch(e => console.log(e));

@niraj-lal-rahi what if you don't have an app deployed yet? What if we wanted to test before we deploy?

@rlam3  dear, it means you admob plugin is working great. When you will deploy it will automatically remove the test mode of ads. And if it pop-up automatically after closing ads then you need to add time interval before ads prepare function.

@niraj-lal-rahi I'm confused. What do you mean to add time interval before ads prepare function? Do you have an example? Thanks!

Hi!
Any solutions?
@rlam3


Support for PHP 8.1

Hello!
Could you add support for PHP 8.1 FPM version?
Thanks for that!

no

@Cararr don't pajacuj

I'm working on it (see branch "new").
I am planning PHP 7.4, 8.0 and 8.1 images for amd64, arm64 and arm32v7. But compiling php extension takes a long time especially for arm arch and I have to check that it doesn't break via docker hooks or github-actions.

All of my Image now with PHP 8.1.
Currently i have only tested the apache and nginx images, but the others should work as well.
The longest construction time of an image was 3h with github action.
I thought about not supporting 8.0 and 7.4 anymore, because 7.4 is end of life and 8.0 is no longer actively supported.
https://endoflife.date/php


PackageInstalls in App Toolkit should go to package-specific namespace

Feature Request
All of the package install related bits go to the repo-global, to be honest, these files should go to a packageinstall specific namespace, unless there’s an overlay that I can’t seem to find that modifies the namespaces
Additional context
@jorgemoralespou raised that the best practice for PackageInstalls is encouraged to go to a specific namespace, rather than repo-global. This issue is to track that request.
cc: @ryanmattcollins @seemiller

There's several caveats to why PackageInstalls should go to their dedicated namespace:

Security. PackageInstalls typically have associated Service Accounts and ClusterRoleBindings and placing this in a general use namespace can provide a security compromise. Anyone that can access ServiceAccounts in repo-global will easily get cluster-admin privileges.
If they go to a repo-global namespace, there will only be possible to have one packageinstall. This might not be a problem for the packages provided by App Toolkit, but as a general advice, we want to standarize on the pattern that will allow multiple packages to be installed.

I'm sure the Carvel team (@cppforlife) have "good practices" in relation to where packageinstalls should go. Although maybe they'll correct my understanding of things.

/keep


Release 0.1.0

This is the initial version of the RabbitMQ client. It contains full documentation on how to use it. Not sure where I can actually view the documentation. I used quarkiverse-docs to build the documentation, but noticed font-awesome icons are not rendered. I couldn't find any documentation on how the documentation actually works. Any hints there are appreciated.
I will not be merging this until I got the chance to test the TLS connection setup with RabbitMQ in both java and native mode.
The pull request is mainly here to see if the build pipeline is working as expected and to get some feedback on the project structure and if all adheres to the Quarkiverse expectations.

@bpasson hey, the quarkiverse-docs is still a prototype and we're evaluating it. Here is an example on how to have your extension listed there: https://github.com/quarkiverse/quarkiverse-docs/pull/1

@bpasson hey, the quarkiverse-docs is still a prototype and we're evaluating it. Here is an example on how to have your extension listed there: https://github.com/quarkiverse/quarkiverse-docs/pull/1

@gastaldi ok, I will send a PR then to include the quarkus-rabbitmq-client in there.

@gastaldi ok, I will send a PR then to include the quarkus-rabbitmq-client in there.

As stated I still have to test TLS connections in java and native mode. I would like to have some actual integration tests. Is there a way to spin up an actual RabbitMQ during the build? Not too familiar with GitHub actions yet.

As stated I still have to test TLS connections in java and native mode. I would like to have some actual integration tests. Is there a way to spin up an actual RabbitMQ during the build? Not too familiar with GitHub actions yet.

I haven't tested, but I think you can use TestContainers for that: https://www.testcontainers.org/modules/rabbitmq/

I haven't tested, but I think you can use TestContainers for that: https://www.testcontainers.org/modules/rabbitmq/

Why didn't I think of that. I'll give it a go and see if I can get that up and running.

Why didn't I think of that. I'll give it a go and see if I can get that up and running.


MIT License in LICENSE.md

MIT license file in the root of the project
I believe that to be the best option but I would be glad to talk about it. Here's a simple reference for picking licenses: http://choosealicense.com/

I'm fine with that, but since some content is taken directly from unity forum/answers posts, are there any problems with that?

That's a good point, and a tricky one.
From my understanding, having no license is against the point of having a library like this. Indeed snippets from forums usually do not have a explicit license but the fact that somebody made it public in a forum suggests it should be used by others with access to the site. I see this as an implicit permission for other people to use and makes licensing the code a logical step.
When looking at the main [http://choosealicense.com/licenses/](licenses suggested by github), most of them also list "patent use" as part of the permissions and that would probably overstepping boundaries of code posted on forums, despite being unlikely. The ones that do not are the MIT and The Unlicense, the latter being the one I would expect some poster to dislike as being too liberal.
When I suggested the license I was following the concept of "any open source project should have a license" but that actually that depends on whether this repository is comparable to a "standard project". If the decision would be not having a license, I would suggest just making it clear in the README and maybe having a policy of having a comment with a link to the forum post or something similar.
The terms of Stack Exchange have recently been changed to make all code posted on their websites available under the MIT license. It would also accept a "link to the post" option I mentioned but there's some controversy on the maintainability of that approach. I see the full MIT license in this project as a having the potential to simplify the proper attribution (albeit indirect) attribution.
Hope I helped and not raised too many new questions :smile:
Maybe you should get some input from more people before making a decision.

there is one comment in the forums about licenses,
http://forum.unity3d.com/threads/the-unify-wiki-are-you-aware-of-it.179901/page-2#post-2795114
(and unity wiki was supposed to switch on public domain also)
So i think we'll go ahead with mit now, and adjust if necessary. (i'll merge on weekend, if nothing else comes up)


Register globals

During a discussion with @leekelleher he came up with a scenario that is not currently supported by the new conversion handlers which was previously supported by the events system which was having the ability to modify objects during conversion that are outside our control (ie, we can't add the conversion handler attributes to them).
Rather than reinstating the events system, what I have here is something similar to how TypeDescriptor works in that it allows you to register a handler for a type at runtime. The syntax for this is:
Ditto.RegisterConversionHandler<MyObject, MyHandler>();

What this is saying is during the conversion of any object of type MyObject run the MyHandler conversion handler during it's conversion.
One thing @leekelleher and I were unsure of was the use of the Ditto prefix. It's intention is to be a facade to give access to non .As methods such that everything is accessed from a single location and you don't get into the thing of trying to remember where you register handlers (kinda the same reason we have everything sit direct on the Our.Umbraco.Ditto namespace, to keep things simple).
Another question kind of arrises from this in that should we also add the ability to register ValueResolvers globally? And possibly TypeConverters (this could just be a method that calls TypeDescriptor.AddAttributes(...) but might be nice to add it to Ditto facade just so everything can be accessed from one location.
Wadda you think?

:+1:   I think if you're gonna allow registration of one you might as well allow it for all. I actually do something similar for my querystring parser in ImageProcessor for TypeConverters (though without the generics) and it's damn useful.
https://github.com/JimBobSquarePants/ImageProcessor/blob/56dcc5b6225557d9ea27e06329ac0208752198f5/src/ImageProcessor.Web/Helpers/QuerystringParser/QueryParamParser.cs#L129

Thanks for the feedback @JimBobSquarePants, much appreciated.

No problemo :sunglasses:


font-manager: "0.7.5" -> actual 0.7.5

Motivation for this change
Move to actual tagged release.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Assured whether relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg eval


[Feature Request] Add suuport for php8 attributes

Context

[X] This issue is not a bug report. (please use a different template for reporting a bug)
[X] This issue is not a duplicate of an existing issue. (please use the search to find existing issues)

Description
In the php 8 there is a new mechanism, which is attributes. However, in editor, they look like comments. E.g.
#[Attr(...), Attr(...)]
private int $a;

In single lines it can be skipped, but attributes can be multilines, what makes it totally wrongly colored. E.g.
#[ArrayShape([
	'id' => 'int',
	'month' => 'int',
	'day' => 'int',
	'usual' => 'int'
])]

We're more than happy to accept a PR for this!

@hediet I'd be really happy to contribute, but the syntax definition seems really complex with no explanation or documentation provided


Unit tests for boto3 client('bedrock-runtime')

I am writing unit tests for a variety of AWS services and have found moto to be very useful.
Unfortunately, I'm stuck on testing boto3 with a bedrock-runtime client.
Ideally, you would add support for this client, but I know you have many requests and it would take some time.
Any advice on the best way to unit tests boto3 and bedrock-runtime? I need to simulate invoking an AI Large Language Model with Bedrock.

Hi @cbishop, you could patch boto3 itself, before it even reaches Moto?
See our docs here: http://docs.getmoto.org/en/latest/docs/services/patching_other_services.html

Closing this due to inactivity - I'll assume it is fixed. Feel free to let us know if you have any other questions/issues though.


[KED-1268] Support for SSH data stores

Description
I think it would be nice to have the possibility to retrieve/store data from/on an SSH server. Right now, the only way to access remote data is through an HTTP server or an S3 bucket (please correct me if I'm wrong).
Context
If this feature was enabled, I could store my datasets on my own private server, which would be key to ensure data privacy.

We are investigating fsspec support, that would include SSH support.

@anferico A subsequent release of kedro will support a new series of file-storage agnostic datasets for CSVDataSet, ParquetDataSet, JSONDataSet, ExcelDataSet, HDFDataSet and PickleDataSet made possible because we stumbled into fsspec while we were looking at Dask integration; these datasets will support SSH.

I've also just placed this on our internal tracker to let you know when this release is ready.

@anferico This PR has been addressed and will be ready for the next release. The datasets which retrieve/store data from/on an SSH server are in the develop branch: https://github.com/quantumblacklabs/kedro/tree/develop/kedro/extras/datasets
They all use fsspec to load access SSH servers: https://filesystem-spec.readthedocs.io/en/latest/api.html#built-in-implementations


Kinematic loop without fixed joints

Have you tried creating this kind of a closed loop on something that is not attached rigidly to the world?
I've been trying to model closed loop kinematics on an excavator model but at least with the Detachable joints plugin the model goes haywire if it's not fixed to the world. I'm guessing that the closed loop is causing some kind of situation where movements of each joint is multiplied over and over again and this causes massive velocities and the instant something touches the ground plane for example, sends the model flying and gazebo crashes.

Hi,
No we are only working with fixed parallel robots and this package is a proof of concept to adapt our labs to Gazebo and ROS 2.


Returning the expiry of IdP certs from parseMetadata function

We need the expiry i.e. validTo of the X509 cert received from IdP.
The parseMetadata function has been modified to find and return the validTo of the X509 certificate.

@ukrocks007 Should add tests for this.

Done


Warning about potential null dereference in GCC 12.1 (Fedora 36)

Description
Moving from GCC 11 to 12 a warning is emitted about a potential null dereference.  With no code change, just a complier change this warning emerges.
Reproduction steps
build with GCC 12 using  g++ main.cpp -O2 -DNDEBUG -Wnull-dereference
Expected vs. actual results
Expected no warnings, but got a warning
Minimal code example
#include <nlohmann-json/json.hpp>

#include <string>

// g++ main.cpp -O2 -DNDEBUG -Wnull-dereference
void decode_json_map( nlohmann::json const& tree, std::string const& key )
{
    if( auto map_it = tree.find( key ); map_it != tree.end() )
    {
        for( auto p_it = map_it->begin(), end = map_it->end(); p_it != end; ++p_it )
        {
        }
    }
}

int main()
{
}

Error messages
g++ main.cpp -O2 -DNDEBUG -Wnull-dereference
In file included from main.cpp:1:
In constructor ‘nlohmann::detail::iter_impl<BasicJsonType>::iter_impl(pointer) [with BasicJsonType = const nlohmann::basic_json<>]’,
    inlined from ‘nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>::const_iterator nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>::cend() const [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string<char>; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; BinaryType = std::vector<unsigned char>]’ at /usr/include/nlohmann-json/json.hpp:22294:24,
    inlined from ‘nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>::const_iterator nlohmann::basic_json<ObjectType, ArrayType, StringType, BooleanType, NumberIntegerType, NumberUnsignedType, NumberFloatType, AllocatorType, JSONSerializer, BinaryType>::end() const [with ObjectType = std::map; ArrayType = std::vector; StringType = std::__cxx11::basic_string<char>; BooleanType = bool; NumberIntegerType = long int; NumberUnsignedType = long unsigned int; NumberFloatType = double; AllocatorType = std::allocator; JSONSerializer = nlohmann::adl_serializer; BinaryType = std::vector<unsigned char>]’ at /usr/include/nlohmann-json/json.hpp:22264:21,
    inlined from ‘void decode_json_map(const nlohmann::json&, const std::string&)’ at main.cpp:10:61:
/usr/include/nlohmann-json/json.hpp:11678:27: warning: potential null pointer dereference [-Wnull-dereference]
11678 |         switch (m_object->m_type)

Compiler and operating system
GCC 12.1 on Fedora 36
Library version
3.9.1
Validation

[X] The bug also occurs if the latest version from the develop branch is used.
[X] I can successfully compile and run the unit tests.

Odd. I can't reproduce the issue.

Same OS and compiler?

Confirmed with:
g++-12.1.1 (Gentoo 12.1.1_p20220604 p7) 12.1.1 20220604
g++-13.0.0 (Gentoo 13.0.0 p, commit b4801c49e6e9607ec0115a71417fbb4e5a4f4967) 13.0.0 20220607 (experimental)
g++ (Compiler-Explorer-Build-gcc--binutils-2.38) 12.1.0
g++ (Compiler-Explorer-Build-gcc-2005b9b888eeac078f2524b1521885f4b5453894-binutils-2.38) 13.0.0 20220607 (experimental)
-O2 -DNDEBUG are critical.

    explicit iter_impl(pointer object) noexcept : m_object(object)
    {
        JSON_ASSERT(m_object != nullptr);

        switch (m_object->m_type)

-DNDEBUG removes the assert and therefore the nullptr check. Following the call stack doesn't reveal anything suspicious either. Looks like a clear false positive to me. There's nothing else to do here. :man_shrugging:

I made a change something like #define JSON_ASSERT( x ) assert( x ); if(!(x)) throw std::runtime_error{"..."} to make the problem go away but there does seem to be a potential problem hiding there.

warning: potential null pointer dereference [-Wnull-dereference]

"Potential" being the operative word.
I can follow the pointer being passed. As long as this (the basic_json object on which begin() and end() are called) isn't a nullptr, there's no problem. Also, an actual null dereference would crash the program immediately ... has that happened?

Maybe adding HEDLEY_NON_NULL(1) could help, because then the compiler could know that m_object cannot be null. Can you try this?

Then I guess we're out of luck and can only suppress this warning for this function via some HEDLEY_DIAGNOSTIC_PUSH magic, because otherwise the same issue may come up some time in the future.

Not defining NDEBUG is not a good option since it affects the whole program and it is defined by the build system.  #undef before including this header is also not a desirable option.  I would prefer not to modify the source.

I would just annotate that function to not trigger that specific warning.

Then I guess we're out of luck and can only suppress this warning for this function via some HEDLEY_DIAGNOSTIC_PUSH magic, because otherwise the same issue may come up some time in the future.

The diagnostic is only issued after some compiler transformation in the constructor of iter_imp when called from end(). The warning is not given for any other occurrence of the same line of code in any other member function of iter_impl it also isn't given when iter_impl is constructed from begin().
Building the unit tests with the same flags, I get this diagnostic for standard library headers! (Which smells like a GCC bug since system headers shouldn't emit warnings.)
In file included from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/streambuf_iterator.h:35,
                 from /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/iterator:66,
                 from /home/flo/projects/json/develop/include/nlohmann/json.hpp:61,
                 from /home/flo/projects/json/develop/tests/src/unit-inspection.cpp:32:
In member function ‘std::basic_streambuf<_CharT, _Traits>::char_type* std::basic_streambuf<_CharT, _Traits>::egptr() const [with _CharT = char; _Traits = std::char_traits<char>]’,
    inlined from ‘std::basic_streambuf<_CharT, _Traits>::int_type std::basic_streambuf<_CharT, _Traits>::sbumpc() [with _CharT = char; _Traits = std::char_traits<char>]’ at /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/streambuf:324:49,
    inlined from ‘std::istreambuf_iterator<_CharT, _Traits>& std::istreambuf_iterator<_CharT, _Traits>::operator++() [with _CharT = char; _Traits = std::char_traits<char>]’ at /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/streambuf_iterator.h:172:17,
    inlined from ‘void std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::_M_construct(_InIterator, _InIterator, std::input_iterator_tag) [with _InIterator = std::istreambuf_iterator<char, std::char_traits<char> >; _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]’ at /usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/bits/basic_string.tcc:178:6:
/usr/lib/gcc/x86_64-pc-linux-gnu/12.1.1/include/g++-v12/streambuf:493:30: warning: potential null pointer dereference [-Wnull-dereference]
  493 |       egptr() const { return _M_in_end; }
      |                              ^~~~~~~~~

(And 3 more warnings like this in the same header.)
Also, I should have taken a closer look at your code:
void decode_json_map( nlohmann::json const& tree, std::string const& key )
{
    if( auto map_it = tree.find( key ), map_end = tree.end(); map_it != map_end )
    {
        auto &map = *map_it;
        for( auto p_it = map.begin(), end = map.end(); p_it != end; ++p_it )
        {
        }
    }
}

This is enough to not trigger the warning, even though I can still cause a null dereference:
int main() {
    nlohmann::json *j = nullptr;
    decode_json_map(*j, "key")
}

(Of course, I also have to compile without -O2 or that code will be removed by the compiler.)
$ ./a.out
Segmentation fault (core dumped)

Then I guess there's nothing to do on our side. I would close the issue unless anyone has a better idea.


Remove duplicated

Remove duplicated from API.

:tada: This issue has been resolved in version 2.0.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 1.0.0-beta.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


docs: fix typo in readme

Thanks! Would you mind reverting the lint/style/whitespace changes?

@danielroe  yes, sure

@danielroe done


Fix Linux 32-bits encoded timestamp limitation - 2038K Bug

Historically time_t has been encoded on Linux as 32-bits signed
integer and with Linux 32 bits <5.6 it is still encoded as a 32-bits
signed integer. As a consequence beyond January 2038 gettimeofday()
will start returning a negative timestamp and this negative timestamp
will be supplied to pthread_cond_timedwait() by MediaSDK. The Linux
kernel will detects the invalid timestamp and return -EINVAL making
MediaSDK unusable.
This patch makes use of the 'clock_gettime(CLOCK_MONOTONIC, ...)' to
get current time since boot and configure the condition variable to
use the same clock.
Since this patch only impact the timestamped used for the
pthread_cond_timedwait() calls it has no impact in the other
components.
Signed-off-by: Jeremy Compostella<EMAIL_ADDRESS>

Any review for this patch ?

Instead of fixing all this old vm/umc code we just need to drop it and rewrite couple of places it still being used to c++ std::mutex and other standard primitives.

Indeed, using c++ std::condition_variable would be more appropriate. Note that the current implementation (https://github.com/llvm/llvm-project/blob/master/libcxx/src/condition_variable.cpp#L49) has the same issue and will not run properly beyond 2038 if compiled in 32-bits on Linux <5.6 kernel. So I don't think it can be considered a good solution for the moment.

Today is 2020. Maintenance period even for enterprise OSes is maximum 10 years. By 2038 this will be different llvm, different kernel and different.

Well I can tell you that  some manufacturers are currently shipping products with OSes life expectancy of around 20 to 25 years. They include MediaSDK. And these products will not receive any major update (except maybe security patches). Also, in my sense, the maintenance period is mostly about handling security problems which unforeseeable as of today.  This is very different this is an issue we see as of today by setting the system date beyond 2038 and observing MediaSDK stop operating properly.

I strongly believe llvm/kernel/os will be patched by that time.

As you may have deduced from my commit message and comment above, this is already fix with kernel change 5.6 but it obviously require to align the libc as this long due fix is changing time_t a from 32-bits to a 64-bits integer.
I must say that I don't understand this push-back. A very simple with no impact patch is made available to the MediaSDK developer team and instead of performing a good faith patch review we get into this non-sense discussion. I understand that you may want to abandon this pthread interface and move to another interface and this is perfectly fine by me but to my know knowledge this is not done yet and it does not change the fact that there is currently a bug preventing to include the MediaSDK library in long life-expectency product with a current Linux based Operating Systems. This patch is not making any dangerous changes neither is a hack.  It just moving from the absolute clock to the boot relative clock to allow the code to smoothly work longer.

I believe in current form this patch may be merged and would bring more goodness than harm :).  In a long term we'll proceed with a refactoring: #2344 .


[BUG] Error waiting for apiserver: Temporary error: ssh command error

General information

OS: Linux
Hypervisor: KVM
Did you run crc setup before starting it? Yes
Running CRC on: Baremetal-Server

CRC version
CRC version: 2.2.2+f1e1d3e
OpenShift version: 4.10.9
Podman version: 3.4.4

CRC status
DEBU CRC version: 2.2.2+f1e1d3e
DEBU OpenShift version: 4.10.9
DEBU Podman version: 3.4.4
DEBU Running 'crc status'
DEBU Checking file: /home/rui/.crc/machines/crc/.crc-exist
DEBU Checking file: /home/rui/.crc/machines/crc/.crc-exist
DEBU Found binary path at /home/rui/.crc/bin/crc-driver-libvirt
DEBU Launching plugin server for driver libvirt
DEBU Plugin server listening at address <IP_ADDRESS>:46743
DEBU () Calling .GetVersion
DEBU Using API Version 1
DEBU () Calling .SetConfigRaw
DEBU () Calling .GetMachineName
DEBU (crc) Calling .GetBundleName
DEBU (crc) Calling .GetState
DEBU (crc) DBG | time="2022-05-07T15:48:12+01:00" level=debug msg="Getting current state..."
DEBU (crc) DBG | time="2022-05-07T15:48:12+01:00" level=debug msg="Fetching VM..."
DEBU (crc) Calling .GetIP
DEBU (crc) DBG | time="2022-05-07T15:48:12+01:00" level=debug msg="GetIP called for crc"
DEBU (crc) DBG | time="2022-05-07T15:48:12+01:00" level=debug msg="Getting current state..."
DEBU (crc) DBG | time="2022-05-07T15:48:12+01:00" level=debug msg="IP address: <IP_ADDRESS>"
DEBU (crc) Calling .GetIP
DEBU (crc) DBG | time="2022-05-07T15:48:12+01:00" level=debug msg="GetIP called for crc"
DEBU (crc) DBG | time="2022-05-07T15:48:12+01:00" level=debug msg="Getting current state..."
DEBU (crc) DBG | time="2022-05-07T15:48:12+01:00" level=debug msg="IP address: <IP_ADDRESS>"
DEBU Running SSH command: df -B1 --output=size,used,target /sysroot | tail -1
DEBU Using ssh private keys: [/home/rui/.crc/machines/crc/id_ecdsa /home/rui/.crc/cache/crc_libvirt_4.10.9_amd64/id_ecdsa_crc]
DEBU SSH command results: err: <nil>, output:<PHONE_NUMBER>6<PHONE_NUMBER>0 /sysroot
DEBU cannot get OpenShift status: stat /home/rui/.crc/machines/crc/kubeconfig: no such file or directory
DEBU Making call to close driver server
DEBU (crc) Calling .Close
DEBU (crc) DBG | time="2022-05-07T15:48:14+01:00" level=debug msg="Closing plugin on server side"
DEBU Successfully made call to close driver server
DEBU Making call to close connection to plugin binary
CRC VM:          Running
OpenShift:       Unreachable (v4.10.9)
Podman:
Disk Usage:      12.52GB of 32.74GB (Inside the CRC VM)
Cache Usage:     17.42GB
Cache Directory: /home/rui/.crc/cache

CRC config
- consent-telemetry                     : no
- cpus                                  : 8
- memory                                : 16000
- pull-secret-file                      : ./pull-secret.txt

Host Operating System
NAME="Fedora Linux"
VERSION="35 (Workstation Edition)"
ID=fedora
VERSION_ID=35
VERSION_CODENAME=""
PLATFORM_ID="platform:f35"
PRETTY_NAME="Fedora Linux 35 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:35"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f35/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=35
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=35
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Steps to reproduce

crc delete -f
crc cleanup
crc setup
crc start -c 8 -m 16000 -p ./pull-secret.txt --log-level debug

Expected
Cluster to be on the Ready state.
Actual
Temporary error: ssh command error:
command : timeout 5s oc get nodes --context admin --cluster crc --kubeconfig /opt/kubeconfig

Logs
Before gather the logs try following if that fix your issue
$ crc delete -f
$ crc cleanup
$ crc setup
$ crc start --log-level debug

Logs here.

How long have you waited?

Hi @gbraad, this happens consistently (after a few fresh CRC restarts, including manually deleting the cache).
The process seems to take the expected amount of time until the oc get nodes timeout, where it just retries until it bails out.
FYI, although the logs already show that, I manually logged in successfully with ssh -i ~/.crc/machines/crc/id_ecdsa<EMAIL_ADDRESS>and from the VM got a The connection to the server api.crc.testing:6443 was refused - did you specify the right host or port? when issuing oc get nodes --context admin --cluster crc --kubeconfig /opt/kubeconfig from inside it.

This might be the same observation as: https://github.com/code-ready/crc/issues/3161

Is there an update regarding this ticket?

We are still looking into this. Need to identify why cluster is talking more than 10 mins to reconcile and even then it is not properly useful (we observed it is started to happen from 4.10 and our CI is also observing same). Meanwhile @ruivieira have you tried to put bit more memory something like following
$ crc delete
$ crc config set memory 13000
$ crc start

@praveenkumar Thanks for the update! I'm mostly offline and without access to the original issue machine until Sunday. I will try it then.

is this issue happening because crc (vm) is being installed a fedora instance running on a hypervisor (like parallels).


Adabot Filename Hotfix

Discovered that when trying to launch rviz or gazebo simulations the launch files were looking for:
adabot/adabot_description/urdf/adabot.base.xacro
while this file was named:
adabot/adabot_description/urdf/adabot.xacro
Only change made was updating the filename, but I thought this should be taken care of asap so others don't run into the same issue when trying to launch a simulation.

Looks like the Travis CI tests failed when trying to look for the old adabot.xacro file. It may be easier to change the launch files instead, but I think adabot.base.xacro better follows your naming convention.

I'm not sure which name is better. I don't really think adabot.base.xacro conveys the correct meaning, but adabot.xacro might not either. What about adabot.main.xacro?

adabot.main.xacro sounds best to me. I can adjust the filename and launch file calls but I'm not sure how to update the testing so that it passes Travis CI.

I agree. Let's go with adabot.main.xacro. A good practice for whenever you change a file's name is to grep to see if the file's name appears anywhere. I obviously did not do this when I changed the name, but I should have.
grep -r adabot.base.xacro *
grep -r adabot.xacro *

@KeithCissell do you want to make the additional changes? (Looks like it's just '.travis.sh' that needs to be updated now.

Hopefully that will do it! I've never messed with Travis before


Nckw improve RooSplineND

Updating RooSplineND
Update copy  constructor to allow import into RooWorkspace
Update Linear algebra to use eigen package instead of ROOT TMatrix. manipulation.

Checked nothing bad happens in recent Hcomb cards : https://gitlab.cern.ch/cms-hcg/performances/ci/-/jobs/12326262/


Db schema

Please check the committing branch before properly before creating PR. It will mess up all the project work.


rc_common_msgs: 0.5.3-1 in 'eloquent/distribution.yaml' [bloom]

Increasing version of package(s) in repository rc_common_msgs to 0.5.3-1:

upstream repository: https://github.com/roboception/rc_common_msgs_ros2.git
release repository: https://github.com/roboception-gbp/rc_common_msgs_ros2-release.git
distro file: eloquent/distribution.yaml
bloom version: 0.10.0
previous version for package: null

rc_common_msgs
* CI changes only: also build for focal/foxy

See https://github.com/ros/rosdistro/pull/26885#issuecomment-706359344

@flixr can you add a top level license to the repo?

done, see https://github.com/ros/rosdistro/pull/26885#issuecomment-707897450


Return timeZones based on region only

Only determine the timeZones from the region part of the locale. Do NOT output timeZones if there are no region in locale

It looks like you're returning IANA time zone names. We don't currently support the -u-tz extension keyword, but if we did, that keyword takes a BCP-47 time zone name. So should we return the BCP-47 name here? Or stick with the IANA name since that's what Temporal needs?
Or should we return Temporal.TimeZone objects??

"IANA time zone names" is the one which the only form that is accepted by Intl.DateTimeFormat api now


relative error is too big for Math.expm1 and Math.log1p

Math.expm1(-2e-17)
Math.log1p(-2e-17)

The spec doesn't tend to define precision very well for its Math operations. Can you link to something in the spec that's incorrect here? What values do you expect? In what browser(s) are you getting which values that you don't expect?

@ljharb , so why not to use Math.exp(x) - 1 or Math.log(1 + x) ?
You can define Math.expm1 = function (){} according to the spec, but does this make your shim good?
https://github.com/kangax/compat-table/issues/392

I'm still not understanding what this issue is about. All three of the variables referenced in the compat-table issue return true for me in Chrome with or without the es6-shim (since they're native). In which browsers are you seeing any of these return false?
Also, if the spec does not explicitly say that your error criteria must be applied, then they need not be applied by this shim or by any browsers. I'm definitely open to making them more precise, but the shims are "good" so long as they provide any guarantees the spec requires of them, nothing more.

Thanks for your examples - I'm sorry we continue to have misunderstandings in these issues, I hope we can chalk it up to language barriers.
I've added failing tests for log1p, and corrected them, in the es6-shim. While our number 1 priority is to comply with the spec, number 2 is, when it doesn't conflict with the spec, to comply with the majority of implementations - in this case, both of these math functions aren't returning the same values as their native counterparts.
I can't locate a polyfill for expm1 that's not exp(1) - 1, and that polyfill has the error you described. Do you have a suggested implementation?

I have only this(using Taylor series expansion):
Math.expm1 = function (x) {
  if (x !== x || x === 0) {
    return x;
  }
  if (Math.abs(x) > 1 / 2) {
    return Math.exp(x) - 1;
  }
  var t = x;
  var s = 0;
  var n = 1;
  while (s + t !== s) {
    s += t;
    n += 1;
    t *= x;
    t /= n;
  }
  return s;
};

@Yaffle Thanks, that seems to do it! Can you suggest more meaningful variable names than "t", "s", and "n"?


Programmatically populate an ng2-formio

Is there a way to programmatically populate with data the input fields of an ng2-formio component?
I included the ng2-formio component in an Angular2 application through the following line:
<formio [form]="form" (render)="onRender()" (submit)="onSubmit($event)" (change)="onChange($event)" >
where form points to the JSON schema of a form built on Form.io.
Thanks

Hello @micmanc, we are working on adding that feature soon where you can pass in the submission object much like you can with the Angular 1 renderer.

Hello @micmanc this is now available in version 0.3.0. Here is how to use it.
https://github.com/formio/ng2-formio/blob/master/example/app.component.ts#L9
https://github.com/formio/ng2-formio/blob/master/example/app.html#L2

Hey @travist, the above examples are not opening, could you pass more examples?
Need to know how do I get my Rest API to be called and populate the FormIO components manually?

Hey @travist, the above examples are not opening, could you pass more examples?
Need to know how do I get my API Rest to call and fill the FormIO components manually using Angular 5 or Angular 2?


SFTTrainer training stops early?

It seems it just happen today. Has anyone met the error where the training stops early?  For example, it should have run 1000 steps but stops after 300 steps, and giving a output like:
TrainOutput(global_step=100, training_loss=1.2991660499572755, metrics={'train_runtime': 855.9696, 'train_samples_per_second': 1.869, 'train_steps_per_second': 0.117, 'total_flos': 6.50352940548096e+16, 'train_loss': 1.2991660499572755, 'epoch': 0.16})
I did my training on Colab, and i don't know if it is an internet issue. But my previous training never meets this kind of issue.

seems caused by packing = True

Yes, when you pack it can happen that you end up with fewer samples if the average length of samples is shorter than the sequence length.


test_pg_regress flacks in release run

https://app.circleci.com/pipelines/github/neondatabase/neon/6959/workflows/7c9dcede-423b-44af-8f0c-cf14d35dd850/jobs/71376
AssertionError: assert (['pg_xact/0000'], []) == ([], [])
  At index 0 diff: ['pg_xact/0000'] != []
  Full diff:
  - ([], [])
  + (['pg_xact/0000'], [])
test_runner/batch_pg_regress/test_pg_regress.py:57: in test_pg_regress
    check_restored_datadir_content(test_output_dir, env, pg)
test_runner/fixtures/neon_fixtures.py:2120: in check_restored_datadir_content
    assert (mismatch, error) == ([], [])
E   AssertionError: assert (['pg_xact/0000'], []) == ([], [])
E     At index 0 diff: ['pg_xact/0000'] != []
E     Full diff:
E     - ([], [])
E     + (['pg_xact/0000'], [])

Does not fail in debug mode.
First seen in https://github.com/neondatabase/neon/pull/1872#issuecomment-1145381010

https://github.com/neondatabase/neon/issues/559


TEST-#2509: Io tests refactoring

What do these changes do?
This PR refactors IO tests in order to unify source code, group similar tests in classes and capability to run io tests in parallel. Changes are next:

Similar tests were grouped in classes.
Source code unifications - used common eval_io, eval_from_str, ... functions, unique test filenames for each tests are used (needed to provide capability to run io tests in parallel), some duplicated code removement.
Add capability to process warnings by eval_general function.

[x] commit message follows format outlined here
[x] passes flake8 modin
[x] passes black --check modin
[x] signed commit with git commit -s
[x] Resolves #2509
[x] tests added and passing

@YarShev can we merge this?

@anmyachev , yes, looks good!


Fix UnicodeDecodeError when installing Django on a remote server

Should resolve #5.
Thanks @mathiasertl for the idea for the fix, tested to work for me at least.
Note: Built on top of #7 as that was useful in unit testing to check the test and fix worked on Python 2+3, so #7 should be reviewed first.
--
Additional testing notes:
# pip has a very useful --no-cache-dir option to force a re-download of a dependency
# which generates the progress bar with █ characters present
pip install --no-cache-dir
https://pip.pypa.io/en/stable/reference/pip_install/#caching

Large dependencies like Django tend to get more rendered progress bars, so I've had it fail usually between 14-32% of the way in, and never succeed without the connection getting closed (it does succeed in the background, so you can just rerun the fabric script).
For the final integration test I pip install -e ~/Projects/fabric and checked out the relevant branch then ran the relevant pip install --no-cache-dir Django==1.8.7 # or 1.8.8 (to force a change and download/progress bar) in a fabric script. Obviously results were as expected :beers:

Thanks @mathiasertl


DAG support

I'm looking for a solution to store and query a revision history DAG for the Linux kernel, including the subtrees and patches on the maillist, within PostgreSQL. Context: https://archive.fosdem.org/2023/schedule/event/graph_case_for_dag/
What kind of graph storage and algorithms does Apache Age use? Is it purely backed by PostgreSQL tables, or is there an in-memory representation? How hard would it be to extend it to have a DAG-optimized representation, with corresponding query optimizations (and data limitations)?
So far I started writing an FDW that just keeps the complete graph in memory and does the absolute minimum queries we need, but there's the question of storage and transaction support which bothers me. I think ideally it could be an extension, using PostgreSQL tables as storage, but maintaining an optimized in-memory representation (stealing it and the algorithms from Git itself, perhaps). However, an FDW is proving challenging already to me as a newbie, so I'd like to see how hard it could be to modify an existing extension instead :D
Thank you!
(reposting from r/apacheage, since I got no response there)

@spbnick The graph is stored in tables. However, for some queries [VLE specifically] there is an in-memory data structure that represents the graph allowing graph algorithms easier transversal.

Thank you @jrgemignani, I'll consider looking at that structure. However, so far my attempts at using Apache AGE with my dataset were mostly a failure :( So for now I'm building my own FDW.


[x264] Update and fixes

What does your PR fix?
Portfile cleanup.
Fixes a mkdir race condition on install, causing occasional CI errors.
Updates to the latest version/commit used in upstream binary releases.
Switches from version-string to the ordered version scheme with the numbers used in pkg-config files (when build from git, or with extra fixup in this port now). There is no other official scheme. Repology finds various variants.
Makes asm (assembly optimization) an explicit feature.
Doesn't require nasm when not building for x64 or x86.
Uses updated gas-preprocessor, which enables arm64-windows builds with assembler optimization.
Fixes cross-builds by passing actual CC and cross prefix. Resolves #22899.
Makes the tool an explicit port feature.
Fixes clang-cl build (authored by @Neumann-A).

Which triplets are supported/not supported? Have you updated the CI baseline?
all (new: arm64-windows), no

Does your PR follow the maintainer guide?
yes

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?
yes

You might want to add
https://github.com/microsoft/vcpkg/pull/25897/files#diff-9d0f8dd1dc451d1a25a507a79bb90353e1b4fbb7347d91c998460c56c1579663

@Neumann-A I cherry-picked the clang-cl patch.

 Thanks!

Okay, can you please resolve the file conflicts?
Thanks.

I resolved the conflict with https://github.com/microsoft/vcpkg/pull/26371 by just ignoring all changes from there in favor of the changes here (you can see that the SHA in the version database didn't change) because the effect of that change was already here.

Looks good now, just waiting for reply.

Awesome! Thanks!

Thanks again @dg0yt!


Seneca mesh

@rjrodger  how to run different microservices on different hosts by using seneca-mesh.

https://github.com/rjrodger/seneca-mesh/pull/33

See updated examples folder for this :)


Workflow not included in 0.8.5 release

The workflow file hasn’t been attached to the latest release.

Vitor,
Ugh. Can you give me a pointer on what it is I'm doing wrong? The new workflow is in the RecentFiles/alfred_workflow/workflow directory.
(I'm okay with Git, but GitHub baffles me at times.)
Thanks
-jy-gh

Sure. You need to:

Go to the release’s page.
Edit it (pencil icon on top right).
Drop the packaged workflow on the Attach binaries by dropping them here or selecting them. section at the bottom.
Click Update release.

You can also do this at the time you make a new release (without having to edit later), which you seem to have done for a few releases in the past.

 (I think I tried attaching a binary previously, but it wanted one of a few formats (.jpg, .pdf, .zip, etc. Maybe I was doing that in the wrong place.)
I have updated it now. Thank you for your help and your patience.
-jy-gh


chore: remove provider + update wrapper to 0.10

This work has been done here: https://github.com/polywrap/ethereum/pull/84


Cherry-Pick - Azure-AI-Evaluation 1.0.0 - Bug-Bash-Fix-Multimodal-Evaluator

This PR is cherry picked (895f641) from main branch to azure-ai-evaluation:1.0.0

API change check
API changes are not detected in this pull request.


Add support for pagination in the read API

This is for the API documented here: https://www.tigrisdata.com/docs/sdkstools/golang/database/query/

Hi, Looking to work on it, @ovaistariq as there are no specs. Can I assume pagination functionality should be similar to what we have for typescript? - https://www.tigrisdata.com/docs/sdkstools/typescript/database/query/#pagination. Let me know if you are expecting anything different.

Hi, @Shubham8287! Pagination API is implemented already.
We just need to put documentation in place. We are sorry for the confusion.
Would you be interested in working on https://github.com/tigrisdata/tigris-client-go/issues/223 instead?
If you decide to work on it, I can provide addition information.
Thanks for you interest in contributing!

Sure, Np.

Yeah, sorry about that. I will close this and create a new one for docs.