Pre-fill with dynamically set value - eg: $("mydiv").val("2015-10-40")

Hello,
It's been 5 hours I'm trying to solve this now.
If I have "value" inserted directly into HTML input, pre-fill will work.
Example:
<input type="text" class="form-control pickadate" name="tasks_start_date" value="2015-10-21" id="task_start_date_edit">

<script>
    $('.pickadate').pickadate({
        format:"dddd, d !de mmmm !de yyyy",
        formatSubmit:"yyyy-mm-dd",
        hiddenName: true
    });
</script>

But if the "value" is populated by .val(), it won't.
<input type="text" class="form-control pickadate" name="tasks_start_date" id="task_start_date_edit">

<script>
    $(".edit-task-modal").click(function(){
       $('#task_start_date_edit').val("2015-10-21");
    });
    $('.pickadate').pickadate({
        format:"dddd, d !de mmmm !de yyyy",
        formatSubmit:"yyyy-mm-dd",
        hiddenName: true
    });
</script>

I've already tried everything, including starting and ending .picker via API on button click, etc... I'm available for Teamviewer debugging if you're willing.
Thanks.

This was my problem.
Use the API
// Using arrays formatted as [YEAR, MONTH, DATE].
picker.set('select', [2015, 3, 20])

// Using JavaScript Date objects.
picker.set('select', new Date(2015, 3, 30))

// Using positive integers as UNIX timestamps.
picker.set('select',<PHONE_NUMBER>654)

// Using a string along with the parsing format (defaults to `format` option).
picker.set('select', '2016-04-20', { format: 'yyyy-mm-dd' })

I set it using the data-value attribute:
<input type="date" data-value="2016-01-01">

@einfallstoll
You are the BEST! I spent 12 hours working on this. And that little change made all the difference.


Add enclosing namespace to unqualified references

When you refer to a previously defined schema using an unqualified name, and there's an enclosing namespace to work with, we need to join the two together to get the fully qualified name to look for — unless the unqualified name is one of the primitive types, in which case it should stay unqualified.

Thanks!


The header file for the reprojection operation.

Hello,
I was following the code you have made available for to understand the process of extracting and masking-reprojection. It was of great help. I have a doubt regarding one line in the reproject operation of montage_wrapper. The  reproject function uses a header file for reprojection. Can you give any hint regarding what header file is suitable to be used for that purpose?
Thanks.

Hello, I'm glad you found this code useful! The header file is effectively a text file with the WCS you want to reproject to. If you have a FITS image with the desired WCS you can use astropy.io.fits.Header.totextfile, or you can make a custom one with astropy.wcs. You can find more details in the Montage documentation. Unfortunately I don't believe I have the original header file for this on hand anymore.

Thank you for the explanation. I had this basic doubt. After obtaining the masked file (where sources are filled with white circular patches), you are performing reprojection and obtaining the image, where the white paches are removed and all foreground stars are also removed. Is that the reason you are doing reprojection? I am relatively new to this procedures. Can you suggest some alternative way out to achieve this,i.e, remove the white patches in the masked image with some pixel value, which is justified.
Secondly, I tried doing the following:

I am trying to mask objects in NGC2775 galaxy FITS image, taken from SDSS. From it's header I created a WCS object, which as the following information:

WCS Keywords
Number of WCS axes: 2
CTYPE : 'RA---TAN'  'DEC--TAN'
CRVAL : 137.584  7.03842
CRPIX : 500.5  500.5
PC1_1 PC1_2  : 1.0  0.0
PC2_1 PC2_2  : 0.0  1.0
CDELT : -0.00011  0.00011
NAXIS : 1000  1000
As apparent, the value of PC_i_j are taken as default value (diagonal matrix), which I am guessing to be incorrect.
Nevertheless, I extracted the header of the FITS Image using the astropy.io.fits.Header.totextfile and used it as header info for the reprojection.
The staus is '0', i.e, the reprojection was successful. But, The masked regions are still not covered and they appear as blank white circular patches.

Ah, I see—the reprojection step in this case resamples the masked image onto a much coarser pixel grid, which means that the masked regions are effectively filled in by the surrounding pixels. If you want to simply fill in the masked regions without reprojecting, you may want to try astropy.convolution.


duration property is ignored

Hi,
my code
<IOdometer :value="price" format="( ddd),dd" :format-function="formatSum" :duration="1500"></IOdometer>
i'm changing duration but animation is always 3s.

https://stackoverflow.com/q/59572951/381282


How can merge multi index file

Hi,
For example I have 2 folder, folder 1 I use GPTTreeIndex and save to index1.json. And folder 2 I save to index2.json.
So, now I want to load 2 index files. Ho can I do it?

You can use the GPTListIndex to merge multiple indices. The GPTListIndex takes a list of indices as an argument and merges them into a single index.
from llama_index import GPTListIndex

index = GPTListIndex([index1, index2])

You can then save and load the merged index as you would any other index.
Best,
Llama Index Team


Add "Find from here..." menu item for directories

