Unable to load the repository in google colab

I have already cloned the repository using:
!git clone https://github.com/qubvel/segmentation_models

Now when I try to load it (import it), it shows following error:
from segmentation_models import Unet
--------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-21-95926c7db055> in <module>()
----> 1 from segmentation_models import Unet

/content/segmentation_models/__init__.py in <module>()
----> 1 from .segmentation_models import *

/content/segmentation_models/segmentation_models/__init__.py in <module>()
      3 from .__version__ import __version__
      4
----> 5 from .unet import Unet
      6 from .fpn import FPN
      7 from .linknet import Linknet

/content/segmentation_models/segmentation_models/unet/__init__.py in <module>()
----> 1 from .model import Unet

/content/segmentation_models/segmentation_models/unet/model.py in <module>()
      2 from ..utils import freeze_model
      3 from ..utils import legacy_support
----> 4 from ..backbones import get_backbone, get_feature_layers
      5
      6 old_args_map = {

/content/segmentation_models/segmentation_models/backbones/__init__.py in <module>()
----> 1 from classification_models import Classifiers
      2 from classification_models import resnext
      3
      4 from . import inception_resnet_v2 as irv2
      5 from . import inception_v3 as iv3

/content/classification_models/__init__.py in <module>()
----> 1 from .classification_models import *

/content/classification_models/classification_models/__init__.py in <module>()
      3 from . import resnet as rn
      4 from . import senet as sn
----> 5 from . import keras_applications as ka
      6
      7

/content/classification_models/classification_models/keras_applications/__init__.py in <module>()
      1 import keras
----> 2 from .keras_applications.keras_applications import *
      3
      4 set_keras_submodules(
      5     backend=keras.backend,

ModuleNotFoundError: No module named 'classification_models.classification_models.keras_applications.keras_applications.keras_applications'

Can anyone help regarding this? Thanks.

Hi @sankalpmittal1911-BitSian
you have to clone using --recursive flag or use git submodule update --init

Thank you for the reply. I will check and get back to this ASAP.

What command should I type to import unet?

This is not working unfortunately. Thanks.

I followed your suggestions.

Now it shows this error. I think it is a typo. Can you please change the name in your repository? I think it is in init.py  inside segmentation_models/backbone/ (Here: segmentation_models/segmentation_models/backbones/init.py)
Thank you.

@sankalpmittal1911-BitSian

Libraries work correctly and pass tests, so the problem is not a typo.
Try inside classification models directory
$ python setup.py install
Why don't you use pip?

I am trying to run the model in google collaboratory and it uses !pip instead of pip and !git instead of git.
Shall I use !pip install setup.py or something?

!pip install -U segmentation_models
if permission denied error try:
!pip install -U segmentation_models --user
!pip install git+https://github.com/qubvel/segmentation_models

Thanks a lot. The first one worked. Will get back with the results.

I am trying to do multiclass segmentation here. I call the model by:
model = Unet(BACKBONE, encoder_weights='imagenet', input_shape=(None, None, 7),classes=255, activation='softmax')
model.compile('Adam', loss=categorical_crossentropy, metrics=['categorical_accuracy'])

The input is formed by combining 7 grayscale images stacked as (128,128,7) i.e. 7 channels. The error which comes now is:
WARNING:tensorflow:From /usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/op_def_library.py:263: colocate_with (from tensorflow.python.framework.ops) is deprecated and will be removed in a future version.
Instructions for updating:
Colocations handled automatically by placer.
Downloading data from https://github.com/qubvel/classification_models/releases/download/0.0.1/resnet34_imagenet_1000_no_top.h5
85524480/85521592 [==============================] - 3s 0us/step
---------------------------------------------------------------------------
InvalidArgumentError                      Traceback (most recent call last)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py in _create_c_op(graph, node_def, inputs, control_inputs)
   1658   try:
-> 1659     c_op = c_api.TF_FinishOperation(op_desc)
   1660   except errors.InvalidArgumentError as e:

InvalidArgumentError: Dimension 0 in both shapes must be equal, but are 7 and 3. Shapes are [7] and [3]. for 'Assign' (op: 'Assign') with input shapes: [7], [3].

During handling of the above exception, another exception occurred:

ValueError                                Traceback (most recent call last)
<ipython-input-9-17b3d4e136e9> in <module>()
----> 1 model = Unet(BACKBONE, encoder_weights='imagenet', input_shape=(None, None, 7),classes=255, activation='softmax')
      2 model.compile('Adam', loss=categorical_crossentropy, metrics=['categorical_accuracy'])

/usr/local/lib/python3.6/dist-packages/segmentation_models/utils.py in wrapper(*args, **kwargs)
     28                     kwargs[new_arg] = kwargs[old_arg]
     29
---> 30             return func(*args, **kwargs)
     31
     32         return wrapper

/usr/local/lib/python3.6/dist-packages/segmentation_models/unet/model.py in Unet(backbone_name, input_shape, classes, activation, encoder_weights, encoder_freeze, encoder_features, decoder_block_type, decoder_filters, decoder_use_batchnorm, **kwargs)
     61                             input_tensor=None,
     62                             weights=encoder_weights,
---> 63                             include_top=False)
     64
     65     if encoder_features == 'default':

/usr/local/lib/python3.6/dist-packages/segmentation_models/backbones/__init__.py in get_backbone(name, *args, **kwargs)
     73
     74 def get_backbone(name, *args, **kwargs):
---> 75     return Classifiers.get_classifier(name)(*args, **kwargs)
     76
     77

/usr/local/lib/python3.6/dist-packages/classification_models/resnet/models.py in classifier(input_shape, input_tensor, weights, classes, include_top)
     23
     24         if weights:
---> 25             load_model_weights(weights_collection, model, weights, classes, include_top)
     26
     27         return model

/usr/local/lib/python3.6/dist-packages/classification_models/utils.py in load_model_weights(weights_collection, model, dataset, classes, include_top)
     24                                 md5_hash=weights['md5'])
     25
---> 26         model.load_weights(weights_path)
     27
     28     else:

/usr/local/lib/python3.6/dist-packages/keras/engine/network.py in load_weights(self, filepath, by_name, skip_mismatch, reshape)
   1164             else:
   1165                 saving.load_weights_from_hdf5_group(
-> 1166                     f, self.layers, reshape=reshape)
   1167
   1168     def _updated_config(self):

/usr/local/lib/python3.6/dist-packages/keras/engine/saving.py in load_weights_from_hdf5_group(f, layers, reshape)
   1056                              ' elements.')
   1057         weight_value_tuples += zip(symbolic_weights, weight_values)
-> 1058     K.batch_set_value(weight_value_tuples)
   1059
   1060

/usr/local/lib/python3.6/dist-packages/keras/backend/tensorflow_backend.py in batch_set_value(tuples)
   2463                 assign_placeholder = tf.placeholder(tf_dtype,
   2464                                                     shape=value.shape)
