Getting errors when handling custom object

Thank you very much for reporting a bug on Talos. Before you do, please go through the below checklist carefully and make sure to prepare your bug report in a way that facilitates effective handling of the matter.
1) Confirm the below

[* ] My Python version is 3.5 or higher
[* ] I have searched through the issues Issues for a duplicate
[* ] I've tested that my Keras model works as a stand-alone

2) Include the output of:
talos.__version__ 1.0.2
3) Explain clearly what you expect to happen
I'm trying to use the model from https://github.com/GregMurray30/MultiTouchAttribution with Talos.
I expect talos.Scan() to work with my model and talos.Predict() can return me the prediction using Colab.
The  model I'm using needs a custom object, here is how it is defined:
      class MyAttention(tf.keras.Model):
            def __init__(self, units,**kwargs):
                super(MyAttention, self).__init__(**kwargs)
                self.units=units
                self.w=self.add_weight(name='w',shape=[lstm_size, self.units], initializer='normal')
                self.b=self.add_weight(name='b',shape=[3, self.units], initializer='zeros')

            def call(self, x, return_sequences=True):

                e1 = K.relu(K.dot(x,self.w)+self.b)

                #print(e1)
                #e2 = K.relu(K.dot(e1,self.w2)+self.b2)
                #print(e2)
                a = K.softmax(e1, axis=1)

                #a = tf.keras.activations.softmax(e1, axis=1)

                output = a*x
                return e1, K.sum(output, axis=1)

            def get_config(self):

                return {
                    'units':self.units,
                    'w':self.w.numpy(),
                    'b':self.b.numpy(),
                }

            @classmethod
            def from_config(cls, config):
                return cls(**config)

Then I re-built the model following Talos' guide:
    def dnamta(x_train,y_train, x_val, y_val, params):

        inp_cat_data = Input(shape=[num_time_steps, 1]) #input for categorical data
        inp_num_data = Input(shape=[num_time_steps, num_feats]) #input for numerical data

        emb = Embedding(cardinality, params['embedding_size'], input_length=(num_time_steps))(inp_cat_data) #Embedding layer for categorical data (channels)

        resh1 = Reshape((num_time_steps, params['embedding_size']))(emb) #reshape to squash the 4D tensor back into 3D, not sure why emb layer does this

        conc = Concatenate()([resh1, inp_num_data]) #combine numerical data with channel embedding tensor before inputting into LSTM

        resh2 = Reshape((num_time_steps, params['embedding_size']+num_feats))(conc) #reshape to fit LSTM needs just in case
        # LSTM with channel embeddings and control features, returns hidden state sequences for the attention layer to use
        lstm_layer1 = LSTM(params['lstm_size'], dropout=params['dropout'], recurrent_dropout=params['recurrent_dropout'],return_sequences=True)(resh2)
        lstm_layer2 = LSTM(params['lstm_size'], dropout=params['dropout'], recurrent_dropout=params['recurrent_dropout'],return_sequences=True)(lstm_layer1)
        lstm_layer3 = LSTM(params['lstm_size'], dropout=params['dropout'], recurrent_dropout=params['recurrent_dropout'],return_sequences=True)(lstm_layer2)
        lstm_layer4 = LSTM(params['lstm_size'], dropout=params['dropout'], recurrent_dropout=params['recurrent_dropout'],return_sequences=True)(lstm_layer3)
        lstm_layer5 = LSTM(params['lstm_size'], dropout=params['dropout'], recurrent_dropout=params['recurrent_dropout'],return_sequences=True)(lstm_layer4)
        lstm_layer6 = LSTM(params['lstm_size'], dropout=params['dropout'], recurrent_dropout=params['recurrent_dropout'],return_sequences=True)(lstm_layer5)
        #lstm_layer7 = LSTM(lstm_size, dropout=.01, recurrent_dropout=.01,return_sequences=True)(lstm_layer6)

        #lstm_layer = Bidirectional(LSTM(128, dropout=.01, recurrent_dropout=.01,return_sequences=True))(resh2)

        #Attention layer: multi-layer perceptron with 1 neuron, returns unscaled attention weight vector and attention weighted sum
        a_unsc, attention_layer = MyAttention(1)(lstm_layer6)
        #a_unsc, attention_layer = Attention(lstm_size=params['lstm_size'],units=1,initializer=params['initializer'])(lstm_layer6)

        #Output layer dense, binary outcome
        out = Dense(1, activation='sigmoid')(attention_layer)

        #output the prediction and the unscaled attention to retrieve after training
        model = tf.keras.Model(inputs=[inp_cat_data, inp_num_data], outputs=out )

        #output the prediction only - attention to retrieve after training with intermediate layer extraction
        #model = keras.Model(inputs=[inp_cat_data, inp_num_data], outputs=out )

        #model = keras.Model(inputs=[inp_cat_data, inp_num_data], outputs=out )

        model.compile(optimizer=params['optimizer'],
                      loss=params['loss'],
                      metrics=['acc'])

        output=model.fit(x=x_train, y=y_train, validation_data=[x_val, y_val], epochs=params['epochs'], batch_size=params['batch_size'],callbacks=[talos.utils.ExperimentLogCallback('dnamta', params)])

        return output,model