This adds implicit dependency to findinfiles plugin/widget
which leads to spaghetti code if there are no instruments
to control them.
There SHOULD be a better way to do this. Maybe a convention
and a documentation. Or maybe command line tools (in case
Spyder itself won't start).

This was designed for stable branch. See #2400.


Problems with install

I am unable to install this package using pip.  I am new to python, so cannot really make out much from the error message below.  Any help will be greatly appreciated.

pip install py2docx
Collecting py2docx
Downloading py2docx-0.2.0.tar.gz
Collecting PIL>=1.0 (from py2docx)
Could not find a version that satisfies the requirement PIL>=1.0 (from py2docx) (from versions: )
Some externally hosted files were ignored as access to them may be unreliable (use --allow-external PIL to allow).
No matching distribution found for PIL>=1.0 (from py2docx)

I'm getting the same thing...

I think you will have to download the source files and run the setup.py. That is what I've learned from:
http://stackoverflow.com/questions/21242107/pip-install-pil-dont-install-into-virtualenv
Going to try it now.


Initial steps on setup KMM projects which include ios, android, web application, desktop

Hey team,
I saw the great example here: https://github.com/JetBrains/compose-jb/tree/master/examples/todoapp.
Can you give the tutorial on initial steps for setting up the project:

What is IDE for this kind of project.
Detail steps to setup an empty project.

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


kup

What You Are Seeing?
What is Expected?
What version of Cake are you using?
Are you running on a 32 or 64 bit system?
What environment are you running on?  Windows? Linux? Mac?
Are you running on a CI Server?  If so, which one?

How Did You Get This To Happen? (Steps to Reproduce)

Output Log

GIST LINK - Please create a gist and link to that gist here
OR
PLACE LOG CONTENT HERE

@sljubic I am going to go ahead and close this issue, as there doesn't seem to be any actual content.  If you intended to write something, please feel free to update it, and we can re-open.

@gep13 This has to be some kind of mistake. I didn't open this issue, so maybe there's some problem with my gh account. Will check it. My apologies for the inconvenience.

@sljubic gotcha. Not a problem.  Thanks for getting back to me.


Add "oraclejdk8" in Travis CI configuration file

think all other can be removed

At the current moment source & target versions equal 1.7 (pom.xml), so maybe it will be better to keep it for now? It allows to check correctness of build for 1.7, otherwise it will be better to add animal-sniffer-maven-plugin What do you think?

1.8 builds successfully 1.7 as target. BTW think it better to keep only oracle jdk 7 and 8. Or it will be too long builds on any pr

1.8 builds successfully 1.7 as target.
Yes, ofc. I mean that Java 8 & Java 7 have different classes in runtime libraries, so if we'd like to remove Java 7 from travis configuration it will be better to use Animal Sniffer to check that we still using only Java 7 compatible classes (during compilation under Java 8).

BTW think it better to keep only oracle jdk 7 and 8.
+1, I'll update PR asap.

PR was updated.


Provide an API to allow plugins to connect a task output directly as an input for another task

Currently, it is possible to take all of a task's outputs using task.outputs.files and attach them as an input to a task with an input property that accepts a FileCollection. However, there are several issues with this approach:
One, it is not possible to use this approach to consume a specific output or set of outputs of a task, rather than consuming all of the outputs of the task. For example, I cannot use this to wire in the class files produced by a Java compile task as inputs to another task but not wire in the generated source produced by the compile task. Or to  use the .lib file for a native windows DLL as input and not the .dll or .pdb file produced by the same link task, or use the Junit XML files produced by a test task and not the HTML reports it produces.
And two, it is not possible to use this approach for input properties that accept a single file rather than a set of files and directories.
These are clearly very common use cases. In these cases, plugin authors are forced to wire in 2 separate pieces of information to the consuming task: the location where the input file will end up, and a task dependency to the producing task. This is fragile and error prone:

It is easy to forget the task dependency, meaning builds can sometimes work by coincidence and other times not.
It is easy to query the output location of the producing task too early before all configuration of the producing task has completed, leading to a missing input when the consuming task runs.
Build logic that replaces the input with another must somehow remove the task dependency. It is easy to overlook this, and tricky to get right (e.g. is the task also producing some other input that is still required by the consuming task?)
Build logic that changes the task that produces the output must somehow replace the task dependency. Again easy to overlook and difficult to get right.

Expected Behavior
Build on the Provider concept and allow the outputs of a task to be referenced as a Provider of some kind that carries task dependency information, and allow the inputs of a task to be declared using these. Infer the dependencies of a task from the input providers.
Current Behavior
See above.

Closing this as done. Further improvements can be implemented as separate issues. Split out #2629 to add documentation.


updateOne and updateMany Response fields

Currently, updateOne and updateMany Response fields are missing some of the counts required.
Here's a sample response:
{"status":{"updatedIds":["7505ffec-47a0-4346-8ee3-72fd70ad09e5"]}}
But it's supposed to have below fields:

Field
Description

matchedCount
updateOne - always 1 in the case of updateOne and a document is found for the given filter updateMany - its the number of docs that matched the criteria

modifiedCount
updateOne - 1 in the case when a document is found and the modification is applied and 0 if any modification was not needed/appliedupdateMany - Number of docs the modification has been applied on.

upsertedId
true - when the upsert flag is present in the request and no doc was found for given filter and a new doc was inserted.false- when either 'upsert' flag is present not present in the request or if a doc was found on the db already for the given filter.This is applicable for both updateOne and updateMany

@kathirsvn @amorton Can you confirm on the upsertedId? I thought we discussed this field to have document id if we created a new document, because upsert flag set to true in request and no document found in DB for the given filter condition.

updateMany - its the number of docs that matched the criteria

@amorton Does this count going to be number of records read from the database based on the filter, if limit is 20 we read max of 20 records. If we need documents for the matched criteria we need to run count query separately.

@kathirsvn @amorton Can you confirm on the upsertedId? I thought we discussed this field to have document id if we created a new document, because upsert flag set to true in request and no document found in DB for the given filter condition.

@maheshrajamani yes you are correct. Let me fix the description of upsertedId.

I have added a note to the description that the source of truth is the API spec, all commands now how a response section see https://github.com/stargate/jsonapi/blob/main/docs/jsonapi-spec.textile#commands

@amorton Does this count going to be number of records read from the database based on the filter, if limit is 20 we read max of 20 records. If we need documents for the matched criteria we need to run count query separately.

@maheshrajamani  It will always be the number of rows we read from the filter including the limit, we will not nun a seperate query to get the total. If this is not clear in the spec let me know https://github.com/stargate/jsonapi/blob/main/docs/jsonapi-spec.textile#commands


upgrade cdk-2.8 to 2.9

Dear Rami,
I have upgraded the cdk library from 2.8 to 2.9. The build went successful. Could you check for regressions? And maybe if you agree to accept a pull request?
Kind regards,
René
cdk programmer

my mistake. I think it is gone no but double check me. thanks.

Thanks for your contribution @RvdPloeg


MVC functional test cleanup (part 1)

#3612 subpart 2 of 2
merge ActionConstraintsWebSite, AntiforgeryTokenWebSite and ContentNegotiationWebSite into BasicWebSite

remove tests depending on ErrorReporterMiddleware in merged sites; not used in BasicWebSite

delete CompositeViewEngineWebSite, Microsoft.AspNet.Mvc.ViewEngines.CompositeViewEngineTest covers cases
delete CorsMiddlewareWebsite, soon to be in Cors repo (see aspnet/CORS#57)
remove SendFileMiddleware from FilesWebSite, unused there

/cc @Eilon @rynowak

:shipit:

59824dc w/ minor touch-up in 900663b


Alt + Click to open link doesn't work

VSCode Version: Code 1.19.3 (7c4205b5c6e52a53b81c69d2b2dc8a627abaa0ba, 2018-01-25T10:32:23.601Z)
OS Version: Linux x64 4.13.0-32-generic
Extensions:

Extension
Author (truncated)
Version

haml
kar
1.1.0

Ruby
reb
0.16.0

Steps to Reproduce:

Enable Selection -> Use Ctrl + Click for Multi-Cursor
Try to open link in text editor or terminal with Alt + Click. It doesn't work :(

But if you choose Use Alt + Click for Multi-Cursor and try to open link by Ctrl + Click it works perfect.

Reproduces without extensions: Yes

This actually works now, I think this was fixed as part of another issue.
Note that you might also be having an OS-level conflict. I'm running on Ubuntu 17.10 which uses win+mouse to move the active window, on most Linux distros it is alt+mouse in which case alt+click won't work by design.

Thanks! Yes, it's an OS-level conflict. Sorry, I'm new to Ubuntu and its shortcuts.


Ensure all dependencies are present comment

For Go beginners, it might be valuable to state that there're instructions on how to build the operator and get dependencies prior to building sparkctl.

LGTM. Thanks for this! Looks like you need to sign the CLA so I can merge it.

I signed it!


Undeclared types on module variables

Types for variables on our modules are only being explicitly set when they consist of list or map. This prevents automated generation of a test suite with all modules (#105), as well as the problems listed on #103, repeated below. There are too many undeclared variables, so I have copied them into a gist. The following is an example of a valid snippet that would not trigger a build error:
variable "foo" {
  type        = "string"
  description = "bar"
  default     = "baz"
}

Omitting type = "string" is a test error. This guarantees that type errors are identical at every call site, as undeclared types will only be resolved at the callee, leading to potentially two modules resolving to different types. This also means that even though default = [] will infer type = "list", without adding it you will only find breakage if changing to another type once you use the changed variable at the call site.

I agree this is something we should do and be more consistent about when accepting PRs for new modules. I'll add a note about this in the WIP CONTRIBUTING.md doc I have.

about 1/3 or 1/2 of the way there..

This is resolved. All modules have been updated, but I'm unable to run undeclared-variables, so I'm going to close this and move on. We can reopen or open a new issue in the future if needed.


MongoDB issue

From Greg's email:
"I just installed a new VM and decided to setup EnTK from scratch.  All goes well until it comes time to register and connect to a mongodb service.  The one you use in your tutorial (mlabs.com) is no longer accepting new user accounts.  mLab is now part of MongoDB Atlas.  So I created an account, set up a free tier cluster, and associated a user with the database.
The problem comes in connecting to the database.  I get the connection string for the python driver, assign it to RADICAL_PILOT_DBURL, and run the "get_started.py" sample script."

Hi Greg, unfortunately mlab interface has changed and it is now difficult/impossible to use with RCT. I created a DB for you on one of our machines. I will share the endpoint and login details privately.

Thanks Matteo!  I tried the DB you provided seems to have done the trick and the "get_started.py" example runs.  The only hiccup (if it really is at all) is that, when closing the pilot manager, the process times out.  I ran the script three times and this occurs during each run.

The hiccup you experienced is a known issue with RP. I am afraid it will not be fixed any time soon as it requires a full rewriting of part of the system. Nonetheless, this should not affect your executions.


Extended return

Developers will want to programmatically analyze the result of conversion in a more detailed manner. Therefore, I suggest returning the validation and conversion results as well after conversion.
From the perspective of Clean Code, it's better to return a consistent type. See the examples below. If we use a Union as the return type, your IDE will be confused about the type of the returned variables.
In the case of func, the second variable must be an int, but we can see that Intellisense recommends autocompletion from both int and str.
In the case of func2, the autocompletion is limited to the designed targets.

I previously suggested setting up unittests. Returning the validation result along with the conversion will make it easier to write tests for the conversion process.

Developers will want to programmatically analyze the result of conversion in a more detailed manner. Therefore, I suggest returning the validation and conversion results as well after conversion.

Right. I believe that's how unit tests should be implemented.
Returning all that by default would be quite unwieldy, though. Huggingface's transformers have a bunch of arguments that control which outputs need to be returned (output_attentions, output_hidden_states), as well as how the outputs are organized (return_dict). Why not take the same route?

You are the owner of this project, which means you are responsible for maintaining a consistent structure. Users relying on the default settings might encounter issues if this implementation is merged directly. The return scheme you propose is quite common; I've seen it frequently in Deep Learning models. I understand your concerns. However, I personally disagree with them because many developers may have insufficient programming skills. The Hugging Face implementations are not entirely satisfactory either.

Let's deal with the first problem.
Case1 : If you want to preserve the behavior of the default setting.
Please see the example below.
from typing import overload, Tuple, Union, Any

class Model:
    """
    Description About the Model.
    """
    def func_from_model():
       pass

class ValidationResult:
    """
    Description About the ValidationResult.
    """
    status: str

@overload
def validate(accessory:Any) -> Tuple[Model, ValidationResult]:
    pass

@overload
def validate() -> Model:
    pass

def validate(accessory) -> Union[Model, Tuple[Model, ValidationResult]]:
    pass

 Toggle: Intellisense Example

If we use the overload, we can achieve both:

preserve the original default type
obtain more detailed Intellisense support

However, it has a limitation. Regardless of the value of accessory, the output type is denoted as Tuple[Model, ValidationResult].
Therefore, it's better to use accessory as a complete signal.
def common(accessory:bool):
    if accessory is True:
        return Model(), ValidationResult()
    else:
        return Model()

def current_case(accessory:Any = "None"):
    """
    If the `accessory` arg is detected in the function call syntax,
    The Accessory is also returned.

    Otherwise, this function returns only the Model.
    """

    if accessory is "None":
        return Model()
    else:
        return Model(), ValidationResult()

If we design the function like current_case, the output and the annotation(type hint) will be in sync.
It is programmatically well-designed, but not common. Users might find it confusing.
If you're interested, you can further improve this methodology.

Case 2: If preserving the default behavior is not necessary
This is actually a parallel topic.
I'm not sure what you mean exactly by "unwieldy".
If you think the Tuple type hint is unwieldy, I disagree.
Please see the example below:
from typing import Tuple, Dict

class KerasModel:
    pass

class PytorchNode:
    pass

class ValidationResult:
    pass

class ConversionResult:
    pass

def pytorch_to_keras(
) -> Tuple[KerasModel, object, Dict[PytorchNode, ValidationResult], Dict[PytorchNode, ConversionResult]]:
    """
    Parameters:
        Description about the KerasModel.
        Descriptions continued...
        ...
    """

output = pytorch_to_keras()

Developers can read all the output types, and you can add additional descriptions as docstrings for more details.
There are typically three options:

Tuple
Dict (not recommended)
pydantic.BaseModel

Tuple is not unwieldy, but it might not the best option either. Each has its pros and cons.
The choice depends on your preference.
Returning a consistent set of outputs (basically my argument, but enhanced by Sonnet3.5)
I disagree that returning all outputs by default would be unwieldy. In fact, I believe it's more consistent and potentially less problematic. Here's why:

Consistency: Always returning the same structure ensures consistency across different use cases. Users don't need to worry about different return types based on input parameters.

Memory efficiency: We're not actually returning all the objects, but just their references. The memory impact of returning unused outputs is negligible in most cases.

Simplicity: Having a single, consistent return structure can make the API simpler to use and understand. Users don't need to remember which flags to set to get specific outputs.

Future-proofing: If we always return all possible outputs, adding new output types in the future won't break existing code.

Performance: In many cases, the computation of these outputs (like attention weights) happens anyway. Not returning them doesn't save computation time.

While Hugging Face's approach with output_attentions, output_hidden_states, and return_dict offers flexibility, it also introduces complexity. Users need to remember these flags and their effects.
Instead of controlling which outputs are returned, we could focus on providing clear documentation and type hints. This way, users can easily ignore the outputs they don't need, while still having access to all information if required.
If memory usage is a concern in specific scenarios, we could provide separate methods or a context manager for memory-sensitive operations, rather than complicating the main API.
Comparison
Tuple
Tuples are simple to implement. Neither the project owner nor users need to write any additional code.
It's not ideal if we're likely to add more outputs in the future. output[2] from the previous version might be a different type in the new version.
Dict
You need to define a dictionary. For users, output[0] is shorter than output['model'].
At this cost, we gain better extensibility. Even if we add a new output, output['model'] is not affected.
It sounds good, but I don't recommend it. Let me explain the reason.
If you use the dictionary type, you'll type-hint like this:
output: Dict[
    Literal["model", "tensor", "validation_result", "conversion_result"],
    Union[
        KerasModel,
        object,
        Dict[PytorchNode, ValidationResult],
        Dict[PytorchNode, ConversionResult]]
]

If you check the autocompletion after output['model']., you'll see all the properties from KerasModel, object, and Dict.
This is definitely not ideal.
BaseModel
We can define the output in a more structured and detailed manner:
class OutputProps(BaseModel):
    output1: int
    output2: str

The IDE isn't confused about the type for each output name.
We can also write descriptions for each output using Field.
There are two disadvantages:

It's tiresome:
For each function, we need to define an additional class.

It hinders Intellisense functionality (critical):
We can't read the inner structure of OutputProps from Intellisense. Compare the two pictures below.
When I use models from Hugging Face, I find this very inconvenient.

Recommendation
As the Comparison section implies, I prefer Tuple the most.
pydantic.BaseModel is also a valid option and quite common in many Deep Learning libraries.
Dict is also a functionally good option, but it can't be considered "Clean Code".
If you're willing to use Tuple, I'd like you to check out one of my modules called intelli-type. It can be used to overcome some shortcomings of Tuple type output.
If you're interested, I can also implement a version with it and push the commit.

There must be many unfamiliar aspects to you.
I am an expert in Python type hints and Intellisense (limited to VSCode though), and this extends to Clean Code practices.
Therefore, I can't ignore the potential code smells from different architectures.
This is just my point of view. Clean Code is a double-edged sword and might not always be beneficial from an agile development perspective.
If you find it tiresome to read through all the details, I sincerely suggest we proceed as follows:

You don't need to take the too advanced aspects of type hints, Intellisense, and Clean Code into account for the implementation right now.
However, please read through them carefully at least once.
Just tell me your current preference. For example, the setup from Huggingface? But with more details.
I will refactor this branch according to your preference.
In the future, you might understand my points or not when you use the converter in practice.
If you think it needs improvement, you can revisit this page and refactor it.
If you don't, that's no problem. We will use the latest implementation. I will(have to) respect your preferences and will adhere to them if I make more pull requests.


50 implement validator for comment entity

You need to do a merge with the dev branch, because a lot of changes have been made


Letchworth Garden City missing?

Hi, thanks for the dataset - unfortunately it doesn't seem to contain Letchworth Garden City  https://en.wikipedia.org/wiki/Letchworth - which was founded in 1903.
I'm afraid I can't trust whatever the source of this is if it doesn't contain towns created over a century ago! :')

Towns are NOT accurate. IIRC that used to be in the readme but must have got lost somewhere. The dataset is for out codes which often covers multiple towns. For example SG6 is currently resolving to Hitchin.
If you are looking for more accurate towns you will need to use a full data set which with Ordnance Survey provides. https://www.ordnancesurvey.co.uk/opendatadownload/products.html

Ah, OK - thanks for the clarification :)


Add NavigationLink function to change navigation map

Adds NavigationLink function to change navigation map.
fixes https://github.com/godotengine/godot/issues/95446
Navigation link version of region PR https://github.com/godotengine/godot/pull/77191

Thanks!

Cherry-picked for 4.3.1.


Import New Data Process

I did some quick testing using MinIO to determine what happens on import of new data.
When new data is imported the system doe the following:

It replaces all video items with a new video item.
It leaves existing folders and doesn't replace them.  This is important because existing folders will contain the annotations for specific video names so they aren't removed.
The new items in the video aren't connected to folder so I updated the ingest/generate segments endpoint so it will reconnect the videos back up so they are able to be used again.
Deleted elements in the folders aren't automatically removed.  They exist as items but when accessed and no longer be viewed.

Solution:
Hook into the current S3 import event Like Dive does (https://github.com/Kitware/dive/blob/9af007009b85ef2504391d8d750ea4735b998c16/server/dive_server/init.py#L60-L65).   Before import check to see the current files that exist and then compare them will all of the new files.  If a file existed and no longer is found in the S3 Import list set it's dataset metadata to annotate=false.  This will show an error to a user if they attempt to access it.
At the end of the import process run the recursive segment generation so it will re-link video files and generate segments for any new videos.
NOTE: can use the GET /assetstore/{id}/files endpoint to get a list of files the S3 bucket previously imported.

Little modifications were done because import is based on a per-file basis and there is no signal once all files have been imported.
So the removal of deleting video files was not possible.  Instead a error message is presented to user when they reach a video that has been deleted.  An admin can then go in from there and update/delete the files if necessary.
This is closed with pr #70


use lazy.nvim

credit goes to @Uzaaft

I am getting too many errors. When Updated

Am I missing something?
My OS is MacOS Ventura 13.1

Did you update to the newest LunarVim?

Yes

These are deprecation errors. Perhaps clean install everything first?

The errors are related to your plugins. Have you:
Updated the config to the newest version available in this repo?
If yes, perhaps start off with the basic lunarvim config, and go on from there.

Okay! Thanks for helping.

No worries. :)

@abzcoding  pinging you here since I think it's an lazy.nvim issue.
Did latex functionality break for you? whenever I write for.ex:
$ \beta $

in a latex project, it disappears for me.

Example of how it looks when I select the section in visual mode, and without. As you can see, the signs are just empty

Example of how it looks when I select the section in visual mode, and without. As you can see, the signs are just empty

i don't have this particular issue, but my tex setup is broken as well ( it doesn't autocompile) which i'm investigating rn