-> 2465                 assign_op = x.assign(assign_placeholder)
   2466                 x._assign_placeholder = assign_placeholder
   2467                 x._assign_op = assign_op

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/variables.py in assign(self, value, use_locking, name, read_value)
   1760     """
   1761     assign = state_ops.assign(self._variable, value, use_locking=use_locking,
-> 1762                               name=name)
   1763     if read_value:
   1764       return assign

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/state_ops.py in assign(ref, value, validate_shape, use_locking, name)
    221     return gen_state_ops.assign(
    222         ref, value, use_locking=use_locking, name=name,
--> 223         validate_shape=validate_shape)
    224   return ref.assign(value, name=name)
    225

/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/gen_state_ops.py in assign(ref, value, validate_shape, use_locking, name)
     62   _, _, _op = _op_def_lib._apply_op_helper(
     63         "Assign", ref=ref, value=value, validate_shape=validate_shape,
---> 64                   use_locking=use_locking, name=name)
     65   _result = _op.outputs[:]
     66   _inputs_flat = _op.inputs

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/op_def_library.py in _apply_op_helper(self, op_type_name, name, **keywords)
    786         op = g.create_op(op_type_name, inputs, output_types, name=scope,
    787                          input_types=input_types, attrs=attr_protos,
--> 788                          op_def=op_def)
    789       return output_structure, op_def.is_stateful, op
    790

/usr/local/lib/python3.6/dist-packages/tensorflow/python/util/deprecation.py in new_func(*args, **kwargs)
    505                 'in a future version' if date is None else ('after %s' % date),
    506                 instructions)
--> 507       return func(*args, **kwargs)
    508
    509     doc = _add_deprecated_arg_notice_to_docstring(

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py in create_op(***failed resolving arguments***)
   3298           input_types=input_types,
   3299           original_op=self._default_original_op,
-> 3300           op_def=op_def)
   3301       self._create_op_helper(ret, compute_device=compute_device)
   3302     return ret

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py in __init__(self, node_def, g, inputs, output_types, control_inputs, input_types, original_op, op_def)
   1821           op_def, inputs, node_def.attr)
   1822       self._c_op = _create_c_op(self._graph, node_def, grouped_inputs,
-> 1823                                 control_input_ops)
   1824
   1825     # Initialize self._outputs.

/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py in _create_c_op(graph, node_def, inputs, control_inputs)
   1660   except errors.InvalidArgumentError as e:
   1661     # Convert to ValueError for backwards compatibility.
-> 1662     raise ValueError(str(e))
   1663
   1664   return c_op

ValueError: Dimension 0 in both shapes must be equal, but are 7 and 3. Shapes are [7] and [3]. for 'Assign' (op: 'Assign') with input shapes: [7], [3].

This has something to do with input shapes. How to eliminate this error?

ImageNet weights are compatible only with (None, None, 3) shape. In case of (None, None, 7) set encoder_weights=None

Thanks. This essentially means I will have to train model from scratch.

I am closing this issue. I will create a new issue of implementation if necessary. Thank you once again.

One more note, choose another network for multiclass segmentation. Unet has only 16 filters at the end, it would be hard to separate 255 classes. Better take PSP or FPN.

Yes I will. I will get back with the results in the new issue (if needed).  Also does increasing the filters in UNet help? I tried with 256 filters in my custom model and it was still failing. Thanks.

Never did it with so many classes. I think it depends on data a lot.
Try to use PSP with downsampling_factor=16 and heavy encoders like InceptionResNetV2/Senet154 (require a lot of GPU memory), do not downsample image a lot. Maybe you need several GPUs to train something.

I will try batch-wise loading using a custom generator to reduce memory.
As a sanity check, I tried implementing U-Net for just 10 images to check if it at least overfits them:
Epoch 1/50
5/5 [==============================] - 36s 7s/step - loss: 1.9863 - categorical_accuracy: 0.4062

Epoch 00001: loss improved from inf to 1.98632, saving model to /content/drive/My Drive/model4.h5
Epoch 2/50
5/5 [==============================] - 12s 2s/step - loss: 1.9131 - categorical_accuracy: 0.4246

Epoch 00002: loss improved from 1.98632 to 1.91309, saving model to /content/drive/My Drive/model4.h5
Epoch 3/50
5/5 [==============================] - 11s 2s/step - loss: 1.8505 - categorical_accuracy: 0.5014

Epoch 00003: loss improved from 1.91309 to 1.85046, saving model to /content/drive/My Drive/model4.h5
Epoch 4/50
5/5 [==============================] - 11s 2s/step - loss: 2.0919 - categorical_accuracy: 0.4084

Epoch 00004: loss did not improve from 1.85046
Epoch 5/50
5/5 [==============================] - 25s 5s/step - loss: 1.9043 - categorical_accuracy: 0.4599

Epoch 00005: loss did not improve from 1.85046
Epoch 6/50
5/5 [==============================] - 32s 6s/step - loss: 2.1385 - categorical_accuracy: 0.3980

Epoch 00006: ReduceLROnPlateau reducing learning rate to 0.00010000000474974513.

Epoch 00006: loss did not improve from 1.85046
Epoch 7/50
5/5 [==============================] - 29s 6s/step - loss: 1.8131 - categorical_accuracy: 0.4570

Epoch 00007: loss improved from 1.85046 to 1.81309, saving model to /content/drive/My Drive/model4.h5
Epoch 8/50
5/5 [==============================] - 30s 6s/step - loss: 2.0170 - categorical_accuracy: 0.3941

Epoch 00008: loss did not improve from 1.81309
Epoch 9/50
5/5 [==============================] - 31s 6s/step - loss: 1.9385 - categorical_accuracy: 0.4256

Epoch 00009: loss did not improve from 1.81309
Epoch 10/50
5/5 [==============================] - 31s 6s/step - loss: 2.1063 - categorical_accuracy: 0.4162

Epoch 00010: ReduceLROnPlateau reducing learning rate to 1.0000000474974514e-05.

Epoch 00010: loss did not improve from 1.81309
Epoch 11/50
5/5 [==============================] - 32s 6s/step - loss: 2.0883 - categorical_accuracy: 0.3908

Epoch 00011: loss did not improve from 1.81309
Epoch 12/50
5/5 [==============================] - 31s 6s/step - loss: 2.1234 - categorical_accuracy: 0.4195

Epoch 00012: loss did not improve from 1.81309
Epoch 13/50
5/5 [==============================] - 36s 7s/step - loss: 1.9139 - categorical_accuracy: 0.4540

Epoch 00013: ReduceLROnPlateau reducing learning rate to 1.0000000656873453e-06.

Epoch 00013: loss did not improve from 1.81309
Epoch 14/50
5/5 [==============================] - 30s 6s/step - loss: 1.8893 - categorical_accuracy: 0.4360

Epoch 00014: loss did not improve from 1.81309
Epoch 15/50
5/5 [==============================] - 31s 6s/step - loss: 1.8587 - categorical_accuracy: 0.4351

Epoch 00015: loss did not improve from 1.81309
Epoch 16/50
2/5 [===========>..................] - ETA: 17s - loss: 2.2116 - categorical_accuracy: 0.3031

Hopefully I am downsampling anything since original dimensions are (128,128). U-Net does not seem to figure out even for little data if the classes are 255. It's actually crop segmentation.
I will try those suggestions and create a new issue.
Thanks.

I guess you have different number of pixels for each class, so your data is imbalanced. Read paper (pspnet), you will find a way to modify loss function in this case.

Hi, I'm trying to install this library on google google colab with him. (from source code). Thank you for your help. ☺
setup.py
try:
    with open(os.path.join(here, 'requirements.txt'), encoding='utf-8') as f:
        REQUIRED = f.read().split('\n')

requirements.txt
keras_applications>=1.0.7,<=1.0.8
image-classifiers==1.0.0
efficientnet==1.0.0

I found that keras_applications are needed, but I'm working on google colab. tf.keras.applications already exists. So I want to install SM with tf.keras.applications, not keras_applications separately. Could I do that?


Diagnostics has ambiguous words

Description:
See the following images for more info

Steps to reproduce:
Copy the following codes on the VSCode
import ballerina/http;

listener http:Listener weatherReporter = new (9091);
service /weather on weatherReporter {

    resource function post schedule(@http:Payload json payload,) returns error|string {}
}

public function main() {
    test("Hi");
}

function test(string input,) {}

Related to #29168


Divide polygons with/without cavities into as few convex polygons

Hello，Is it possible to divide polygons with/without cavities into as few convex polygons as possible with your algorithm? What function is used specifically

Hello and sorry for taking so long to reply. Somehow I managed to miss the notification.
Probably, you already do not need the answer but, just for posterity, this algorithm cannot split polygons into as few convex parts as possible.
The only implementation of such an algorithm that I'm aware of is available in CGAL: optimal_convex_partition_2. It doesn't support polygons with holes, though.
Also, here are some related repositories that might be of interest:

https://github.com/ivanfratric/polypartition
https://github.com/azrafe7/hxGeomAlgo


Doesn't handle Touch ID lockout

If Touch ID lockout occurs (when Touch ID ceases to work after multiple failed attempts), instead of the iOS default of showing the passcode screen, LockGlyph will just do nothing and stay in it's scanning state.

Moved to evilgoldfish/LockGlyphX


Clarity support for .NET MAUI

https://github.com/microsoft/clarity/issues/636
https://github.com/microsoft/clarity/issues/635

I have wrapped clarity into MAUI. So you can take a look at released nuget package or the maui repo

@Kebechet Thank you for your contribution and for creating a MAUI wrapper for Clarity! We appreciate your efforts in making Clarity accessible to MAUI developers.
While we value community-driven initiatives like yours, we currently don't have plans to officially support the MAUI wrapper repository. Our development resources are primarily focused on other features and frameworks.
We wanted to clarify for those following this issue that there are no immediate plans to officially support MAUI in the near future. However, we'll continue to monitor the community's interest and needs in this area

@amralaa-MSFT thank you for the feedback. I dont have problem maintaining these wrappers and bumping lib versions from time to time so for me it is okay that you dont plan to officially support MAUI.
But I have 2 questions:

Could you please investigate this issue ? If it is really MAUI specific ...because I suppose it is some bug in your lib
In enum: ApplicationFramework could you please add MAUI ? So that I would use that flag in these wrapper for you to better track usage activity ?


[WIP]: Add SpineOpt.jl

This pull request introduces the main script to run SpineOpt case studies:

[x] Add main.jl with instructions to run and generate the .mps files for HiGHS
[x] Add cases folder with .json files with case studies
[x] Add a Readme file with basic information about SpineOpt
[ ] ~Add more case studies~

Closes #32

There is no need to wait for other cases to merge this PR.

There is no need to wait for other cases to merge this PR.

@joaquimg Great! It is ready for review and merge after review. I can't generate the .gz files because I can't install Gzip on my PC. But the .mps files are created correctly. Let me know if there is a problem or comments on the code.
I will add more cases as I get more cases from SpineOpt users.

Awesome!


Increase unit test coverage in pkg/util

Proposal
https://github.com/kedacore/keda/tree/main/pkg/util

Following files don't have unit test, we should target in having majority of those covered

gvkr.go
http.go
normalize_string.go
tls_config.go

We should inspect the rest of the package and increase test coverage if needed

Use-Case
No response
Anything else?
No response

Hey, I can pick it up.

Nice @joshi95 ! Thanks a lot ❤ , I assign this to you

hi, may i know this issue's progress? perhaps i can help with some files that have not been done

AFAIK @joshi95 is doing it


[SPARK-45389][SQL][HIVE][3.5] Correct MetaException matching rule on getting partition metadata

This is the backport of https://github.com/apache/spark/pull/43191 for branch-3.5, it should also be applicable for branch-3.3 and branch-3.4

What changes were proposed in this pull request?

This PR aims to fix the HMS call fallback logic introduced in SPARK-35437.
try {
  ...
  hive.getPartitionNames
  ...
  hive.getPartitionsByNames
} catch {
- case ex: InvocationTargetException if ex.getCause.isInstanceOf[MetaException] =>
+ case ex: HiveException if ex.getCause.isInstanceOf[MetaException] =>
  ...
}

Why are the changes needed?

Directly method call won't throw InvocationTargetException, and check the code of hive.getPartitionNames and hive.getPartitionsByNames, both of them will wrap a HiveException if MetaException throws.
Does this PR introduce any user-facing change?

Yes, it should be a bug fix.
How was this patch tested?

Pass GA and code review. (I'm not sure how to construct/simulate a MetaException during the HMS thrift call with the current HMS testing infrastructure)
Was this patch authored or co-authored using generative AI tooling?

No.

cc @srowen @LuciferYang


Add Support for Dynamic Websites

Please describe your feature request:
add support for dynamic websites build with modern frontend frameworks, such as AngularJS, React and Vue.js
Describe the use case of this feature:
current version of katana is unable to process these dynamic contents.

@laurancelo thank you, we have a ticket for this - https://github.com/projectdiscovery/katana/issues/63


Add new ref key

Example response:
{
    mode: "driving",
    duration: 597,
    maneuver: {
        bearing_after: 94,
        type: "new name",
        modifier: "straight",
        bearing_before: 98,
        location: [
            -122.289247,
            37.826344
        ],
        instruction: "Continue straight onto MacArthur Freeway (I 580)"
    },
    ref: "I 580",
    distance: 15717.4,
    name: "MacArthur Freeway (I 580)"
}

From osrm-backend changelog:

new ref field in the RouteStep object. It contains the reference code or name of a way. Previously merged into the name property like name (ref) and are now separate fields.

/cc @1ec5

Duplicate of #67.


refactor(es6) upgrade NoErrorsPlugin to ES6 class

What kind of change does this PR introduce?
refactor, ES5 => ES6
Did you add tests for your changes?
All existing tests pass
If relevant, link to documentation update:
N/A
Summary
upgrade NoErrorsPlugin to ES6
Does this PR introduce a breaking change?
N/A
Other information

Thanks


new feature: Delete Databricks users from a workspace

Currently the only way is to delete each user from the UI.

implemented. see main.py --delete_all_users


Display a unique filter field to all grid columns

Hello, i want to display a unique filter field for all the columns of my grid and not one field for each one.
i'm stuck and i have no idea how to do this.
thanks.

Hi,
Maybe you can create a custom column just for filter (visible=false, filterable=true) and use $source->manipulateQuery() like this :
 $source->manipulateQuery(function (QueryBuilder $query)
  {
      if (null !== $this->grid->getFilter('monFiltre'))
      {
          $monFiltre = $this->grid->getFilter('monFiltre')->getValue();

          $query
             ->andWhere(...) // your SQL
          ;
    }
});


fix: changes 'req' to 'token' in comment to avoid confusion

The comment it about how the 'req' property will be passed to the callback if you set passReqToCallback to true. The comment said that you'd get req, token even if it was false. I've updated it so that it says token, done, since you will not receive req if it is set to false.

Closing as we are archiving this repo.


Update README with colored code samples.

Wrapping PHP and JSON samples in PHP and JSON code tags to beautify the code with colors. Making it easier to read and follow along.
See how the new Readme looks:
https://github.com/Znote/bulletphp/tree/patch-1#readme

Thanks.


kconfig: Fix typo in ARM_MPU help

The ARMv7-M MPU requires power-of-two alignment, not the ARMv8-M MPU, as
noted a few lines later.
Signed-off-by: Anders Montonen<EMAIL_ADDRESS>

@ioannisg since this is a documentation fix why did you put 2.3.0 instead of 2.2.0 as milestone?

@ioannisg since this is a documentation fix why did you put 2.3.0 instead of 2.2.0 as milestone?

It's not critical, and I didn't want to disturb the release at this late point; but you can merge that :)


Generic driver broken for S2_MSI_L2A with recent processing baseline

Describe the bug
Calling get_data on recently-processed products from S2_MSI_L2A returns mask data rather than band data for any B**-labeled bands.
Since at least processing baseline 04.00, band masks in the QI_DATA folder for S2_MSI_L2A products have been stored as .jp2 files, rather than as .gml files as they were before. These filenames contain the same band string as the actual image data filenames (e.g. QI_DATA/MSK_DETFOO_B04.jp2 compared to IMG_DATA/T33UWP_20221128T095341_B04_10m.jp2).
They end up at the front of the glob result that get_data_address computes, and then get returned by that function instead of the path to the actual band data.
Code To Reproduce
from eodag.utils.logging import setup_logging
setup_logging(verbose=3)

from eodag import EODataAccessGateway

# with credentials set in ~/.config/eodag/eodag.yml
dag = EODataAccessGateway()
product_type = 'S2_MSI_L2A'
latmin, latmax = 48.1, 48.35
lonmin, lonmax = 16.1, 16.6
extent = {'lonmin': lonmin, 'latmin': latmin, 'lonmax': lonmax, 'latmax': latmax}
provider = "cop_dataspace"
products, _ = dag.search(
    productType=product_type,
    geom=extent,
    start='2023-04-09',
    end='2023-04-24',
    provider=provider
)

products = sorted([p for p in products ], key=lambda p: p.properties["title"][11:26])
product = products[0]
product.download()

print(product.driver.get_data_address(product, "B04")

Output
2024-04-25 13:32:18,502 eodag.config                     [DEBUG   ] (tid=140227231950656) Loading configuration from /home/charriso/micromamba/envs/intertwin/lib/python3.9/site-packages/eodag/resources/providers.yml
2024-04-25 13:32:19,275 eodag.config                     [INFO    ] (tid=140227231950656) Loading user configuration from: /home/charriso/.config/eodag/eodag.yml
2024-04-25 13:32:19,291 eodag.core                       [INFO    ] (tid=140227231950656) usgs: provider needing auth for search has been pruned because no crendentials could be found
2024-04-25 13:32:19,291 eodag.core                       [INFO    ] (tid=140227231950656) aws_eos: provider needing auth for search has been pruned because no crendentials could be found
2024-04-25 13:32:19,291 eodag.core                       [INFO    ] (tid=140227231950656) meteoblue: provider needing auth for search has been pruned because no crendentials could be found
2024-04-25 13:32:19,291 eodag.core                       [INFO    ] (tid=140227231950656) hydroweb_next: provider needing auth for search has been pruned because no crendentials could be found
2024-04-25 13:32:19,291 eodag.core                       [INFO    ] (tid=140227231950656) wekeo: provider needing auth for search has been pruned because no crendentials could be found
2024-04-25 13:32:19,291 eodag.core                       [INFO    ] (tid=140227231950656) creodias_s3: provider needing auth for search has been pruned because no crendentials could be found
2024-04-25 13:32:19,294 eodag.core                       [DEBUG   ] (tid=140227231950656) Opening product types index in /home/charriso/.config/eodag/.index
2024-04-25 13:32:19,303 eodag.core                       [INFO    ] (tid=140227231950656) Locations configuration loaded from /home/charriso/.config/eodag/locations.yml
2024-04-25 13:32:19,369 eodag.core                       [INFO    ] (tid=140227231950656) Searching product type 'S2_MSI_L2A' on provider: cop_dataspace
2024-04-25 13:32:19,369 eodag.search.base                [DEBUG   ] (tid=140227231950656) Mapping eodag product type to provider product type
2024-04-25 13:32:19,369 eodag.search.base                [DEBUG   ] (tid=140227231950656) Getting provider product type definition parameters for S2_MSI_L2A
2024-04-25 13:32:19,369 eodag.search.qssearch            [DEBUG   ] (tid=140227231950656) Building the query string that will be used for search
2024-04-25 13:32:19,369 eodag.product.metadata_mapping   [DEBUG   ] (tid=140227231950656) Retrieving queryable metadata from metadata_mapping
2024-04-25 13:32:19,370 eodag.search.qssearch            [INFO    ] (tid=140227231950656) Sending search request: http://catalogue.dataspace.copernicus.eu/resto/api/collections/Sentinel2/search.json?startDate=2023-04-09&completionDate=2023-04-24&geometry=POLYGON ((16.1000 48.1000, 16.1000 48.3500, 16.6000 48.3500, 16.6000 48.1000, 16.1000 48.1000))&productType=S2MSI2A&maxRecords=20&page=1&exactCount=1
2024-04-25 13:32:21,090 eodag.search.qssearch            [DEBUG   ] (tid=140227231950656) Adapting 12 plugin results to eodag product representation
2024-04-25 13:32:21,108 eodag.core                       [INFO    ] (tid=140227231950656) Found 12 result(s) on provider 'cop_dataspace'
2024-04-25 13:32:21,108 eodag.auth.keycloak              [DEBUG   ] (tid=140227231950656) fetching new access token
                                                                                2024-04-25 13:32:21,478 eodag.download.base              [INFO    ] (tid=140227231950656) Download url: https://catalogue.dataspace.copernicus.eu/odata/v1/Products(da1a69f7-e64f-404e-89ff-bfe38927b606)/$value56: 0.00B [00:00, ?B/s]
2024-04-25 13:32:21,479 eodag.download.base              [INFO    ] (tid=140227231950656) Product already downloaded: /tmp/S2A_MSIL2A_20230410T100031_N0509_R122_T33UXP_20230410T135056
                                                                                2024-04-25 13:32:21,479 eodag.download.base              [INFO    ] (tid=140227231950656) Extraction cancelled, destination directory already exists and is not empty: /tmp/S2A_MSIL2A_20230410T100031_N0509_R122_T33UXP_20230410T135056
S2A_MSIL2A_20230410T100031_N0509_R122_T33UXP_20230410T135056: 100%|██████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1/1 [00:00<00:00, 4860.14file/s]
2024-04-25 13:32:21,479 eodag.product                    [DEBUG   ] (tid=140227231950656) Product location updated from 'https://catalogue.dataspace.copernicus.eu/odata/v1/Products(da1a69f7-e64f-404e-89ff-bfe38927b606)/$value' to 'file:///tmp/S2A_MSIL2A_20230410T100031_N0509_R122_T33UXP_20230410T135056/S2A_MSIL2A_20230410T100031_N0509_R122_T33UXP_20230410T135056.SAFE'
2024-04-25 13:32:21,479 eodag.product                    [INFO    ] (tid=140227231950656) Remote location of the product is still available through its 'remote_location' property: https://catalogue.dataspace.copernicus.eu/odata/v1/Products(da1a69f7-e64f-404e-89ff-bfe38927b606)/$value
/tmp/S2A_MSIL2A_20230410T100031_N0509_R122_T33UXP_20230410T135056/S2A_MSIL2A_20230410T100031_N0509_R122_T33UXP_20230410T135056.SAFE/GRANULE/L2A_T33UXP_A040731_20230410T100027/QI_DATA/MSK_DETFOO_B04.jp2

Environment:

Python version: Python 3.9.18
EODAG version: version 2.12.1
eodag-cube version: 0.4.1

Additional context
I haven't checked this with any other providers, and I'm not sure if the issue goes back further than PB04.00 or not. It's definitely fine in PB03.01. Additionally, the S2_MSI_L2A_COG product from Copernicus Data Space works just fine for the same recent dates, but I guess that gets handled totally differently on the backend.

@claytharrison and @npikall, you can now use a regex to get the appropriate band:
product.driver.get_data_address(product, r"^(?!.*MSK).*B04_10m.*$")

This is not available yet in a stable release, but through develop branch that you can install using:
pip install git+https://github.com/CS-SI/eodag-cube.git@develop


Release build fails since release includes misses enable_shared_from_this.hpp

Added boost/enable_shared_from_this to the release includes.
This was needed because HazelcastClientInstanceImpl inherits from boost::enable_shared_from_this .

Windows test PASSed.

Linux test PASSed.

Linux test PASSed.

Windows test PASSed.


Support steps only for some files

The project is very cool! This is exactly what I was looking for quite a long time. But it doesn't cover all my cases. I would like to be able to specify commands for various types. For example, I have a website that should be regenerated if any of the content files is changed and if any Haskell file changes, it also should be recompiled.
It would be really nice to support something like this!

Thanks for raising this. I don't have your particular use case, so I might have misunderstood you. But I think right now you can do something like this, which will monitor both *.hs and *.content and run the relevant build command.
`

dirs:

"src"
files:
"**/*.content"
tasks:
"./regenerate"

dirs:

"src"
files:
"**/*.hs"
tasks:
"stack build"
`

What is not supported is a common background task (the exec command). This is something I could look into.
Also, dependencies between tasks is not supported. You could imagine that a task could have 'dependsOn', which would cause it to trigger if the first task was triggered. But because I don't have a need for such a feature, I have so far decided not to introduce the additional complexity.

@rhyskeepence Thanks for your response! I will try this workflow and tell whether it works for my case :+1:


Samueljohnw

Just updated the Readme to include Laravel 5.

Did a more thorough readme update for the Laravel 5 stuff. Thanks for bringing this up, sorry I didn't just merge this one first.


How to download the demo data in the tutorials？

stereopy所使用的demo数据集，特别是他们的原始的gef文件，如何获得？我记得暑假的时候还能用镭射传文件的软件下载，现在我找不到那个入口了。
Excuse me, where is the demo data in the tutorials？I want to get their GEF/GEM files to do some experiments.

Download links are displayed in most tutorials.
http://<IP_ADDRESS>:8090/share/dd965cba-7c1f-40b2-a275-0150890e005f
Ray

thanks a lot！谢谢您的分享😆发自我的 iPhone在 2023年10月20日，09:39，Longyu @.***> 写道：
Download links are displayed in most tutorials.
http://<IP_ADDRESS>:8090/share/dd965cba-7c1f-40b2-a275-0150890e005f
Ray
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


[topic] Youtube titles are not discoverable or searchable

basically any of our youtube videos, here are some of the worst offenders:

I WhatIsAnARCAPracticalApproach
03 04 Update Column contents Update
04 AddDetailsAboutYourInvestigation

These titles seem to be auto-generated from the file names submitted to youtube. I don't think anyone that got shared a video like this will ever find it again via youtube's search.
I would suggest:

shorter titles in general
a short name for the video series after the title of the individual video
getting rid of any order indicator (e.g. the video numbers), as they are obsolete because we use playlists anyways
name the playlists exactly as the series name in the video titles

Examples (just suggestions, especially regarding the series names)

04 AddDetailsAboutYourInvestigation -> Investigation Details - ARCitect RDM manual
03 04 Update Column contents Update -> Update Columns - ARCitect RDM manual

All videos of a series having this common series title afterwards enables search for the series even if someone forgot the specific video title.

The naming of the videos has been improved. I mostly followed your suggestions, but chose a different route regarding the naming of the series.
Albeit currently only being referenced in the ARCitect and SWATE quickstarts, all videos were designed to document single functionalities to be later on integrated also in the SWATE and ARCitect manuals. Thus the titles were appended by "ARCitect manual" and "SWATE manual".
I dont think the title of the series referred to in the name should correspond to the playlist titles they are currently integrated in (e.g. ARCitect Quickstart) as in the future one and the same video might be used in different playlists.


TreeNode Expr Implementation for LogicalPlan's

Is your feature request related to a problem or challenge?
The recent update in #8891 has made significant improvements, making many TreeNode implementations simpler and more straightforward. However, the map_children method in Expr enum appears to be quite complex. I think there's room for improvement in making this design more user-friendly, which would not only enhance user comprehension, but also help debugging.
Take, for instance, the Expr::Case pattern:
Expr::Case(Case {
    expr,
    when_then_expr,
    else_expr,
}) => transform_option_box(expr, &mut f)?
    .update_data(|new_expr| (new_expr, when_then_expr, else_expr))
    .try_transform_node(|(new_expr, when_then_expr, else_expr)| {
        Ok(when_then_expr
            .into_iter()
            .map_until_stop_and_collect(|(when, then)| {
                transform_box(when, &mut f)?
                    .update_data(|new_when| (new_when, then))
                    .try_transform_node(|(new_when, then)| {
                        Ok(transform_box(then, &mut f)?
                            .update_data(|new_then| (new_when, new_then)))
                    })
            })?
            .update_data(|new_when_then_expr| {
                (new_expr, new_when_then_expr, else_expr)
            }))
    })?
    .try_transform_node(|(new_expr, new_when_then_expr, else_expr)| {
        Ok(transform_option_box(else_expr, &mut f)?.update_data(
            |new_else_expr| (new_expr, new_when_then_expr, new_else_expr),
        ))
    })?
    .update_data(|(new_expr, new_when_then_expr, new_else_expr)| {
        Expr::Case(Case::new(new_expr, new_when_then_expr, new_else_expr))
    }),

As shown, the function employs multiple nested and chained utility functions, which can be quite daunting. Simplifying these would significantly enhance readability and understanding.
Describe the solution you'd like
New implementations of TreeNode for Option and Box may be implemented, or new simplifying utils may be written with a more understandable style.
Describe alternatives you've considered
No response
Additional context
No response

@peter-toth I'm curious about your thoughts and solution suggestions on this issue.

Thanks for pinging me @berkaysynnada.
I was thinking about using macros instead of chaining Transfomeds (update_data() + try_transform_node()). In a macro we still need to handle tnr == Stop from the result of the previous transformation, but we don't need to build those tuples ((new_expr, when_then_expr, else_expr)) at least.
But this week is a bit hectic for me so if you have any other idea or want to experiment with the above feel free to do it and ping me for review.

I was thinking of a macro that accepts a sequence of expressions and their transformations:
let t = transform_siblings!(
    expr, |e| transform_option_box(e, &mut f),
    when_then_expr, |wte| wte.into_iter().map_until_stop_and_collect(|(when, then)| {
        transform_siblings!(
            when, |w| transform_box(w, &mut f),
            then, |t| transform_box(t, &mut f),
        ),
    }),
    else_expr, |ee| transform_option_box(ee, &mut f)
)
t.update_data(|(new_expr, new_when_then_expr, new_else_expr)| {
    Expr::Case(Case::new(new_expr, new_when_then_expr, new_else_expr))
})

Inside the macro we can build up the same update_data + try_transform_node  chain or maybe avoid that to make it easier to debug.


chore: add typescript carbon ids

Improve developer experience with typescript autocomplete for carbon icons.

Thanks! But I feel this might be a bit overkill. The intention of icon sets is that I was planed to make multiple icon extensions with a single code base. So the ids will not be limited to Carbon only.
I use Iconify IntelliSense to make sure all the icons are valid, where you can see my screenshot here: https://twitter.com/antfu7/status/1367710169505746944?s=20

Oh wow, thanks for sharing! Will definitely try it out.


improve and refactor solve_math to not recreate an iterator for every operation inside an equation

This happens because we are using vectors to store the results of every operation within a loop. Removing elements forces us to either recreate the iterator or to reverse the loop. Reversing won't work well here because it would require switching the lhs and rhs operands specifically for the current order of operations. This can get messy when we factor in the pow operator and just doesn't look nice.
Suggestions:

reverse the collection and then reverse the loop
use an array instead or just don't remove elements (leave the old results in the collection)
-> this might require an extra step of creating nested collections of results

Suggestion 2 ended up recreating a collection of results for every level of presedence. These results had to be linked to an index to which it took up space from the original collection of operands. In the end I had to iterate through these indexes to check whether I should operate on the next index of the original collection or a previous calculation from prior presendence; It throws off the whole idea of not wanting to iterate for as many operators and doesn't result in any improvement.
This means I now have to recreate the original array ( why we just use vectors ) or add some sort of counter to how many indexes we should skip over. This will require a counter for every level of presedence but can be faulty and means extra tests. Or even better use a dictionary of indixes where we can use O(1) to check if that index already holds a result.

I was able to figure out how to go about doing the first one since it seems the most clean, however it was a little more torublesome than I had expected. I did have to reverse the collection and then I needed to iterate from the end, but of course I also needed to account for the operators that were being removed and keep a counter to an index offset.

The counter would need to reset every time we increase the operator presedence and increased for every operation.
The evaluated value of every operation is now stored in the opposite order; That being at the index instead of index + 1
-> also the reason we needed an offset here e.g. if the first operation was done at index 0 the result would have to be stored now at index 1 (as opposed to 0 if we didnt reverse) because we should remove and store always at the root of evaluation(left-> right) even for exponents -therefore we need indicate it is the first value by applying an offset.
Finally this ensures we can create a single iterator for any given presedence level while destroying elements from both the operator and operand collection and still maintain a correct order of operations


⚠ Bofrost.es has degraded performance

In 312a26b, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1376 ms

Resolved: Bofrost.es performance has improved in e4c5406 after 6 minutes.


Server side: generateScopedName is not used while using Babel

If you use babel imports you have something like this:
import cssModulesRequireHook from 'css-modules-require-hook'
import cssnext from 'postcss-cssnext'
cssModulesRequireHook({
	generateScopedName: '[name]__[local]___[hash:base64:5]',
  prepend: [
    cssnext(),
  ],
});
import App from './components/app.js'

And you app.js imports some css.
When you use babel-node all the imports go up in the code therefore cssModulesRequireHook() is called after requiring of app.js resulting into omitting generateScopedName.
Solution: return hook as function to be called with options, just like node-jsx.

I'm running into this as well! Let me know if I can help out.

@dbow well I know, how to hotfix it in code, for your react components use traditional require(),.
@nkbt suggests https://www.npmjs.com/package/babel-plugin-webpack-loaders which may do the trick

Thanks for the report, can you provide your .babelrc content?

@sullenor sure, nothing special there
{
  "stage": 2
}

Mine is
{
  "presets": ["es2015", "react"]
}

I think another workaround is moving this configuration to a separate file that uses require:
index.js:
var hook = require('css-modules-require-hook');
hook({
  generateScopedName: '[name]__[local]___[hash:base64:5]',
});

require('./server.js');

server.js
import express from 'express';
import _ from 'lodash';
import React from 'react';
import { renderToString } from 'react-dom/server';
import { match, RouterContext } from 'react-router';

// etc...

and then babel-node index.js seems to properly call the hook function prior to the server.js imports. Does that make sense?

{
  "stage": 2
}

That looks like babel 5 config, is it?

@dbow definetly is, but it is still just a workaround...
@nkbt yes 5.6

@dbow It is. Actually, the new imports are static and always called first (its a feature). And babel usually put them to the beginning of the file.
So, if you have CSS import with require hook at the same file, all your imports will occur first and after that you'll configure the require hook. Thats why you get different tokens.
As possible solution you can move configuration to the separate file or I also thought about making a separate config, similar to gulpfile.js.
https://github.com/css-modules/css-modules-require-hook/issues/27

@sullenor makes sense! I too was pondering a config file as a solution.

Finally, I published a beta version with presets implementation, hope that helps: 3.0.0-beta. If you are interested, you can try to use require('css-modules-require-hook/preset') and put all options to the cmrh.conf.js file.
I will publish stable version a bit later, still need to update documentation and demo example.

Perfect! Thankyou so much, may also be worth mentioning for someone else, don't forget to include any other options such as camelCase, otherwise it may not appear to work. For me it was:
var hook = require('css-modules-require-hook');
hook({ generateScopedName: "[name]_[local]__[hash:base64:5]", camelCase: true });


NIFI-3291: Upgrade jQuery and plugins

Upgrading jQuery and it's plugins.
Packaging at build time using npm.

Will review...

I also noticed there are scrollbars showing up in the "Access Policies" shell as well as the "Add Reporting Task" dialog.

Thanks. Just updated the PR.

Thanks @mcgilman this has been merged to master.


Research instrumenting Flank

Collect data on test counts / test shard times. FTL is interested in this data to optimize the service for massively parallel runs.
I'm not sure where we'll store the data. Maybe https://firebase.google.com/docs/analytics

An example use case is, identifying how many Flank yaml files use local-result-dir, then we could make an informed decision about removing this feature in the future.

I think that Firebase analytics does not support plain Kotlin app

I made a research. Here are some conclusions about it.

Firebase/Google analytics does not have API and easy method to use for server/desktop/native apps, so I would suggest not use it
MixPanel Analytics has everything that we need in my opinion (Java SDK, dashboard, many tools to analyze the usage of Flank). Free plan could be used by 100k users/month
There is also nice alternative called Segment by Twilio, which also has a good dashboard, Java SDK and dashboard. However Free Plan Includes 1,000 visitors/mo
Other tools that I've been evaluating do not have good API, free plan and/or dashboard. So I would suggest choosing between MixPanel and Segment

Please let me know if these solution fits our needs and then we could start adding analytics to Flank 🚀

I think that we should log all options read from config (set by users) and they should be grouped by project ID to have real data about the usage (options per project vs options per run)

Thanks! This is helpful.

Firebase/Google analytics does not have API

I think they have a Java API?

https://developers.google.com/android/reference/com/google/firebase/analytics/package-summary
https://firebase.google.com/docs/analytics/get-started?platform=android#kotlin+ktx

easy method to use for server/desktop/native apps,

Does the logEvent API not work?
firebaseAnalytics.logEvent(FirebaseAnalytics.Event.SELECT_ITEM) {
    param(FirebaseAnalytics.Param.ITEM_ID, id)
    param(FirebaseAnalytics.Param.ITEM_NAME, name)
    param(FirebaseAnalytics.Param.CONTENT_TYPE, "image")
}

Flank is ultimately a Firebase integration (for test lab) so I have a preference to explore other Firebase services. If it's not a fit, then we can look at alternatives.

https://firebase.google.com/docs/analytics/get-started?platform=android#kotlin+ktx

This is Android API, which needs Android's stuff to work properly. We could not use it outside the mobile platform 😞

@piotradamczyk5 @bootstraponline the only real option for making use of Firebase with a "desktop cli" application would be to make use of: https://firebase.google.com/docs/database/rest/start rest api and do the calls ourselves which is very inefficient.
@bootstraponline what you linked there is how to get it working for an android application.

@piotradamczyk5 @bootstraponline the only real option for making use of Firebase with a "desktop cli" application would be to make use of: https://firebase.google.com/docs/database/rest/start rest api and do the calls ourselves which is very inefficient.
@bootstraponline what you linked there is how to get it working for an android application.

https://firebase.google.com/docs/database/rest/start is a link to documentation for a realtime database, so we also need to create a tool to read this data. So this is very inefficient.

I am wondering if we can create bindings to kotlin for javascript web API https://firebase.google.com/docs/analytics/get-started?platform=web.

I am wondering if we can create bindings to kotlin for javascript web API https://firebase.google.com/docs/analytics/get-started?platform=web.

I agree the kotlin bindings for js would be too much work.
Did we confirm the Android libs for firebase don’t run on the desktop? Sometimes the same jar can work on both mobile and desktop

I agree the kotlin bindings for js would be too much work.
Did we confirm the Android libs for firebase don’t run on the desktop? Sometimes the same jar can work on both mobile and desktop

I agree the kotlin bindings for js would be too much work.
Did we confirm the Android libs for firebase don’t run on the desktop? Sometimes the same jar can work on both mobile and desktop

Yes, because they need Android Context for initialization and also under the hood it uses some Android API to get device information(like os version, device model etc)

I agree the kotlin bindings for js would be too much work.
Did we confirm the Android libs for firebase don’t run on the desktop? Sometimes the same jar can work on both mobile and desktop

Yes, because they need Android Context for initialization and also under the hood it uses some Android API to get device information(like os version, device model etc)

Thanks for checking.
Is the source code for https://maven.google.com/web/index.html?q=firebase-analy#com.google.firebase:firebase-analytics:18.0.0 not available?
If the default SDK doesn't support CLI tools and there's no source code, then we'll have to pick a different service provider.

Thanks for checking.
Is the source code for https://maven.google.com/web/index.html?q=firebase-analy#com.google.firebase:firebase-analytics:18.0.0 not available?
If the default SDK doesn't support CLI tools and there's no source code, then we'll have to pick a different service provider.

What do you think about moving forward with a small proof of concept for both MixPanel and Segment? Then we'd make a decision on one solution after looking at the results.

What do you think about moving forward with a small proof of concept for both MixPanel and Segment? Then we'd make a decision on one solution after looking at the results.

I will create a task for MixPanel and Segment POC and see how it goes

I will create a task for MixPanel and Segment POC and see how it goes


[BEAM-10603] Remove unnecessary limiters and add a method to get the size of a PCollection on disk.

Change-Id: I3b9ff420817c78988a283bc7b046d85cc732a09b
These were previously added but I found a simple solution to just use limiters from reading from the cache.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Portable_Python PreCommit

R: @pabloem

LGTM


Support extended tokens + expose token feature for library use

I updated some sample tokens as they did not match the expected tokens which I verified using the original python library.
@dmohns You can confirm if the changes are accurate. Closes #10

Hey @beesaferoot
following up on my earlier comments. I think the issue was that we never actually had Extended Tokens in the test JSON 😅 I generated some using the legacy Library.
Could you add the JSON as per this PR: https://github.com/EnAccess/OpenPAYGO-js/pull/34 to your PR? (Probably you can just cherry pick my commit) And see if this resolves this issue?

Hello @dmohns  I got around this and updated the sample tokens from your PR.
Everything seems to be working as expected now (for standard and extended token generation).

Hello @dmohns I got around this and updated the sample tokens from your PR.
Everything seems to be working as expected now (for standard and extended token generation).

Using #35  We can cross check the implementation, will look into that next.
Thanks for merging 👍🏾


when live-search is enabled on a multiselect, and the dropdown is long enough to scroll, clicking to select an item resets scroll position

This is a pretty annoying bug - when live search is enabled, and the dropdown list is long enough to have a scroll, clicking on an item when the list is scrolled down resets the scroll position back to the top of the dropdown, and focuses on the search field
I'm guessing there's some code to refocus on the input after each selection, however this makes the dropdown fairly annoying to use if the user scrolls down to select items.
The examples on your homepage all have too few items to test this behavior, but if you add a multiselect with live search and lets say the 50 states, you'll see the behavior in question.  Refocusing on the input is fine, but only if the input is positioned above the scrollable area so it does not disappear as the user scrolls down.
With live search, if I want to scroll down the list and select 3-4 items near each other, I will have to rescroll the list after each selection.
Is there an option to disable the refocus on livesearch? or a way to restructure the html/css of the livesearch input so it's not part of the scrollable area?

figured it out. jst have to add on touchstart event to the click event

@Sudaraka007 could you be more specific? A gist or a fork or a PR? I'm going to have to investigate this next week but if you have a solution then I'm definitely interested!

I can't replicate this in v1.9.4 using Chrome.
See guidelines for contributing.

Bug reports
A bug is a demonstrable problem that is caused by the code in the repository.
Good bug reports are extremely helpful - thank you!
Guidelines for bug reports:

Use the GitHub issue search. Check if the issue has already been reported.

Check if the issue has been fixed. Try to reproduce it using the latest master or development branch in the repository.

Provide environment details. Provide your operating system, browser(s), jQuery version, Bootstrap version, and bootstrap-select version.

Create an isolated and reproducible test case. Create a reduced test case.

Include a live example. Make use of jsFiddle or jsBin to share your isolated test cases.

@kjhangiani +1

#1298

Can somebody please provide me with an example of this? Or at least provide your environment details?

Closing this until somebody can explain what the problem is or provide an example.

So this is happening to me too on IE11. Only when live search is active and there are enough elements to need a scrollbar

After investigating a bit it looks like in IE it fires the $searchbox.on('input propertychange') function. This does not happen in chrome.

So after deleting the liveSearchPlaceholder:'XXXX' property on selectpicker.defaults it doesn't happen anymore.


Create new release tag?

thank you for publishing the amazing actions!
there have been more commits to master branch since v0.0.0 has been tagged.
maybe time to create a new release tag?

Might I suggest you set up an auto-tagging system? Each merge to master that comes from Dependabot gets a new tag with a patch bump, and you update the main v0 tag. This would be aligning with the tagging schemes of many (most) of the widely used actions.

v1 or v1.0.0 is now available. try it!


[Docs] Update config doc to add WandB LoggerHook

It's a few lines modified to add more logger hooks to docs.

Thanks for your contribution to our repo. We are about to release a beta version and support better visualization.

@plyfager
Please help to improve this pull request so that it can be merged into master.


Cephfs PVC getting permission denied error

We have configured cephfs and integrated with k8s using cephfs provisioner.
Fileystem was mounted and working fine since log time. suddenly we are getting permission error for some pvc's .
There are multiple pvc's but getting error for few pvc..
After restarting pods, issue got resolved.
is there any way to find why this happened? Is it because of network issue? .. I have checked ceph logs but didn't find anything related to error message.
Note: We have rebooted 2 osd nodes out of 6 osd nodes. We have enough replicas to avoid any kind of io errors.
Error
<IP_ADDRESS>:6789,<IP_ADDRESS>:6789:/k8s-prod/optimize/kubernetes/kubernetes-dynamic-pvc-ef978a51-6ab4-11ea-92c2-d2f7f4750034   37T  205G   36T   1% /opt/BCO/repository
sh-4.2$ ls -l
ls: cannot access repository: Permission denied
total 76
d?????????? ? ?    ?        ?            ? repository

That's more a question to ask on the ceph irc on ceph mailing list for the cephfs people because this doesn't seem related to ceph-ansible.


Swagger UI from NGINX Proxy

Hello, i'm using FALSY from NGINX with gunicorn, but when I load /ui/ it hangs less than minute an it shows:

I'm using NGINX to redirect from 8080 external machine port to 5000 on localhost.
The here problem is that swagger is trying to load: http://<IP_ADDRESS>:5000/static/catalog_catalog.json but really i'm connecting to external  http://mydomian:8080/
If I try http://mydomian:8080/static/catalog_catalog.json the content is available.
If I try in local: lynx http://<IP_ADDRESS>:5000/op/ui/ I can see the UI of the API.
What is happening? Just only this file is not available using proxy.
Regards

Any option in swagger configuration to override the local static URL ?
Thanks in advance.

SOLVED:
Adding api_url="http://mydomian:8080 to the Swagger function:
f = FALSY(static_dir='....')
f.swagger('...', ui=True,theme='impress',api_url="http://mydomian:8080")


Putmega solution?

I am woefully programming illiterate, but I know the way to manually get the original image from an a embedded thumbnail on sites that use putmega as the image host:  removing the ".md" in front of the jpg will give the original file that was uploaded.
I tried to use the "Transform URL with Regex" idea, and I came up with
PutMega embeded
s4.putmega.\com/(.+.\w+)$
s4.putmega.\com/(.+.\w+replace(".md.jpg",".jpg"))
So (as far as I understand it) with the existing code already in the program Image Picka should be able to go straight to the original image URL.
I'm just not sure where or how to implement it (again, programming illiterate).

You can put following code in your "Transform URL" option:
(https://s4\.putmega\.com/\w+)\.md(\.\w+)
$1$2

It captures the first part of the URL (excluding .md) and the last part (the extension part) then put them together.

What I'm seeing is that (even with the recursive on) it'll grab the first 3 images in a batch and their full size, but any images after that don't have a converted form.

You didn't post the actual URL so I don't know what happened either.
You can try testing the URL and adjust the pattern on regex101 if you can't post them:
https://regex101.com/r/yH9vSq/1


Code cell output can mess up layouts

Code cells can produce many different types of output, and some of them tweak the closeread layouts (often expanding out of the sticky column and into the narrative column). We need a systematic treatment of each of these types of output including

[ ] static plots
[ ] console output
[ ] tables
[ ] code with warnings / errors / messages
[ ] leaflet maps
[ ] plotly plots
[ ] various diagrams

No screenshot appears Amelia!


Publish new version to crates.io?

Would it be possible to publish the latest version as 2.0.6 to crates.io?
Last published release was a year ago and that still lists only MIT as a supported license in Cargo.toml and does include Apache-2.0 which was to it in mid 2018 in this commit: https://github.com/dimbleby/mio-extras/commit/4d7cd4d2e7a2bcedea0be9172e40a851211c31c1

Sure, done.

Thanks, super fast! :)


Nxppy uses the outdated version of the NXP NFC Reader Library

nxppy is now using the current version of the NXP NFC Reader Library.
Changed files README.md
nxppy.c
setup.py
wrapper.py
Mifare.h
Mifare.c
get_nxpRdLib.sh
NXP_NFC_Reader_Library_licencefile.txt

Note that for fixing the indentation and tab/space issues, it may be easiest to install and run the "indent" utility with the following command line:
indent --original --no-tabs --line-length119 --format-all-comments -di2 -npsl -sob *.c *.h
I'll be adding these options as an .indent.pro file after this PR gets merged.

I tested this against both Python 2.7 and 3.4 and everything seems to be working well.  Most of the issues I listed above are style or install related.  Let me know if I can help provide any more detail on my comments.  Thanks so much for taking the time to make these updates!

Hi @Schoberm,
See setup.py here: https://gist.github.com/svvitale/49e19bfbec3b0ca100b4f1762981d855
By using the -isystem prefix for includes, any warnings found in those files are ignored.  There are still a few warnings in Mifare.c that should be taken care of, but other than that, the module compiled successfully with this setup.py.  You'll still need to remove the call to whiptail since pip does not allow you to prompt for user input like that.
Please let me know if you have any other questions.  Thanks!

Now whiptail is removed and all warnings of the Mifare.c file are fix
there is still one warning because of the NXP NFC Reader Library i can't remove


update WalletConnect v2 to 1.5.1 version, to support optionalNamespaces #6572

Closes #6572

@oa-s Ok. Buzz me if you need anything

@hboon pr should be good to check. notes:

looks like updating namespaces could throw an error on library level, not aw. (came with updated WalletConnect version) so out of this wasn't able to switch chains like before. tested with https://interface-git-feat-add-wc2-uniswap.vercel.app/#/swap maybe other dapps with optional namespaces would work.

tested with these daps:
https://lab.web3modal.com/v2Extended
https://interface-git-feat-add-wc2-uniswap.vercel.app/
it works


Content rules

Create view to manage content rules.

No restapi endpoints available yet to manage content rules, see https://github.com/plone/plone.restapi/issues/324

Closed as implemented in Volto 16


Upgrade to Go 1.22.1

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
What type of PR is this?

/kind chore
Special notes for your reviewer:
Does this PR introduce a user-facing change? Then add your Release Note here:

OSM is now built using Go 1.22.1

Documentation:

NONE

/lgtm
/approve


Inconsistent typing of key property in TypeScript declaration file

What are valid types for Preact's key property? When looking at the TypeScript declaration file, the answer is inconsistent.
We have a type declaration at https://github.com/developit/preact/blob/382a640b9417f5322a4224782a3161b0b527978f/src/preact.d.ts#L5 which is used in https://github.com/developit/preact/blob/382a640b9417f5322a4224782a3161b0b527978f/src/preact.d.ts#L48-L53 and is consistent with the one used by React: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/be662c475da091788139b486a55708f02e2880b6/types/react/index.d.ts#L55
However, Attributes defines its own key which also includes any https://github.com/developit/preact/blob/382a640b9417f5322a4224782a3161b0b527978f/src/preact.d.ts#L24-L27 which is used in https://github.com/developit/preact/blob/382a640b9417f5322a4224782a3161b0b527978f/src/preact.d.ts#L55-L57
Is any a valid key? In either case, https://github.com/developit/preact/blob/382a640b9417f5322a4224782a3161b0b527978f/src/preact.d.ts#L25 should probably be replaced with key?: Key;. If not, please explain to me what I'm not understanding correctly.
If you want, I can make a corresponding pull request next week.

https://github.com/developit/preact/blob/382a640b9417f5322a4224782a3161b0b527978f/src/preact.d.ts#L25
I think this should be key?: Key. Same to me I don't understand what's the purpose of any is here :confused:

@KasparEtter Great find 👍🎉 Would love a PR for this💯


add new-line at end of file

Fixing missing new-line at end of file error to comply with yamllint standards
Related to #62

LGTM, adding Andrew for review

LGTM.
Looking through the changes, I did notice a few places where we have some hard-coded cluster URLs (e.g. value: 'https://kibana-openshift-logging.apps.mgnt.adetalhouet.rhtelco.io').  We should keep an eye out for this sort of thing in the future.  I'll open a few issues for the ones that I noticed.


Make downloads folder with pdf/epub variants of documentation available

It would be incredibly helpful to have an offline reader friendly version of these docs for when trying to do research on the tool.
Would it be possible to make the offline formats available either directly on the main docs site or as 'releases' attached to this repository?
https://docs.readthedocs.io/en/stable/downloadable-documentation.html

That's a great idea. We don't create releases on this repo, but I'm guessing if we did we would specifically for this purpose.

It also seems it could be added directly to the read-the-docs as just a
download generated when the docs are updated. That might be better than
generating a 'releases' entry in github.
On Tue, Mar 26, 2024 at 9:28 AM Jeff Ohrstrom @.***>
wrote:

That's a great idea. We don't create releases on this repo, but I'm
guessing if we did we would specifically for this purpose.
—
Reply to this email directly, view it on GitHub
https://github.com/OSC/ood-documentation/issues/955#issuecomment-2020431906,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQVJNN7D5TJW3QHDKQBGXDY2FZX7AVCNFSM6AAAAABFHYUYISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMRQGQZTCOJQGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
-Garrett


confirmation api

basically a api endpoint that allows to change the verification status via a single link in the email

the api end point "confirm" should be created as a sub option of the getbyid and should accept a JSON with:

the verification_code
a optional verification_message
a verification_status

this function should only be able to change a status from waiting to confirmed or declined

if its already confirmed, declined or returned it should not be changed
if the verification_code does not match it should not be changed

create test for this

changed data to be transimtted via json instead of url param
changed error code 1001 (you shouldnt use this its literally ment for when you make a syntax error and enter the wrong code) to 1205
function now changes verification status as well
changed the setVerificationStatus function to be confirm
corrected the validation for the enum


Response location missing My prefix

Hi @chadwach, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

Thanks


Comments testing

Ich kann leider nicht testen, ob beim POST automatisch die user ID und der Mappoint mitgegeben wird.

Hello @emiliadoe,
I found 1 problem while checking your pull request.
Problems:

The title Comments testing is not the format I expected.

Rules:

There must be a title in this format: Feature|Bugfix|Hotfix|Release: Title
If applicable, add your issue ticket (e.g. A-100) with a slash in the title (Feature/A-100: Title)
Use Feature for enhancements or new functionality
Use Bugfix only if you fixed a known bug
Use Hotfix for problems introduced by previous merges
Use proper capitalization in your title
There must be a description


Keep title visible while being eddited

Hey, I've found that while editing a note file name, the note header will be hidden if the mouse isn't hovering on it. I've added a selector where it makes the elements visible so the header will be visible while we change the file name.
Thank you for this awesome theme!

Good catch, thank you!


Video To Frames

Is there any way to convert a video to images using fluent ffmpeg? Example am having a video with total duration 60 seconds. I want images between different set of duration like between 2-6 seconds, then between 15-24 seconds and so on. Is that possible using ffmpeg?

That's an ffmpeg usage question. Please refer to the ffmpeg docs and community.


No Support for OpenAPI 3.0

Attempting to render an OpenAPI 3.0 specification partially works but is missing attributes like "server" which replaced "host" and "requestBody" which replaced "parameters.body" in the upgrade from swagger 2.0 to OpenAPI 3.0

I was able to solve this by loading a newer version of redoc. You can do this by specifying redoc_uri in your conf.py file.
redoc_uri =<EMAIL_ADDRESS>
There is a brief section on it in the docs https://sphinxcontrib-redoc.readthedocs.io/en/stable/

@ikalnytskyi Hey bud, great pkg -- but are you still maintaining this? I saw this was opened in 2022


Lift CpgQueryExecutor into the console project.

This does not integrate the CpgQueryExecutor into the script manager, it simply moves the executor over to the console project.

Max asked me to lift this component into the console project so that it can be used by both the server and the script manager, so it's mostly just moving code around. I won't merge until I've had a chat with him tomorrow to identify whether or not this is what we actually want to do.


Link to Contribution wiki page is broken

This README links to a broken
https://openeew.com/docs/contributing
@andygrillo

Also broken in the CONTRIBUTING.md page.


Modal fails to open if url contains a query string

Looks like a url containing a query string will not open the modal window- is this a known issue?
http://some-url.com/#login?err=invalid-email

It checks the whole hash string right now.

Shouldn't they go the other way around?
http://example.com?err=invalid-email#login


Host supply-chain rules

As discussed in the SIG meeting a few weeks ago, we'd like to move license/compliance/provenance rules out of bazelbuild/rules_license and make it owned by the community.
Therefore, we'd like to create bazel-contrib/supply-chain to host the rules and providers for declaring package metadata like licenses.
This will be a new GitHub repo with multiple bzlmod repos (looking to start with 2, but planning to extend over time to cover other areas of the supply chain).
bazel-contrib/supply-chain/
  README.md

  metadata/
    README.md
    MODULE.bazel (`package_metadata`)
    ...

  sbom/
    README.md
    MODULE.bazel (`rules_sbom`)
    ...

package_metadata will contain providers for declaring package metadata (e.g., PURL of the package, its license, GH repo it's hosted on, ...) and rules for injecting the providers into the build graph (e.g., via package(default_package_metadata=["//:metadata"]). We expect that virtually every bzlmod repo will depend on this (including rule sets), so we're making this a separate repo without any dependencies to not pull in any rules/languages that users/companies might not want and thus prevents them from using package_metadata.
rules_sbom will contain rules that generate a SBOM (file) for a target by traversing the transitive dependencies to collect package_metadata for everything in the transitive closure of said target.

Checklist:

[x] Must use an open-source license, preferably Apache-2.0.
[x] Must have wide applicability in the community.
[x] Must have a clear point of contact who answers questions from the SIG.

Initially, @aiuto, @mzeren-vmw, @TheGrizzlyDev, @Yannic

[x] Must be “production quality”:
clear README or other documentation outlining the goal of these rules, how to use them etc.
generated API documentation
include examples of use
tests that are running continuously
[x] Must reply to issues/PRs in 2-3 weeks (exact service level agreement TBD)
[x] Must have more than one person who is committed to review/approve PRs
We recommend encoding this as a CODEOWNERS file.

see points of contact above

[x] Must publish semver releases.
Optional: follow the same release pattern as the rules-template does.
[x] Must work with LTS Bazel version
[x] Must publish the rules to the Bazel Central Registry, keep that CI green

rules_license will become a shim to package_metadata. I think the expectation is that people still migrate to use package_metadata directly instead of going through the shim, but we'll make sure that there's a smooth migration path with the shims

This has been approved by the SIG on 2024-11-26: https://docs.google.com/document/d/1YGCYAGLzTfqSOgRFVsB8hDz-kEoTgTEKKp9Jd07TJ5c/edit?tab=t.0#heading=h.whgqs97auf4i


Version bumps/update CHANGELOG for check_config and git_pull

Please make a PR per topic otherwise I can't build and upload it. Thanks

@pvizeli I bumped version by .1 for both check_config and git_pull. check_config doesn't have a CHANGELOG so it's only the version. git_pull incorporates 2 fixes for one version (see my other PRs). That's why I did the bumps in a separate PR.
Should I split them up and increment version by +0.2?

Yes, one PR for git_pull and one PR for check_config they bump the version +0.1 and provide a changelog (if they is not exists, create one)

Closing to resubmit


W.I.P.: XCUITest integration.

THIS IS A WORK IN PROGRESS BRANCH

This is a draft pull request for the first phase of XCUITest integration into Detox-iOS ("Reimplement Detox iOS").
See epic issue: https://github.com/wix/Detox/issues/3208

I see a new dawn

This PR is outdated. I'm about to push the integration in smaller changes.


TIKA-4247 HttpFetcher - add ability to send request headers

set headers in a metadata value for "httpRequestHeaders" those will be sent along with http request.

This PR looked abandoned in conflict so I tried... most conflict resolution was straightforward except 2 things:

setHttpRequestHeaders(List <String>) from main didn't work at all (I suspect that it wasn't tested), see comment. I changed some code but kept main AND branch, i.e. the headers are added twice.
parseHeader type change from List to Collection


161 update video call

Hi,
This feature might have some bugs around. But basically, it follows new code styles.
Please help to review. I will try to cover bugs when open other issues.
Feel free to reopen if need me to update some parts.
Regards,

Hi @codeeMadness,
I have reviewed the call feature. It is getting a lot better and closer to a deployable state, but there are still some things that must be fixed before it can be merged to deployment.
Here is the list of my observations:
1. Red dot in browser tab after call ends

2. The peer initiating the call does not see himself

3. The callers information box options

I think the solution to this one would be to completely remove the information panel on the caller side. As shown in the picture bellow, the message contained in the information box could be used to fill the area where the other peers camera will go.

4. Button style on the receiving side
The button on the receiving side works well but the text should be replaced by standard answer and decline buttons since the yes/cancel options are not well adapted for the context but adapted to our style.

Here is the standard I mean, you can adapt it to our style as you want.

Thank you

Thanks for your feedback. Let me try to cover these issues.

I don think this is relevant anymore. Please open a new PR if you wish to include this feature in the Spacetime core sdk.
Thank you.


Ignore dot in file name

@tejalprabhu01 I have added you here because this is one of the issues reported in the pptx shared yesterday.


Feature/allisonbhavsar/939327047 individual book view

Administrative Info
Monday Board ID: 853642866
Make sure your branch name conforms to: <feature/staging/hotfix/...>/[username]/[Monday Item ID]-[3-4 word description separated by dashes]. Otherwise, please rename your branch and create a new PR.
Changes
What changes did you make?

Created individual book view screen
Added youtube videos and markdown support to tab content
Added language buttons for tab content

Testing
How did you confirm your changes worked?

Populated database with dummy data
Checked that book info rendered properly in tabs (read/learn/explore)
Tested with multiple languages

Confirmation of Change
Upload a screenshot, if possible. Otherwise, please provide instructions on how to see the change.

Just 2 more things I found testing the Markdown renderer:

Let's enable links by setting the onLinkPress prop: https://www.npmjs.com/package/react-native-markdown-view?activeTab=readme#onlinkpress. You can use the WebBrowser API to open links within the app: https://docs.expo.io/versions/latest/sdk/webbrowser/. This is better than the Linking API for this purpose since it doesn't switch apps into your web browser, and it lets you press the back button to return to the app.
When there's no video, the markdown content is centered, which I don't think we want. You can add width: '100%' to your tabContentContainer style and change the horizontal margins to paddings to fix that

Sorry to send this back to requested changes, but I'm adding books to staging right now and I found just a few stylistic things:

The Gotham-Italic font doesn't look right for inline italics, the text is much bolder than the default font. Can you replace the fontFamily override for mdEm with a fontStyle: 'italic'?
You can't really control image size or alignment in Markdown, so I think a good default would be to have the image take up the entire width of the screen. WA uses images instead of YouTube videos for some tabs to give them some color. Can you add imageWrapper: { width: '100%' } to the markdownStyles object?
The spacing around bullet points and list numbers are huge on my phone, can you set their width to 16 (default is 32)? In markdownStyles:

listItemNumber: {
    minWidth: 16,
  },
  listItemBullet: {
    minWidth: 16,
  },


Update ESUNBank.WebATMService version <IP_ADDRESS>

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Note: This is a minor update to the manifest to implement a better package name.

@wingetbot waivers Add Policy-Test-1.8


Laravel 10.x Compatibility

This is an automated pull request from Shift to update your package code and dependencies to be compatible with Laravel 9.x.
Before merging, you need to:

Checkout the l10-compatibility branch
Review all comments for additional changes
Thoroughly test your package

If you do find an issue, please report it by commenting on this PR to help improve future automation.

:alembic: Using this package? If you would like to help test these changes or believe them to be compatible, you may update your project to reference this branch.
To do so, temporarily add Shift's fork to the repositories property of your composer.json:
{
    "repositories": [
        {
            "type": "vcs",
            "url": "https://github.com/laravel-shift/transliteration.git"
        }
    ]
}

Then update your dependency constraint to reference this branch:
{
    "require": {
        "that0n3guy/transliteration": "dev-l10-compatibility",
    }
}

Finally, run: composer update

update for laravel 10?

@baralogi Released a new version with Laravel 10 compatibility on the 2.x branch
thanks for the bump, I forget that I've been granted push permissions to this repository


Prepare release v2.4.0

[X] v2.3.0 -> v2.4.0
[X] fix setup.py so that project description is rendered properly on PyPI
[X] ensure README up-to-date

unable to execute 'gcc': No such file or directory

@DarianHole If you're running Ubuntu, you might need to install gcc. I usually just apt install build-essential to cover all my bases. Are you trying to pip install -e . into a virtualenv?

Thanks @DarianHole  for having a look and verifying that things work for you! Time to merge into master and create a new release.


Choose table

Hi,
Can you add a config file that allows specifying the database to get roles/permissions from.
thanks

Hi,
you mean table names?

@romanbican nope the actual database.
As it stands it will read what database is used from the Config/database.php file.
We have approximately 50 databases and in the above config we have a generic database only for the purpose of the config which has no tables.
So a config file to specify which DB would be ideal or some how i have to dynamically tell it which DB to connect to every time it runs.
thanks

Ok, if you want, submit a pull request and I'd be glad to push it.

Done. Have a look at version 1.5.0.

champ... i shall check it out :)


Click on "group by" on advanced search page

When grouping search results by facets, it's possible to click on "group by", and it raises an error

:+1:

That was silently fixed in a version prior to 0.7.2, sorry for the lack of communication on this one.

Sorry this is not corrected yet, I need to investigate to find out where the correction was lost.

@sgoretti, I have seen with @cbarnay on his app that this was solved, can you confirm it is solved for you ? I guess you have the same basecode

Yup, fixed for me as well

Perfect !


Keybinding for resize split terminals

Hello,
can I ask you for adding keybinding for resizing split terminals?
Many thx!

You mean to act as a double-click on the pane border?
Can you detail what you expect?

I am closing this issue due to its inactivity, but feel free to comment.

I'm sorry I missed notification about your answer. I though keybinding which enable change ratio of split terminal.
Example: I split horizontal terminal, but want to have bottom one smaller than upper. After split will be ration in size 50:50. With predefined keybinding I will change this ratio.


Suggestion: use lodash clone

I noticed you use two separate clone functions to make object copies.
https://github.com/emertechie/express-local-auth/blob/e34bd21956287a4dc472739145569c4409739eb3/tests/fakes/userStore.js#L58
https://github.com/emertechie/express-local-auth/blob/e34bd21956287a4dc472739145569c4409739eb3/tests/fakes/tokenStore.js#L29
Since you already have lodash as a dependency you could remove these by using clone or cloneDeep

good spot. cheers


Change type of APS sound/category to Cow<'static, str>

This way a static sound and category can be specified, thus avoiding an allocation for every notification.
The API is still ergonomic, thanks to Into<Cow<'static, str>>.
A question would be whether to use custom lifetimes instead of 'static, but then those lifetimes would propagate through the entire type hierarchy. Not sure if you want that.

I'll push a test with a static category in a minute...

Sorry for the force push, I added some more lines to the tests to cover 'static and owned strings too.

I would think about this a bit though before merging.
Now a push from Europe to APNs will take about 150-300ms. Allocating a couple of strings for every push will not take that long in comparison when we use jemalloc anyways. I'd like to actually see how this makes the code faster before going with a quite ugly type signature of Option<Cow<'static, str>>. I'll try your changes and maybe extending them to the other Strings in the notifications, to see how the API looks like.
We use about 3 cores and less than 100 megabytes of RAM for our multi-app setup, so this would maybe save a bit of CPU time and some bytes of RAM...

I was thinking more that could we actually get rid of String everywhere in the hot parts? I'd use something else than a static lifetime though, bind the payload items with a lifetime parameter. I'll try it out, just fetched your branch.

If you don't actually need owned strings, then passing in &str everyhwere would be quite nice. It does have the cosmetic downside of many lifetime parameters though.

And the other thing is I've never seen Cow used like that with a static lifetime. So how does it work with a heap-allocated String, where does it get its lifetime, or will it work at all?

This would only work with static references, or with owned strings. This is better than the status quo of only accepting owned strings, but of course it does not work with references to heap-allocated values.
On the other hand if we'd think about accepting Cow<'a, str> then we could just as well parametrize the entire struct and just use &'a strinstead. UsingCow<'static, str>` was simply a way of accepting static strings without adding any new lifetimes.


[Request] Add cfssl - CloudFlare's PKI/TLS toolkit

Requesting https://github.com/cloudflare/cfssl
I might try to contribute this myself.

@Ash258 assign to me, I wanna try doing it


Objects are immutable?

I don't know if this is a 'design choice' (like how loops doesn't have break), because this example from the readme doesn't work.
lit x be cap rn
lit obj be { key: nocap, x } rn

obj.key be cap
waffle(obj.key)

it will output
D:\Github\bussin\src\runtime\environment.ts:167
        if (value) pastVal.properties.set(prop, value);
                                      ^
TypeError: Cannot read properties of undefined (reading 'set')
    at Environment.lookupOrMutObject (D:\Github\bussin\src\runtime\environment.ts:167:39)
    at eval_member_expr (D:\Github\bussin\src\runtime\eval\expressions.ts:145:30)
    at eval_assignment (D:\Github\bussin\src\runtime\eval\expressions.ts:83:52)
    at evaluate (D:\Github\bussin\src\runtime\interpreter.ts:21:35)
    at eval_program (D:\Github\bussin\src\runtime\eval\statements.ts:11:33)
    at evaluate (D:\Github\bussin\src\runtime\interpreter.ts:25:32)
    at D:\Github\bussin\src\main.ts:31:28
    at step (D:\Github\bussin\src\main.ts:33:23)
    at Object.next (D:\Github\bussin\src\main.ts:14:53)
    at D:\Github\bussin\src\main.ts:8:71

no matter if it's bs or bsx. i tried current commit, previous commit, and the earliest commit. The issue seems persistent.

objects apparently don't work, the properties aren't assigned and in fact the property value itself is undefined.

Found the issue. The code was assigning the temp object to a value before assigning its value.
Function "lookupOrMutObject()" in environment.ts should be replaced with
        if (expr.object.kind === 'MemberExpr') return this.lookupOrMutObject(expr.object as MemberExpr, value, expr.property as Identifier);

        const varname = (expr.object as Identifier).symbol;
        const env = this.resolve(varname);

        let pastVal = env.variables.get(varname) as ObjectVal;

        const prop = property
            ? property.symbol
            : (expr.property as Identifier).symbol;
        const currentProp = (expr.property as Identifier).symbol;

        if (value) pastVal.properties.set(prop, value);

        if (currentProp) pastVal = (pastVal.properties.get(currentProp) as ObjectVal);

        return pastVal;
    }```

    To fix the issue.

Fixed in v1.2.1


Fix homepage url

It's currently returning 404.

Types of Changes

Maintenance.

Contribution

[x] I agree to the Developer's Certificate of Origin 1.1.

Thanks for your contribution, apologies I missed it. It is now fixed.


Size issue of bubble chat on iPad

I use JSQMessagesViewController for my messaging app and recently I made the app universal but I saw an issue with the size of message bubble that not looks great on the iPad but come back to normal If I put the table in landscape mode.
Take a look on the prints and let me know what I should check ? May something need to be adjusted ?
Print 1: https://i.stack.imgur.com/M4sul.png
Print 2 (after turn the table in landscape mode and back to portrait): https://i.stack.imgur.com/qb7x6.png

Similar issue here.
I use split views for iPad and in the portrait mode, message bubbles are truncated, everything's ok in the landscape mode, though.
Portrait mode - https://snag.gy/NlPAdw.jpg
Landscape mode - https://snag.gy/21pHDS.jpg

Hi again,
No one can give us a clue about what can be wrong here ?

I'm having a similar issue. Mine comes up OK when the JSQMessagesViewController is initially loaded in landscape. When I rotate to portrait, the content area appears to stay the right size for landscape (a timestamp label that is "centered" in the VC's frame is actually off-center on the screen). When I rotate to landscape, the content area appears to shrink to a width that would be correct for portrait. Behavior seems to be the same when starting in portrait.
Xcode is also giving me a warning message in the console:

The behavior of the UICollectionViewFlowLayout is not defined because:
the item width must be less than the width of the UICollectionView minus the section insets left and right values, minus the content insets left and right values.
Please check the values returned by the delegate.
The relevant UICollectionViewFlowLayout instance is ,
and it is attached to:
• JSQMessagesCollectionView:

frame = (0 0; 1024 1252)
animations = { bounds=<CABasicAnimation: 0x1c502d8e0>; position=<CABasicAnimation: 0x1c502f0a0>; };
layer = <CALayer: 0x1c10396e0>;
contentOffset: {0, 0};
contentSize: {1366, 224};
adjustedContentInset: {0, 0, 44, 0}>

My setup is:
• iPad Pro 12.9" (Gen. 2)
• iOS 11 Beta
• Xcode 8.3.2 (8E2002)
The same setup, except swapping in an iPhone 7 Plus running iOS 11 Beta seems to work fine.

@mbm29414 Good Luck to get an answer.

Same issue for me. I'm 99% sure this was working and only broke recently. If I rotate the device it fixes. I've tried a few things including invalidating the collection view layout but it doesn't seem to help. I'm using the latest non-beta Xcode and iOS releases.

This seems like a similar issue to a previously fixed bug. Maybe it's resurfaced with an iOS update?

Solution:
I looked through some old pull requests and came across a closed one (not accepted) which will work as a temporary solution. As it wasn't accepted you will have to modify the source yourself but I had it working with just a couple minutes work.
This is the PR.

We will have to take a look into this. Thanks everyone who has contributed to this. It looks like we will be removing xib files in favor of a more programatic layout solution which should solve this issue in the future.

Hello everyone!
I'm sorry to inform the community that I'm officially deprecating this project. 😢 Please read my blog post for details:
http://www.jessesquires.com/blog/officially-deprecating-jsqmessagesviewcontroller/
Thus, I'm closing all issues and pull requests and making the necessary updates to formally deprecate the library. I'm sorry if this is unexpected or disappointing. Please know that this was an extremely difficult decision to make. I'd like to thank everyone here for contributing and making this project so great. It was a fun 4 years. 😊
Thanks for understanding,
— jsq


Router issues on local (happens after few mins running the server)

While working on styleguide locally, I get that error and after restarting it works fine

Can you reproduce this and if yes how?

@myueksel So I just clarified the issue with Thomas and the problem is:
When you make an update in any .md file the build will only build the changed file that's why the rest won't be visible anymore.
That's okay if you're working only on one file and opening it in the browser while updating it, but if you have multiple files you'd have to stick with re-starting the service like what we have done until we find a solution for this problem (or an improvement)

Tank you very much!
2017-08-24 14:07 GMT+02:00 Tony<EMAIL_ADDRESS>
@myueksel https://github.com/myueksel So I just clarified the issue
with Thomas and the problem is:
When you make an update in any .md file the build will only build the
changed file that's why the rest won't be visible anymore.
That's okay if you're working only on one file and opening it in the
browser while updating it, but if you have multiple files you'd have to
stick with re-starting the service like what we have done until we find a
solution for this problem (or an improvement)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/wholesale-design-system/styleguide/issues/10#issuecomment-324616614,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYs4-5Vr_qIch4GA-EeHuXnXb4YLHR16ks5sbWeCgaJpZM4OyLPU
.

--
Mehmet Yüksel
Visual UI Designer
Product Design
Retail Operations UX - Zalando SE
OFFICE
Zalando SE
Neue Bahnhofstr. 11-17
10245 Berlin
Germany
Mobile: +49 (0)152 567 723 29
Email<EMAIL_ADDRESS>Web: corporate.zalando.com
Jobs: jobs.zalando.de https://jobs.zalando.de/en/
Zalando SE, Tamara-Danz-Straße 1, 10243 Berlin
Company registration: Amtsgericht Charlottenburg, HRB 158855 B
VAT registration number: DE 260543043
Management Board: Robert Gentz, David Schneider, Rubin Ritter
Chairperson of the Supervisory Board: Lothar Lanz
Registered office: Berlin

closing.


WIP: *: update grpc-gateway dependencies

To try https://github.com/gengo/grpc-gateway/issues/82#issuecomment-230976983.
For https://github.com/coreos/etcd/issues/5865.
curl -L http://localhost:2379/v3alpha/kv/put -X POST -d '{"key": "Zm9v", "value": "YmFy"}'

curl -L http://localhost:2379/v3alpha/kv/range -X POST -d '{"key": "Zm9v"}'

curl -L http://localhost:2379/v3alpha/watch -X POST -d '{"request_union": {"create_request": {"key": "Zm9v"}}}'
# {"Error":"json: cannot unmarshal object into Go value of type etcdserverpb.isWatchRequest_RequestUnion","Code":2}

Closing via https://github.com/gengo/grpc-gateway/issues/82#issuecomment-231931632.
There's an incompatibility issue with gogoproto and golang/protobuf/jsonpb. Will file an issue to gogoproto.


Problem: Using previous release of 0.7.0_rc0

Should use https://github.com/crypto-com/chain-main/releases/tag/v0.7.0-rc1

Resolved by #41.


is support dynamic data (web socket) ?

Hi gpbl!
it is possible dynamic data  for x and y axis in chart?
How can i do it if possible?
Thanks!

Sure it is possible, what's your issue here? Fetch the data and then reassign the series' data to update it.


refactor: split exporter config

:white_check_mark: Build TheIdServer 4.5.4-feat-open-telemetry1-0012 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/2ba2002083 by @aguacongas)


Hosting for Jenkins shared resources

Repository URL
https://github.com/basil/shared-resources
New Repository Name
lib-shared-resources
Description
This is the equivalent of the following for the Jenkins project:

https://github.com/apache/maven-shared-resources
https://maven.apache.org/shared/maven-shared-resources/index.html

For now it just contains the Groovy Eclipse formatter configuration used in BOM and pipeline-library. This will allow me to de-duplicate that code. In the future we can store things in this repository like license headers, Checkstyle configuration, IntelliJ configuration, etc.
GitHub users to have commit permission
basil
Jenkins project users to have release permission
basil
Issue tracker
GitHub issues

Security audit, information and commands
The security team is auditing all the hosting requests, to ensure a better security by default.
This message informs you that a security scan was triggered on your repository.
It takes ~10 minutes to complete.
Commands
The bot will parse all comments, and it will check if any line start with a command.
Security team only:

/audit-ok => the audit is complete, the hosting can continue :tada:.
/audit-skip => the audit is not necessary, the hosting can continue :tada:.
/audit-required => the superficial audit was not sufficient, a deeper look is necessary :mag:.
/audit-findings => the audit reveals some issues that require corrections :pencil2:.

Anyone:

/request-security-scan => the findings from the security scan were corrected, this command will re-scan your repository :mag:.
/audit-review => the findings from the audits were corrected, this command will ping the security team to review the findings :eyes:.
	It's only applicable when the previous audit required changes.

Only one command can be requested per comment.

(automatically generated message, version: 1.15.11)

These checks seem like false positives.

The CodeQL Scan did not find anything dangerous with your plugin, congratulations! :tada:

/hosting host

Thank you!

You're welcome


Where to find the V3 SDK VS.Net project template?

Virtually all the training is currently available in BotFramework V3 SDK and they all are asking to install VS.Net Project template. Where can I download V3 SDK VS.Net project template?

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

ID: 1834d521-d197-2b65-f4cb-33daba23a876
Version Independent ID: 2541ba04-a274-1053-df7e-f2ff11b8fdf4
Content: Bot Framework SDK for .NET - Bot Service
Content Source: articles/dotnet/bot-builder-dotnet-overview.md
Service: bot-service
Product: bot-framework
GitHub Login: @RobStand
Microsoft Alias: kamrani

It is impossible to setup V3 SDK project.