After this, I defined the param dictionary and called Scan() and Predict().
4) Explain what actually happened
With the code above, talos.Predict() returned me an error:
---------------------------------------------------------------------------
    ValueError                                Traceback (most recent call last)

    [<ipython-input-35-53d0e1518611>](https://localhost:8080/#) in <module>()
          1 p = talos.Predict(scan_object)
    ----> 2 p.predict_classes(x=[X_test_cat2, X_test_num2],metric='acc',asc=False)

    10 frames

    [/usr/local/lib/python3.7/dist-packages/keras/utils/generic_utils.py](https://localhost:8080/#) in class_and_config_for_serialized_keras_object(config, module_objects, custom_objects, printable_module_name)
        561   if cls is None:
        562     raise ValueError(
    --> 563         f'Unknown {printable_module_name}: {class_name}. Please ensure this '
        564         'object is passed to the `custom_objects` argument. See '
        565         'https://www.tensorflow.org/guide/keras/save_and_serialize'

    ValueError: Unknown layer: MyAttention. Please ensure this object is passed to the `custom_objects` argument. See https://www.tensorflow.org/guide/keras/save_and_serialize#registering_the_custom_object for details.

I've tried to use register the custom object and use
'with tf.keras.utils.custom_object_scope(custom_objects)'
but got another error:
        TypeError                                 Traceback (most recent call last)

        [<ipython-input-34-30812c504abf>](https://localhost:8080/#) in <module>()
              3 with tf.keras.utils.custom_object_scope(custom_objects):
              4     p = talos.Predict(scan_object)
        ----> 5     p.predict_classes(x=[X_test_cat2, X_test_num2],metric='acc',asc=False)
              6     print(p)

        14 frames

        [/usr/local/lib/python3.7/dist-packages/keras/utils/generic_utils.py](https://localhost:8080/#) in validate_kwargs(kwargs, allowed_kwargs, error_message)
           1172   for kwarg in kwargs:
           1173     if kwarg not in allowed_kwargs:
        -> 1174       raise TypeError(error_message, kwarg)
           1175
           1176

        TypeError: ('Keyword argument not understood:', 'w')

Another error related: if I define the get_config() method in another way in MyAttention:
              def get_config(self):
                    config=super().get_config()
                    config.update({
                        'units':self.units,
                        'w':self.w.numpy(),
                        'b':self.b.numpy(),
                    })

                    return config

Talos.Scan() cannot complete the scaning prcess and shows:
        NotImplementedError                       Traceback (most recent call last)

        [<ipython-input-76-e32780f89adc>](https://localhost:8080/#) in <module>()
              2                          params=params,
              3                          model=dnamta,
        ----> 4                          experiment_name='dnamta')

        10 frames

        [/usr/local/lib/python3.7/dist-packages/talos/scan/Scan.py](https://localhost:8080/#) in __init__(self, x, y, params, model, experiment_name, x_val, y_val, val_split, random_method, seed, performance_target, fraction_limit, round_limit, time_limit, boolean_limit, reduction_method, reduction_interval, reduction_window, reduction_threshold, reduction_metric, minimize_loss, disable_progress_bar, print_params, clear_session, save_weights)
            194         # start runtime
            195         from .scan_run import scan_run
        --> 196         scan_run(self)

        [/usr/local/lib/python3.7/dist-packages/talos/scan/scan_run.py](https://localhost:8080/#) in scan_run(self)
             24         # otherwise proceed with next permutation
             25         from .scan_round import scan_round
        ---> 26         self = scan_round(self)
             27         self.pbar.update(1)
             28

        [/usr/local/lib/python3.7/dist-packages/talos/scan/scan_round.py](https://localhost:8080/#) in scan_round(self)
             30     try:
             31         # save model and weights
        ---> 32         self.saved_models.append(self.round_model.to_json())
             33
             34         if self.save_weights:

        [/usr/local/lib/python3.7/dist-packages/keras/engine/training.py](https://localhost:8080/#) in to_json(self, **kwargs)
           2660         A JSON string.
           2661     """
        -> 2662     model_config = self._updated_config()
           2663     return json.dumps(
           2664         model_config, default=json_utils.get_json_type, **kwargs)

        [/usr/local/lib/python3.7/dist-packages/keras/engine/training.py](https://localhost:8080/#) in _updated_config(self)
           2618     from keras import __version__ as keras_version  # pylint: disable=g-import-not-at-top
           2619
        -> 2620     config = self.get_config()
           2621     model_config = {
           2622         'class_name': self.__class__.__name__,

        [/usr/local/lib/python3.7/dist-packages/keras/engine/functional.py](https://localhost:8080/#) in get_config(self)
            683
            684   def get_config(self):
        --> 685     return copy.deepcopy(get_network_config(self))
            686
            687   @classmethod

        [/usr/local/lib/python3.7/dist-packages/keras/engine/functional.py](https://localhost:8080/#) in get_network_config(network, serialize_layer_fn)
           1408           filtered_inbound_nodes.append(node_data)
           1409
        -> 1410       layer_config = serialize_layer_fn(layer)
           1411       layer_config['name'] = layer.name
           1412       layer_config['inbound_nodes'] = filtered_inbound_nodes

        [/usr/local/lib/python3.7/dist-packages/keras/utils/generic_utils.py](https://localhost:8080/#) in serialize_keras_object(instance)
            509         return serialize_keras_class_and_config(
            510             name, {_LAYER_UNDEFINED_CONFIG_KEY: True})
        --> 511       raise e
            512     serialization_config = {}
            513     for key, item in config.items():

        [/usr/local/lib/python3.7/dist-packages/keras/utils/generic_utils.py](https://localhost:8080/#) in serialize_keras_object(instance)
            504     name = get_registered_name(instance.__class__)
            505     try:
        --> 506       config = instance.get_config()
            507     except NotImplementedError as e:
            508       if _SKIP_FAILED_SERIALIZATION:

        [<ipython-input-74-91cfecb2d906>](https://localhost:8080/#) in get_config(self)
             24
             25     def get_config(self):
        ---> 26         config=super().get_config()
             27         config.update({
             28             'units':self.units,

        [/usr/local/lib/python3.7/dist-packages/keras/engine/training.py](https://localhost:8080/#) in get_config(self)
           2628
           2629   def get_config(self):
        -> 2630     raise NotImplementedError
           2631
           2632   @classmethod

        NotImplementedError:

If you want to run the code, you have the notebook here.
https://colab.research.google.com/drive/13J0aLZwQ6cbT9ObwqMNa5Q4cb8OBGifP?usp=sharing

Are you able to run the input model by itself outside of Talos? Basically, just replace all the references to params with the actual parameter values, and then try running it directly in Tensorflow and see what happens. Do you get the same error?

Here are some related issues that might be useful:

#421
#534

Here is also an example notebook for recovering best model when other methods fail.

Are you able to run the input model by itself outside of Talos? Basically, just replace all the references to params with the actual parameter values, and then try running it directly in Tensorflow and see what happens. Do you get the same error?

Running, saving and loading the model with tf.keras are working.

This is now handled in #581 for the main part, and the Evaluate() part will be handled in #582. Closing here.


Angular app with routing raises 404 Not Found after page is loaded

In my tests for SWA, I pushed an Angular app which is working fine, loading, then after the page is loaded (which is using Angular routing to change the URI to /home) it gives 404 Not Found Azure error page.
I understand there's a necessity to adding routes, but my understanding is these are required only for accessing the routes directly (as in typing the domain + route and hitting enter), not for the app when it internally changes the URI (with history and similar methods). Is this a bug or this is the intended behaviour?

@mahmoudajawad Do you have a repo or deployment that shows the problem?

Yes, @anthonychu, I have but I would prefer to pass it to you privately. Can I use your email to send the deployment URI?

Feel free to send me an email at antchu at microsoft com. Thanks.

@anthonychu, thanks for offering help. I just sent an email including the deployment URI. The thing I noticed is if I add a trailing slash (deplyment URI + /) it wouldn't raise the 404. Network tab is showing a redirection occurring, although effectively this is not a redirection but internal Angular routing. I'm willing to add routes file but would like to expose this first to understand what is going on with it.

@mahmoudajawad Could you please confirm that you've sent it to<EMAIL_ADDRESS>I haven't yet received it. Thanks.

Oh! I've sent it to the email listed in your profile. I'll forward the message to the one you just mentioned.

@anthonychu, to keep reference to others on this issue I'm going to continue here.
First, thanks a lot for taking time to check on the deployment, which I missed, where the app is reloading the page after failing to connect to dev websocket, because the app was built against development configurations, not production.
So, I never realised SWA service is building against npm run build and not detecting this as Angular project and invoking ng build --prod which is the defacto for production deployments. Just by editing package.json and updating scripts.build to be ng build --prod, I got new deployment with working app that doesn't reload  the page because it's correctly connecting to the production environment.
May I suggest that SWA service be little more smart and invoke ng build --prod rather than npm build run if it detects an Angular project? I'm going to close this issue and bring up this suggestion in another one to keep issues clean.
Thanks a lot.

@mahmoudajawad glad you got it working. Yes that’s a problem specific to Angular and @johnpapa @manekinekko are aware and are discussing options. It makes sense that that websocket was from a non production build.

create a new file named staticwebapp.config.json in your src, enter the above code in the file
{
"navigationFallback": {
"rewrite": "/index.html",
"exclude": ["/images/.{png,jpg,gif}", "/css/"]
}
}
add in angular.json under options in assets array the above code
"assets" : [ {
"glob": "staticwebapp.config.json",
"input": "src/",
"output": "/"
}]
build and deploy.


Improvements to distributed scheduler benchmarks

Add distibuted.wait(dask_df) after client.persist(dask_df) for distributed scheduler, based on suggestion from @mrocklin in #332 .

Hmm.  Does this change slow things down?  It will help us sort the time into categories more accurately, so we should do it if that's the only effect, but we should be careful in case this ends up blocking computation that in practice would be proceeding asynchronously.

This change actually helps performance of the distributed scheduler when used with client.persist() on a single machine. The blocking doesn't happen when client.persist is not used.

Really?  Interesting.  I'll merge this then.
But how much does it improve?  If it's just a little, that's fine.  If it's a lot, it would need to go into the recommendations listed in that issue.

Thanks. It improves by nearly 3x, but I think this is because there's an issue with dask's distributed scheduler interacts with the client.persist feature. My main concern is that dask's distributed scheduler has the best performance when there is no persistence/caching whatsoever, regardless of data size. So that's what I put as the recommendation in #313.


[Bug]: OpenAIAgentWorkers get_all_messages Function may go outside of content window

Bug Description
Hello everyone,
In my example application i get the following error:
raise self._make_status_error_from_response(err.response) from None openai.BadRequestError: Error code: 400 - {'error': {'message': "This model's maximum context length is 16385 tokens. However, your messages resulted in 17195 tokens (17141 in the messages, 54 in the functions). Please reduce the length of the messages or functions.", 'type': 'invalid_request_error', 'param': 'messages', 'code': 'context_length_exceeded'}}
I think this is due to the OpenAIAgentWorkers get_all_messages being implemented wrongly.
def get_all_messages(self, task: Task) -> List[ChatMessage]:
        return (
            self.prefix_messages
            + task.memory.get()
            + task.extra_state["new_memory"].get_all()
        )

Adding the three type of messages doesn't use the pruning of the default ChatMemoryBuffer, which causes the query to the LLM to overflow.
Is there an workaround for this, and if not may this be fixed?
Thanks for any help in advance.
Version
0.10.42
Steps to Reproduce
Use the create-llama template and define your chat engine as follows:
def get_chat_engine():
    system_prompt = os.getenv("SYSTEM_PROMPT")
    top_k = os.getenv("TOP_K", 3)

    index = get_index()
    if index is None:
        raise HTTPException(
            status_code=500,
            detail=str(
                "StorageContext is empty - call 'poetry run generate' to generate the storage first"
            ),
        )

    return index.as_chat_engine(
        similarity_top_k=int(top_k),
        system_prompt=system_prompt,
        chat_mode=ChatMode.OPENAI,
        response_synthesizer=NoLLM()
    )

The NoLLM() response_synthesizer can be found here:
https://github.com/run-llama/llama_index/pull/14439#pullrequestreview-2146507622
Relevant Logs/Tracbacks
No response

For example such a configuration of the prefix messages, task memory and task.extra_state["new_memory"] :
CUR_STEP_OUTPUT_NEXT_STEPS [TaskStep(task_id='7a2aa21e-fb95-4b74-929a-15bfa18a6952', step_id='f8fe2c5a-4498-4673-9958-1370b32513b3', input=None, step_state={}, next_steps={}, prev_steps={}, is_ready=True)]
CUR_STEP_OUTPUT_OUTPUT
COUNTS [P,TM,TE] 116 ,  7629 ,  8441

causes this error:
<Task finished name='Task-42452' coro=<Dispatcher.span..async_wrapper() done, defined at /Users/saltukkezer/Library/Caches/pypoetry/virtualenvs/app-WTiBYyDQ-py3.11/lib/python3.11/site-packages/llama_index/core/instrumentation/dispatcher.py:212> exception=BadRequestError('Error code: 400 - {'error': {'message': "This model's maximum context length is 16385 tokens. However, your messages resulted in 16411 tokens (16357 in the messages, 54 in the functions). Please reduce the length of the messages or functions.", 'type': 'invalid_request_error', 'param': 'messages', 'code': 'context_length_exceeded'}}')>

Same problem when the memory of the extra state is going over 16k (using gpt-3.5-turbo), because of using the same tool multiple times e.g.


sjj

**Before adding this issue, make sure you do the following to make sure this is not a duplicate:**

Search through the repo's previous issues
Read through the readme at least once
Search the docs for the feature you're looking for

Just describe the feature
sn

sns

??


[Feature request] Allow watch / output path customisation

Idea
If you use the builtin /watch and /output paths, the two directories are from different mounted filesystems. This means that the hardlink AMC action produces an error and the move action copies instead of moves. Is it possible to nominate a custom path? For example, the watch folder could be /storage/watch and the output could be /storage/output.
(I'm using a truecharts deployment of this container, so apologies if this feature is already available)

Ah, just found #30, all good!
For anyone else who needs it, there are some env vars you can use:

AMC_INPUT_DIR
AMC_OUTPUT_DIR


low mAP result using COCO dataset + pretrained yolov3.h5 ( no re-train )

Hi there, please help me. I have implemented this yolov3 using COCO dataset and pre-trained model yolov3.h5. When running predict_pic.py it was so promising when checked randomly of detected objects in picture results.
But, when I run mAP python code comparing the ground-truth and detection-result, I have got 18% +- and this is very underperfomed than yolov3 mAP claimed.
Am I doing something wrong or any one of you had the same case like me ?
Thank you.

I have just realized that mAP claimed by Yolov3 author is on test-dev split data. And my mAP result is on val2017 split data. Is this mAP result normal?

Hi, I am working on evaluation of mAP for Val2017 data as well, but I have trouble with implementing it, I know the concept of IOU, precision-recall curves, can you teach me how to get mAP? And also should I parser the annotation JSON file to extract the ground truth, and how can I get the predicted bounding box result? Also, Should I convert [ x, y, w, h] to the top left ? Instead of center of the box? Thanks. Paxson


Set reserved nodes with offchain worker.

Related #5579.
Context
In a permissioned network, only the authorized nodes are allowed to connect with each other. There are also requirements to configure additional connections within the nodes which belong to a single organization.
This PR follows the second proposed option in above issue, you can also check the first option here.
The intention of this PR is: a chain can

include the node-authorization pallet,
configure genesis well known nodes with chain_spec,
then start a permissioned node along with offchain worker enabled.
further configure any additional connections.

A follow up PR should make the persistence of the reserved nodes config.

cc @mattdean-digicatapult @g2udevelopment @gautamdhameja

@kaichaosun Really like this direction, because of the on-chain management possibilities it opens up alot of usecase. Also like the inclusions of the Origins in your pallet. So a +1 from me. The other guys need to review the code quality but from what I see this is exactly as described in #5579. Good job!

@kaichaosun, this is looking really good. I much prefer the generality of this approach compared to #6863 and it opens up a lot of possibilities.
A couple questions about the initialization of the peerset when the node starts. #5579 mentioned the need for persistance of the reserved_nodes set across restarts (which seems sensible). Does this achieve that or is this an existing feature now that I've missed?
I'm also intrigued as to what will happen if a node is significantly behind the head of the chain. As it imports blocks the oldest blocks may enforce a peerlist that doesn't exist anymore. Does this in anyway prevent the node from synching? I guess the bootnodes should always be part of the reserved_nodes set?

bot merge


[Candidate 1v1 Dry River ZH v4] Road segments near home bases have imperfections

Observed behaviour
Road segments near home bases have imperfections.
Expected behavior
Road segments are connected and smoothened well.
Screenshots

fixed


Add increase/decrease indicator for vacancies

Add an 'increase/decrease' note for the NEET headlines stats. See the CPI headlines and pipeline scripts/cpi/prepare.py as an example.
This should be done from the data during the scripts\neet\prepare.py stage and written to the src\_data\sources\vacancies\headlines.csv that drives src\dashboard\vacancies\_data\visualisation\headline.yml .

Closing #216 as not planned


x/tools/go/gcimporter15: TestImportTestdataNewExport panics with Go 1.6 (but not tip)

Please answer these questions before submitting your issue. Thanks!

What version of Go are you using (go version)?

go version go1.6 linux/amd64

What operating system and processor architecture are you using (go env)?

linux/amd64, but I bet that doesn't matter

What did you do?

go test -v -run=TestImportTestdataNewExport golang.org/x/tools/go/gcimporter15

What did you expect to see?

The test passing

What did you see instead?

panic: interface conversion: types.Type is *types.Pointer, not *types.Named [recovered]
panic: interface conversion: types.Type is *types.Pointer, not *types.Named
You can see this on build.golang.org too e.g. http://build.golang.org/log/6431d22fbbbf6d626c0462ce47b33fd9fc7a1819

This sounds like I should /cc @griesemer

On it.

Er, the test now fails for me with
panic: runtime error: index out of range [recovered]
	panic: runtime error: index out of range

with both go 1.6 and tip. Not sure this is progress? :-)

Ah no, it passes with very recent tip. But it fails with 1.6 -- maybe the gcimporter16_test.go file should be tagged go1.7, not go1.6?

Yes, that's I mention in the CL desc - we're tracking tip here. Separate fix coming tonight/tomorrow unless somebody beats me to it.


Docker (-Compose) deployment with environment not possible

What happened?
I'm trying to deploy Reposilite using Docker-Compose together with a postgresql database.
I'm using the -Dreposilite.property=value syntax to configure the properties. However, it fails as soon as there are spaces in a value. I've tried quoting the value, escaping the spaces and quoting the complete -D... parameter. Nothing worked.
After playing around a while, I found that the values were passed unquoted in the ENTRYPOINT command, which seems to fail with a "Main class not found" error.
After overriding the entry point in the docker-compose.yml and quoting it there, it seems to work - at least it launches.
However, it seems like the values seem to be ignored. At least Reposilite still used an SQLite and the HTML meta tags still contained the default title etc. instead of the customized values.
Reposilite version
3.x
Relevant log output
No response

For reference, here's the docker-compose service definition (db is a postgres service):
  reposilite:
    image: dzikoysk/reposilite:3.0.0-alpha.21
    depends_on:
      - db
    environment:
      JAVA_OPTS: >-
        -Dreposilite.database='postgresql db:5432 ${DB_NAME} ${DB_USER} ${DB_PASSWORD}'
        -Dreposilite.forwardedIp=X-Forwarded-For
        -Dreposilite.id=my-mvn-repository
        -Dreposilite.title='My Maven Repository'
        -Dreposilite.description='My Maven repository description'
        -Dreposilite.organizationWebsite=https://example.tld
        -Dreposilite.organizationLogo=https://example.tld/logo.svg
    networks:
      maven:
    ports:
      - "<IP_ADDRESS>:XXXX:80"
    volumes:
      - type: bind
        source: /some/persistent/path
        target: /app/data
    restart: unless-stopped```

I've now solved part of this by editing the local config file for the database, and then editing the shared config in the UI for the customization.

Hi, this option has been removed from 3.x and is only available in 2.x. In 3.x you can just link modified configuration file with parameter:

https://github.com/dzikoysk/reposilite/blob/57cd9c2cbf945f07f1062e92c830b7ba6e50c5e7/reposilite-backend/src/main/kotlin/com/reposilite/ReposiliteParameters.kt#L46

Ah, thanks! Does this also work for only "partial" overrides? e.g. leave most of the settings to their defaults but customize a few of them? Can I simply put the ones I'd like to modify in the file and they will override the defaults?

Yes, should be fine :)


feat: let users pass sync/async functions for resolving option values for headers/params

Fix https://github.com/electric-sql/electric/issues/2181
This PR adds support for function-based options in the TypeScript client's params and headers. Functions can be either synchronous or asynchronous and are resolved in parallel when needed.
const stream = new ShapeStream({
  url: 'http://localhost:3000/v1/shape',
  params: {
    table: 'items',
    userId: () => getCurrentUserId(),
    filter: async () => await getUserPreferences()
  },
  headers: {
    'Authorization': async () => `Bearer ${await getAccessToken()}`
  }
})

Common Use Cases

Authentication tokens that need to be refreshed
User-specific parameters that may change
Dynamic filtering based on current state
Multi-tenant applications where context determines the request

Design Decision
We chose to implement this using direct function values rather than a middleware/interceptor pattern (as seen in libraries like Axios or ky) for several reasons:

Simplicity: Direct function values in config objects are more intuitive than middleware chains. There's a clear 1:1 relationship between the option and its value resolution.
Granularity: Each param/header can be individually dynamic. No need to set up middleware just to make a single value dynamic.
Performance: All async functions are resolved in parallel by default, which isn't always the case with sequential middleware chains.
Focused API Surface: As we're not a general-purpose HTTP client, we don't need the complexity of a full middleware system. This approach keeps our API surface smaller and more focused on Electric's specific needs.

Brilliant -- the usage and docs are both 👌

Gotta thank my colleague Windsurf for these 😎


Allow more login window and password verification customizability

This will empower endusers to use webview login windows, but still support ropg for password verification

I update remove the left over files from patches

do you mean the MainController.swift.orig? Doesn't seem to be needed. Also, thanks for catching my assumption that using ROPG would require both login window and app. I'll merge once the orig file is removed.


Request Expires And NextOffsetChange

First of all thanks for sharing this code. It is truly helpful. I have successfully displayed the weather info on my esp8266 12e module with spi 128x128 display.
If you want refresh it. Here is some info.
Accuweather Developers
Shorten, There are two ways to refresh weather data. It could be done by randomize the interval of server request or Use Expires header variable.
To the writer of this code. Could you add Timezone Offset in the request . I looked for it, but I could not found it.

I think I understand why you choose too not at the timeoffset. It appears it’s only available with latitude, longitude. Eventfully I solved it with a NTPClient and the “date” give in the response.


Use travis-wait-enhanced instead of travis_wait to see which test has stalled

This PR will close #348.

The travis will fail because this PR contains cba4da1f7768f8eb10e4ad74a3368bd75e3ce006 that demonstrates #362.
So this PR is not ready for merge until #363 gets merged.

travis-wait-enhanced is working as expected.
You can now see which test is taking a long time and how long it is.
$ travis-wait-enhanced --interval=1m --timeout=50m -- coverage run -m pytest tests
============================= test session starts ==============================
platform darwin -- Python 3.7.4, pytest-5.2.2, py-1.8.0, pluggy-0.13.0 -- /Users/travis/build/HiromuHota/fonduer/venv/bin/python3.7
cachedir: .pytest_cache
rootdir: /Users/travis/build/HiromuHota/fonduer/tests, inifile: pytest.ini
collected 48 items
tests/test_meta.py::test_meta_connection_strings PASSED                  [  2%]
tests/candidates/test_candidates.py::test_ngram_split PASSED             [  4%]
tests/candidates/test_candidates.py::test_span_char_start_and_char_end PASSED [  6%]
tests/candidates/test_candidates.py::test_cand_gen_cascading_delete PASSED [  8%]
tests/candidates/test_candidates.py::test_cand_gen travis-wait-enhanced Still running... Fri, 08 Nov 2019 19:36:45 GMT
travis-wait-enhanced Still running... Fri, 08 Nov 2019 19:37:45 GMT
PASSED                [ 10%]
tests/candidates/test_candidates.py::test_ngrams PASSED                  [ 12%]
tests/candidates/test_candidates.py::test_row_col_ngram_extraction PASSED [ 14%]
tests/candidates/test_candidates.py::test_mention_longest_match travis-wait-enhanced Still running... Fri, 08 Nov 2019 19:38:45 GMT
PASSED   [ 16%]
tests/candidates/test_candidates.py::test_multimodal_cand PASSED         [ 18%]
tests/candidates/test_candidates.py::test_subclass_before_meta_init PASSED [ 20%]
tests/candidates/test_candidates.py::test_pickle_subclasses PASSED       [ 22%]
tests/candidates/test_matchers.py::test_union PASSED                     [ 25%]
tests/candidates/test_matchers.py::test_intersect PASSED                 [ 27%]
tests/candidates/test_matchers.py::test_inverse PASSED                   [ 29%]
tests/e2e/test_e2e.py::test_e2e travis-wait-enhanced Still running... Fri, 08 Nov 2019 19:39:45 GMT
travis-wait-enhanced Still running... Fri, 08 Nov 2019 19:40:45 GMT
travis-wait-enhanced Still running... Fri, 08 Nov 2019 19:41:45 GMT
travis-wait-enhanced Still running... Fri, 08 Nov 2019 19:42:45 GMT
travis-wait-enhanced Still running... Fri, 08 Nov 2019 19:43:45 GMT
travis-wait-enhanced Still running... Fri, 08 Nov 2019 19:44:45 GMT
travis-wait-enhanced Still running... Fri, 08 Nov 2019 19:45:45 GMT
travis-wait-enhanced Still running... Fri, 08 Nov 2019 19:46:45 GMT
travis-wait-enhanced Still running... Fri, 08 Nov 2019 19:47:45 GMT
travis-wait-enhanced Still running... Fri, 08 Nov 2019 19:48:45 GMT


Needs help

None of the commands have any help documentation, and there are no about topics either.

Added several help files. Topics still to cover:
Invoke-OneLoginUserLogoff
New-OneLoginUser
Remove-OneLoginUser
Remove-OneLoginUserCustomAttribute
Remove-OneLoginUserRole
Set-OneLoginUser
Set-OneLoginUserCustomAttribute

finished remaining command help. May consider topic help, but for now this is closed.


Map tile slider

User story
Currently, multiple tile maps can be registered. The user wants to display different tiles depending on the Zoom level. To do so, the user needs to set the Max and Min Zoom levels, but the existing UI doesn't know what the current Zoom level is and what values should be set for Max and Min. By implementing a map tile slider, we can know the current zoom level and see where the tilemap will be displayed.
Requirements

Can set min, max by slider
Can see current zoom level
Can see the actual value
Can change the camera zoom level by slider

Completion condition

[ ] All PRs were passed CI, code-reviewed and merged
[ ] Tested on staging env
[ ] Released in the production env
[ ] A demonstration was held

This has been done. So I will close this issue.


Start using Any type for true schemas

Currently we are using ["boolean", "string"...] type for true JSON Schema. We should move to more verbose any type for such a schema. I know that it's not a compatible with JSON Schema but we should go with easier code as well.

#365 solves this issue.


Norwegian Bokmål translation of metadata

It would be nice to have the metadata (app description, etc.) translated as well. The Weblate component is here.

@comradekingu Big thanks for translating the app string resources. If you have time and are willing, your help with translating the metadata would be greatly appreciated!

Thank you!


[Beta-Gating] Mobile Beta-Gating Final Requirements

Takes care of 2 extra requirements: 1. authorable sheet of whitelisted android devices and 2. an extra metadata that always fail eligibilityTest, which can be used to temporarily disable mobile gating without modifying cookie etc, and always show visitors the promo-bar.
Resolves: https://jira.corp.adobe.com/browse/MWPW-140374
Test URLs:

Before: https://stage--express--adobecom.hlx.page/express/
After: https://finalize-beta-gating--express--adobecom.hlx.page/express/learn/students?martech=off

Holding it as there are new requirements coming in again.

Codecov Report
Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (7ff4d6b) 31.89% compared to head (690a59b) 31.83%.

Files
Patch %
Lines

express/scripts/mobile-beta-gating.js
53.33%
14 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##            stage     #549      +/-   ##
==========================================
- Coverage   31.89%   31.83%   -0.06%
==========================================
  Files         126      126
  Lines       24105    24116      +11
==========================================
- Hits         7688     7678      -10
- Misses      16417    16438      +21

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

will reopen once new requirements are implemented


Adds a base class for key/value containers that can be saved and restored

This functionality is used throughout the code, adding a class others
could use to gain access to this functionality.
Right now, targetting guests and their load/save workflow, but in the
future, other objects like plugins would get converted too.

https://github.com/teemtee/tmt/pull/1247/files depends on this PR, and converts Guest classes and data blobs used in their creation.


local build does not work cause lombok

Describe the bug
Project could not build because lombox make an issue
To Reproduce
mvn install of the java project with for example java18 or 11
Expected behavior
Build have to work
you can use last version of lombok where fix is done
    <lombok.version>1.18.12</lombok.version>

to
<lombok.version>1.18.22</lombok.version>
in java project pom.xml

The master branch should build. Are you sure that you use Java 11?
There could be non-compatibilities between Java's latest versions and Lombok 1.18.12.
Try to keep all dependencies as they are on the master branch and make sure that the project's Java version is 11.


Split Chunks Plugin documentation presumes a lot of prior knowledge about now-deprecated Common Chunks

Sparked by this Twitter thread:
https://twitter.com/TheLarkInn/status/983569227352178689?s=19
The SplitChunksPlugin is the replacement for the CommonsChunkPlugin. The documentation for SplitChunks assumes a fairly deep amount of understanding about chunking. For new users getting started with webpack 4 or later, this is a bit annoying. The SplitChunks docs should be similar in progression to the CommonChunksPlugin docs, which explain the specific problems they're trying to solve and why. Also, pages that reference the CommonChunksPlugin like the Code Splitting guide should probably be updated to point users to the SplitChunksPlugin if they're on 4.0+.
This person's notes helped me figure out important, basic things (like, putting the splitChunks config inside the optimize: block), which weren't clear from the docs to a newbie like me.

Hi @jonnybot0
The migration guide is progressing very slowly, we did split up migration section into pages and now starting on the migration guide v3->v4 itself
Although as a quick help could you clarify what could be better on splitChunks page? Because titles already say optimization.splitChunks.
Maybe examples should have full module to be clearer like that:
// webpack.config.js
module.exports = {
  ...
  optimization: {
    splitChunks: {...}
  }
}

Hi @EugeneHlushko ,
I completely agree with @jonnybot0 .. documentation seems to be all over the place right now. For starters could we please list all the options/flags/properties available for splitChunks plugin? In one blog post I read there is a test property for cacheGroups.common but not sure if there is an exclude one too or not...

I think having the full module would be helpful. If you're new to webpack, you aren't going to intuit from the title where the splitchunks configuration should go. Show it in context. People go to docs trying to solve, "How do I..." type of problems when they're ready for the next step in their build, so providing an example with the context matters.


add kubebuilder to get command

Description
This commit will solve issue #180 which will add kubebuilder to get command

Motivation and Context

[x] I have raised an issue to propose this change (required)

How Has This Been Tested?

Types of changes
$ go run main.go get kubebuilder
Downloading kubebuilder
https://github.com/kubernetes-sigs/kubebuilder/releases/download/v2.3.1/kubebuilder_2.3.1_darwin_amd64.tar.gz
/var/folders/30/rs8_07d90xvb5k16p6swq24r0000gp/T/etcd kubebuilder_2.3.1_darwin_amd64/bin/etcd
/var/folders/30/rs8_07d90xvb5k16p6swq24r0000gp/T/kube-apiserver kubebuilder_2.3.1_darwin_amd64/bin/kube-apiserver
/var/folders/30/rs8_07d90xvb5k16p6swq24r0000gp/T/kubectl kubebuilder_2.3.1_darwin_amd64/bin/kubectl
/var/folders/30/rs8_07d90xvb5k16p6swq24r0000gp/T/kubebuilder kubebuilder_2.3.1_darwin_amd64/bin/kubebuilder
2020/08/17 16:50:37 extracted tarball into /var/folders/30/rs8_07d90xvb5k16p6swq24r0000gp/T: 4 files, 0 dirs (7.075645194s)
Tool written to: /var/folders/30/rs8_07d90xvb5k16p6swq24r0000gp/T/kubebuilder

Run the following to copy to install the tool:

chmod +x /var/folders/30/rs8_07d90xvb5k16p6swq24r0000gp/T/kubebuilder
sudo install -m 755 /var/folders/30/rs8_07d90xvb5k16p6swq24r0000gp/T/kubebuilder /usr/local/bin/kubebuilder

$ chmod +x /var/folders/30/rs8_07d90xvb5k16p6swq24r0000gp/T/kubebuilder

$ sudo install -m 755 /var/folders/30/rs8_07d90xvb5k16p6swq24r0000gp/T/kubebuilder /usr/local/bin/kubebuilder
Password:

$kubebuilder

Development kit for building Kubernetes extensions and tools.

Provides libraries and tools to create new projects, APIs and controllers.
Includes tools for packaging artifacts into an installer container.

Typical project lifecycle:

- initialize a project:

  kubebuilder init --domain example.com --license apache2 --owner "The Kubernetes authors"

- create one or more a new resource APIs and add your code to them:

  kubebuilder create api --group <group> --version <version> --kind <Kind>

Create resource will prompt the user for if it should scaffold the Resource and / or Controller. To only
scaffold a Controller for an existing Resource, select "n" for Resource. To only define
the schema for a Resource without writing a Controller, select "n" for Controller.

After the scaffold is written, api will run make on the project.

Usage:
  kubebuilder [command]

Available Commands:
  create      Scaffold a Kubernetes API or webhook.
  edit        This command will edit the project configuration
  help        Help about any command
  init        Initialize a new project
  version     Print the kubebuilder version

Flags:
  -h, --help   help for kubebuilder

Use "kubebuilder [command] --help" for more information about a command.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I've read the CONTRIBUTION guide
[x] I have signed-off my commits with git commit -s
[ ] I have added tests to cover my changes.
[x] All new and existing tests passed.

[ ] I have tested this on arm, or have added code to prevent deployment

Thank you @Amalkh5 !


Fix #43 for when no reference components are found

Description
On very rare occassions there are no reference components found when the references section is cleaned and split, and therefore the code fails because in predict.py there is no predict_all['Predicted Category'] found.
This fixes the issue, but in the future we would like to rather than just skip processing the document, return empty lists in predict_references, predict_structure and fuzzy_match_blocks.
Type of change
Please delete options that are not relevant.

[x] :bug: Bug fix (Add Fix #(issue) to your PR)

I will defer to @hblanks on this.


Remove DependencyInfoBlock

ref: https://gitlab.com/fdroid/checkupdates-bot-fdroiddata/-/jobs/8406340176
We find that there is a DependencyInfoBlock in your APK.
It's a Signing block added by AGP and encrypted with the Google public key so it can't be read by anyone else except Google. You can read more about it here and here.
While this was added a while ago, we were only enforcing it for new apps, and recently we started scanning updates too.
Could you please disable it with the following code?
android {
    dependenciesInfo {
        // Disables dependency metadata when building APKs.
        includeInApk = false
        // Disables dependency metadata when building Android App Bundles.
        includeInBundle = false
    }
}

Thanks!

ref: https://gitlab.com/fdroid/checkupdates-bot-fdroiddata/-/jobs/8406340176
We find that there is a DependencyInfoBlock in your APK.
It's a Signing block added by AGP and encrypted with the Google public key so it can't be read by anyone else except Google. You can read more about it here and here.
While this was added a while ago, we were only enforcing it for new apps, and recently we started scanning updates too.
Could you please disable it with the following code?
android {
    dependenciesInfo {
        // Disables dependency metadata when building APKs.
        includeInApk = false
        // Disables dependency metadata when building Android App Bundles.
        includeInBundle = false
    }
}

Thanks!

OK, thanks, I disabled this code


Build a Tribute Page Project - Reduce ambiguity of goals

Challenge Build a Tribute Page has an issue.
Some campers are confused if they are allowed to use their own CSS or alternate frameworks.  Additionally, we want to make sure that students don't directly replicate the existing tribute page - even if they did it using their own code, it makes it very difficult to distinguish from cheating.
Add the following rules:

Rule #3: You may use your own CSS and frameworks other than Bootstrap
Rule #4:  Choose your own tribute subject

I'll gladly give this a shot. :)


fix(learn): rework Project Euler - Problem 58

Changes challenge to use argument in function call.
Adds two additional tests.
Adds solution.
Tested on local fork.

Related to #40896.
Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

I added this solution to the forum guide article


enhancement: add sample example in the commands

Description of your changes:
adding small enhancement, adding examples for required commands, using small caps for error logging.
Which issue is resolved by this Pull Request:
Resolves #
Checklist:

[x] Commit Message Formatting: Commit titles and messages follow guidelines in the developer guide.
[x] Reviewed the developer guide on Submitting a Pull Request

Thanks for the pr @shay1760


Add Power Support ppc64le

Added power support for the travis.yml file with ppc64le. This is part of the Ubuntu distribution for ppc64le. This helps us simplify testing later when distributions are re-building and re-releasing.

Thank you for your contribution, but this is a pure-JS module which does not use any OS APIs in Node.js, so there isn't really a need to test on various operation systems and architectures within this project, which is why it does not test on Windows, either. This change fuether ties us in to Travis CI, which is in the process of being removed from our projects due to it no longer being free soon.


Clean automatically generated version string

Our version string has a github ref path included.
This PR will remove all but the version identifier and allocate it to the current global that stores it.

Check the Github docs. You don't need to write code for this. https://docs.github.com/en/actions/learn-github-actions/variables
Consider GITHUB_REF_NAME in the build process perhaps?
It would keep the code simpler.


[Catalog] Publish PHP Guestbook application with Redis

Desired Behavior

Publish PHP Guestbook application with Redis to Meshery Catalog.
Implementation

Acceptance Tests

Mockups

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

would like to work on this.

There u go @Pushkarm029

would like to work on this.

Any update?

hey @theBeginner86 , i would love to contribute , any guidance on what i should do ,( i am a complete beginner in docker and k8s)

@theBeginner86 could guide me what I should do ? Thanks

@theBeginner86 could guide me what I should do ? Thanks

Here are the steps:

Log into your Meshery Instance. (Separately, directly land on https://play.meshery.io)
Go to designs tab (Separately, navigate to Designer)
Click on import button
Choose source type
Select file
Click Upload
Wait until you see your design uploaded
Click publish button to open publish modal
Fill integrations, description, caveats
Click publish
Wait for you design review (or approval)
If any suggestions, resolve them and re-publish
After approval from Maintainers, check you design at https://meshery.io/catalog
Share your design link with others.

@RISHIKESHk07 helpful?

@theBeginner86 thanks for the help, here instance means the cli tool right ,?

Hey @theBeginner86 , got the issue fixed was a proxy problem , i was able to login to mesh map , in the  import modal  in the url section i tried using this https://github.com/kubernetes/examples/blob/master/guestbook/all-in-one/guestbook-all-in-one.yaml (it did  show import failed , design type was kubernettes manifest), any idea what went wrong?

Hey @theBeginner86 ,  i did publish a design named PHP Guestbook application with Redis fro approval


Add support for using VSCode's php.validate.executablePath setting

Summary
This PR adds support for using the PHP executable path specified in VSCode's
php.validate.executablePath setting. If this setting is configured in the user's
VSCode environment, Laravel Pint will now prioritize using this path for PHP execution.

Cool one, didn't even think about this, merging and releasing next


Inability to unpack dnstap message to a Msg structure

I've noticed that some dnstap responses from unbound are unable to be parsed. dig also complains in this case, so I'm unsure if the problem is in the DNS response itself, Unbound handling it, or this dnstap library.
This is the query/response:
❯ dig +short AAAA vstbrasil.com.
;; Warning: Message parser reports malformed message packet.

This is the output of dnstap:
16:45:28.364170 CQ <IP_ADDRESS> UDP 42b "vstbrasil.com." IN AAAA
16:45:28.968713 CR <IP_ADDRESS> UDP 58b X

The error occurs on msg.Unpack: "overflow unpacking aaaa"

@edevil We recently started seeing this issue on some hosts after upgrading unbound from 1.9.6 to 1.16.1.
Is the issue still happening for you? Can you still reproduce it with the above dig command?

As far as I know it still happens, although it's been a while since I looked at it. https://github.com/NLnetLabs/unbound/issues/653


Preliminary bzlmod support

This configures the gazelle_cabal workspace to be compatible with bzlmod as a dependency module. Meaning another module can depend on it via bzlmod, however gazelle_cabal cannot itself be tested or built with bzlmod enabled, yet.
This also configures the example workspace to be compatible with bzlmod as a root module. Meaning the example can be built and tested with bzlmod enabled.
Enables bzlmod tests on CI, for now only for GHC version 9.4.5.
limitations / future work

The root module cannot itself be tested or built with bzlmod, yet.
The tests are not built with bzlmod, yet.
The alternative-deps test requires renaming the stack snapshot workspace names to stackage-b and stackage-b-exe. This is currently not possible. One path would be a name attribute to stack_snapshot. However, this is not desirable as discussed in https://github.com/tweag/rules_haskell/pull/1962. Another approach is to use isolated extensions (requires Bazel 6.3) and remapping on use_repo. But, use_repo uses keyword argument syntax for the remapping target, and stackage-b or stackage-b-exe do (AFAIK) not form valid identifiers in Starlark.
The GHC version is hard-coded in the MODULE.bazel file and fixed to 9.4.5.
The version number is factored out into a variable. A simple future improvement would be to simply change that variable in place in the CI pipeline to test other versions.
The Gazelle extension does not itself support bzlmod, yet. In particular, update-repos does assume a WORKSPACE setup.

closes #63 #66

This will require an update of the required CI checks on GitHub.

@Mergifyio rebase


Where to Download

Where can i Download WPInternals? # #

https://github.com/ReneLergner/WPinternals/releases

https://github.com/ReneLergner/WPinternals/releases

But the Website is Down... Therefor i wrote it

Yup i want to unlock BL and do something with this WP L520 but no link nothing isn't available

https://web.archive.org/web/20201123212953/https://wpinternals.net/index.php/downloads
^ go there. its a snapshot of the download site.

Hi,
you can download the latest version here: https://github.com/ReneLergner/WPinternals/releases/tag/2.9


double_quotes flag support

It would be nice if Trealla can support double_quotes flag, which can be codes, chars and atom.
codes is used as default for GProlog and Yap and SWI 6. (?-Prolog also make use of it, although only sparsely).
atom is Trealla's current behavior.
chars seems to be useful for some contexts.
Those three are supported by  GProlog and Yap and SWI, I have not check other values.

Cool! Thanks.


Document pre and post filters.

For a pre filter ，but More like current Filter's the previous filter？
package org.springframework.cloud.gateway.filter.factory;

import org.springframework.cloud.gateway.filter.GatewayFilter;
import org.springframework.http.server.reactive.ServerHttpRequest;

/**
 * @author Spencer Gibb
 */
public class AddRequestHeaderGatewayFilterFactory extends AbstractNameValueGatewayFilterFactory {

	@Override
	public GatewayFilter apply(NameValueConfig config) {
		return (exchange, chain) -> {
			ServerHttpRequest request = exchange.getRequest().mutate()
					.header(config.getName(), config.getValue())
					.build();

			return chain.filter(exchange.mutate().request(request).build());
		};
    }

}

Above this code，For a pre filter here is AddRequestHeader (code is executed before chain.filter() call):，but More like current Filter's the previous filter

For a 'post' filter,More like current Filter's the next filter？
public class SetStatusGatewayFilterFactory extends AbstractGatewayFilterFactory<SetStatusGatewayFilterFactory.Config> {
    @Override
    public GatewayFilter apply(Config config) {
        final HttpStatus status = ServerWebExchangeUtils.parse(config.status);
        return (exchange, chain) -> {

            return chain.filter(exchange).then(Mono.fromRunnable(() -> {
                // check not really needed, since it is guarded in setStatusCode,
                // but it's a good example
                if (!exchange.getResponse().isCommitted()) {
                    setResponseStatus(exchange, status);
                }
            }));
        };
    }
}

Above this code，but More like current Filter's the next filter，is not Post Filter ？

See https://github.com/spring-cloud/spring-cloud-gateway/blame/master/docs/src/main/asciidoc/spring-cloud-gateway.adoc#L1208

This is already documented here http://cloud.spring.io/spring-cloud-static/Greenwich.RELEASE/single/spring-cloud.html#_writing_custom_gatewayfilter_factories


Cannot have a domain called 'Job' when using Quartz plugin

I have a domain called 'Job'. If I include the Quartz plugin GORM/Hibernate doesn't generate a table for it.

Actually the domain can't be called anything *Job.


Unable to type in URL and Try to login

New-Object : Exception calling ".ctor" with "0" argument(s): "The HTTP request to the remote WebDriver server for URL
http://localhost:58807/session timed out after 60 seconds."
At C:\Program Files\WindowsPowerShell\Modules\Selenium\1.0\Selenium.psm1:18 char:19

...   $Driver = New-Object -TypeName "OpenQA.Selenium.Firefox.FirefoxDriv ...

            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : InvalidOperation: (:) [New-Object], MethodInvocationException
FullyQualifiedErrorId : ConstructorInvokedThrowException,Microsoft.PowerShell.Commands.NewObjectCommand

I have this same issue when trying to run the script as a non-administrator, do you still encounter this issue when running in an elevated session?

@mahi2pavuluri @chris-simpkins are you still having these issues with the latest version of the module?

To prevent the page from throwing a timeout error and just move on to the next command even if the page isn't fully loaded, try running the driver with these options:
$ChromeOptions = [OpenQA.Selenium.Chrome.ChromeOptions]::new()
$ChromeOptions.PageLoadStrategy = "None"
$driver = New-Object -TypeName "OpenQA.Selenium.Chrome.ChromeDriver" -ArgumentList @($ChromeOptions)

No response from @mahi2pavuluri
Issue Closed.
-DM


Add Keyboard rich experience

Although this is documented, it seems the website is outdated because I wasn't able to implement this feature.
https://microsoft.github.io/react-native-windows/docs/ikeyboardprops-api

@chiaramooney Can you look into the docs and what gallery is doing and see if there's a disconnect?

Gallery does not make use of this API. @gabimoncha. If you run the Playground app in the react-native-windows repo and load the rntester bundle there should be examples there of how to use the API. If you are still hitting issues getting this API to work please file a bug on our documentation repo react-native-windows-samples or our main repo react-native-windows.


pciutils: 3.5.6 -> 3.6.0

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/pciutils/versions.
These checks were done:

built on NixOS
/nix/store/43hmbdyx3rr7ffzyhbqc3lk96sn64zh0-pciutils-3.6.0/bin/lspci passed the binary check.
/nix/store/43hmbdyx3rr7ffzyhbqc3lk96sn64zh0-pciutils-3.6.0/bin/setpci passed the binary check.
2 of 2 passed binary check by having a zero exit code.
2 of 2 passed binary check by having the new version present in output.
found 3.6.0 with grep in /nix/store/43hmbdyx3rr7ffzyhbqc3lk96sn64zh0-pciutils-3.6.0
directory tree listing: https://gist.github.com/846575baea469566671c1177083dfea1
du listing: https://gist.github.com/db18397cd0d36e6ea780918c1acf466f

meta.description for pciutils is: '"A collection of programs for inspecting and manipulating configuration of PCI devices"'.
cc @vcunat for testing.
This build is cached with Cachix. To use the cache follow these instructions:
One time setup in nixpkgs Git checkout:
cachix use r-ryantm
git remote add r-ryantm https://github.com/r-ryantm/nixpkgs.git

Test this build:
git fetch r-ryantm && git checkout a486ada6605355bd7d7e60ea8dc31651a3dae6da && nix-shell --pure -I nixpkgs=. -p pciutils

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: pciutils
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: pciutils
Partial log (click to expand)
shrinking /nix/store/43hmbdyx3rr7ffzyhbqc3lk96sn64zh0-pciutils-3.6.0/lib/libpci.so.3.6.0
shrinking /nix/store/43hmbdyx3rr7ffzyhbqc3lk96sn64zh0-pciutils-3.6.0/sbin/setpci
shrinking /nix/store/43hmbdyx3rr7ffzyhbqc3lk96sn64zh0-pciutils-3.6.0/sbin/lspci
gzipping man pages under /nix/store/43hmbdyx3rr7ffzyhbqc3lk96sn64zh0-pciutils-3.6.0/share/man/
strip is /nix/store/4qvrxzxa535y8304mk195x50b6p9607d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/43hmbdyx3rr7ffzyhbqc3lk96sn64zh0-pciutils-3.6.0/lib  /nix/store/43hmbdyx3rr7ffzyhbqc3lk96sn64zh0-pciutils-3.6.0/sbin
patching script interpreter paths in /nix/store/43hmbdyx3rr7ffzyhbqc3lk96sn64zh0-pciutils-3.6.0
checking for references to /build in /nix/store/43hmbdyx3rr7ffzyhbqc3lk96sn64zh0-pciutils-3.6.0...
moving /nix/store/43hmbdyx3rr7ffzyhbqc3lk96sn64zh0-pciutils-3.6.0/sbin/* to /nix/store/43hmbdyx3rr7ffzyhbqc3lk96sn64zh0-pciutils-3.6.0/bin
/nix/store/43hmbdyx3rr7ffzyhbqc3lk96sn64zh0-pciutils-3.6.0

Success on aarch64-linux (full log)
Attempted: pciutils
Partial log (click to expand)
shrinking /nix/store/c88sk38030z992bm8jbfyswkplwmdhg9-pciutils-3.6.0/sbin/setpci
shrinking /nix/store/c88sk38030z992bm8jbfyswkplwmdhg9-pciutils-3.6.0/sbin/lspci
shrinking /nix/store/c88sk38030z992bm8jbfyswkplwmdhg9-pciutils-3.6.0/lib/libpci.so.3.6.0
gzipping man pages under /nix/store/c88sk38030z992bm8jbfyswkplwmdhg9-pciutils-3.6.0/share/man/
strip is /nix/store/0pjsgkxz0rp5baycq5sp2s72lrr5q9sg-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/c88sk38030z992bm8jbfyswkplwmdhg9-pciutils-3.6.0/lib  /nix/store/c88sk38030z992bm8jbfyswkplwmdhg9-pciutils-3.6.0/sbin
patching script interpreter paths in /nix/store/c88sk38030z992bm8jbfyswkplwmdhg9-pciutils-3.6.0
checking for references to /build in /nix/store/c88sk38030z992bm8jbfyswkplwmdhg9-pciutils-3.6.0...
moving /nix/store/c88sk38030z992bm8jbfyswkplwmdhg9-pciutils-3.6.0/sbin/* to /nix/store/c88sk38030z992bm8jbfyswkplwmdhg9-pciutils-3.6.0/bin
/nix/store/c88sk38030z992bm8jbfyswkplwmdhg9-pciutils-3.6.0


Do you add other lang with premium membership?

Hi, tried your website i guess it will paid but its okay im a turkish guy, if i paid something i want read on my lang, so do you add other langs or only eng?

I am happy to see your support. Currently we have no plans of adding other languages, however, we might consider that in the future. Thanks for supporting us again!


authorization: client side,  2. authentication and authorization: socket calls

There is an angular Authentication service on the client. Is there a reason why the client does not also have an Authorization service? I see the client routes pass data object with an array of roles, but is there an example showing the canonical way to leverage those client side roles?

There is a policies folder on the server in a module such as the "articles" module. Then the server routes of the modules incorporate the authorization rules established in the policies file. What about server-related socket calls in the "chat" module? Where is authentication and authorization? Where is acl?

Is there documentation explaining how these parts work together?
Apologies if I'm missing something obvious here.

@trainerbill @rhutchison

@mg1075 I can't really speak too much to your first question, regarding the services. My understanding is the auth.server.routes don't necessarily need a client service. These routes will be used from external calls, more often than not. For instance /api/auth/forgot will be accessed directly from an email when using the Password Forgot feature. That's initial guess.
As for your second question, I can be a bit more certain on my answer; I've used Socket IO quite a bit. The calls made to the server from the client, don't require authentication on the server. This is because the Authenticated User is attached to a Socket IO instance on the server. If there has been no authentication, the client won't (and can't) connect to the Socket server. You can see this in the below snippet from config/lib/socket.io https://github.com/meanjs/mean/blob/master/config/lib/socket.io.js#L81
// Use Passport to populate the user details
        passport.initialize()(socket.request, {}, function () {
          passport.session()(socket.request, {}, function () {
            if (socket.request.user) {
              next(null, true);
            } else {
              next(new Error('User is not authenticated'), false);
            }
          });
        });

@mg1075 If you're worried about not having Authorization on the server, for your Socket config listeners, then you can implement any sort of logic to check Authorization, at the listener. For instance, if you would like to make sure someone has permission to send a message to a particular user, then you can put that check in your chat.server.socket.config listener.
I have a few custom Modules that use Socket IO, and I have additional validation on my server side listeners. I can see a more robust Socket Auth solution implemented here, but it might not be necessary due to the nature of sending Socket.emits(). They usually don't manipulate any sort of back-end resources.
At least this seems to be the case for how the Socket/Chat features are currently implemented. It appears that the Chat feature was meant to be a simple starting point, for a full fledged Chat module.

@mg1075 Do you still need help or can this issue be closed?

Is there any chance to test this on the server-side?

@bastianwegge Are you referring to server-side test coverage? There is a test file for the Chat socket, however there aren't any tests defined in it.
https://github.com/meanjs/mean/blob/master/modules/chat/tests/server/chat.socket.tests.js
I'm not too familiar with this test framework, so I'm unsure of how to mock the Socket server. It may involve initializing the Socket in the test; similar to how the express server is instantiated here.
https://github.com/meanjs/mean/blob/master/modules/users/tests/server/user.server.routes.tests.js
This may be a good starting point... http://liamkaufman.com/blog/2012/01/28/testing-socketio-with-mocha-should-and-socketio-client/
http://stackoverflow.com/questions/22461877/is-it-possible-to-test-socket-io-app-with-mocha

@mleanos thank you for the immediate answer, but it does not help me at all. I investigated into this the complete morning. I wouldn't ask if I didn't. I'm currently trying to implement passport.socket.io which seems to be maintained and testable. Maybe someone has a hint that boosts my progress?

@bastianwegge What exactly do you need help with? Test coverage? Or implementation of Socket.io?

I want to test the socket.io configuration that's loaded automatically by folder server/sockets/*. Since there actually is no implementation of the test right now.
The "problem" is that you cannot pass cookie variables neither to socket.io nor to socket.io-client implementation as of my understanding. We wan't to implement socket.io features using test-driven development like the following:

Feature request: Customer want's to list all active and logged in users
Write the test: socket.io implementation accepts connect only from logged in users
Write the code
Write the test: angular implementation of the socket registration
Write the angular-code

Right now this does not seam possible. I've implemented a feature only testing the angular-part like in the chat-controller example. But that does not satisfy me.

@mleanos maybe you wanna have a chat about that?

@bastianwegge @mleanos is there anything happening with this, or can it be closed?

@ilanbiala in my oppinion we can close this -> https://github.com/meanjs/mean/pull/865


Missing FeatureOracleJavaSoft feature in Microsoft OpenJDK Windows install

Describe the bug
Hi, the documented FeatureOracleJavaSoft is missing in Microsoft OpenJDK installs.
Still true in 17.0.7 and 11.0.19 downloaded from https://learn.microsoft.com/en-us/java/openjdk/download
Desktop (please complete the following information):
Windows 10, 1822
MSFT Build of OpenJDK Version:
17.0.7 and 11.0.19 (and all versions before too)
To Reproduce:
Install Microsoft OpenJDK, the feature to permits installing JavaSoft registrey key is not available.
I checked it with an MSI Editor and the Feature is not present in the msi file.
The feature is documented on the page :
https://learn.microsoft.com/en-us/java/openjdk/install
FeatureOracleJavaSoft | Updates registry keys HKLM\SOFTWARE\JavaSoft.
Expected behavior
A feature which install the JavaSoft registry key used by a lot of application to find the current Java install.
This feature is present in Adoptium's jdk, Zulu's JDK and much more.
Screenshots, Logs etc

Additional context

Here a screenshot of registry keys in the msi compared to others JDK :

The fetures available in Microsoft JDK :

A customer was recently able to install this with 17.0.8 but it is still worth checking our latest installers and installers - 1

The issue is also present in 21.x version installers.

Thanks @GeoSimos. Out of curiosity, why is this flag important to you?

Hi @brunoborges,
I replied here https://github.com/microsoft/openjdk/discussions/295#discussioncomment-8628804.

@jmjaffe37 let's review if we need this feature at all.
If I recall correctly, this feature comes from the old days of JREs and integration with browsers.

@jmjaffe37 let's review if we need this feature at all.
If I recall correctly, this feature comes from the old days of JREs and integration with browsers.

If you can provide a way for us to detect the installed Java version and architecture, then it may not be required, however, lots of solutions are using those Registry keys to do several stuff.

Do you have some examples of tools that rely on this registry key to identify presence of Java installed?

@GeoSimos let me know if you still need this.

@GeoSimos let me know if you still need this.

Hi @brunoborges,
Yes I do, please add it in your planned features.

@GeoSimos can you provide details about why you need this?

@brunoborges please see previous messages above, I have already provided explanations.


feat: SWCR serverside

Issues

[ ] #514

See also

equinor/fusion-data-gateway#130

@Gustav-Eikaas is this a duplicate?

No this is for frontend

I've added Type to [Completion].[Custom_SoftwareChangeRecord_v1], so you don't have to think about this anymore. @aman-riaz


fix(axios): add body only when method is payloadable

Issue

add body only when method is payloadable (Not HEAD/GET)

@irrationnelle 혹시 요거 한번 체크해주실 수 있나요~??

The problem was that extendClientRequest uses null as a default value of the requests data.
That issue has been resolved by fixing the fundamental bug, so your commit was reverted.
Thanks for reporting an issue.


Find out where certificates are stored in legacy vs CAPI

Towards https://github.com/giantswarm/roadmap/issues/489

For legacy WCs the CA is stored in vault. For CAPI WCs a secret containing the CA is created automatically and stored on MCs. These CAs are currently used to sign the client certificates we create for WC access in kubectl-gs. This means we need MC access first to access WCs.
In all MCs we expose the CA via athena to enable SSO via dex. Athena on MCs is set up using the config repo which also contains the CA, same as k8s-authenticator. In a WC context, the config repo would be replaced by a values.yaml.
Customers currently using k8s-authenticator for OIDC in WCs have to provide the CA  in the values.yaml.


Add missing list methods to internally used ItemList

ItemList is used extensively by our internal model objects. They are like lists but make it easier to create new items that are added to them. Recent #3251 shows how listeners can used them and #2303 added pop() to make it easier to use model modifiers. While creating tests for #3251 I noticed ItemList lacks remove(). One a quick look there seem to be other useful methods in lists like count() that could be added. Should check all methods that list has but ItemList doesn't and implement all that make some kind of sense.

These methods were added:
These methods were added:

remove
delitem
contains
count
sort
reverse and reversed
eq, lt, and other comparison methods
add and iadd
mul, imul and rmul


Serde: Enable header modifications by custom serializer

Issue submitter TODO list

[X] I've searched for an already existing issues here
[X] I'm running a supported version of the application which is listed here and the feature is not present there

Is your proposal related to a problem?
Some schema registries allow placing schema details in message headers instead of the payload. For example, Apicurio Registry serializer enables writing the artifact identifier to message headers.
However, when creating custom serializers that implement the io.kafbat.ui.serde.api.Serde interface with io.kafbat.ui.serde.api.Serde.Serializer, these interfaces don't provide direct access to message headers, which can be limiting.
Describe the feature you're interested in
Expend io.kafbat.ui.serde.api.Serde.Serializer to support message headers editing.
The least complicated solution would be to extend the serializer interface with additional method:
default byte[] serialize(String input, Headers headers) {
    return serialize(input);
}

Where Headers is org.apache.kafka.common.header.Headers, a mutable collection of headers.
If immutable headers are required (e.g., io.kafbat.ui.serde.api.RecordHeaders), then the interface might be extended with this method:
default SerializeResult serialize(String input, RecordHeaders headers) {
    return new SerializeResult(serialize(input), headers);
}

Where SerializeResult would be a new class that contains serialized message and headers.
By adding this method, io.kafbat.ui.serde.api.Serde.Serializer would move one step closer to Kafka's org.apache.kafka.common.serialization.Serializer interface.
Describe alternatives you've considered
There is no alternative for this feature. For instance, when using Apicurio Registry, if a serializer includes schema details directly in the message payload, it prepends a magic byte to the beginning of the message. If the deserializer doesn't expect this magic byte, it will not be able to read the message. So, to use Kafka-UI to produce messages with Apicurio Registry, it is necessary to modify message headers in the serializer.
Version you're running
2956664
Additional context
No response

Hi, I'm writing from my private account. I took a look at the code and created a solution. I know that this issue is still not in the "Up for grabs" category, but I would like to be assigned to it once it is. Assign this account, and I'll make a PR where we can further discuss implementation details.
Thank you.

@MDzaja I remember that we did not support headers on purpose but I don't remember the exact reason for it. Let me discuss it with the team this week and I'll get back to you.

@Haarolean Is there any update on this issue.

@Haarolean I've created a PR with an initial solution proposal on my personal fork of the repo. Is there any progress on considering this feature?

@MDzaja sorry for the delay. We came to a conclusion that we didn't initially extend the interface for headers serialization just because we thought nobody would need that. Feel free to raise a PR, we'll take a look.


Disabled chart responsive

Disabled chart responsive
I have a issue with my chart when browser resize, chart responsive but not  with chart configs responsive

Can you elaborate on the issue?
Maybe create a codepen to demonstrate the problem?

I would also like a way to disable responsive. I suspect this is behind another issue I raised re: chart height not taking effect. Something is pinning my chart to a particular height via the style attribute, and if I turn this off (in dev tools) it gets automatically re-added, as though some JS is listening.


Talk to speaker link(s)

It would be nice if the speaker names would have a link to the respective speaker pages (if speaker info is available).

We won't need to have it if we implement #87 as desired by the DOAG.


Critical issue warning in google play developer console in firebase unity sdk when making build with firebase messaging

[REQUIRED] Please fill in the following fields:

Unity editor version: 2018.4.36
Firebase Unity SDK version: 9.3
Source you installed the SDK: .unitypackage
Problematic Firebase Component: Messaging
Other Firebase Components in use: Analytics, Crashlytics, DynamicLinks,
Additional SDKs you are using: Facebook, AdMob
Platform you are using the Unity editor on: Windows
Platform you are targeting: Android
Scripting Runtime: IL2CPP
Pre-built SDK from the website or open-source from this repo: __https://firebase.google.com/download/unity___

[REQUIRED] Please describe the issue here:
Your latest production release (5.2) contains SDK issues "Project NAme"
Jul 18, 2022 16:07
Critical issues have been reported with the following SDK versions:
com.google.android.gms:play-services-tasks:18.0.0
What the SDK developer told us:
play-services-tasks v18.0.0 has known issues that can lead to runtime NPEs (NullPointerException) when handling Task results in Kotlin code. We strongly recommend that you avoid using this version. This also impacts the SDKs listed in the December 9, 2021 release, because they all depend on play-services-tasks. A fix for this issue is included in play-services-tasks v18.0.1. See https://developers.google.com/android/guides/releases#december_16_2021
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
Steps to reproduce:
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)? not verified
What's the issue repro rate?  100%
What happened? How can we make the problem occur?
yes We have two projects , In one project we are not using Firebase messaging and in another we are using firebase messaging
the project in which we are using firebase mesasging when we make build and upload on google play developer console it will giving me this warning . when i removed firebase messaging messaging then i have tried the warning is gone.
But we need to use firebase messaging. I have tried fire base version 8.10 , 9.0, 9.1 , 9.2, 9.3
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.

Hi @dpkporwal,
Thanks for reporting this. Could you provide the AppDependencies.xml file of your implementation? There may be a dependency issue that's causing this.

Hi @dpkporwal,
Could you share the MessagingDependencies.xml file as well? It's possible that this points to an older version of the Messaging Android SDK

Hi @dpkporwal,
Could you share the MessagingDependencies.xml file as well? It's possible that this points to an older version of the Messaging Android SDK

I  am attaching the file content of MessagingDependencies.xml also
MessagingDependencies.txt

Hi @dpkporwal,
The Android dependencies appear to be in order. Are there any other differences you've observed between the build without the Firebase SDK and the build with the Firebase SDK? Does the error message appear with just the Firebase SDK in your implementation?
Additionally, please provide your mainTemplate.gradle file so we could determine the effect the Facebook or Admob SDKs may have in your project.

Hi @dpkporwal,
The Android dependencies appear to be in order. Are there any other differences you've observed between the build without the Firebase SDK and the build with the Firebase SDK? Does the error message appear with just the Firebase SDK in your implementation?
Additionally, please provide your mainTemplate.gradle file so we could determine the effect the Facebook or Admob SDKs may have in your project.

Yes there are differences in build,
When i have made the build with firebase messaging then this warning is coming other wise this warning is not coming when i made the build without firebase messaging( used  firbase analytics, firebase crashlytics and firebase remoteconfig in both the cases)
I am attaching the main template file here also as you want, please have a look
mainTemplate.txt

Hi @dpkporwal,
Is the error message the only difference you noticed between the builds? Could you confirm if your project containing only the Firebase SDK results in a similar error message?
Also, could you confirm if adding this line of code in your mainTemplate.gradle file makes any difference?
// Android Resolver Dependencies Start
implementation 'com.google.android.gms:play-services-tasks:18.0.2'

Hi @dpkporwal,
Is the error message the only difference you noticed between the builds? Could you confirm if your project containing only the Firebase SDK results in a similar error message?
Also, could you confirm if adding this line of code in your mainTemplate.gradle file makes any difference?
// Android Resolver Dependencies Start
implementation 'com.google.android.gms:play-services-tasks:18.0.2'

Yes this error message is the only difference between the builds. When i used firebase messaging and vice versa.
I have tried uploading build after making with this line in maintemplate.
It didnt make any difference. same warning again.
Just want to clarify this is a warning in playstore not an error from the start. but i want to resolve this warning too.

Hello , i am waiting for the solution

Hi @dpkporwal
We haven't been able to reproduce this problem on our side yet, it keeps pulling play-services-tasks:18.0.2 correctly.  If you could, in your Unity project can you check in the taskbar Assets > External Dependency Manager > Android Resolver > Display Libraries.  That should open up window that lists out what libraries it is trying to include, what versions, and where it gets it from.  This might help indicate where it is pulling the wrong version of tasks from.
Another option is in the Android Resolver, under Settings, turning on Verbose Logging, and then running Force Resolve.  There might be something indicated in the logs that might be helpful.

@dpkporwal
I just tried FIrebase SDK 9.6.0 and I think the default com.google.android.gms.play-services-tasks version EDM4U downloaded is 18.0.2. Please try to upgrade the Firebase SDK.
If you still get 18.0.0, I suspect some of the other third_party plugin you added to the project tried to pin the version to 18.0.0.
In that case, please try to pin the version in mainTemplate.gradle this way:
implementation 'com.google.android.gms:play-services-tasks:[18.0.2]'
// Android Resolver Dependencies Start

Note the use of [18.0.2] and make this above // Android Resolver Dependencies Start so that this line won't be overridden by EDM4U during build time.
Also take a look of Temp/gradleOut/launcher/build/outputs/logs/manifest-merger-release-report.txt and see if Gradle from the Unity actually picked 18.0.2

I have updated the firebase to 9.6.0 but still same issue, maybe because of some third party plugin.
I have also added this in main maintemplate as you said
implementation 'com.google.android.gms:play-services-tasks:[18.0.2]'
// Android Resolver Dependencies Start
when i am checking Temp/gradleOut/launcher/build/outputs/logs/manifest-merger-release-report.txt this file it showing me 18.0.2 not 18.0.0
but when i am uploading to google play store then showing same warning.

Hi @dpkporwal,
Since we can't reproduce this here could you please post a copy of your verbose AndroidResolver log so we can look through it?
Under the Android ResolverSettings turn on Verbose Logging, and then running Force Resolve.
Thanks!


handling of leading 0s by tonumber

$ jq -n ' "01" | tonumber'
1
$ gojq -n ' "01" | tonumber'
1
$ jaq -n ' "01" | tonumber'
Error: cannot parse "01" as JSON: invalid number at line 1 column 2

I realize the JSON specification does not permit leading 0s in numbers, but it seems to me that that is irrelevant here.
Thanks.

I am using the JSON parser from serde_json, so I cannot easily change the parser myself. Given that you write that "the JSON specification does not permit leading 0s in numbers", I also do not wish to propose such a change to serde_json.

Has this (unfortunate) discrepancy been documented in the README?


put roles in some elements of sugarCube.

Is your feature request related to a problem?
hello when i am playing my game in ifone, the device don't recognice links with voice ovber. i am a blind person.
Describe the solution you'd like.
put some roles in elements linke links and buttons like.
$(document).on(":passagerender", function (event) {
var clinks = $(event.content).find(".link-internal");
if (clinks.length) {
clinks.attr( "role", "link");
}
var clinks = $(event.content).find('.macro-button');
if (clinks.length) {
clinks.attr( "role", "button");
}
});
sorry my english is so bad and i don't understand so mutch js.

@metalalchemist
The current Markup based and Macro based link implementations, and the <<button>> macro implementation, already include a role="link" assignment in the HTML   and <button> elements they generate.
eg. If the following was placed in a Passage...
[[Lable Text|Target Passage]]

<<link "Lable Text" "Target Passage">><</link>>

<<button "Lable Text" "Target Passage">><</button>>

...the following HTML elements would be generated...
Lable Text

Lable Text

<button data-passage="Target Passage" class="link-internal macro-button" type="button" role="link" tabindex="0">Lable Text</button>

Do you know what Reader software is being used on your iPhone?
Do you know what version of SugarCube was used to build the Story HTML file you are playing?

i am using voice over and i am using sugarcube 2.36.1.

<button data-passage="Target Passage" class="link-internal macro-button" type="button" role="link"
why do you use role button?
i use buttons for example for a figth passage.

i forget  for compile i am using tweego 2.1.1

As noted by @greyelf, links (anchors and buttons) already have a role content attribute attached normally, among other accessibility features.  The value of the attribute depends on how it's being used (by default: link or button).
I'm going to need a bit more context from you.  Can you provide an example of how you're creating the links that you're having issues with.  Also, preferably, including the generated markup.

[[Nuevo juego|modo]]
<>
<><><>
<><><>
<>
<><><>

nuevo juego  in sugarcube 2.36.1 don't have role the <<link macro i sopuse that have button role.

link macro i thing that have role button cause i recognise in all screen readers like a button.
[[new game|new]] when use sugarcube 2.35 don't have a role and in  sugarcube 2.36.1 my ifone don't recognise it like a link. i read like a text plain.
ps: the passage don't focus in the start of this.
for example if i havee 5 lines or more  in the reader when down with downarrow i apear in a 4th line no in a 2nd line.
with all screen readers in android and ifone too


Fix bug in server parsing point formats extension

There is only one length byte but for some reason we skipped two, resulting in
reading one byte past the end of the extension. Fortunately, even if that
extension is at the very end of the ClientHello, it can't be at the end of the
buffer since the ClientHello length is at most SSL_MAX_CONTENT_LEN and the
buffer has some more room after that for MAC and so on. So there is no
buffer overread.
Possible consequences are:

nothing, if the next byte is 0x00, which is a comment first byte for other
extensions, which is why the bug remained unnoticed
using a point format that was not offered by the peer if next byte is 0x01.
In that case the peer will reject our ServerKeyExchange message and the
handshake will fail.
thinking that we don't have a common point format even if we do, which will
cause us to immediately abort the handshake.
None of these are a security issue.

The same bug was fixed client-side in fd35af15

Reviewed, approved, and merged.


ext_authz: support modifying and removing query string parameters when using a gRPC authorization server

This PR currently only implements query string modifications when using a gRPC authorization server.
Commit Message: ext_authz: support modifying and removing query string parameters when using a gRPC authorization server
Additional Description:
Risk Level: low, new opt-in feature to an extension
Testing: new unit tests
Docs Changes: Proto spec documented
Release Notes: ext_authz: added :ref:query_parameters_to_set <envoy_v3_api_field_service.auth.v3.CheckResponse.query_parameters_to_set> and :ref:query_parameters_to_remove <envoy_v3_api_field_service.auth.v3.CheckResponse.query_parameters_to_remove> for adding and removing query string parameters when using a gRPC authorization server.
Platform Specific Features:
Fixes #3266

/assign-from @envoyproxy/first-pass-reviewers

Looks like dio is on this; I'lll drop off this one.

In docs CI I'm seeing:
/tmp/tmpvc2e96yh/generated/rst/version_history/current.rst:108: WARNING: undefined label: envoy_v3_api_msg_service.auth.v3.okhttpresponse.query_parameters_to_set

and
/tmp/tmpvc2e96yh/generated/rst/version_history/current.rst:108: WARNING: undefined label: envoy_v3_api_msg_service.auth.v3.okhttpresponse.query_parameters_to_remove

but I can't figure out what's wrong with those labels. Any ideas?

but I can't figure out what's wrong with those labels. Any ideas?

Those are not messages, but fields. Try to replace envoy_v3_api_msg_service. with envoy_v3_api_field_config..

!retest

@rojkov thanks! I ended up needing to specify envoy_v3_field_service. which I think means "a field type" in the "service." namespace, since the qualified name is service.auth.v3... etc

/lgtm api

/lgtm api


No screenshot on "Timed out waiting for Selenium session reset" error

I had to patch Capybara::Selenium::Driver#wait_for_empty_page for that.

Please can you write a test to reproduce this issue, or better yet, create a PR.

We recently encount same error but can't reproduce manually...  @lnsight Can you share your patch?

Patch for capybara 3.15.0:
module CapybaraShotOnTimedOutSessionReset
  def wait_for_empty_page(timer)
    until find_xpath('/html/body/*').empty?
      if timer.expired?
        timestamp = Time.current.strftime('%y-%m-%d-%H-%M-%S')
        file_path = File.join(Capybara.save_path, "timed_out_session_reset_#{timestamp}.png")
        save_screenshot(file_path) # rubocop:disable Lint/Debugger
      end

      raise Capybara::ExpectationNotMet, 'Timed out waiting for Selenium session reset' if timer.expired?

      sleep 0.01

      # It has been observed that it is possible that asynchronous JS code in
      # the application under test can navigate the browser away from about:blank
      # if the timing is just right. Ensure we are still at about:blank...
      @browser.navigate.to('about:blank') unless current_url == 'about:blank'
    end
  end
end

Capybara::Selenium::Driver.prepend(CapybaraShotOnTimedOutSessionReset) if ENV['CAPYBARA_EXTRA_SHOT']

Please can you write a test to reproduce this issue, or better yet, create a PR.

I'm not reproduced an issue yet because this error appears randomly. In our system it's occurs on ajax response after browser session cleanup (authorization popup prevents redirect to blank page).

@lnsight Thanks!


Parameterized tests w/ test.each

It would be nice to support parameterized tests, similar to jest's test.each

Parameterized tests is a must!
I've been playing with AVA's macros, and I really like how they help the typescript story. Maybe we should have both macros and test.each? For reference, here's the issue in AVA where they discuss this functionality: https://github.com/avajs/ava/issues/1967

Does this runner support defining tests at runtime? I know the default Jest runner does not, which is why they need test.each. Then a for each loop would just work without needing another API to learn.

A for each loop works for now. I'm not sure why jest-runner doesn't support defining tests at runtime. Maybe they are doing some static analysis to decide which tests to run? There's a good chance that if they need it, we will find out we need it as well.
I think I need parameterized tests internally in order to do multiple browsers, so I'll work on describe.each anyway.


Llm semantic conv

Experimenting with adding LLM semantic conventions to azure-ai-inference.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-ai-inference


Better reporting of hydration mismatches

What problem does this feature solve?
It is currently hard to debug:

Hydration mismatches happening in production but not in development.
Hydration mismatches happening for some but not all users in the field, but not in the lab.
Hydration mismatches happening only at certain times / dates.
Hydration mismatches happening due to external factors like misbehaving APIs.

Since Vue 3.4 is is possible to include details about hydration mismatches in production using a compile time flag: https://vuejs.org/api/compile-time-flags.html#VUE_PROD_HYDRATION_MISMATCH_DETAILS , but it still just goes to the console.
The relevant code starts here:
https://github.com/vuejs/core/blob/34106bc9c715247211273bb9c64712f04bd4879d/packages/runtime-core/src/hydration.ts#L610
It would be great if we could provide a way of plugging this into something like Sentry for in-production, in-the-field collection of mismatch info.
What does the proposed API look like?
Since a mismatch is not a thrown error (and should not be), it currently just logs to the console. It would be nice if we could pass in some kind of onHydrationMismatch function, which gets called instead of warn.
It should get called once for each mismatch, if possible.
It should receive as arguments any DOM nodes and virtual nodes related to the mismatch.

I concur with this statement.
Recently we got hydration mismatches in production, and it took modifying the  runtime-core to allow the dev logs for hydration
In our case it due to using toLocaleString and this would cause mismatching between the server and the client.
Would an acceptable solution in the short term be to add a defineOption to enable HydrationLogging vs using NODE_ENV === "production"

Following this, with the extra logging, we also saw some users using tools to translate from English to another language which then also causes a mismatch, without this extra logging it wouldn't of been possible to figure that out.

Updated the original post for Vue 3.4

A workaround specifically for Sentry: Use this integration https://docs.sentry.io/platforms/javascript/configuration/integrations/captureconsole/ along with the compile time flag https://vuejs.org/api/compile-time-flags.html#VUE_PROD_HYDRATION_MISMATCH_DETAILS . But this is not a general solution.


Python does not evaluate type annotations on assignments in function bodies

Hey,
ruff update its UP037 rule (See: https://github.com/astral-sh/ruff/pull/11414), which means that quotes around type hints in a function body are not necessary (I couldn't find a source for this, but it seems to work).
With this change this code:
def foo() -> None:
    bar: "Bar"

becomes
def foo() -> None:
    bar: Bar

and flake8-type-checking starts to complain "TC200 Annotation 'Bar' needs to be made into a string literal" of course.
Any chance to fix this?
Thanks a lot. :pray:
fin swimmer

Hmm yes at first glance this seems safe - and would definitely be an improvement. I have some other commitments I need to get to before I'll have time to implement this, but think I would be happy to accept a PR in the meantime 👍

We technically don't know for sure that it's safe, since it depends on when the function is first called, so we shouldn't emit an error in either case (quoted or unquoted). So we would need some special casing that only applies if we find the symbol in an outer scope, instead of our own.

Can you think of an example where it would it not be safe? Running this seems to work well:
def foo():
    x: pandas.DataFrame

foo()

Well the import can happen inside an if TYPE_CHECKING: block, then it is unsafe no matter what, but it can also happen below the call-site of foo:
def foo():
    x: pandas.DataFrame

foo()

import pandas

Alright, I think I misunderstood the problem. I didn't even know Python already always defers annotations inside function bodies. So we should treat anything within a function scope as if we had a from __future__ import annotations import, i.e. any wrapped annotation should be an error and any unwrapped annotation shouldn't be one.

On second thought we should probably just special case all AnnAssign as long as we're inside a function scope, since we don't even need to check whether the symbol exists or not. We can keep a separate list of wrapped annotations that should always be unwrapped.

That was fast. :rocket: Thanks a lot :partying_face:


Validates the MUSICA meta data against the CCPP standard names

This is currently in draft, awaiting review and merge of #151 and #152
Originator(s): @boulderdaze
Summary (include the keyword ['closes', 'fixes', 'resolves'] and issue number):

Add an automated checker that validates the MUSICA meta data against the CCPP standard names
Closes #120

Describe any changes made to the namelist: N/A
List all files eliminated and why: N/A
List all files added and what they do:  N/A
List all existing files that have been modified, and describe the changes:
M   doc/NamesNotInDictionary.txt
M   schemes/musica/musica_ccpp_namelist.xml
M   test/docker/Dockerfile.musica
M   test/docker/Dockerfile.musica.no_install
M   test/musica/CMakeLists.txt

List any test failures: N/A
Is this a science-changing update?  No

Close the PR and reopen a new one