Dang it. Guess it might have something to do with my wezterm or fonts then.


improved wording on sequence all and any method docs

Fixes https://github.com/wren-lang/wren/issues/893

Why did you closed that?

Why did you closed that?

Even if more more valid than before, the statement is technically wrong, the predicate only needs to return truthy/falsy values. This was made so that predicate could also act as/work with a map function.
Don't add find documentation, I handled it in the push request I issued.

I personally don't know how to document this behaviour.

Even if more more valid than before, the statement is technically wrong, the predicate only needs to return truthy/falsy values. This was made so that predicate could also act as/work with a map function.
Don't add find documentation, I handled it in the push request I issued.

I personally don't know how to document this behaviour.


fix coverage when wrong simplecov

Looks good, will try to add support for the other json formatter later. Can you do a rebase? Just added support for customizing the timeout just now.

Looks good, will try to add support for the other json formatter later. Can you do a rebase? Just added support for customizing the timeout just now.

done

Okay! I have added support for simplecov-json too. Can you try if that works on your end? Will be merging this in


[HOTFIX] Enhanced compatibility with Spark's FilePartition interface

Why is this PR needed?
Input type of Spark's FilePartition will change from Seq to Array.
We shall create filepartition by entering ARRAY type, which is compatible with both Array and Seq.
What changes were proposed in this PR?
create filepartition by entering ARRAY type, instead of entering Seq type.
Does this PR introduce any user interface change?

No

Is any new testcase added?

No

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2441/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2444/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/736/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2446/

Build Success with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/738/

Build Failed  with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/757/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2465/

Build Failed  with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/761/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2469/

Build Failed  with Spark 2.4.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbon_PR_Builder_2.4.4/762/

Build Failed  with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12545/job/ApacheCarbonPRBuilder2.3/2470/

@marchpure : please reply to the comments and get it merged.


Remote connection config uses wrong state

When you manage remote connection (add, edit) we have some issues:

after adding a connection, when you edit it to change port, you see the port changed in the list, but if you open "edit" dialog again you see old port. close without saving, edit again and the port is correct
after changing name of the connection, existing browser tabs with this connection break

I have a fix for first problem and I have some suggestions:

add hidden, generated "id" field, which is not changed during edits - then con parameter contains the id instead of name (which may contain spaces and other URL-unfriendly characters)
in the top bar, when showing the remote tab, we may have a connection name with connection status, so user knows whether this tab is main or remote

This is a result of investigation related to hawtio/hawtio#3178 and #705

@tadayosi @phantomjinx WDYT about adding a state to top bar for Hawtio instances showing remote Jolokia agents?
main Hawtio:

connect tab of Hawtio (connected and disconnected):

BTW, in Hawtio 1.4 we had recent connections:

@grgrzybek

in the top bar, when showing the remote tab, we may have a connection name with connection status, so user knows whether this tab is main or remote

Sounds great to me. The proposed change also looks great.
On the other hand, for the first part (and the original issue):

after adding a connection, when you edit it to change port, you see the port changed in the list, but if you open "edit" dialog again you see old port. close without saving, edit again and the port is correct
after changing name of the connection, existing browser tabs with this connection break

I think it's actually a corner case and the users wouldn't face the issue in most cases as I don't think the connection list is something the normal users would change so frequently.
That said, if we really want to fix it, I think it's ok to introduce the permanent ID instead of name, but then please make sure that the changes don't affect the import/export format of JSON and keep backward compatibility, because I assume it's something the users would share and maintain within their teams even since Hawtio v2.
Also, I'd suspect that the root cause of the issue is in the way the Connect plugin (and its service) is implemented.
https://github.com/hawtio/hawtio-next/blob/main/packages/hawtio/src/plugins/connect/connections.ts
The plugin is actually the initial prototype of the hawtio-next implementation, and I initially tested React's context & reducer combination (just like Redux) before reaching the current (more conservative) singleton services approach but then reached a conclusion that it's a bit of over engineering for the state management for Hawtio as the state in Hawtio mainly just comes from the Jolokia endpoint.
So I guess that refactoring the Connect to the singleton service approach in the same way as the rest of plugins should be an ideal way to fix the issue.

@grgrzybek

in the top bar, when showing the remote tab, we may have a connection name with connection status, so user knows whether this tab is main or remote

Sounds great to me. The proposed change also looks great.

OK - it's quite easy, but to be fair, a little change is required to Plugin interface. Why?

I thought that it'd be nice to use plugin.headerItems field and it was ok, however isActive() for connect plugin returns true only for main Hawtio window (without con parameter, which is rational).
So I added 2nd hawtio.addPlugin() call to packages/hawtio/src/plugins/connect/index.ts with different isActive which is true only for windows with con parameter
However this required a change to Plugin interface - I made title, path and component fields optional, because I wanted a plugin which contributes only header items. Locally everything works fine without any disruptions.

If you think it's too invasive change, let me know. I can't think of any other way to create a plugin that doesn't have a left-side menu item and doesn't have a path, only header item contributions...

On the other hand, for the first part (and the original issue):

after adding a connection, when you edit it to change port, you see the port changed in the list, but if you open "edit" dialog again you see old port. close without saving, edit again and the port is correct
after changing name of the connection, existing browser tabs with this connection break

I think it's actually a corner case and the users wouldn't face the issue in most cases as I don't think the connection list is something the normal users would change so frequently.
That said, if we really want to fix it, I think it's ok to introduce the permanent ID instead of name, but then please make sure that the changes don't affect the import/export format of JSON and keep backward compatibility, because I assume it's something the users would share and maintain within their teams even since Hawtio v2.

I implemented "id" locally and everything works - I only didn't check import/export.

Also, I'd suspect that the root cause of the issue is in the way the Connect plugin (and its service) is implemented. https://github.com/hawtio/hawtio-next/blob/main/packages/hawtio/src/plugins/connect/connections.ts The plugin is actually the initial prototype of the hawtio-next implementation, and I initially tested React's context & reducer combination (just like Redux) before reaching the current (more conservative) singleton services approach but then reached a conclusion that it's a bit of over engineering for the state management for Hawtio as the state in Hawtio mainly just comes from the Jolokia endpoint.
So I guess that refactoring the Connect to the singleton service approach in the same way as the rest of plugins should be an ideal way to fix the issue.

Actually the problem is here: https://github.com/hawtio/hawtio-next/blob/9cd5b02/packages/hawtio/src/plugins/connect/remote/ConnectionModal.tsx#L115-L123
clear() is called for add and edit which calls setConnection(input) in both cases. The fix is to:

call setConnection(input) on add
call setConnection(connection) on edit

I checked and it works.
Anyway - before I send PR I'll verify few more things. The reason I started working on it is #705.

OK, let's fix it altogether as you propose.

PR: #932


Type definition file refers to files that don't exist in the build

The index.d.ts file that is generated refers to files in the vanilla folder.
This folder does not exist anymore in the npm package.
Therefore the typings break.

Hello @korsvanloon,
Thank you for reporting this. You’re right, it’s because the folder is not included in the files array in package.json, but it should be there.
I’ll release a patch fix as soon as possible and will let you know when it’s ready to consume.
Kindly,
David

Hi again @korsvanloon,
Release v.3.0.17 should include the missing type definition files. Enjoy!
Best,
David

Very quickly! Thank you so much!


Fine details of images got destroyed!

Hi Kelvin,
Overall, most of the processed images look great excepting all fine details of images get completely destroyed (see attached images).  Are there any ways to combat this issue using the current RealBasicVSR_x4.pth pretrained model or perharps if you could help updating the pretrained model?  Thanks!

I meet this situation too


update dependencies

updated dependencies to make our application compatible with latest version of flutter and kotlin and make it run successfully

Thank you!


[Feature request] add mermaid support

Clear and concise description of the problem
https://github.com/vuepress/vuepress-next/issues/801
https://github.com/vuepress/vuepress-next/issues/76
Suggested solution
add mermaid support
Alternative
No response
Additional context
No response

https://vuepress-theme-hope.github.io/v2/md-enhance/guide/mermaid.html


Patches from GitHub

There are some nice patches in GitHub:
CMake: https://github.com/rjeczalik/rapidjson
DeepCopy:
https://github.com/scanlime/rapidjson/commit/0c69df5ac098640018d9232ae71ed1036c6
92187

Would be cool to integrate these
and to have a central GitHub repository maybe.

Original issue reported on code.google.com by Artemciy on 27 Mar 2014 at 9:53

The repository has been officially moved to https://github.com/miloyip/rapidjson
New features (patches) will be considered.
But fixes will be of higher priority at the moment.

Original comment by<EMAIL_ADDRESS>on 20 Jun 2014 at 11:24

Changed state: Done

Wouldn't the idea of moving the development to gh be worth your consideration,
@miloyip? I guess the lack of a "Pull request" feature here on code.google.com
makes it harder to contribute back the patches. There's already a discussion on
this [1].

[1] https://github.com/miloyip/rapidjson/issues/1

Original comment by<EMAIL_ADDRESS>on 26 May 2014 at 2:49

Also: https://github.com/pah/rapidjson

Original comment by Artemciy on 29 Mar 2014 at 9:47

Hell yeah.

Original comment by Artemciy on 20 Jun 2014 at 11:25


Fixing typo.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

This is fixed in Hugo Docs now so this PR can be closed.
REF: https://github.com/gohugoio/hugoDocs/blob/master/content/en/content-management/multilingual.md

@coliff Thank you, closing this.


Memory Leak

Bug
Hi,
I created, the following short C# program containing a memory leak. The result seems to be connected to how Rx.NET works internally. It seems to me that this is incorrect behaviour, but maybe you can explain why it is not - otherwise, I report this issue.
class Program
{
private static int _counter = 0;
private static WeakReference<Subject> weakRef;
    static void Main(string[] args)
    {
        DoStuff();

        GC.Collect();

        Thread.Sleep(1000);

        GC.Collect();

        var s = weakRef.TryGetTarget(out var subject);
        subject?.OnNext("T"); //EXPECTED TO BE NULL
        Console.WriteLine("COUNTER: " + _counter); //PRINTS 40.000, EXPECTED 0
        Console.ReadLine();
    }

    static void DoStuff()
    {
        var subject = new Subject<string>();
        weakRef = new WeakReference<Subject<string>>(subject);

        for (var i = 0; i < 40_000; i++)
        {
            _ = Do(subject);
        }
    }

    static async Task Do(IObservable<string> o)
    {
        var _ = await o.FirstAsync();
        Interlocked.Increment(ref _counter);
    }
}

Despite our best efforts, bugs can slip into releases or corner cases forgotten about. We will try our best to remedy the situation
and/or provide workarounds. Note that certain (odd) behaviors are by design and as such are not considered bugs.

Which library version?
4.4.1
What are the platform(s), environment(s) and related component version(s)?
.NET Core 3.1.301
What is the use case or problem?
Avoiding explicitly disposal of observables

What is the expected outcome?
0 should be printed to the console.
What is the actual outcome?
40000 is printed to the console.
What is the stacktrace of the exception(s) if any?
N/A
Do you have a code snippet or project that reproduces the problem?
As above.

subject?.OnNext("T"); //EXPECTED TO BE NULL

Why would you expect that? In fact, the continuation in Do keeps a reference on the subject. After OnNext provides a value, FirstAsync completes asynchronously and increments the counter. Looks like correct behaviour.

I guess because nothing is holding a reference to the created tasks and the subject. As such I would expect all the tasks and the subject to be garbage collectable. Was just curious about the semantics of Rx.NET.

Nothing to do with Rx. The async method is still considered to be "in-flight", even when there is no reference held on the task returned by Do. As a result, the subject stays in scope.

Ok, thanks for clarifying :)


Environment variables from parameter file are encapsulated in quotes

Is this a BUG REPORT or FEATURE REQUEST?: BUG REPORT
What happened: Environment variables from parameter file are encapsulated in quotes.
What you expected to happen: I expected the environment variable to be set to the correct value without adding quotes to the string.
How to reproduce it (as minimally and precisely as possible):
Given the following workflow:
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: hello-world-
spec:
  entrypoint: dump-env
  templates:
  - name: dump-env
    container:
      image: alpine:latest
      command: [env]
      env:
        - name: 'ENDPOINT'
          value:  '{{workflow.parameters.ENDPOINT}}'

with the following parameter file:
ENDPOINT: https://storage.googleapis.com/

Invoked like this:
➜  Argo argo submit --parameter-file minimal.yaml minimal-workflow.yaml
Name:                hello-world-gzxzp
Namespace:           default
ServiceAccount:      default
Status:              Pending
Created:             Wed Oct 30 12:45:46 +0100 (now)
Parameters:
  ENDPOINT:          "https://storage.googleapis.com/"
➜  Argo

You see ENDPOINT is set with quotes within the environment variable itself. What I expected was this to be set to the content of the string, without quotes.
I now have to cleanup the environment variables before I can use them.
Note that integer values are correctly set.
Anything else we need to know?:
Environment:
➜  Argo argo version
argo: v2.4.2
  BuildDate: 2019-10-21T18:39:52Z
  GitCommit: 675c66267f0c916de0f233d8101aa0646acb46d4
  GitTreeState: clean
  GitTag: v2.4.2
  GoVersion: go1.11.5
  Compiler: gc
  Platform: darwin/amd64
$ argo version

Kubernetes version :

➜  Argo kubectl version -o yaml
clientVersion:
  buildDate: "2019-09-18T14:47:22Z"
  compiler: gc
  gitCommit: 8fca2ec50a6133511b771a11559e24191b1aa2b4
  gitTreeState: clean
  gitVersion: v1.14.7
  goVersion: go1.12.9
  major: "1"
  minor: "14"
  platform: darwin/amd64
serverVersion:
  buildDate: "2019-09-18T14:39:02Z"
  compiler: gc
  gitCommit: 8fca2ec50a6133511b771a11559e24191b1aa2b4
  gitTreeState: clean
  gitVersion: v1.14.7
  goVersion: go1.12.9
  major: "1"
  minor: "14"
  platform: linux/amd64

PS: I'm otherwise super happy with Argo. It is a very useful tool for me and it sparks joy.

Note that if I set the variable directly in the workflow it is set correctly.
It seems there is a bit much quoting happening when parsing the parameter file.

Have you thought about contributing a fix? Looks like this one line needs a strconv.Unquote(...):
https://github.com/argoproj/argo/blob/12b983f4c00bda3f9bedd14a316b0beade6158ed/workflow/util/util.go#L222

I'm otherwise super happy with Argo. It is a very useful tool for me and it sparks joy.

Glad to hear!

Thanks for the welcoming attitude, Simon. I've made an attempt at a fix.

Welcome @perbu to Argo community.  I will review your PR.

#1733 merged.


Searching on meta.source returns unexpected resources types

Post'ing the following patient:
{
  "resourceType": "Patient",
  "id": "example",
   "meta": {

    "source": "john"
  },
  "text": {
    "status": "generated"
  },

  "active": true
}

and the following practitioner:
{
  "resourceType": "Practitioner",
  "id": "1853",
  "meta": {

    "source": "fun"
  },
  "identifier": [ {
    "use": "official",
    "value": "hd3x0YUzVejbUaMeFaVx00zGmkaviov6kV4o9MIeCoo="
  } ],
  "active": true
}

-and I do a search like fhir/Patient?_source=fun - it returns the Practitioner resource -and the reverse is also true: doing a search on e.g. fhir/Practitioner?_source=john returns the Patient

On 6.5.0-SHAPSHOT that is


Update python-based-visualizations.md

Fix broken links.

Thanks @hirokinko for submitting this PR.
/assign @joeliedtke

Preview: https://deploy-preview-1967--competent-brattain-de2d6d.netlify.app/docs/pipelines/sdk/python-based-visualizations/

/ok-to-test

/lgtm
/approve
Thanks for fixing these links, @hirokinko!

Thanks!


Custom extended Activity not working on Nativescript 7

Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
✔ Getting NativeScript components versions information...
✔ Component nativescript has 7.0.11 version and is up to date.
✔ Component @nativescript/core has 7.0.12 version and is up to date.
✖ Component @nativescript/ios is not installed.
✔ Component @nativescript/android has 7.0.1 version and is up to date.
Months before, same code worked fine and I was able to start custom activity (and custom application) but I don't know what happened. I tried on new projects to reproduce steps but I always get the same error:

Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException: Error calling module function System.err: Error: com.tns.system.classes.loading.LookedUpClassNotFound: Class "a.b.NativeScriptActivity" not found. System.err: File: (/data/data/org.nativescript.testing/files/internal/ts_helpers.js:154:25) System.err: System.err: StackTrace: System.err: (/data/data/org.nativescript.testing/files/internal/ts_helpers.js:154:26) System.err: at __decorate(/data/data/org.nativescript.testing/files/internal/ts_helpers.js:13:19) System.err: at ./app/core/android/activity.ts(file: src/app/core/android/activity.android.ts:5:25)...

Activity ts file is activity.android.ts. I put on JavaProxy decorator "a.b.NativeScriptActivity". Same on Android Maifest. Also added entry on AppComponents array on webpack.config.js
** I tried several times with new projects and always get same result.

@busslina share your custom activity code - perhaps you forgot to add the @NativeClass decorator after the upgrade?
Some details in the release blog post: https://nativescript.org/blog/nativescript-7-announcement/

I am also facing the same issue

@athirarenjan see docs: https://docs.nativescript.org/advanced-concepts.html#custom-application-and-activity And if you still have questions/issues, please use Discord, or Discussions in the https://github.com/NativeScript/NativeScript repo.

I am still facing issue with Nativescript extended activity.
`

|
-- | --
An uncaught Exception occurred on "main" thread.Unable to instantiate activity ComponentInfo{com.alstom.crewnection/com.alstom.crewnection.LockScreenActivity}: java.lang.ClassNotFoundException: Didn't find class "com.alstom.crewnection.LockScreenActivity" on path: DexPathList[[zip file "/data/app/~~sktL7T4Iv3xsvP6Tu1uylw==/com.alstom.crewnection-ag0Mq1Z2vCTKMPerkS7ahg==/base.apk"],nativeLibraryDirectories=[/data/app/~~sktL7T4Iv3xsvP6Tu1uylw==/com.alstom.crewnection-ag0Mq1Z2vCTKMPerkS7ahg==/lib/arm, /data/app/~~sktL7T4Iv3xsvP6Tu1uylw==/com.alstom.crewnection-ag0Mq1Z2vCTKMPerkS7ahg==/base.apk!/lib/armeabi-v7a, /system/lib, /system/system_ext/lib]]StackTrace:java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{com.alstom.crewnection/com.alstom.crewnection.LockScreenActivity}: java.lang.ClassNotFoundException: Didn't find class "com.alstom.crewnection.LockScreenActivity" on path: DexPathList[[zip file "/data/app/~~sktL7T4Iv3xsvP6Tu1uylw==/com.alstom.crewnection-ag0Mq1Z2vCTKMPerkS7ahg==/base.apk"],nativeLibraryDirectories=[/data/app/~~sktL7T4Iv3xsvP6Tu1uylw==/com.alstom.crewnection-ag0Mq1Z2vCTKMPerkS7ahg==/lib/arm, /data/app/~~sktL7T4Iv3xsvP6Tu1uylw==/com.alstom.crewnection-ag0Mq1Z2vCTKMPerkS7ahg==/base.apk!/lib/armeabi-v7a, /system/lib, /system/system_ext/lib]] at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3718) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:4003) at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85) at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135) at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2317) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:246) at android.app.ActivityThread.main(ActivityThread.java:8595) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:602) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1130)Caused by: java.lang.ClassNotFoundException: Didn't find class "com.alstom.crewnection.LockScreenActivity" on path: DexPathList[[zip file "/data/app/~~sktL7T4Iv3xsvP6Tu1uylw==/com.alstom.crewnection-ag0Mq1Z2vCTKMPerkS7ahg==/base.apk"],nativeLibraryDirectories=[/data/app/~~sktL7T4Iv3xsvP6Tu1uylw==/com.alstom.crewnection-ag0Mq1Z2vCTKMPerkS7ahg==/lib/arm, /data/app/~~sktL7T4Iv3xsvP6Tu1uylw==/com.alstom.crewnection-ag0Mq1Z2vCTKMPerkS7ahg==/base.apk!/lib/armeabi-v7a, /system/lib, /system/system_ext/lib]] at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:207) at java.lang.ClassLoader.loadClass(ClassLoader.java:379) at java.lang.ClassLoader.loadClass(ClassLoader.java:312) at android.app.AppComponentFactory.instantiateActivity(AppComponentFactory.java:95) at androidx.core.app.CoreComponentFactory.instantiateActivity(CoreComponentFactory.java:43) at android.app.Instrumentation.newActivity(Instrumentation.java:1253) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3706) ... 11 more

`

Is it resolved? I am also facing the same issue.

I resolved it switching to Flutter https://flutter.dev/

@busslina Ah, the age-old solution of "when in doubt, switch to another project." We'll make sure to add that to the documentation under "troubleshooting tips." Thanks for sharing, truly invaluable input.

@busslina Ah, the age-old solution of "when in doubt, switch to another project." We'll make sure to add that to the documentation under "troubleshooting tips." Thanks for sharing, truly invaluable input.

I really tried to use Nativescript at that moment. I don't give up easily but... Flutter is wonderful, and I'm not getting paid to say that.. haha

Is it resolved? I am also facing the same issue.

I resolved it switching to Flutter https://flutter.dev/

People are usually leaving comments explaining how they resolved their issue for others to find it helpful in the future.
This is more like an opinion camouflaged into a how-to-solve feedback since you decided to switch to another framework.

@busslina Ah, the age-old solution of "when in doubt, switch to another project." We'll make sure to add that to the documentation under "troubleshooting tips." Thanks for sharing, truly invaluable input.

I really tried to use Nativescript at that moment. I don't give up easily but... Flutter is wonderful, and I'm not getting paid to say that.. haha

And I see that community really tried to assist considering this answer: https://github.com/NativeScript/android-runtime/issues/1644#issuecomment-722499009
Solving an issue requires communication from both sides and I see you didn't provide any further feedback after your first post.
You moved to Flutter, good for you but I don't see the point of trying to indirectly express your dissatisfaction, especially a year after the issue was marked as closed.

If I would have solved that problem I would write how for the advantage of every one. I did't. Maybe my comment was a little bit spicy. I don't want to bother any one. And I think in the distance that Nativescript maybe has been developped in a good way since the moment that I get divorced of it. Good day

It seems to be a sarcastic comment. But thinking backwards in the moment I wrote that: I was cleaning my Gmail and I saw that unopened mail (this issue). So I wanted to answer what I did after this problem happend to me. It is what it is. I moved to Flutter. I think is not a bad comment. Maybe someonre that reads it can know about Flutter thanks to me. Is not unrespectful. And is not Spam (a very short message).
The garbage came after that message. Now there are 4-5 message that are not useful. If both of you agree we can delete all of that messages for the good of all.


Exception Handling

Hello,
What is the intended behaviour of a plugin raising an exception?
e.g.
  "plugins": {
    "ext-plugin-pre-req": {
      "allow_degradation": false,
      "conf": [
        {
          "name": "netsuite-authenticator",
          "value": "this is invalid json config"
        }
       ]
      }
    }

    def config(self, conf: Any) -> Any:
        """
        Parse plugin configuration
        :param conf:
        :return:
        """
        try:
            conf_json = json.loads(conf)
        except ValueError as e:
            raise Exception("Configuration is invalid json")

        return conf_json

2022-10-07 07:11:42,257 - INFO - request type:2, len:1792
2022-10-07 07:11:42,260 - ERROR - execute plugin `netsuite-authenticator` AnyError, ('Configuration is invalid json',)
2022-10-07 07:11:42,260 - INFO - response type:2, len:16

However apisix ignores the plugin and continues with the request to the upstream. This same occurs even if the exception is thrown in the filter() method.
I would prefer the ability to control this behaviour and I was expecting allow_degredation in apisix config to control the behaviour, but it seems this only apply to the plugin runner process itself, not errors from the plugin.
In some cases I also see the following errors immediately after the starting the plugin in dev mode due to the config token caching mechanism.
2022-10-07 07:37:13,104 - INFO - request type:2, len:1792
2022-10-07 07:37:13,106 - ERROR - token `1` cache acquisition failed
2022-10-07 07:37:13,106 - INFO - response type:2, len:16

Again, apisix ignores the plugin and continues with the request to the upstream, but I would rather it didn't.
I believe this is happening because the plugin runner is always returning a successful RPC response, but the "action" in the response isn't set to either stop or rewrite, so apisix just assumes the plugin didn't want to do anything.

Hi, I checked the logic of the code. Let me try to answer these questions for you.

apisix ignores the plugin and continues with the request to the upstream

In python-plugin-runner.

https://github.com/apache/apisix-python-plugin-runner/blob/master/apisix/runner/plugin/core.py#L92-L94

https://github.com/apache/apisix-python-plugin-runner/blob/master/apisix/runner/server/handle.py#L83-L87

In apisix/plugins/ext-plugin.

https://github.com/apache/apisix/blob/master/apisix/plugins/ext-plugin/init.lua#L566

Since python-plugin-runner does not modify ty's original type RPC_HTTP_REQ_CALL, apisix ignores the error, which seems to be an implementation problem with python-plugin-runner. 🤔
Also, errors logged by config() are only logged in the execute() of python-plugin-runner, but are not passed to the function that calls execute(), and so are not passed to apisix.

allow_degredation

If the ty type problem described above can be modified, it should be possible to get some errors here so that the allow degradation should behave appropriately. 🤔
I'm not familiar enough with the code. @bzp2010 Pls help me check this.


dependabot: Fix groups

Update rules to match at the org level for docker and moby.
Hopefully this will fix this error message:
updater | 2024/08/28 03:32:00 WARN <job_875214778> Please check your configuration as there are groups where no dependencies match:

docker

This can happen if:

the group's 'pattern' rules are misspelled
your configuration's 'allow' rules do not permit any of the dependencies that match the group
the dependencies that match the group rules have been removed from your project

And actually group those PRs.

For instance, the following PRs should be grouped after this change:

#3409
#3407
#3408

Can you please add the Fixes: before merging?

I merged it right away. I don't think we are going to backport it and since it's not related to code I don't see a reason to have a fixes prefix there.


Typo in direction #1 "assert.deepEqual(array, [1,2,3,4,5,6]," is unnecessary and should be removed

Challenge Waypoint: Concatenate Strings with concat has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.2; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
var array = [1,2,3];

var concatMe = [4,5,6];
// Only change code below this line.

array = array.concat(concatMe);

// Only change code above this line.
(function() {return array;})();

Typo in direction #1 "assert.deepEqual(array, [1,2,3,4,5,6]," is unnecessary and should be removed

The assert part is there to indicate what the test case is testing. However, I think you did discover a typo as the closing ) is missing and there is an unclosed apostrophe that starts the sentence.
assert.deepEqual(array, [1,2,3,4,5,6], 'You should concat the two arrays together.

Good catch and thanks for the report! I am currently in the middle of constructing a PR that will fix this typo and some others present in the OOP and Functional programming waypoints. I'll link it to this issue when I've finished it! :smile:


Bad Hexdocs URL in About section

Should be https://hexdocs.pm/hammer/ instead of https://hexdocs.pm/ExHammer/hammer

Thanks for opening this issue!
Can you be more specific where you're seeing this? I can't find any references to https://hexdocs.pm/ExHammer/hammer in the (current) codebase.

I'm sorry, I wasn't specific enough. It was talking about the Github repo's About section:

Ah, the sidebar, the one place I never look :sweat_smile:
Thanks!


Runtime error when using width or height attributes on svg elements

Setting the width or height attributes on a svg element casuses a runtime error (in Windows Chrome and Firefox at least):
Uncaught TypeError: Cannot assign to read only property 'height' of object '#<SVGSVGElement>
    at coconut_vdom__$Html_Svg.setSvgProp (client.js:4618)
    at coconut_vdom__$Html_Svg.create (client.js:4675)
    at coconut_diffing_Differ.createNative (client.js:3856)
    at Object.native (client.js:3652)
etc.

The same goes for polygon points attribute:
<polygon points="16.172 . . ."/>
Causes the same kind of runtime error.

I assume you are using coconut, if so, please specific which backend you are using.

Yes, the error occurs at runtime when rendering through coconut.vdom.
For example, adding a width attribute to the svg in this example and rendering through coconut.vdom causes the error.

Closed this one - Created a pull request in coconut.vdom with simple solution.


Make halving heights configurable for custom networks and regtests

There had been a request for making the halving heights configurable in Regtest mode:
https://discordapp.com/channels/809218587167293450/1285973514964439121/1285975294997434369
For the first halving, we have a TODO here to do this: https://github.com/ZcashFoundation/zebra/blob/v1.9.0/zebra-chain/src/parameters/network/subsidy.rs#L394
Also, this feature will be useful if we plan to merge https://github.com/zcash/zcash/blob/v5.10.0/qa/rpc-tests/nuparams.py into the zebra rpc test suite.

Posted by @arya2 in discord:

I've just realized that the halving interval is much shorter in zcashd's regtest, (see https://github.com/zcash/zcash/blob/master/src/consensus/params.h#L251-L252), we should make the halving interval configurable on custom Testnets too and set it to 144 on Regtest, in Zebra those constants are currently here: https://github.com/ZcashFoundation/zebra/blob/restore-internal-miner/zebra-chain/src/parameters/network/subsidy.rs#L38-L45)

So we could split this ticket in 2 tasks:

[ ] Use a halving interval of 144 in regtest mode.
[ ]  Make halving interval configurable in custom testnets.

Making the first will unblock porting https://github.com/zcash/zcash/blob/v5.10.0/qa/rpc-tests/nuparams.py into zebra.


make compile : Cannot locate tasks that match ':nextflow:exportClasspath' as project 'nextflow' not found in root project 'nf-hello'.

Hi all,
there is a "compile" target in the Makefile but it raises the following error:
$ make compile
./gradlew :nextflow:exportClasspath compileGroovy

FAILURE: Build failed with an exception.

* What went wrong:
Cannot locate tasks that match ':nextflow:exportClasspath' as project 'nextflow' not found in root project 'nf-hello'.

Hi Pierre, are you trying with a fresh copy? it works on my side
» make compile
./gradlew compileGroovy
Starting a Gradle Daemon (subsequent builds will be faster)

BUILD SUCCESSFUL in 9s
8 actionable tasks: 1 from cache, 7 up-to-date

closing as https://github.com/nextflow-io/nf-hello/issues/17


Any way to use with PyCharm

Hello, sorry for offtopic, but as PyCharm supports pyi files internally, are there known way to configure PyCharm to understand mypy-protobuf generated files? I tried to configure it, but failed, no completion achieved.
Thanks.

Mypy-protobuf generates pyi files, so it should work the same as any other
pyi files.
I've never set up pycharm with mypy-protobuf, but I imagine it should work.
If you are able to get it to work, I'd be happy to take a PR adding
instructions/documentation
--Nipunn
On Wed, Oct 10, 2018 at 3:55 PM asyncee<EMAIL_ADDRESS>wrote:

Hello, sorry for offtopic, but as PyCharm supports pyi files internally,
are there known way to configure PyCharm to understand mypy-protobuf
generated files? I tried to configure it, but failed, no completion
achieved.
Thanks.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dropbox/mypy-protobuf/issues/50, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPXo3a2iysE6QPaeKw133JbEf4uhFMBks5ujlDMgaJpZM4XWNen
.

Glad to hear that you got it working. Currently, mypy-protobuf doesn't have support for grpc generated files, but #46 is tracking improving that for this project!


docs and github pages

Preliminary Steps
Please confirm you have...

[x] reviewed How Linguist Works,
[x] reviewed the Troubleshooting docs,
[x] considered implementing an override,
[x] verified an issue has not already been logged for your issue (linguist issues).

Problem Description
i am using github pages and want to recognise the python files in the docs folder

URL of the affected repository:
https://github.com/Abdur-rahmaanJ/pymug
Last modified on:

Expected language:
python
Detected language:
none

You'll need to use an override to negate /docs being treated as documentation as per
https://github.com/github/linguist#documentation

thank you !
Abdur-Rahmaan Janhangeer
https://github.com/Abdur-rahmaanJ
On Tue, 21 Aug 2018, 10:05 Colin Seymour<EMAIL_ADDRESS>wrote:

You'll need to use an override to negate /docs being treated as
documentation as per
https://github.com/github/linguist#documentation
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/github/linguist/issues/4241#issuecomment-414559859,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVlRHF38uUmU8X96CmHVYFUWNcLkVSvDks5uS6MfgaJpZM4WFItd
.


WPF Switches/Toggles/Checkboxes : migrate to Triggers VisualStateManager

There's a small issue with all the toggles where if they are already checked when the control is loaded the animation is triggered.  I want to only run animations when the control transitions due to a user action.
Moving the animations to visual state manager will sort this out.

The hint animations for comboboxes and textboxes are similarly affected.

Can you assign this one to me?  I have half of it done.

Can't assign...have labelled instead.

...happy to manage the PR on a control by control basis if you have certain controls done.  In fact would rather this, so I can code review it easier.
But thanks!

Will do.

[ ] MaterialDesignActionToggleButton
[ ] MaterialDesignCheckBox
[ ] MaterialDesignUserForegroundCheckBox
[ ] MaterialDesignFlatToggleButton
[ ] MaterialDesignSwitchToggleButton
[ ] MaterialDesignHamburgerToggleButton
[ ] MaterialDesignComboBox (floating hint, editable)
[ ] MaterialDesignComboBox (floating hint, non editable)
[ ] MaterialDesignTextBox (floating hint)

@jdf3 went on a roll and got it all done...

Looks good. Apologies for dragging my feet - had other obligations materialize over the last few weeks and couldn't tidy up any PRs... 😊


Autoscaling: accept min-nodes value of 0

FEATURE REQUEST
It would be convenient to accept min-nodes to be equal to 0 for autoscaling on node-pools.
If you want to run a resource-intensive batch process now and then this will save a lot of costs.

Hello,
I have the exact same need. I use (on GKE) a regular node-pool with pretty small vms (8 CPUs in my case) for the standard workload.
But time to time, I need to be able to schedule kubernetes jobs with very high CPU needs. It would be very ideal if I could create a second node-pool with a default number to 0 instances using very large instances (64 CPUs in my case). This second node-pool should bring up a large node only when pods request a really large amount of CPU.
Ideally this autoscaler would use taints / tolerations to schedule very large node only when pods with tolerations are trying to be scheduled.

Duplicate of #2425.


Update the source information

Type: Missing
Summary:
Update the source information
Details:
With the rise in supply chain attacks and OSS dependencies being used as a attack vector, Microsoft is working with our ecosystem partners, such as the Linux Foundation's OpenSSF, to enable OSS consumers to track packages back to their public sources.
Resolution:
This PR was created to add this value, ensuring future releases will include this provenance information.
Published NPM packages with repository information:
* sails-generate-controller
Affected definitions:

sails-generate-controller 0.10.9

Same author as #13302


mobile: Re-enable -Xcheck:jni

This PR fixes #28981 by creating wrappers for JNI's Call<Type>Method and CallStatic<Type>Method that will check on the exception that might be thrown to satisfy -Xcheck:jni and updating the code to use the wrappers.
Risk Level: low
Testing: unit test
Docs Changes: n/a
Release Notes: n/a
Platform Specific Features: mobile

/retest

/assign @abeyad @RyanTheOptimist

/assign @abeyad

FYI, you can add "Fixes #{issue_num}" in your PR description and it will auto close the open issue.

FYI, you can add "Fixes #{issue_num}" in your PR description and it will auto close the open issue.

Yup, I already have that in the PR description. From the GitHub PR page:
Successfully merging this pull request may close these issues.


Review DistributedCache usage (pretty sure it's very broken)

The best explanation (if it even works) of how to use Hadoop's distributed cache is at https://stackoverflow.com/a/26421057/196405
But, I have not tested this.
Our code does not do anything like this.... we tell the distributed cache to add a cache file, but then we just loop through the list of cached URIs, pointlessly, and then reach directly out to the DFS to read it.
All of the Hadoop APIs to read the local cache files are (rightfully) deprecated, because there's no way to map them to the files that were added to the cache. But the APIs to add them to the cache are not deprecated... but they also aren't documented.
We should test the above solution, and if it works, use it, otherwise, completely remove any use of the distributed cache in our MapReduce code.

Is this related to the VFS issue #933?

@jzgithub1 No. It's unrelated.

Working on this now.

If we're not using setSplitFile in our own code, I'm not surprised, but since it's API, it should at least have a test (UT or IT). We definitely shouldn't change it. ConfiguratorBase is not public API, so we're free to change that if necessary, but I don't think even that would need to change for this issue... just it's implementation.

Solution for Hadoop DistributedCache an this web page works:  https://stackoverflow.com/a/26421057/196405
I modified the TokenFileIT test to make the these calls on the  hadoop.Job object in the run() method:
public int run(String[] args) throws Exception {
...
job.addCacheFile(new URI("hdfs://localhost:8020/some_file.json#some"));
job.addCacheFile(new URI("hdfs://localhost:8020/other_file.json#other"));
...
}
I also added an override method for setup(context) in the integrated tests internal hadoop.mapper class like so:
  protected void setup(Context context) throws IOException, InterruptedException {
    if (context.getCacheFiles() != null && context.getCacheFiles().length > 0) {

      File some_file = new File("./some");
      File other_file = new File("./other");

      BufferedReader br = new BufferedReader(new FileReader("./some"));
      try {
        StringBuilder sb = new StringBuilder();
        String line = br.readLine();

        while (line != null) {
          sb.append(line);
          sb.append(System.lineSeparator());
          line = br.readLine();
        }
        String everything = sb.toString();
      } finally {
        br.close();
      }

      // Do things to these two files, like read them
      // or parse as JSON or whatever.
    }
    super.setup(context);
  }

On my command line I added two small json files to HDFS via the commands:
jzeiberg@dhcp-10-50-230-160  ~/.cache  hdfs dfs -put other_file.json /
jzeiberg@dhcp-10-50-230-160  ~/.cache  hdfs dfs -put some_file.json /
When I ran the code in the debugger I was able to read the contents of the somefile.json in the setup function above using the "some" mnemonic specified by adding #some after the fully qualified hdfs URI in the job.addCacheFile function call.
Since this haddoop distributed cache works the way the stackoverflow webpage says it does I will now proceed to use this distributed cache method where we attempt to use distributed cache elsewhere in our code.

If the framework places it in the current working directory when the file is cached locally, it could be a problem for our integration tests, since the current working directory in those cases is <git-checkout>/test and not <git-checkout>/test/target. If that happens, we'll need to come up with a workaround for our test, so the test doesn't pollute our source tree during a build.

Clarification of the desired design:
On job setup (by user):

User inputs filename
We append mnemonic and create URI
We save URI in our config property
We tell distributed cache to store URI

On job run (by framework/us):

We read our URI from our config property
We check to see if we can read file with the mnemonic
if no, we log a warning, and then use URI to read from HDFS directly

I think this is done and ready to be merged.


datazoom component will trigger brushselected event.

Version
4.5.0
Reproduction link
https://codepen.io/Cabage/pen/mdyweXX
Steps to reproduce

click ‘lineX’ brush
use brush on chart. 在图上框一下

What is expected?
datazoom will not trigger brushselected event.
What is actually happening?
datazoom will brushselected event.

我想实现的是用brush来框选想要的数据，然后dispatch datazoom event，完成数据过滤.
但是datazoom自己会触发brushselected event. 然后就死循环了.
datazoom是故意这样设计的吗？ 有什么其他办法能让让我.
I want to use brush to implement data filter on line chart.
So i use brushselected event to get coordRange, then dispatch datazoom event to filter data.
Then i get Maximum call stack size exceeded error. because datazoom will dispatch brushselected event itself.
So brushselected -> datazoom -> brushselected. I don't know is this by design or a bug.

Yes it's by design.
brushselected will be triggered when dispatchAction called, or use do brush behavior. But this event will not be triggered in setOption. [1]
Probably you can use toolbox.dataZoom to meet your requirement.
[1] https://echarts.apache.org/en/api.html#events.brushselected

toolbox.dataZoom跟我想实现的东西完全一样，是我看文档没注意。

框选型数据区域缩放组件（dataZoomSelect）：提供一个选框进行数据区域缩放。即 toolbox.feature.dataZoom，配置项在 toolbox 中。


Create error / notification service

All error / notifications should be handled in a standard way. Either make a service that catches an error / info / success notification event, or define a standard format for inline error messages.

We use https://rollbar.com/ on MMW which works pretty well for Python / Django, but not sure how useful it would be in a Scala environment.

should have specified - I was talking about a frontend UI component (on-screen alerts for example if there was an error while uploading a scene)


Question about PSM vs SPM

I noticed in the paper that it says:

We train our models to work with both PSM (Prefix-Suffix-Middle) and SPM (Suffix-Prefix-Middle) modes, with relevant formatting control tokens,

Have you noticed any difference in accuracy from PSM vs SPM completion? I have seen PSM used before, but I like the idea of SPM. Since the model would be completing almost directly from the prefix, I wonder if it would generate higher quality completions than PSM. If there is no difference, that would be cool to know as well.
I'm still waiting on llama.cpp support to fully materialize before I can try out these models, but they look really nice!

Thanks!


adding thresholded linear and rectified activation functions

Updated to track the latest master and follow existing style
Anything else you would like to see on this PR?

Could you:

rebase so that only changes related to the PR appear in the PR (instead of, currently, 46 different files)
rename these two activations to more explicit names
remove the example, as I don't think it's adding much

Done: should be a lot cleaner now -

Any thoughts on merging this?

Let's see. I think my main issue at the time was that I couldn't immediately verify that it worked, due to the lack of test. But I'll check it out.

Ok, merging!


Error in compileJava task after upgrading to 4.2.1

Expected Behavior

compileJava task should use generated java beans in buildDir.
Current Behavior

compileJava Task cleans the buildDir folder before compile. It produces a "package does not exists" error since source code uses generated code in the buildDir.
Context

I'm using xmlBeans plugin to generates java beans. Also I'm using java plugin to compile the source code. The task compileJava from java plugin dependson task compileXmlSchemas from xmlBeans plugin. Since the generated beans are used in the source code, a "package does not exists" error appear in compilation time. With gradle 2.4, 3.5 and 4.0 everything works fine but after upgrading to 4.2.1 this error blocks the compileJava task.
I found that recently you introduce a change to Cleanup directories when sources become empty (here). I think that these change will clean the buildDir folder before compileJava execution. Additionally, I found this line in the logs:
16:16:15.821 [INFO] [org.gradle.api.internal.tasks.execution.CleanupStaleOutputsExecuter] Deleting stale output file: D:\main-project\java\sub-project\build\gen-classes\xmlbeans
I need that the gen-classes\xmlbeans folder stay there for compileJava execution.

Hi @cballesteros. Thank you for reporting. Could you provide an example build script where this problem appears? Could you point me to the xmlBeans plugin you are using?

Thanks @wolfs, I'm using this plugin 2.5.0 version. I tried with the latest version but the same error appear. Let me prepare a simple project to reproduce the issue.

@wolfs I just updated the issue description with an example. Thank you!

@cballesteros Thank you for your example! The problem you are experiencing is due to a new feature of Gradle 4.2.1: Safer handling of stale output files.
What is going on in your build is that

The task compileXmlSchemas does not declare any outputs. It creates files in build/gen-classes/xmlbeans and build/gen-src/xmlbeans.
The compileXmlSchemasJava task uses build/gen-classes/xmlbeans as an output directory.
The processXmlSchemasResources task uses the resourcesDir of the xmlSchemas source set as output directory.

As a consequence

Gradle does not know anything about compileXmlSchemas outputting to build/gen-classes/xmlbeans or build/gen-src/xmlbeans
Gradle cleans up build/gen-classes/xmlbeans when compileXmlSchemasJava is executed, since it encounters some files which should not be there.
Gradle cleans up build/gen-src/xmlbeans when compileXmlSchemasResources is executed, since it encounters some files which should not be there.

This problems can be fixed easily. If you declare the output directories of the compileXmlSchemas task, then Gradle will not clean the outputs. This can be done by using
task compileXmlSchemas {
    outputs.dir sourceSets.schemas.output.resourcesDir
    outputs.dir sourceSets.schemas.output.classesDir
}

If you declare some inputs for the task, too, then you will even benefit from incremental build! For more information about inputs and outputs see the userguide chapter about incremental build.
You also should not set the classesDir or resourcesDir on the schema source set (apart from classesDir being deprecated in Gradle 4.0). This will lead to overlapping outputs - i.e. different tasks outputting to the same directory. Use SourceSets.output.dir to register new output dirs for sourceSet. In your case, this would be:
sourceSets {
    schemas {
        output.dir "${buildDir}/gen-classes/xmlbeans", builtBy: 'compileXmlSchemas'
        output.dir "${buildDir}/gen-src/xmlbeans", builtBy: 'compileXmlSchemas'
    }
}

I hope that clarifies things a bit. I am closing this issue as I consider it not being a bug of Gradle. Please re-open if you think otherwise or ask on the forum if you need more help solving your use case.

@wolfs I applied the suggested changes and everything works pretty fine for me! I will learn more about inputs and outputs. Thank you!


Improve the find command

As a user, I should be able to search for volunteers and befriendees with more filters.

The find command:
should support find separately for both volunteer / befriendee
Filter list view by tags (Find t/   )
Find supports finding paired with


Remove CircleCI Windows tests as they are too flaky

Windows tests on CircleCI are constantly failing for a variety of reasons in a
flaky way, putting pain on anyone submitting PRs. Nobody seems to be addressing
this at the moment, we just ignore them or retry them until they succeed,
defeating their purpose. So I suggest removing the Windows tests completely
until someone wants to figure out why they are broken and fix them.
For reference, here's only some of the observed failures:
=== RUN   TestUpdateMissedEvalMetrics
    manager_test.go:1325:
          Error Trace:  C:\go\src\github.com\prometheus\prometheus\rules\manager_test.go:1325
                              C:\go\src\github.com\prometheus\prometheus\rules\manager_test.go:1329
          Error:        Not equal:
                        expected: 2
                        actual  : 1
          Test:         TestUpdateMissedEvalMetrics

Signed-off-by: Julius Volz<EMAIL_ADDRESS>--- FAIL: TestUpdateMissedEvalMetrics (7.60s)

=== RUN   TestQueryStatistics/sum_by_(b)_(max_over_time(metricWith3SampleEvery10Seconds[60s]_@_30))
    engine_test.go:1217:
          Error Trace:  C:\go\src\github.com\prometheus\prometheus\promql\engine_test.go:1217
          Error:        Not equal:
                        expected: 8
                        actual  : 7
          Test:         TestQueryStatistics/sum_by_(b)_(max_over_time(metricWith3SampleEvery10Seconds[60s]_@_30))
          Messages:     Peak samples mismatch
--- FAIL: TestQueryStatistics/sum_by_(b)_(max_over_time(metricWith3SampleEvery10Seconds[60s]_@_30)) (0.00s)

=== RUN   TestNewHTTPCACert
    target_test.go:240: Get "https://<IP_ADDRESS>:50272": x509: certificate signed by unknown authority (possibly because of "x509: cannot verify signature: insecure algorithm SHA1-RSA (temporarily override with GODEBUG=x509sha1=1)" while trying to verify candidate authority certificate "Prometheus Test CA")
2022/08/12 15:10:23 http: TLS handshake error from <IP_ADDRESS>:50273: remote error: tls: bad certificate
--- FAIL: TestNewHTTPCACert (0.02s)

Too long with no output (exceeded 10m0s): context deadline exceeded

Signed-off-by: Julius Volz<EMAIL_ADDRESS>

I also created https://github.com/prometheus/prometheus/pull/11154 as an alternative, which keeps Windows tests, but only for releases.

We switched to github action


Milestone 0.8.3

Coverage increased (+0.4%) to 83.511% when pulling 639268384b71930f45f04a4357ecd2347b85d2c7 on milestone-0.8.1 into 92962ad1c542ead7bf1b4a471e67b7eec67360d1 on master.


Intel driver bug workaround 2

Github and ADO are not getting along. This is second attempt at https://github.com/imodeljs/imodeljs/pull/440

@MarcNeely sorry, can you reapprove please?

@kabentley @calebmshafer @scsewall This requires an Admin's approval please.


TSC Infrastructure Meeting Minutes 26 May 2021

infrastructure agenda

### SAFR Production Binary Deliverable to GIT
Kip asked about RM issues in this license.md Bobmcc to chase up

MR91 Binary Deliverable
as source for this deliverable will not reside in GIT only a binary file, we need to perform a special build on KANPLEX     to ensure correct version release number
bobmcc advised a bespoke build for this with a specific VRM needed

Performance Engine sans CPP code Build
Randall is now leading the design on this task

Move Performance Engine to IBM Internal GITHUB
currently waiting on a INVM examination for open source shipment
also an analysis of PE source code has shown up a number of abnormalities that Randall is researching

Installation Verification
Plan here is to deploy the testsuite
on USS on Kanplex we performed a GIT clone of the Test Framework repo
we deployed GRADLE software onto USS
Using GRADLE we ran the Test Framework as a pure java application to perform all the tests
We ran Apache Rat on this repo to add additional license text

Java Source Scans
some training exist to show SAFR staff to use SONAR QUbe
We use the community edition of SONAR QUBE

Move WorkBench to external Git
waiting on IBM development staff for final tweaks

Move Test FrameWork to external Git
waiting on development tweaks for this repo

Meeting complete.


Rename manual section

Fixes: #867
This PR removes references to "manual section" and replaces them with "section". I've left the use of manual_section in place where this app calls the PublishingApi as that API uses this namespacing.
I haven't made this rename in migrations as all of them have already been run against production (see #868).

Rebasing/force-pushing to keep branch up-to-date.

I've updated the description and merged. Thanks @floehopper.


Update sdk class names

Proposed Changes

Update sdk usage following this PR https://github.com/kserve/kserve/pull/1951

Thanks @markwinter !

@theofpa @markwinter We shouldn't merge this yet as KServe SDK 0.8 is not released, can we revert the change?

@theofpa @markwinter We shouldn't merge this yet as KServe SDK 0.8 is not released, can we revert the change?

Actually, let me check if we can add a new pointer to the latest branch for the master branch doc.

Actually, let me check if we can add a new pointer to the latest branch for the master branch doc.

@yuzisun https://github.com/kserve/website/pull/81


float16 in sparse matrices

Hello everyone,
Would be possibly to add float16 to the supported types in the cupyx.scipy.sparse class in order to save some memory when storing huge sparse matrices?
Best regards

CuPy's sparse features strongly rely on cuSPARSE, but float16 is not yet supported by the library.

dup: #3131


Make TaskExecutor a wrapper around TokioExecutor

Instead of custom-managing a pool of futures we now spawn tasks directly. This simplifies task handling significantly and enables migration to hyper 1.x which wasn't compatible with the old TaskExecutor.

This change is

fyi, you can use .left_future() and .right_future() in FuturesExt.

@allada I wasn't sure whether the method chaining could lead to reduced performance compared to directly using the enum. But it turns out that this is not the case and performance-wise this seems to be purely a matter of style preference: https://docs.rs/futures-util/0.3.30/src/futures_util/future/future/mod.rs.html#222-225
In terms of error messages I found it easier to debug with Either as it provides more "direct" error messages with concrete types (similar to e.g. Some) rather than raising "unsatisfied trait bound" messages.


Disabling CSRF check by default doesn't work for forms

I noticed that setting WTF_CSRF_CHECK_DEFAULT doesn't won't work if the endpoint validates any FlaskForm. The CSRF token doesn't seem to be checked, but when I check the my logs, they say that The CSRF token is missing. Would it be possible to completely disable the CSRF check for forms if WTF_CSRF_CHECK_DEFAULT is set to false?

As the docs said, set WTF_CSRF_ENABLED to False to disable all CSRF protection.

Sorry, for not clarifying, but I want to conditionally enable CSRF for certain requests using the @app.before_request decorator. The docs only say to set WTF_CSRF_CHECK_DEFAULT to false.

For example, adding an empty form to tests/test_csrf_extension.py and requiring it to validate causes test_protect to fail. I'm not sure if this is intended, but this behavior isn't mentioned from the docs and it kind of unintuitive.

Provide a minimal application may be helpful.

https://gist.github.com/james9909/ab1fe43c8322edee444c003df16d835a

Sorry, I didn't get any notifications about your comment on the gist, but I added some more info.

Since the problem was solved, could you close this issue?


Add permissions to allow istio-csr to create events

Signed-off-by: joshvanl<EMAIL_ADDRESS>

Need to understand these DNS issues we are seeing in the testing infra.
oxyv2:1.7.6": failed to resolve reference "gcr.io/istio-release/proxyv2:1.7.6": failed to do request: Head https://gcr.io/v2/istio-release/proxyv2/manifests/1.7.6: dial tcp: lookup gcr.io on <IP_ADDRESS>:53: read udp <IP_ADDRESS>:44579-><IP_ADDRESS>:53: i/o timeout
``

/retest

/retest

/lgtm


feat: PullToRefresh

🙋 Feature Request
It would be cool to have a container thay you could swipe down on to invoke a refresh method.
🤔 Expected Behavior

More Details
😯 Current Behavior
N/A
💁 Possible Solution
I would expect the usage to be something like:
<FluentPullToRefresh OnRefresh="OnRefresh" Refreshing="refreshing">
    <FluentNavMenu Title="Weather">
        @foreach (var day in forecast)
        {
            <WeatherTile Forecast="@day" />
        }
    </FluentNavMenu>
</FluentPullToRefresh>

@code
{
    private List<WeatherForcast> forecast = new List<WeatherForcast>();

    private bool refreshing = false;

    private void OnRefresh()
    {
        refreshing = true;

        forecast = await weatherService.GetForecast();

        refreshing = false;
    }
}

🔦 Context
I am trying to add a pull to refresh container as it how most users expect to be able to refresh section of data
💻 Examples
See expected behavior

Moving this to the discussion area to see if there is interest in such functionality


Add non-block item support to item-use flag

Add non-block item support to item-use flag.
Because preventing the majority griefing with mod items would be easier by preventing people from using them to begin with,
then it would be to directly protect against the damage.

dupe #132

THIS IS NOT A DUPE!!!!!!


REQUEST: New membership for yike21

GitHub Username
@yike21
Requirements

[X] I have reviewed the community membership guidelines
[X] I have enabled 2FA on my GitHub account
[X] I have subscribed to the Karmada mailing list
[X] I am actively contributing to 1 or more Karmada subprojects
[X] I have two sponsors that meet the sponsor requirements listed in the community membership guidelines
[X] I have spoken to my sponsors ahead of this application, and they have agreed to sponsor my application
[X] I have verified that my sponsors are from different member companies
[X] I have verified that my sponsors are a reviewer or an approver in at least one OWNERS file within one of the Karmada GitHub organizations

Sponsor 1
@Poor12
Sponsor 2
@chaunceyjiang
List of contributions to the Karmada project
PRs authored:

https://github.com/karmada-io/karmada/pull/3629
https://github.com/karmada-io/karmada/pull/3499
https://github.com/karmada-io/karmada/pull/3498
https://github.com/karmada-io/karmada/pull/3488
https://github.com/karmada-io/karmada/pull/3487
https://github.com/karmada-io/karmada/pull/3486
https://github.com/karmada-io/karmada/pull/3485
https://github.com/karmada-io/karmada/pull/3484
https://github.com/karmada-io/karmada/pull/3482
https://github.com/karmada-io/karmada/pull/3481
https://github.com/karmada-io/karmada/pull/3462
https://github.com/karmada-io/karmada/pull/3438
https://github.com/karmada-io/karmada/pull/3412
https://github.com/karmada-io/karmada/pull/3392
https://github.com/karmada-io/karmada/pull/3368
https://github.com/karmada-io/karmada/pull/3366
https://github.com/karmada-io/karmada/pull/3358
https://github.com/karmada-io/karmada/pull/3352
https://github.com/karmada-io/karmada/pull/3339
https://github.com/karmada-io/karmada/pull/3337
https://github.com/karmada-io/website/pull/360
https://github.com/karmada-io/website/pull/353

Issues authored:

https://github.com/karmada-io/karmada/issues/3564
https://github.com/karmada-io/karmada/issues/3551
https://github.com/karmada-io/karmada/issues/3401
https://github.com/karmada-io/karmada/issues/3331

Issues responsed:

https://github.com/karmada-io/karmada/issues/3628
https://github.com/karmada-io/karmada/issues/3624
https://github.com/karmada-io/karmada/issues/3592
https://github.com/karmada-io/website/issues/347
https://github.com/karmada-io/website/issues/343

/assign @Poor12 @chaunceyjiang @RainbowMango

+1

+1

Welcome @yike21
Thanks for all the contributions.
/assign @kevin-wangzefeng

cc @kevin-wangzefeng

Hi @yike21
Kevin is not in the office these days. He will send you an invitation when he comes back. Please be patient and wait for a while.

Hi @yike21 Kevin is not in the office these days. He will send you an invitation when he comes back. Please be patient and wait for a while.

Ok, thanks a lot!

Thank you all, the invitation has been confirmed

Then we can close it now.
/close

Congrats and welcome onboard, looking forward to more of your contributions.


iOS with GoogleMaps without CocoaPods need recursive framework search path

Is this a bug report?
It's about a missing step in the installation instructions
Have you read the Installation Instructions?
yes
Environment
react-native: 0.57.8
react: 16.6.3
react-native-maps: 0.22.1

Description
I was following the instructions to enable google maps on iOS, without using CocoaPods to include this library. First of all, I am really glad I can run without CocoaPods for installing this library, CocoaPods has cost me already way too many hours.
I encountered an issue. While running the script added the location to the framework search paths, it wasn't set as a recursive search path and the install would fail. Fixing the search path in Xcode to be recursive, solved the issue, but this should either be documented or the script should be altered.

By the way, I am installing only google maps via CocoaPods, which works straight forward, I have had extremely bad experiences installing the react native source code via CocoaPods so I am avoiding that, but maybe this is an option for a good installation that you would consider, opting for only installing the real dependencies via CocoaPods and leaving the package installed 'normally'

At the second step of the "Enabling Google Maps on iOS" in the documentation there is this link for manually installation of google maps

I am aware of that link, and I guess you are right that it already explains how to use CocoaPods to install only the google maps dependency.
However the point of this issue is that it mentions nowhere that you need to set framework search path to recursive for things to work, which the provided script does not do automatically

Ok, so I figured out how to set a recursive search path, simply add /** so my post install script now looks like this: ./node_modules/react-native-maps/enable-google-maps 'ios/Pods/GoogleMaps/**'
There could be a note in the Readme about how to set a recursive path, but I am gonna close this issue to reduce the clutter in this repo.