use torch-cu117 from download.torch.org rather than pypi

This PR forces the installer to install the official torch-cu117 wheel from download.torch.org, rather than relying on PyPi.org to return the correct version. It ought to correct the problems that some people have experienced with cuda support not being installed.

This PR will close #2496


Allow variables in label config to create dynamic image panels

I would like the annotator to be able to see a series of images at once. We are labeling unique objects among several views of the same scene.
The number of images of each scene varies. Right now my options are to

Create a fixed number of image views and sample from them (https://github.com/HumanSignal/label-studio-frontend/issues/667)
Create a stack of images and propagate labels among them. This is not appropriate in this case.

Desired Psuedo code
for $image in images:
<View>
  <Image name="image" value="$image"/>
  <Choices name="choice" toName="image" showInLine="true">
    <Choice value="Boeing" background="blue"/>
    <Choice value="Airbus" background="green" />
  </Choices>

Is there any other workaround for upload a .json of images and creating a dynamic view?

Does valueList work for your usecase, as described in this example? https://labelstud.io/tags/image#Example-1

thanks for your idea, I will update.

Related to https://github.com/HumanSignal/label-studio/issues/225 for others coming here.

I am posting the solution I came up with and closing. Its not perfect, but sufficient for our needs.
Since the label config xml for each project is fixed, it was simpler to generate a new 'project' for each image panel. So using the python API, if we have a 6 image panel we need to create, loop through and name each img [img1, img2, img3], then make the corresponding labels point to each image.
https://github.com/weecology/DoubleCounting/blob/main/scripts/labelstudio.py
def create_label_config(predictions):
    """
    Creates a Label Studio XML configuration based on the provided predictions.

    Args:
        predictions (dict): A dictionary containing the preannotations for each image.

    Returns:
        str: The Label Studio XML configuration.
    """

    xml = '''<View>
        <Header value="Select unique birds in each image to create a full colony count" />'''

    for i, image_name in enumerate(predictions.keys()):
        xml += f'''
            <View style="display: flex;">
                <View style="width: {100/len(predictions)}%; margin-right: 1.99%">
                <Image name="img{i+1}" value="$img{i+1}"/>
                <RectangleLabels name="label{i+1}" toName="img{i+1}">
                    <Label value="Great Egret" background="#FFA39E"/>
                    <Label value="Great Blue Heron" background="#D4380D"/>
                    <Label value="Wood Stork" background="#FFC069"/>
                    <Label value="Snowy Egret" background="#AD8B00"/>
                    <Label value="Anhinga" background="#D3F261"/>
                    <Label value="Unidentified White" background="#389E0D"/>
                    <Label value="White Ibis" background="#5CDBD3"/>
                    <Label value="Nest" background="#FFA39E"/>
                    <Label value="Help me!" background="#D4380D"/>
                    <Label value="Eggs" background="#FFA39E"/>
                    <Label value="Roseate Spoonbill" background="#FFA39E"/>
                </RectangleLabels>
                </View>
            </View>'''

    xml += '''
    </View>'''

    return xml

create the project
https://github.com/weecology/DoubleCounting/blob/e2563c525d1a60ea8336180153fd126b03b34c13/scripts/labelstudio.py#L23
and then format our preannotations to match the naming structure for upload
def label_studio_bbox_format(local_image_dir, preannotations, from_name="label"):
    """
    Create a JSON string for a single image in the Label Studio API format.

    Args:
        local_image_dir (str): The local directory where the images are stored.
        preannotations (DataFrame): A DataFrame containing the preannotations for the image.
        to_name (str, optional): The name of the image. Defaults to "image".
        from_name (str, optional): The name of the label. Defaults to "label".

    Returns:
        dict: The JSON string in the Label Studio API format.
    """
    predictions = []
    image_path = preannotations.image_path.unique()[0]
    original_width, original_height = Image.open(os.path.join(local_image_dir, os.path.basename(image_path))).size

    #Unique images and their index
    unique_images = preannotations.image_path.unique()
    image_index_dict = {}
    for index, image in enumerate(unique_images):
        image_index_dict[image] = "img{}".format(index)

    for index, row in preannotations.iterrows():
        result = {
            "value": {
                "x": row['xmin'] / original_width * 100,
                "y": row['ymin'] / original_height * 100,
                "width": (row['xmax'] - row['xmin']) / original_width * 100,
                "height": (row['ymax'] - row['ymin']) / original_height * 100,
                "rotation": 0,
                "rectanglelabels": [row["label"]]
            },
            "score": row["score"],
            "to_name": image_index_dict[row["image_path"]],
            "type": "rectanglelabels",
            "from_name": image_index_dict[row["image_path"]].replace("img", "label"),
            "original_width": original_width,
            "original_height": original_height
        }
        predictions.append(result)

    return {"result": predictions}

Closing. Thanks for your response. I appreciate it.


Update index.js

More robust html handling of non digits characters
No need to resend command to device if it was changed externaly wich speeds up the set (300ms instead of 2000ms)
In setPowerState, no need to send the command if currentlevel > 0 (prevents light from getting to 100% before dimming down from app)

I saw no obvious problems when testing, so I merged it, if any problems occur let me know.


Standard

Dear @atsushieno here is a Pull Request to update libsoundio-sharp to .Net Core / .Net Standard. I'm testing libsoundio-sharp as a possible library for a cross-platform audio project, looks good so far!
Thanks.

Ah I just realize that there was already a dotnetcore folder with similar code (except for the examples). Any particular reason to keep the full framework projects ?

Thanks! If they were about x-plat desktop app projects I would not apply .NET Core (because there is no such thing on .NET Core) but console apps are okay. And .NET Standard 2.0 is nicer :-)

Oh I forgot about them. There are reasons to stick to .NET Framework:

There is no Gtk# equivalent in .NET Core and therefore anything that lives on top of it (for example Xwt) won't work on .NET Core.
.NET Core debuggers are proprietary software offered by Microsoft which I don't accept. Mono on the other hand is always with open source debugger support together with MonoDevelop.


TypeScript issues

Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './enums.js'?
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './watcher_handler.js'?
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './watcher_locker.js'?
Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean './watcher_poller.js'?
... and so on.

Maybe obvious, but how do I reproduce the issue? 🤔 Once compiled imported files seem to contain an extension already.

/cc @benmccann in case you know how to reproduce this problem.

@fabiospampinato if you do npm install watcher and then open up node_modules/watcher/dist/types.d.ts you'll see that the compiled output does not have file extensions:

With https://github.com/fabiospampinato/watcher/pull/38, the file extensions are present in the compiled output

Yeah, it sounds like it's a bug in tsex, which is used to package this library: https://github.com/fabiospampinato/tsex

I finally had the time to look into this, but it's going to take a little longer to fix it. A brain dump:

This commit in tsex, the convenience library I'm using to compile my npm packages, should make sure imports in .d.ts files get rewritten to have an extension too, which is basically the root problem here.
There was an interesting comment in there though, that said: "// We don't actually want to fully resolve the path for declaration files", because I guess I had tried rewriting imports in declaration files already, but TS was complaining if I was importing from .d.ts files explicitly, but it wasn't complaining if I didn't specify the extension, so I just left those imports be. Apparently you need to say that you are importing from a .js file, then TS will resolve the .d.ts file by itself, you can't just tell it what the .d.ts file is, which doesn't make too much sense to me as far as "being explicit" goes, like it makes no sense to do an import type from a .js file to begin with, but whatever, I guess I know that now.
Switching the module compiler flag to node16 causes TS to no longer emit pure ESM code, so that's not happening, as emitting pure ESM only is what I want.
This explicit imports problem is kinda recursive, just updating tsex in watcher doesn't fix it because there's another type "error" like that in a dependency that watcher imports, so I need to go over all my packages and update them all to totally fix this issue.
Also I was doing an unrelated weird hack in tsex to make sure I wouldn't have to specify source and output directories in every tsconfig.json of every package I maintain, but TS v5.5.0 incidentally added a template variable that addresses this issue properly, so that's another good reason to go over all my packages and update them anyway, I guess.

So yeah I need to go over these packages, hopefully I can get it done by tomorrow, it may take a little longer than that. In general I'd recommend putting skipLibCheck: true in your tsconfig.json, not using it is kinda unworkable imo, every non-patch release of TS could have breaking changes, one can't expect all dependencies to pass all checks in whatever arbitrary version of TS you are using.

I'm not sure I follow. Isn't TypeScript exactly for having type safety? Doesn't TypeScript do everything correctly out of the box? I also built a bunch of ts convenience packages: https://code.foss.global/git.zone
I rarely have any problems with TypeScript. Its only around the change to esm that people often get stuff mixed up. Also, it is a lot cleaner to work with "verbatimModuleSyntax": true, so type imports become a thing.
With the latest node + typescript combo, you can even completely skip cjs while not upsetting people that use require: https://joyeecheung.github.io/blog/2024/03/18/require-esm-in-node-js/

Switching the module compiler flag to node16 causes TS to no longer emit pure ESM code, so that's not happening, as emitting pure ESM only is what I want.

Oh, where is the output non-ESM with this flag? I hadn't noticed anything non-ESM with https://github.com/fabiospampinato/watcher/pull/38, but would be curious to learn more so I can keep an eye out for it in other projects I work on

Oh, where is the output non-ESM with this flag?

Unfortunately I can no longer seem to be able to reproduce the issue 🙃 I don't know if I had done something wrong the other day or what.

This issue should be fixed by this commit. I'll double-check after I make a release before closing this issue.


Add tests for spurious API changes

What's in this pull request?
A test that checks the swift-api-dump against a known correct dump, to avoid unintended API changes.
Ideally, if an API change is intended, the easiest way to fix the test is to just copy your diffs, wholesale, into the Inputs of this test.
@gribozavr or @DougGregor Should this live in test/? It takes about 3 minutes to run.
Resolved bug number: N/A

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    OS X platform               | @swift-ci Please test OS X platform
    Linux platform              | @swift-ci Please test Linux platform

Note: Only members of the Apple organization can trigger swift-ci.

I feel like it should be under validation-test, and maybe even a long test.
--- /dev/null
+++ b/test/Renaming/check_diffs_appletvos.swift
@@ -0,0 +1,5 @@
+// REQUIRES: OS=macosx
+
+// RUN: mkdir -p %t/Outputs

Spurious empty line?

@gribozavr I also moved it to validation-test and added the long_test requirement to it.

Is this test going to break every time the OS API changes?

It is; Maybe there should be a single script to automatically replace the current Inputs with the current API dump?

That won't solve the internal development problems. The engineers and test bots won't all use the exact same SDK version, and it's likely that a single source branch will need to support multiple SDKs sometimes.
Perhaps this can be structured as a dedicated CI test job, directly comparing the outputs of two different Swifts using a single SDK, instead of running inside the existing test machinery?

I think that's fair. Think that's doable, @shahmishal?

I'd prefer that the reference data live somewhere else, outside the tree.


Fix pull request builds from forks

do not import pgp key if pull request is from fork (secret variables are not exposed by github due to security restrictions)

Coverage remained the same at 86.623% when pulling ba4f702c78a7734a0d1aab1f3f1fbb70d3ad95dd on feature/allow-pull-request-builds-from-forks into ba2134e10990e68ba4728e48bf356959aafe6a12 on master.


Searching on MySQL RAW Field

Summary of problem or feature request
To temporarily fix another issue that I have been having (#535), I have used the Laravel function selectRaw() to be able to utilize MySQL functions in my SELECT statement. This works well enough except for the fact that searching on these fields does not work, since the SQL statement for the overall count does not include the selectRaw() details.
Code snippet of problem
PHP
$events = Event::select(['events.*', 'locations.name as location_name', 'leagues.name as league_name'])
    ->selectRaw('DAYOFWEEK(events.date) as day_of_week')
    ->selectRaw('TIME(events.date) as time_of_day')
    ->join('locations', 'events.location_id', '=', 'locations.id')
    ->join('leagues', 'locations.league_id', '=', 'leagues.id');

return Datatables::of($events)
    ->editColumn('date', function ($event) { return $event->date->format('m/d/y'); })
    ->editColumn('time_of_day', function ($event) { return date('h:i', strtotime($event->date)) . substr(date('a', strtotime($event->date)), 0, 1); })
    ->editColumn('day_of_week', function ($event) { return date('D', strtotime($event->date)); })
    ->make(true);

JS
$('#events-table').dataTable({
    "processing": true,
    "serverSide": true,
    "ajax": "/admin/data/events/yajra",

    "order": [ [ 2, "desc" ] ],

    columns: [
        { data: 'location_name', name: 'locations.name' },
        { data: 'league_name', name: 'leagues.name' },
        { data: 'date', name: 'events.date' },
        { data: 'time_of_day', name: 'time_of_day' },
        { data: 'day_of_week', name: 'day_of_week' }
    ],

    // Change the default empty language
    "oLanguage": {
        "sEmptyTable": "You have not added any events."
    },

    "iDisplayLength": 50,
    "aLengthMenu": [[10, 25, 50, 100, 200], [10, 25, 50, 100, 200]]
});

When I enter a search, I get the following error from /vendor/laravel/framework/src/Illuminate/Database/Connection.php#624:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'time_of_day' in 'where clause'

This error also references the following SQL query:
select count(*) as aggregate from (
    select '1' as `row_count`
    from `events`
        inner join `locations` on `events`.`location_id` = `locations`.`id`
        inner join `leagues` on `locations`.`league_id` = `leagues`.`id`
    where `events`.`deleted_at` is null
    and (
        LOWER(`locations`.`name`) LIKE %bar%
        or LOWER(`leagues`.`name`) LIKE %bar%
        or LOWER(`events`.`date`) LIKE %bar%
        or LOWER(`time_of_day`) LIKE %bar%
        or LOWER(`day_of_week`) LIKE %bar%
    )
)
count_row_table

If I manually change this SQL query to the below, and then run it in Sequel Pro, it works fine:
select count(*) as aggregate from (
    select '1' as `row_count`
    from `events`
        inner join `locations` on `events`.`location_id` = `locations`.`id`
        inner join `leagues` on `locations`.`league_id` = `leagues`.`id`
    where `events`.`deleted_at` is null
    and (
        LOWER(`locations`.`name`) LIKE %bar%
        or LOWER(`leagues`.`name`) LIKE %bar%
        or LOWER(`events`.`date`) LIKE %bar%
        or LOWER(TIME(events.date)) LIKE %bar%
        or LOWER(DAYOFWEEK(events.date)) LIKE %bar%
    )
)
count_row_table

Is there a way to change the search like this? Or maybe adding some sort of Raw Select declaration might be a good idea?
System details

Operating System: Ubuntu 14.04
PHP Version: PHP 5.6.10
Laravel Version: 5.0.35
Laravel-Datatables Version: 6.10.1

Man, and I really thought I had fully reviewed the documentation before posting this issue. I was just about to give up and pray that you replied here, when I was finally able to find the solution to this issue here, http://datatables.yajrabox.com/eloquent/advance-filter.
My updated PHP code:
$events = Event::select(['events.*', 'locations.name as location_name', 'leagues.name as league_name'])
    ->selectRaw('DAYOFWEEK(events.date) as day_of_week')
    ->selectRaw('TIME(events.date) as time_of_day')
    ->join('locations', 'events.location_id', '=', 'locations.id')
    ->join('leagues', 'locations.league_id', '=', 'leagues.id');

$datatable = Datatables::of($events)
    ->editColumn('date', function ($event) { return $event->date->format('m/d/y'); })
    ->editColumn('time_of_day', function ($event) { return date('h:i', strtotime($event->date)) . substr(date('a', strtotime($event->date)), 0, 1); })
    ->editColumn('day_of_week', function ($event) { return date('D', strtotime($event->date)); });

if ($datatable->request->has('search.value')) {
    $datatable->whereRaw('DAYOFWEEK(events.date) LIKE LOWER("%' . $datatable->request->get('search.value') . '%") ');
    $datatable->whereRaw('TIME(events.date) LIKE LOWER("%' . $datatable->request->get('search.value') . '%") ');
}

return $datatable->make(true);

For others that this might help, do note that you need to make sure these manually searched columns are indicated as not searchable in the JS column definition.

Annnd, I spoke too soon.
My "solution" actually had the result of ONLY searching on those two fields, which is not what I wanted. I was looking for a way to add those raw statements in addition to the regular search statement.
I think that I found that with the following code:
$datatable->filterColumn('day_of_week', 'whereRaw', "DAYOFWEEK(events.date) LIKE ? ", ["%$1%"]);
$datatable->filterColumn('time_of_day', 'whereRaw', "TIME(events.date) LIKE ? ", ["%$1%"]);

Which replaces
if ($datatable->request->has('search.value')) {
    $datatable->whereRaw('DAYOFWEEK(events.date) LIKE LOWER("%' . $datatable->request->get('search.value') . '%") ');
    $datatable->whereRaw('TIME(events.date) LIKE LOWER("%' . $datatable->request->get('search.value') . '%") ');
}

Hopefully my bumbling idiocy can help someone else with the same problem.


Spike: Refactor GSP/All requests (forecast/truth) to be more DRY

Detailed Description
At the moment, GSP-level all forecast/truth responses are very large, and each forecast contains its own set of timestamps for the forecast period along with respective values.
If we were to invert the structure of these, and have forecast timestamps at the top level and then each gsp_id as a key to a forecast_value (actual implementation may differ), we may save response size, and also could be more like what our own frontend needs for charts etc.
Context
Should fit our own frontend use cases better, with less data manipulation in the web app, and may be more suitable for other users using our API for similar things – or even completely different things.
This could also be implemented in parallel to the existing endpoint/return structure, allowing more flexible and specific use of the API data.
Possible Implementation
As in description above.

Other options could be

have options to filter on start and end time
have options to filter on gsp_ids
both above?

Also could

reduce variable names
round numbers

E.g. this on the sites API forecast response:
"Long" names: 3.9MB response

versus "short" names: 2.9MB response

E.g. this on the sites API forecast response:
"Long" names: 3.9MB response
versus "short" names: 2.9MB response

This is good to know. Defiantely a balance of efficent data and making sure its readable. I wonder if we an option in the API called compact_data and then that can be used to reduce the amount of data passed

Other options could be

have options to filter on start and end time in the api
have options to filter on gsp_ids  in the api
both above?

We could also filter on lat and lon.

Some notes on reducing to 2.d.p
timings [seconds]
dev 27, 13, 28
pro 35, 17, 37
size went down from 1.2MB to 775kb

Ill close this for now


Marketplace modals are too tall to show notifications

I was testing the error notifications and noticed that in your theme, it makes the modals all tall. Since Spicetify.showNotification shows up underneath for some reason, this means you can't see them when they are triggered.
They normally show up around here, on the layer underneath the modal.

That bug has been fixed in the latest Version 3.0. Thx for reporting ♥. Feel free to report any bugs if you find any 🤗.


BIDS for histology discussion

Hi everyone, I’m a student in NeuroPoly Lab at Polytechnique Montreal. We are looking into BIDS for histology and would like to start a conversation with the community. Here is our BIDS proposal for handling histology data, you can comment or make suggestions directly on the doc.  Comments and feedback are welcome!
This is a continuation of the issue on Neurostars.
Best,
Marie-Helene

Hi @mariehbourget, thanks for sending this in.
I realize that you started with a post on Neurostars (https://neurostars.org/t/bids-with-histology-data/7201) and saw that Franklin and Chris already gave some advice.
But if you want to get additional feedback from the BIDS community, it may be worth to also send an announcement with a bit more detail about the motivation via the mailing list (https://groups.google.com/forum/#!forum/bids-discussion)

Hi Marie-Helene,
This is a really great initiative, thanks for starting this up! I do some mri-histology work, mostly in humans (surgical and post-mortem), and happy to contribute where I can and provide datasets too.
Two questions that come to mind:

What about whole-slide imaging file formats? For larger slides image tiling is required, basic formats like png are effectively unusable, and so hierarchical file formats are used that store low-res versions of the tiled images, along with all the full resolution tiles. Aperio svs (or bigTiff) is a common one, but a list of most of the popular ones can be found here: https://openslide.org/formats/. Would be curious to know how many people in this community are currently using those formats though, as they can be cumbersome to work with because of their size and limited support in viewers. Nifti could be a more flexible alternative for smaller sized images.

Would be an excellent opportunity to sort out standardized ways specifying coordinate systems and transformations between spaces (like MRI <-> histology) if the data are registered.

Best,
Ali

Hi Marie-Helene,
This is a great initiative - thank you for starting it! It would be really exciting to be able to share histology data in a standardised format.
I've added some comments on the google doc - I'll spread the work to a few other preclinical people I think may be interested in being involved. Would be great to take OHBM as an occasion to have a meet up with those interested!
Best wishes,
Alberto

Just as a quick aside, it's probably worthwhile to check in with the Bio-Formats folks before you get too deep into this.  OME-TIFF is already a fairly mature metadata standard and it's possible that you might end up duplicating some of the efforts that they've already made if you're not careful.

Would be an excellent opportunity to sort out standardized ways specifying coordinate systems and transformations between spaces (like MRI <-> histology) if the data are registered.

@akhanf that's a tricky one 😉

@akhanf - great suggestions. part of the process should be about capturing the information about coordinates/coordinate systems. the standardizing part may take some effort, but we can learn from several prior things.
it would be good to include:

some considerations of what formats are suitable at what scales of data and for what purpose.  we are currently helping a group curate a rather complex dataset that has multiple MR and optical recordings at a variety of scales from TBs to 100s TBs for a given sample. there are considerations of image formats, derived objects in vector formats, compressions schemes, metadata, etc.,. as we understand the data and processes better we may come back here with some options.

2, what are the different generators of such data (which instruments, what is their native/exported format, etc.,.)?

Hi @sappelhoff ,
We received great feedback and suggestions from the community and updated our working example accordingly. We were wondering what are the next steps to move forward and make this an official BEP? Thanks!

hey @mariehbourget, that's nice! We'll discuss this in our upcoming maintainers meeting next Tuesday and get back to you very soon afterwards.

Update: The current BEP proposal looks good and you seem to have found several contributors already --> we'll suggest to the steering group to make this BEP official. The next meeting is on the 30th, but I am very positive that we'll have good news then :-)
(i.e., feel free to keep working on the BEP until then)

Hi Histology folks,
we have decided to make this BEP official, giving it the number 31 --> BEP031 :tada:
I have lso prepared a PR that adds BEP031 to the list of all BIDS extension proposals: https://github.com/bids-standard/bids-website/pull/144
Please review whether that looks fine to you. Once that PR is merged, you'll be able to refer to your BEP using this address: https://bids.neuroimaging.io/bep031 ... that will then redirect to your Google Doc. If in the future you want to change where this link links to, you can simply edit a file on the bids-standarrd/bids-website repository and won't have to distribute an entirely new link.
Some important points to keep in mind when continuing to work on your BEP:

The microscopy data you are trying to introduce to BIDS is very different in kind to what we are currently having. To make integration as easy as possible, try to find collaborators / advisors that are well experienced with many different kinds of data supported in BIDS ... and with BIDS itsself
Please have a look at the bids-standard/bids-validator early on during your BEP development and think about how the data structure you are developing can be validated using our existing bids-validator ... and what extensions are needed

That's all from my side so far! Good luck and have fun.

Fantastic news - thank you @sappelhoff!

Great news! Thank you @sappelhoff for your help and advice.

@mariehbourget Wanted to suggest a collaboration.  The NIH Common Fund's Stimulating Peripheral Activity to Relieve Conditions ( SPARC) program is collecting microscopy data (and other data such as genomics, electrophysiology) with the addition of annotations and segmentation (via MBF Bioscience).  As part of this work, BIDS was used as a foundation for the data within SPARC ( https://sparc.science/help/3FXikFXC8shPRd8xZqhjVT ).  Information about samples is included and information about appropriate metadata for samples and subjects (e.g. from MINDS) is also included. We (including @tgbugs @bandrow ) are part of the SPARC curation core and would be interested in joining these discussions.

Thank you for reaching out @jgrethe ! Glad to have you and your team being part of these discussions.

Hi @jgrethe , thank you for reaching out and joining the discussion.
For the BIDS extension proposal for microscopy, we are looking into restricting the primary data to only one file format. This is to avoid having Apps down the line having to deal with multiple formats. As of now, we are mainly discussing between 2D image formats like PNG or Whole-slide imaging formats like OME-TIFF. We looked into the SPARC dataset structure and we are wondering if you have guidelines or best practices regarding file formats for your “primary” folder? Thanks!

Hi,
Thanks for starting this community effort!
Two cents for the Martinos Center  (@brf2), where we're working with multimodal datasets that include 3D microscopy (OCT and light-sheet microscopy): it would be beneficial to make choices that are compatible with 3D datasets. I don't think that having separate BEP for 2D and 3D microscopy makes sense, there's way too much overlap between these.
It would also be super useful to think about coordinates systems / spatial mapping (most microscopy formats don't include the equivalent of an affine transform). Having a look at what's done in the GIS community could be interesting: they have very similar problems as us (coordinate systems, large files, pyramids, etc).
I have added a few comments on the google doc.
Thanks again


Java8 compile fail

With mvn -f pom-java8.xml clean install:

Caused by a test that requires at least Java 11. Fixed.


Textfield cursor behaving strangely when editing

In the Storybook, the Text Field component allows a user to add and edit text. When editing this text, if the cursor is placed anywhere except after the last character, it only allows for a single action (deleting one character or adding one character) before the cursor is automatically moved back to the end of the string of text. This occurs in each example of the "Text Field" Component on Safari (Mac), Chrome (Windows, Mac), Firefox (Windows, Mac), and Edge (Windows).

Closed by #22.


Read spreadsheet for Bounty program

Hi, is it possible to read spreadsheet for bounty program and send tokens back to specific address?
Is it possible to use oraclize and call some API outside from your project?
Thank you

I don't understand the question. Can you provide an example?

Hi, sure I will explain it little better

We have some excel (spreadsheet) file with different ETH addresses inside. Is it somehow possible to parse this excel with TokenMint and send new ERC-20 tokens back to this address?

Nowadays is very popular to allow only confirmed people to participate in crowdsale. So people which confirm email for example. Is it possible from TokenMint to call API outside and check if email is confirmed. And if is confirmed transaction will be allowed.

Right now that is not supported. That can be added as a future feature, however.

ok thank you for this information. Can you tell me what are you using for communication between UI and block chain and maybe I can help with implementation.

RPC connector here: https://github.com/ethereumproject/TokenMint/blob/master/src/lib/rpc.js

Can you try to describe solution idea how you will do it? And then I can start, because it is your project.

i don't know the best way to do it, i will have to think about it. it would be easier if you try to familiarize yourself with the code base and propose how you want to solve it.

@elaineo last question. If I want to call method and save something in solidity for example this event
event Whitelisted(address addr, bool status);
how can I do this with rpc.js? What i need to do to call this Whitelisted(address addr, bool status);

you will need to create a new smart contract with the Whitelisted function. this is unrelated to rpc.js.
For testing smart contracts, I recommend Truffle (https://github.com/trufflesuite/truffle) or browser solidity (https://ethereum.github.io/browser-solidity/)

@elaineo sure I understand that I need new smart contract. I know solidity but my problem is how to do a communication between rpc.js and solidity event. So if I add new event in smart contract how can I do a communication between UI and this event.
I want to call this event from your UI and add address to it
event Whitelisted(address addr, bool status);

@elaineo sure I understand that I need new smart contract. I know solidity but my problem is how to do a communication between rpc.js and solidity event. So if I add new event in smart contract how can I do a communication between UI and this event.
I want to call this event from your UI and add address to it
event Whitelisted(address addr, bool status);

@ansajjasna you would need to create a filter (https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_newfilter)
i don't like using event filters though, they tend to be slow.


Converts UltraDNS MWS tests to MockWebServerAssertions

denominator-pull-requests #394 SUCCESS
This pull request looks good

NetflixOSS » denominator » denominator-pull-requests #19 SUCCESS
This pull request looks good

@jonbodner @jdamick FYI (no action needed)


Labels text are now the theme color

Just happened today.
v2.4.7 & v1.20.58

Totally missed the right repo...


☂ Cleanup include/ts

[ ] Remove experimental.h

[ ] Move fetchsm APIs and enums into ts.h
[ ] Remove TSMatcher* APIs
[ ] Remove any unimplimented APIs

[ ] Move all non-exported headers in include/ts

[ ] Move InkAPIIntenal.h move to src directory
[ ] Move InkAPIPrivageIOCore.h

Should we also KWF parentselectdefs.h ?  The parent_select experimental plugin looks to be gone.  @SolidWallOfCode ?


Update dependencies

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b3f0042) 100.00% compared to head (fbf2205) 100.00%.

:exclamation: Current head fbf2205 differs from pull request most recent head 86fb449. Consider uploading reports for the commit 86fb449 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #283   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           95        95
  Lines         3230      3230
  Branches       255       255
=========================================
  Hits          3230      3230

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


Upgrade pip dependencies

tensorflow-hub: 0.3.0 --> 0.4.0
six: 1.11.0 --> 1.12.0

This change is

closing this PR, since we have moved to tf 1.14


fix convert error for type level with propertyHandler

fix #646  .
Please let me know if there is anything not considered.
I will try to fix it again.
thank

Hi, can you provide more context on this PR? Let me understand your problem and the solution you introduced on the 3 files. Just a high-level information of the problem and solution would help a lot. Though, I will look at this PR soon.
Looking forward to hearing from you.

I want to use PropertyHandler to map Enum to any database type, which may be varchar, int, float, decimal... etc. of specific values.
If Enum is in the model, the original operation is expected.
public class SomeModel {
   public SomeEnum Prop1 { get; set; }  // mapping to decimal 100
   ......
}
connection.ExecuteQuery<SomeModel>("select convert(decimal, 100) as Prop1");

However, if you directly correspond to the type, there will be a transformation error. The reason is that the processing of the PropertyHandler will be skipped in some cases.
connection.ExecuteQuery<SomeEnum>("select convert(decimal, 100)");

The main correction of this PR is that when the type corresponds, the conversion type can be determined according to the type of the PropertyHandler to avoid conversion errors.
in GetClassPropertyParameterInfoIsDbNullTrueValueExpression
mainly changed is to obtain the propertyHandler based on the classProperty or entity type. If the propertyHandler exists, the target type of convertion is determined based on the propertyHandler.
in GetPlainTypeToDbParametersCompiledFunction
mainly changed is to determine if a propertyHandler exists, then the value of DbParameter.DbType is determined according to the propertyHandler.

This is just for me ~ I saw some out/ref in the code. Though, it was not a part of our coding standards yet, but I am trying to remove it from the way we do things in RepoDB. We have few of this historically, which I already started refactoring.
This is to avoid a back-door referencing of the variables, in which could add more complexities on the code and the way we do the debugging. If you have a chance, maybe try to refactor the code a little to remove the out/ref keywords.
Also, please give me a little time to review this one, maybe after the Christmas Holiday. :) Thanks for this PR.

I have considered the suitability of out parameter, but in the end, in order to avoid repeated get of the Set return type of the PropertyHandler, and to avoid a large amount of code modification, the out parameter is used first after the choice.
Or can it return ValueTuple?
If ValueTuple can be used, I can use ValueTuple instead of out parameter.

This is the reason why this class, MemberBinding class and FieldDirection exists.

Fat finger, I am using my phone and accidentally close it. ~Reopening~

What if it looks like this?
internal static Expression ConvertExpressionToPropertyHandlerSetExpression(Expression expression,
    ClassProperty classProperty,
    Type targetType)
    => ConvertExpressionToPropertyHandlerSetExpressionCore(expression, classProperty, targetType).expression;

internal static (Expression expression, Type handlerSetType) ConvertExpressionToPropertyHandlerSetExpressionCore(Expression expression,
    ClassProperty classProperty,
    Type targetType)
{
    return ......
}

This can omit the definition of temporary classes.

It is ok to use Tuple, but I would say, just leave it for now and let me do the thorough review after the holidays, so I can provide more better insights. What I can say, the method name itself should do what it is meant to do. Definitely, naming should be Tuple and not Expression then :)
Btw, can you create a branch for this? Also, is this something you are needing very soon?

Sorry, I don't quite understand what you mean.
Does "create branch" mean in my fork repository?
There is no time pressure for nuget push.
But I hope to merge to master as soon as possible, so that my subsequent tests can continue.
thank

@fredliex - anyway, you can just ignore my request as I can see your branch Fix/Enum_PropertyHandler under your own account, I can always work there.
Just in case you want to fix something in the near future, you can now create a branch directly to the main line as I just made you a collaborator.

I just tried to create a branch in your repository, but I still don't seem to have permission.
I have changed the out parameter to return tuple in Fix/Enum_PropertyHandler branch on fredliex/RepoDB repository.
thank.

Sorry, I didn't notice the collaborationator invitation letter.
I will try to branch here later.

ok, the branch fix_Enum_PropertyHandler has been established here.
Use the method of returning Tuple.
thank

@fredliex - after the review, I would say that this is a very nice PR. Many thanks for this! I am currently running all our Integration Tests (cross data providers), hopeful to have all of them green. Cross fingers!

Thanks again for pushing this @fredliex !


status_string.go clarity improvements

status_string.go might need some refactoring for clarity (check out _Status_index)

That file is generated automatically.


Add reset buttons to some settings tabs

Namely display and layout.
Could there also be "reset to factory defaults" kind of button in "system options" which return shabad os to it's original installation? Basically resetting everything to defaults.

First task is easy.
2nd task, there’s a difference between default installation and default settings, so we need to be clear on which one we’d like

What's the difference between default installation and default settings?

Default installation suggests the same database at time of install etc, and removal of all additional artifacts (history, Logs, etc)

No we don't need that
Reset to default settings is fine. It will reset the frontend.


it gives very bad quality?

Everything is very good until we play videos from server. it converts in very bad quality . How do i fix  this problem?

Hi @divyanshurawat,
The quality is determined by the ffmpeg arguments in the encodeHLS function.
Notice there are two bitrates encoded: 365K and 2000K.
You can play around with the arguments to get any quality you want.
Also notice the -preset ultrafast. If you change it to fast, medium, slow it will improve the quality, but will make the encoding slower.
These were just example arguments, you have to find the settings that give you good results in your case.
Good luck.

Thanks i solved this issue. Does it help me to save bandwidth of my server?


TaskQueue error handling strategy improvements

Resolves L2B-398.
Current state: if an error happens during task execution, we are retrying it ad infinitum, emitting log.warnings at the same time. This means that in case of a persisting error (revoked API keys or simply programmer mistake in the new piece of logic) not only we will never stop retrying it but also we will never propagate it to sentry (it happens only when the retry strategy gives up and log.error is emitted). This means that even right now one of the queues can be failing indefinitely and we even don't know about it. Emitting errors on every retry is not advised as random failures do happen, and we don't want to be flooded with notifications.
Proposed solution: change the default behavior of the task queue to a confined number of retries after which an error is propagated and finally, the whole queue is halted. This means that it will require manual intervention from the dev team (fixing the error and restarting the service), but at least errors are now visible.
Alternative:
An alternative solution would be close monitoring failure rates via metrics and alerting the dev team based on that.

I think proposed solution is the best for now, it is also similiar to what we do with sanity checks (we tried monitoring but no one is checking so right now we make the build fail and everyone notices ;p).
In the future we would need a solution with the monitoring, but I do not think we are ready for that right now.


Transport format RFC

Trying to generalize the need that arose from pydeck's binary support.

Coverage remained the same at 83.364% when pulling 40d14c4619f910a78e7f50cc4499ad70c5ebf519 on x/json-buffer-rfc into 8a832f3906ebf6c4bef593562325b3aec26a25dc on master.

This looks fine to me–happy to implement it in @deck.gl/json and include it in pydeck.

 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.Xiaoji Chen seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

Per my understanding of the current frameworks architecture, we don't want deck.gl to parse the Arrow format

Is this still true? Just jotting down a few possible benefits to looking into Arrow for the binary transport format:
Apply accessors on JS side
The provided example is:
{
  "@@type": "PointCloudLayer",
  "data": {
    "length": 10000,
    "attributes": {
      "getPosition": "@@binary[0]/float64",
      "getColor": "@@binary[1]/uint8>"
  }
}

This implies to me that layer accessors are always resolved in the binding instead of in Deck.gl. E.g. here getColor accesses RGB values directly, so if the user wants to apply a function to generate colors, that function must be applied in the binding.
That means that any time a user wants to update the color or any other attribute based on a function, the binding must apply the new function, and then send a new binary buffer. If a new buffer must be sent on every style update, that seems to minimize part of the benefit of separating the JSON and the data in the first place.
I could envision passing a binary Arrow table from the binding to JS, and then possibly serializing a function definition in the JSON description to be applied in JS. If there was a way to make sure this "eval" is safe, it could mean faster data updates. (I don't know how unsafe eval is in the browser, specifically).
If accessors are applied only or mostly inside JS, that could reduce code duplication across languages. Though I also understand if you think parsing a function from the JSON attributes is too hacky.
Picking
If an entire table is sent to JS from the binding, picking is able to return metadata along with the feature, rather than solely its geometry.
Less custom binding code
Arrow is pretty widespread across languages, so i.e. in Python a user working with Pandas could pass an Arrow table to Deck.gl frictionlessly, and the binding wouldn't need custom code to serialize into buffers.
GPUTable module?
If the GPUTable module PR becomes merged and Arrow is used in the GPU, it's not that much of a stretch to use Arrow in JS internally for some things.
Streaming
Built-in support in Arrow for chunked table streaming.

Coverage remained the same at 79.089% when pulling 4217560a5a4b4f5e96a29269f3cc8b288b55c32b on x/json-buffer-rfc into 79e65643cd1917bf7df8501d423296dfd65750cb on master.


Vim 8.1 is freezing / buffering all input while another process is watching files and performing brief but I/O heavy work

Hi,
I've recently switched to Vim and I'm having difficulty getting Vim to play nicely with certain tools that watch files for changes and then perform an I/O heavy action (such as rebuilding web related files). Specifically Jekyll.
During this "rebuilding" phase which takes 3-4 seconds, all input to Vim is frozen. If I press a key, nothing happens, but the keys are being buffered because once the rebuild is done, all of the keys happen sequentially almost immediately.
I've tried disabling all plugins, and it's the same effect. I also tried using :profile to measure the file and func calls, and there's nothing in there causing any amount of noticeable delay.
I'm also using dedicated terminals for both Vim and the Jekyll watcher, just to eliminate any type of potential issues with :terminal. I'm also sure I'm not hitting CTRL + s (I tested for that and even disabled it).
But, here's some things I managed to figure out:

This buffering of input for 3 seconds doesn't happen with nano
This buffering of input for 3 seconds doesn't happen with neo vim

It seems specific to Vim.
My environment is:

OS: Debian unstable (i3wm with xcompmgr)
Terminal: rxvt-unicode (urxvt) v9.22 - released: 2016-01-23
Vim 8.1 (terminal version)

Here's a dump from vim --version:
VIM - Vi IMproved 8.1 (2018 May 18, compiled Jan 05 2019 20:53:12)
Included patches: 1-693
Modified by<EMAIL_ADDRESS>Compiled by<EMAIL_ADDRESS>Huge version with GTK2 GUI.  Features included (+) or not (-):
+acl               +extra_search      +mouse_netterm     +tag_old_static
+arabic            +farsi             +mouse_sgr         -tag_any_white
+autocmd           +file_in_path      -mouse_sysmouse    +tcl
+autochdir         +find_in_path      +mouse_urxvt       +termguicolors
-autoservername    +float             +mouse_xterm       +terminal
+balloon_eval      +folding           +multi_byte        +terminfo
+balloon_eval_term -footer            +multi_lang        +termresponse
+browse            +fork()            -mzscheme          +textobjects
++builtin_terms    +gettext           +netbeans_intg     +textprop
+byte_offset       -hangul_input      +num64             +timers
+channel           +iconv             +packages          +title
+cindent           +insert_expand     +path_extra        +toolbar
+clientserver      +job               +perl              +user_commands
+clipboard         +jumplist          +persistent_undo   +vartabs
+cmdline_compl     +keymap            +postscript        +vertsplit
+cmdline_hist      +lambda            +printer           +virtualedit
+cmdline_info      +langmap           +profile           +visual
+comments          +libcall           -python            +visualextra
+conceal           +linebreak         +python3           +viminfo
+cryptv            +lispindent        +quickfix          +vreplace
+cscope            +listcmds          +reltime           +wildignore
+cursorbind        +localmap          +rightleft         +wildmenu
+cursorshape       +lua               +ruby              +windows
+dialog_con_gui    +menu              +scrollbind        +writebackup
+diff              +mksession         +signs             +X11
+digraphs          +modify_fname      +smartindent       -xfontset
+dnd               +mouse             +startuptime       +xim
-ebcdic            +mouseshape        +statusline        +xpm
+emacs_tags        +mouse_dec         -sun_workshop      +xsmp_interact
+eval              +mouse_gpm         +syntax            +xterm_clipboard
+ex_extra          -mouse_jsbterm     +tag_binary        -xterm_save
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
 2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
  system gvimrc file: "$VIM/gvimrc"
    user gvimrc file: "$HOME/.gvimrc"
2nd user gvimrc file: "~/.vim/gvimrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
    system menu file: "$VIMRUNTIME/menu.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK  -pthread -I/usr/include/gtk-2.0 -I/usr/lib/x86_64-linux-gnu/gtk-2.0/include -I/usr/include/gio-unix-2.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libmount -I/usr/include/blkid -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/fribidi -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/uuid -I/usr/include/freetype2 -I/usr/include/libpng16 -Wdate-time  -g -O2 -fdebug-prefix-map=/build/vim-SsPCMM/vim-8.1.0693=. -fstack-protector-strong -Wformat -Werror=format-security -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
Linking: gcc   -L. -Wl,-z,relro -Wl,-z,now -fstack-protector -rdynamic -Wl,-export-dynamic -Wl,-E  -Wl,-z,relro -Wl,-z,now -Wl,--as-needed -o vim   -lgtk-x11-2.0 -lgdk-x11-2.0 -lpangocairo-1.0 -latk-1.0 -lcairo -lgdk_pixbuf-2.0 -lgio-2.0 -lpangoft2-1.0 -lpango-1.0 -lgobject-2.0 -lglib-2.0 -lfontconfig -lfreetype -lSM -lICE -lXpm -lXt -lX11 -lXdmcp -lSM -lICE  -lm -ltinfo -lnsl  -lselinux  -lacl -lattr -lgpm -ldl  -L/usr/lib -llua5.2 -Wl,-E  -fstack-protector-strong -L/usr/local/lib  -L/usr/lib/x86_64-linux-gnu/perl/5.28/CORE -lperl -ldl -lm -lpthread -lcrypt  -L/usr/lib/python3.7/config-3.7m-x86_64-linux-gnu -lpython3.7m -lpthread -ldl -lutil -lm -L/usr/lib/x86_64-linux-gnu -ltcl8.6 -ldl -lz -lpthread -lm -lruby-2.5 -lpthread -lgmp -ldl -lcrypt -lm

I've also talked about this issue in https://github.com/jekyll/jekyll/issues/7486, which I'm cross referencing here in case it ends up being helpful to anyone.

I ran into a very similar problem with vim 9.1.825, which ships with Fedora 40 aarch64. Writing a small file on an SSD is very fast (the delay is unnoticeable), while doing the same on an HDD takes about 3 seconds.
The set nofsync command helped only a little bit, maybe less than 1 sec reduction? But the set swapsync= command makes the problem go away! Feels no delay now. Thanks @mgedmin for the suggestion above 5 years ago :)


fix issues [with one test failing]

if an order buys LRC, the protocol always try to pay miner with the bought LRC instead of LRC that already in the order's address.

@kongliangzhong please fix error in test

fixed.


Add GPT-4o mini support

💻 变更类型 | Change Type

[x] feat
[ ] fix
[ ] refactor
[ ] perf
[ ] style
[ ] test
[ ] docs
[ ] ci
[ ] chore
[ ] build

🔀 变更说明 | Description of Change
Add GPT-4o mini support
📝 补充信息 | Additional Information
Reference:

https://platform.openai.com/docs/models/gpt-4o-mini
https://openai.com/index/gpt-4o-mini-advancing-cost-efficient-intelligence/

Summary by CodeRabbit

New Features

Added support for new models: "gpt-4o-mini" and "gpt-4o-mini-2024-07-18".
Introduced a check for "gpt-4-turbo" within the vision models.

excellent job


[Feature Request] Add a hook that fires when recent actions gets updated

Hi,
This is mostly related to the many questions I've been asking you on the Discord as well; it'd be helpful for manipulating the recent actions list, if it fired a hook when it's finished with its' normal run, since it has a hardcoded delay/timeout. I understand this is for a bug fix, so I'm not asking to remove that, but can a hook be added and fired when it's done? That way our macros can latch onto it. Thanks for your time!

You can use the update actor hook that is already present in core foundry

Due to hardcoded timeout of the refreshing of recent actions, I experience stray update actors are triggered by other modules and without throwing in an extensive hook on/hook off procedure, I can't hit the update actor that CombatBooster hits.

Yes you can, just check if the update data contains the cb flag :)


fix remove_feb_29 usage for distributed generation

#4  👈
ideasmiths-master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @NLaws and the rest of your teammates on  Graphite


Icon finder service is out of service

Bonjour messieurs-dames,
the icon/logo finder service, actually hosted at http://icons.better-idea.org/ is not online yet.
TEMP workaround : a similar service hosted @ https://besticon-demo.herokuapp.com/
Final workaround : … ? Host our own -same- service ? Find another tool on the web ? Build a routine in rss-bridge ?

I do believe that most of the websites are just exposing the favicon by favicon.ico.
We could just link to URL/favicon.ico.
It may not be as good as finding eventual higher resolution versions, but it would work on most cases without relying on external services. We could eventually expose a new parameter for specifying the bridge's favicon, if some think that this is needed.

But also please don't forget about the danger of malformed/forged favicons. :)

This is now implemented since 9b34b68


feat(example): update gmp example

AXE-6568

This is a follow-up PR for https://github.com/axelarnetwork/axelar-cgp-soroban/pull/62

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.43%. Comparing base (fe4859d) to head (98c2a8f).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #66      +/-   ##
==========================================
- Coverage   98.43%   98.43%   -0.01%
==========================================
  Files          33       33
  Lines        2113     2110       -3
==========================================
- Hits         2080     2077       -3
  Misses         33       33

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


document shift+enter to run game

probably in the "learn tab" somewhere

added it to the help docs, could be good to mention in a challenge

added mention to the first challenge


Aspire Support

A very nice project here. A touch of Aspire, especially where there is need for configs

You can add it yourself.


operator [R] camel-k (1.10.4 1.11.0)

Signed-off-by: Andrea Cosentino<EMAIL_ADDRESS>Thanks for submitting your Operator. Please check the below list before you create your Pull Request.
New Submissions

[x] Are you familiar with our contribution guidelines?
[x] Have you packaged and deployed your Operator for Operator Framework?

[x] Have you considered whether you want to use semantic versioning order?
[x] Is your submission signed?
[x] Is operator icon set?

Updates to existing Operators

[x] Did you create a ci.yaml file according to the update instructions?
[x] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description of the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

/merge possible

Replaces in version 1.11.0  should point to  camel-k-operator.v1.10.4 . Please also fix it.

@oscerd ^^

No if you are on 1.11.0 you should stay on that. This is just for 1.10.x or i don't get what you're saying

Ok, now I got it

Done

/merge possible

/merge possible

/merge possible


Fix flaky JavaCompileParallelIntegrationTest

This is a really old test that uses JDK 6 for test in some cases. JDK 6 is sometimes broken on build agents (unfortunately we don't know why yet), so let's simply use JDK>8 because the test doesn't care which JDK version is used.
Failure history:
https://ge.gradle.org/scans/tests?search.relativeStartTime=P90D&search.timeZoneId=Asia/Shanghai&tests.container=org.gradle.api.tasks.compile.JavaCompileParallelIntegrationTest&tests.test=system property java.home is not modified across compile task boundaries

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.


Enable typing in Cask::Artifact

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Enables typing in Cask::Artifact. In this PR, i've introduced a new util module, Utils::Splat, which allows a file to be typed by wrapping splat calls to Ruby core/std library methods. Initially, it has a single method, a Process.kill wrapper. It's admittedly a potentially clumsy abstraction – bringing together a bunch of methods whose only unifying factor is accepting splat arguments, but we could refactor it as necessary (though I think it will mostly be lower-level CLI-wrapped methods like system).

Review period will end on 2023-02-23 at 17:36:21 UTC.

Thanks again @dduugg!

Review period ended.


Update botocore library that supports IMDSv2

This is related to https://github.com/awslabs/aws-ec2rescue-linux/issues/58
Current \lib\botocore\utils.py does not handle IMDSv2 - the file is updated in https://github.com/boto/botocore/blob/develop/botocore/utils.py - that handles IMDSv2.
We should update our libraries.

Updated botocore and boto3 in commit f29ab319c5cc3e7511a855e6615760be39cbab33.


I just couldn't get the application to run on window's

I tried for ages and ages. I really did but it doesn't help that I have almost no knowledge of cmd or power shell so I can't actually understand any errors I am getting or basic mistakes.
It would be great if someone could make a quick video tutorial of how of them doing it or new instructions which a 5 year-old could understand (cause that's what I need, sorry). I am fairly tech savey and understand it but don't know anything about cmd or power shell. Thank you if anyone can help me.

I understand you, i'm a newbie too.
i create a .bat file in the same directory of streama.war with this code java -jar java -jar streama-1.4.0_beta.war (if you have downloaded this version).

IMO its better to run off a dedicated linux system, if not then maybe create a VM? It would create a nice isolated environment.


Error attempying to Generate Code

I have checked the following:

[X] I use the newest version of bruno.
[X] I've searched existing issues and found nothing related to my issue.

Describe the bug
I am using version 1.19.0 on Mac Apple Silicon.
As soon as I click on the "Generate Code" option I get an error that says:
Oops! Something went wrong
If you are using an official production build: the above error is most likely a bug!
Please report this under:https://github.com/usebruno/bruno/issues
.bru file to reproduce the bug
`meta {
name: Random US
type: http
seq: 1
}
get {
url: https://randomuser.me/api/?nat=us
body: none
auth: none
}
query {
nat: us
}
`
Screenshots/Live demo link

I have the same problem on the downloaded Bruno 1.19.0 (from homeBrew) - Previous release was working fine.
Instead, the forked repository looks working fine, it open the generation code panel.

Same issue, same version, but running on Windows 11.

Same here.
Bruno 1.19.0 (snap install) on Ubuntu 20.04

The stack trace is:
framework-80ea8c0f440c6a32.js:9 TypeError: Cannot read properties of undefined (reading 'externalSecrets')
    at getExternalCollectionSecretsForActiveEnvironment (_app-92e2050d0799eab9.js:17:186595)
    at getAllVariables (_app-92e2050d0799eab9.js:17:186042)
    at CodeEditor.addOverlay<PHONE_NUMBER>2453bea5b.js:1:100581)
    at CodeEditor.value<PHONE_NUMBER>2453bea5b.js:1:104274)
    at lk (framework-80ea8c0f440c6a32.js:9:90626)
    at jk (framework-80ea8c0f440c6a32.js:9:111105)
    at framework-80ea8c0f440c6a32.js:9:111116
    at Qk (framework-80ea8c0f440c6a32.js:9:111628)
    at Fk (framework-80ea8c0f440c6a32.js:9:96297)
    at jg (framework-80ea8c0f440c6a32.js:9:44900)

I guess this must be a bug in Golden Edition code with the new vault integration feature, as I don't see that function in this repository. I am a free user.

Same here

+1

+1

+1
Confirmed on Windows:

+1

1 also recurrent in my mac

TypeError: Cannot read properties of undefined (reading 'externalSecrets')

Fedora, flatpak, 1.19, same error here.

same

I have the same issue on Mac M1

+1

Same here, Fedora 40, Bruno 1.19.0, Flatpak. I also tested with appimage .

Error doesn't appear on me anymore with version 1.34 in mac m2


Steps cannot use callbacks

Wrapping steps which use callbacks instead of returning promises leads to this cucumber error:
"function uses multiple asynchronous interfaces: callback and promise"
This is causing by the setDefinitionFunctionWrapper which always returns a promise.

Yes ! Here is a step which failed:
Then('It should fail', callback => {
  callback();
})

@DevSide yes, so since you can use promises you can't use callback anymore which are not needed.

Not needed ? Promise api doesn't replace callback api :smile: .
You should document that callbacks are not supported.

Not needed ? Promise api doesn't replace callback api 😄

You think? I don't know why you would want to use callbacks if promises are supported.

You should document that Cucumber step callbacks are not supported.

Would you mind open a PR?


Updated Joke ID 6

Description
Changes the setup and delivery to be more "one-line joke" like
Removes gendering the developer as male.
Related Issue

Motivation and Context
The original setup/delivery didn't play well as a joke. Also, it was specifically male-gendered.
How Has This Been Tested?

Screenshots (if appropriate):

Checklist

[x] I have read and followed the Contributing Guide
[x] I have read and accept the Code of Conduct (TLDR: just behave in a friendly manner)
[x] My code follows the general style of this project
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation (if applicable)
[ ] I ensured that the automated checks that ran on this PR have completed successfully
[ ] I added myself to the package.json file (optional but highly encouraged :)

^ Not completing the checklist or ignoring what it says will invalidate your contribution and may even ban you from contributing altogether ^

I hope you don't mind this PR, I was looking at this joke today and I wondered if it could be improved with a small change in how it's displayed.
I couldn't check all the checklist items, because I merely made a small text change to the joke JSON.
I also don't know what the process is for updating translations?

I hope you don't mind this PR

Of course not, thank you for improving JokeAPI!

I couldn't check all the checklist items, because I merely made a small text change to the joke JSON.

It's fine like this :)

I also don't know what the process is for updating translations?

Jokes themselves aren't translated. There's just a separate file for jokes of other languages. If you want, you can submit a translation of this joke though, as you would submit any other joke.
I will have to delay merging this request though, as the server is going through maintenance at the moment.


Fixed GitHub URL links in documentation

Same solution as for sentinelhub-py in https://github.com/sentinel-hub/sentinelhub-py/pull/316
You can check the newly built docs here.

Codecov Report

Merging #466 (caefa51) into develop (993f2ff) will decrease coverage by 0.01%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           develop     #466      +/-   ##
===========================================
- Coverage    82.83%   82.81%   -0.02%
===========================================
  Files           59       59
  Lines         5638     5638
===========================================
- Hits          4670     4669       -1
- Misses         968      969       +1

Impacted Files
Coverage Δ

core/eolearn/core/extra/ray.py
92.68% <0.00%> (-2.44%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Additional fields for the UI

Summary
This PR introduces readable_name and readable_title fields for the Provider and Program entities respectively to be used in the UI.

To be honest, I couldn't think in a better names for these fields. Any better proposal is welcome, team.


Subsets Material Management

Hello,
I have seen that Subsets materials are not supported, and when they are present in a USD file, the mesh containing subsets is recognized as a single mesh with only one material.
I would like to help you for the management of this trying to do eventually a Pull Request.
Sadly I don't have knowledge about cmake, if you are not going to manage subsets material soon, could I ask you what are the steps to follow in order to compile this repository on my PC and where to look so I can make it?
thank you in advance

I figured it out that I was creating in the wrong way the Subsets, my error sorry.
I have just to figure out why transparency in URP is not detected, but that's another issue!
Keep it up the good work!


How many people are currently using Staticman?

@eduardoboucas How many active installs of Staticman is there as of now?

It's hard to tell. The npm barely gets any downloads, because most people just use the public instance and we don't collect much data from it. The best way to get an idea of the number of entries being processed is by looking at the staticmanapp bot profile, which shows ~11,000 entries in the last year.


Carrier can move command blocks

Hi again, playing on an all of fabric 3 2.5.9 server and was able to move a command block using carrier. This probably shouldn't be a thing. At least for non OP-d players. Hopefully this is actually helpful this time :)
oh, forgot, this is carrier v1.6.1

Fixed in 1.7.4, thanks for reporting


feat(transform): include score to matches

@ibedarev Hello, how's it goin'? I see you've done a great job! but would you mind sharing what you improved in this PR, it helps the maintainer to look into your PR. thank you!


uri check fails

Ajv reports a validation error for a valid uri string.
URI: https://hi.wikipedia.org/wiki/जर्मनी
Validation error text: data must match format "uri"
I know e.g. नी is not ASCII and RFC 3086 does not define the use of other characters. Nethertheless it is a valid url and
shouldn't the strings representing an URL be u subset of the strings representing an URI?
What version of Ajv are you using? Does the issue happen if you use the latest version?
ajv version: 8.17.1 (latest version)
Ajv options object
{
  allErrors: true,
  strictSchema: true
}

JSON Schema
{
    "type": "string",
    "format": "uri"
}

Sample data
"https://hi.wikipedia.org/wiki/जर्मनी"

Your code

import Ajv from "ajv";
const addFormats = require("ajv-formats");
const ajv = new Ajv(options);
const validResult = ajv.validate(schema, data);
const errors = ajv.errors;
const message = ajv.errorsText(ajv.errors);

Validation result, data AFTER validation, error messages
validationResult: false

errors: [{
    "instancePath": "",
    "schemaPath": "#/format",
    "keyword": "format",
    "params": {
        "format":"uri"
    },
    "message": "must match format \"uri\""
}]

message: data must match format "uri"

What results did you expect?
validationResult: true

errors: null

message: No errors

I also ran into validation issues with an emoji in a uri (a local file).  See image.  Please try validating glTF files.

@ruegenbfr I think we want to include iri and iri-reference instead of uri and uri-reference for international purposes.

https://en.m.wikipedia.org/wiki/Internationalized_Resource_Identifier

This library helps with uri, uri-reference, and especially iri and iri-reference formats.  Search for iri or iri-reference in your ajv-formats installation for package link, which I list here:
ajv-formats-draft2019:  ajv-formats-draft2019 - npm
So far, it looks like this works with JSON schema draft 2020-12, but there's more work to do.

Using ajv-formats-draft2019 as a drop-in replacement for ajv-formats has worked for me so far.  Please test throughly.

Thanks @coderextreme for providing this extra information and providing the solution.

If you are still having issues, check my code that adds the “uri” and “iri” formats: https://github.com/coderextreme/x3dvalidate

const Ajv2020 = require("ajv/dist/2020");
const apply = require('ajv-formats-draft2019');
let ajv = new Ajv2020({ strict: false });
apply(ajv, {mode: "full", formats: ["uri-reference", "uri", "iri-reference", "iri"], keywords: true});  // fast mode is "fast"


Generate GraphQL bindings from REST APIs

It should be possible to transform any REST API into a GraphQL binding, based on some kind of structured API documentation, such as Swagger / Open API docs.
Open questions:

What kind of REST API tooling provides/generates a structured documentation that could be used as a foundation to generate the GraphQL schema?

In the last few months, since the transition of many libraries under The Guild's leadership, We've reviewed and released many improvements and versions to graphql-cli, graphql-config and graphql-import.
We've reviewed graphql-binding, had many meetings with current users and engaged the community also through the roadmap issue.
What we've found is that the new GraphQL Mesh library is covering not only all the current capabilities of GraphQL Binding, but also the future ideas that were introduced in the original GraphQL Binding blog post and haven't come to life yet.
And the best thing - GraphQL Mesh gives you all those capabilities, even if your source is not a GraphQL service at all!
it can be GraphQL, OpenAPI/Swagger, gRPC, SQL or any other source!
And of course you can even merge all those sources into a single SDK.
Just like GraphQL Binding, you get a fully typed SDK (thanks to the protocols SDKs and the GraphQL Code Generator), but from any source, and that SDK can run anywhere, as a connector or as a full blown gateway.
And you can share your own "Mesh Modules" (which you would probably call "your own binding") and our community already created many of those!
Also, we decided to simply expose regular GraphQL, so you can choose how to consume it using all the awesome fluent client SDKs out there.
If you think that we've missed anything from GraphQL Binding that is not supported in a better way in GraphQL Mesh, please let us know!

In the context of that particular issue - Supporting REST was the original goal of GraphQL Mesh so I'm pretty sure we cover that use case very nicely.
But, if you think something might be missing in GraphQL Mesh, please feel free to open a new issue on the GraphQL Mesh repo.
We're looking forward for your feedback of how we can make your experience even better!


Stepping stone to full type support

Feature Request
Description
https://github.com/datastax/adelphi/issues/100 aims to provide complete support for all possible column types, including more "exotic" types like inetaddresses.  In order to maximize our utility as quickly as possible it probably makes sense to quickly add support for as many common data types as possible before worrying about the more exotic types.  This ticket aims to accomplish that goal.
Ideally the outcome of this ticket would add support for numeric and (possibly) date/time types.  If we can get these in place (alongside our existing support for "text" types) quickly we should be able to offer coverage of a decent number of real-world schemas.
An additional item to consider for this ticket: we should evaluate the column types when doing insert statements in order to implement the following behaviours:

Identify which columns are supported types and only populate date for those columns
Make sure all primary key columns are supported types (since we have to put something in them if they are)

This will allow us to work with schemas that include non-supported types (as long as those columns aren't part of a primary key).

Note that this PR adds logging for a few error cases but these logs are only handled locally.  Ideally this would be reported up so that we could say more coherent things at a k8s level... see https://github.com/datastax/adelphi/issues/120 for more on this.


Tree View lacks typeahead functionality: Best Practice

Describe the bug
Tree Views lack Type-ahead functionality. Type-ahead is recommended for all trees, especially for trees with more than 7 root nodes.
How to reproduce
https://stackblitz.com/github/clane/clarityTest2/tree/master/clarity-test-app
Steps to reproduce the behavior:

Using the keyboard alone try to navigate any of the tree examples by typing the first character seen in any treenode.
Observe that this is not possible

Expected behavior
Implement Type-ahead functionality as described below.

Type a character: focus moves to the next node with a name that starts with the typed character.
Type multiple characters in rapid succession: focus moves to the next node with a name that starts with the string of characters typed.

See
https://www.w3.org/TR/wai-aria-practices-1.1/#TreeView
Versions
App

Angular: [e.g. 6]
Node: [e.g. 8.10.0]
Clarity: [e.g. 0.12.5]

Device:

Type: [e.g. MacBook]
OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Additional notes
Add any other notes about the problem here.

Is this search only for nodes in the DOM? Does it matter if they are hidden or visible?

This is an important feature.
Why this is marked as LowPriority? :(

It is low because its a recommendation but not a requirement, and it is also quite difficult to implement because of the nature of lazy loaded tree views not knowing the whole tree. We don't have a model of the data, but only know about the structure once it is rendered, so traversing to search for values is also a performance drain that we have to consider.

The WCAG verbiage says "Type-ahead is recommended for all trees, especially for trees with more than 7 root nodes:".  It looks like the use of the word "recommended" lowers its priority

Hi there, this is an automated message.
In an effort to dedupe and track accessibility reports consistently, this issue is being closed and tracked internally with our Accessibility team. It will still be triaged and addressed as part of ongoing work.


New File Commands needed

We can get a 'dir' of files, load files and save files.
How do we copy files (from internal FS to SD FS) or delete files?
Is this possible in the current configuration, or does it require changes?

If there's no delete command it's because I forgot. There's no way of doing it. Adding the functionality isn't difficult.
Copying files in is designed to be done in one of two ways. One is downloading it over Wifi the other is by putting it in the build and having it copied into SPIFFS. Copy out is done by sending it over the serial port in an encoded format.
This is because I don't have a board with an SDCard. The reality is that the file system is a complete cheat - it is mostly written in C and invoked on an active write - there's no Eris code accessing SPIFFS or Wifi directly and manipulating blocks on a storage device, it's just done in C. It would be fairly simple (and preferable) to replace the routines to load/save etc. (see Eris Hardware.odt) with functionally equivalent ones that access the SD card, if the library supports them.

Added a delete  command to BASIC and esp32/glibc implementations. There are only two storage types in Eris ; wifi external and local internal, so SDCard would replace SPIFFS rather than work with it.


⚠ Bofrost.lu has degraded performance

In 8b49fbe, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1207 ms

Resolved: Bofrost.lu performance has improved in 670be4c after 19 minutes.


Fix the kubelet node watch

From #6423, @lavalamp, @bgrant0607

Yikes-- I hope I didn't break anything else

Looks like failures are unrelated.

Uh....I wrote some comment on my laptop yesterday but apparently it got lost before being posted. This PR doesn't solve the problem. It adapted kubelet to work with v1beta3, but it broke v1beta1 instead :\  It worked on my desktop only because the default version now is v1beta3. If you look at the shippable builds, you could see that one of them (v1beta1) had the same  error messages in kubelet.log.
Kubelet would need to support both versions. @lavalamp, do you have a better fix?

I guess the coffee hasn't kicked in, of course you're right, I should have noticed.
We need a different field selector depending on the api version.

Let's see... is it better to leave v1beta3 broken? Should we revert this?

Ideally, we'd fix this in the client, but here's an example of an analogous situation and what was done:
https://github.com/GoogleCloudPlatform/kubernetes/blob/master/plugin/pkg/scheduler/factory/factory.go#L300

Please do not break v1beta3.

@lavalamp, kubelet uses Client.Interface so it has no access to the apiversion, unlike the example you mentioned where Client.Client was used.

@yujuhong OK we should definitely fix this in the client library, then.

I'm working on a fix.


CIM fixes - BMH, AI config map, template updates

Remove pull-secret toghether with infraenv
Update temptifly lib to fix resetting of forms when switching YAML editor
Signed-off-by: Rastislav Wagner<EMAIL_ADDRESS>Fixes:
https://github.com/open-cluster-management/backlog/issues/17000
https://github.com/open-cluster-management/backlog/issues/16661
https://github.com/open-cluster-management/backlog/issues/16682
https://github.com/open-cluster-management/backlog/issues/17132
https://github.com/open-cluster-management/console/pull/916

/lgtm


Prevent multiple notification on multiple opened tabs

I suggest adding the 'tag' key which it prevents firing multiple notification with the same tag. Applies perfectly when opening multiple tabs and we need 1 notification
body: data.msg,
tag : 'onetime-notification',

Tested in Chrome only.

See #2
it is already supported.

Closing this one. If it doesn't work you can reopen.

Tag doesn't work in Safari


Remove dashes from key identifiers, as those are forbidden by the JMS spec

In the JMS 2.0 spec, section 3.5.1:

Property names must obey the rules for a message selector identifier. See
Section 3.8“ Message selection” for more information

and then in section 3.8:

An identifier is an unlimited -length character sequence that must
begin with a Java identifier start character; all following characters
must be Java identifier part characters. An identifier start character
is any character for which the method Character.isJavaIdentifierStart
returns true. This includes '_' and '$'. An identifier part character is any character
for which the method Character.isJavaIdentifierPart returns true.

and

Identifiers are either header field references or property references.
The type of a property value in a message selector corresponds to
the type used to set the property. If a property that does not exist in
a message is referenced, its value is NULL.

One specific example of where this is causing problems is when having the OT-contrib Servlet and OT-contrib JMS as part of the same trace: in some tracers, all HTTP Headers are passed down. Other situation can be seen on the example application swarm-jms, which fails with the following exception when using Jaeger:
2017-05-04 11:43:42,777 INFO  [io.opentracing.example.swarm.jms.rest.HelloWorldEndpoint] (default task-1) Creating JMS message with content: text
2017-05-04 11:43:42,837 ERROR [org.jboss.as.ejb3.invocation] (default task-1) WFLYEJB0034: EJB Invocation failed on component HelloWorldEndpoint for method public javax.ws.rs.core.Response io.opentracing.example.swarm.jms.rest.HelloWorldEndpoint.doGet(javax.servlet.http.HttpServletRequest) throws javax.jms.JMSException: javax.ejb.EJBException: javax.jms.JMSRuntimeException: AMQ129012: The property name 'uber-trace-id' is not a valid java identifier.
...
...
Caused by: javax.jms.JMSRuntimeException: AMQ129012: The property name 'uber-trace-id' is not a valid java identifier.
	at org.apache.activemq.artemis.jms.client.ActiveMQMessage.checkProperty(ActiveMQMessage.java:862)
	at org.apache.activemq.artemis.jms.client.ActiveMQMessage.setStringProperty(ActiveMQMessage.java:606)
	at io.opentracing.contrib.jms.common.JmsTextMapInjectAdapter.put(JmsTextMapInjectAdapter.java:28)

A similar exception happens when using Hawkular APM.
With this patch applied, the linked example shows this on the logs when doing a call to http://localhost:8080/hello:
2017-05-04 11:40:12,805 INFO  [io.opentracing.example.swarm.jms.rest.HelloWorldEndpoint] (default task-1) Creating JMS message with content: text
2017-05-04 11:40:12,867 INFO  [io.opentracing.example.swarm.jms.rest.HelloWorldEndpoint] (default task-1) JMS message submitted
2017-05-04 11:40:12,881 INFO  [io.opentracing.example.swarm.jms.rest.HelloWorldEndpoint] (Thread-0 (ActiveMQ-client-global-threads-806501318)) Got the following message: text

Note that injector/extractor adapters are in common and used for both JMS 1 and 2, therefore allowed characters (e.g. _$ )might differ.

Also, this PR is intended provide a quick and dirty fix, so that I can keep moving on the samples and to start a discussion on what's appropriate on such situations. Would we want to skip adding those properties, or would we try to clean up the key? Should we try to revert the cleanup on the extract adapter? If we change the key, the data stored within the JMS span might not match with the data stored within the servlet span.

therefore allowed characters (e.g. _$ )might differ.

I think JMS 1.0 and 2.0 are quite similar on this: https://docs.oracle.com/cd/E19957-01/816-5904-10/816-5904-10.pdf

Whatever processing is performed in the inject needs to be reversed in the extract - the sending and receiving services should be unaffected by the fact that such a transformation has been required to satisfy the JMS spec restrictions.

Isn't better don't add properties with dashes (simply skip)?
Modified properties in producer can be not expected in consumer.
And we cannot modify already added properties (if we want clean up in extractor).

I think the best approach would be to encode dash in injector and decode in extractor.

fix in 0.0.2 version


Create High-Quality Template Webhook for Network Participants

Description
Network Participants have requested a high-quality webhook template, as the current webhook on Sandbox is of low quality despite maintaining code standards. We need to provide a reference webhook sample in Node.js to assist Network Participants.
Goals

[x] Develop a high-quality webhook template in Node.js.
[x] Ensure the webhook template adheres to best coding practices.
[x] Provide clear documentation for the webhook template.
[x] Make the webhook template available for Network Participants as a reference.

Expected Outcome

A high-quality, well-documented webhook template in Node.js.
The webhook template should be easy for Network Participants to use and integrate.
Documentation should clearly explain the usage and customization of the webhook.

Acceptance Criteria

[x] The webhook template is developed in Node.js and adheres to best coding practices.
[x] Documentation is provided, including usage instructions and examples.
[x] The template is tested and verified for quality and functionality.
[x] The webhook template is made available on the appropriate platform for Network Participants.

Mockups / Wireframes
NA
Product Name
Beckn
Domain
Tech Debt
Tech Skills Needed
Node.js, Webhook Development, Documentation
Complexity
Medium
Category
Development
Sub Category
Webhook Template

Write a Application Server using good design patterns (NestJS?)
It should expose one endpoint (webhook)
Any call to that endpoint should return back an ACK to the caller (BPP-Client)
Based on the action, it should create a worker thread for that action
In the thread we mention that business logic goes here in comment
At end of worker thread call the corresponding on_xxxx (on_search, on_select) etc with a fixed json for a particular domain (retail)
Create a postman collection for retail that one can use on a BAP.
It should be possible to deploy this webhook as a retail simulator on any Beckn network and see communication flow in and out.
Make sure to log the request and the response, so it can be used for debugging. If possible have a health and logs endpoint for this webhook where health returns 200 and logs shows the request/response log (optional)
Create documentation on installing and hooking up webhook to a beckn network.

cc. @rahul-eminds @emmayank @viraj89 @faizmagic @meenakshi2468

@rahul-eminds - Please update the working status by EOD and get it verified with @vbabuEM. Post that please close the ticket.
@faizmagic

@rahul-eminds - Can you please share the status on this ticket.
@viraj89 / @emmayank - Kindly check with @rahul-eminds on the status.
@faizmagic

Review Completed

PR is raised, approved by @vbabuEM  and merged

@emmayank - Can we please close this card if all tasks are completed
@viraj89 @faizmagic


React Native Vector Icons causing build error

I created a React Native Project and Worked on it, It works perfect on debug build. But when I run ./gradlew assembleRelease inside android directory, It leads me to an error.

Task :app:copyReactNativeVectorIconFonts FAILED

FAILURE: Build failed with an exception.

What went wrong:
A problem was found with the configuration of task ':app:copyReactNativeVectorIconFonts' (type 'Copy').

Gradle detected a problem with the following location: '/Projects/AppName/android/app/build/intermediates/ReactNativeVectorIcons/fonts'.
Reason: Task ':app:lintVitalAnalyzeRelease' uses this output of task ':app:copyReactNativeVectorIconFonts' without declaring an explicit or implicit dependency. This can lead to incorrect results being produced, depending on what order the tasks are executed.
Possible solutions:

Declare task ':app:copyReactNativeVectorIconFonts' as an input of ':app:lintVitalAnalyzeRelease'.
Declare an explicit dependency on ':app:copyReactNativeVectorIconFonts' from ':app:lintVitalAnalyzeRelease' using Task#dependsOn.
Declare an explicit dependency on ':app:copyReactNativeVectorIconFonts' from ':app:lintVitalAnalyzeRelease' using Task#mustRunAfter.

Please refer to https://docs.gradle.org/8.0.1/userguide/validation_problems.html#implicit_dependency for more details about this problem.

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.
You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.
See https://docs.gradle.org/8.0.1/userguide/command_line_interface.html#sec:command_line_warnings
BUILD FAILED in 4s
214 actionable tasks: 7 executed, 207 up-to-date
Here's package.json
{
"name": "App Name",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"lint": "eslint .",
"start": "react-native start",
"test": "jest"
},
"dependencies": {
"@react-native-async-storage/async-storage": "^1.19.0",
"@react-navigation/bottom-tabs": "^6.5.8",
"@react-navigation/native": "^6.1.7",
"@react-navigation/native-stack": "^6.9.13",
"@reduxjs/toolkit": "^1.9.5",
"axios": "^1.4.0",
"react": "18.2.0",
"react-native": "0.72.1",
"react-native-linear-gradient": "^2.7.3",
"react-native-safe-area-context": "^4.6.3",
"react-native-screens": "^3.22.0",
"react-native-splash-screen": "^3.3.0",
"react-native-vector-icons": "^9.2.0",
"react-redux": "^8.1.1"
},
"devDependencies": {
"@babel/core": "^7.20.0",
"@babel/preset-env": "^7.20.0",
"@babel/runtime": "^7.20.0",
"@react-native/eslint-config": "^0.72.2",
"@react-native/metro-config": "^0.72.7",
"@tsconfig/react-native": "^3.0.0",
"@types/metro-config": "^0.76.3",
"@types/react": "^18.0.24",
"@types/react-test-renderer": "^18.0.0",
"babel-jest": "^29.2.1",
"eslint": "^8.19.0",
"jest": "^29.2.1",
"metro-react-native-babel-preset": "0.76.5",
"prettier": "^2.4.1",
"react-native-dotenv": "^3.4.9",
"react-test-renderer": "18.2.0",
"typescript": "4.8.4"
},
"engines": {
"node": ">=16"
}
}

for me to after upgrading RN to 0.72.1 i get a build error

Hi! See https://github.com/oblador/react-native-vector-icons/issues/1508 thread

Same issue please patch it
This worked for me :) please patch the package

Hi! See #1508 thread

Thanks a lot!! it worked for me too :)

I also have the same problem, is there a solution?

I also have the same problem, is there a solution?

try this https://github.com/oblador/react-native-vector-icons/issues/1508#issuecomment-1604115239 it worked for me.

Fixed in 10.0.0

我也有同样的问题，有解决办法吗？

试试这个#1508（评论）它对我有用。

Thank you, I have successfully fixed it by this method, and the author has updated to 10.0.0, which also made the fix


[fix] horriblesubs: updated to work with new site layout, fixes #2166

Motivation for changes:
To get the plugin working again.
Detailed changes:
Updated the plugin to use the new API.
Addressed issues:

Fixes #2166

All tests on my end have passed. It seems to be bug-free now.

Oh my, you're awesome! Well done.


Parameterization of displacement fields

Hello, I have read your paper and would like to ask you a question：
How to understand
'To assure that a zero covariate value results in a zero displacement we parameterize the displacement fields as di = gi(p, ci, 0, z)'
'gi(p, x, y, z) = fi(p, x, z) − fi(p, y, z) .'
And how it is implemented in the code.
I look forward to your reply.

Thanks for asking。
In the code this is the function for getting the displacement:
def get_displacement_per_covariate(self, enc_coords, embedding, covaraite, which_covariate, whether_inv=False, training=True):

        embedding_with_attri = torch.cat((covaraite, embedding), dim=-1)
        if training:
            embedding_with_zeros = torch.cat((torch.randn_like(covaraite)*1e-3, embedding), dim=-1)
        else:
            embedding_with_zeros = torch.cat((torch.zeros_like(covaraite) * 1e-3, embedding), dim=-1)

        arr_disp = self.net_direction[which_covariate](embedding_with_attri, enc_coords) - self.net_direction[which_covariate](embedding_with_zeros, enc_coords)
        if not whether_inv:
            return arr_disp
        else:
            return -arr_disp

self.net_direction() is the f(p, x, z), x is a single covariate for example age.
and arr_disp give the covariate-wise displacement, which is gi(p, x, y, z) = fi(p, x, z) − fi(p, y, z). In this case, y is set to 0 so you get gi=0 when x=0.
During training, we add an extremely small value to 0 as  embedding_with_zeros = torch.cat((torch.randn_like(covaraite)*1e-3, embedding), dim=-1) as data augmentation for robustness.

Yes exactly. And the model is there naisr/model_naigsr.py


Broadband - Fall provider updates

Benefit
Updated broadband provider coverage areas including the technology of transmission and associated advertised upload and download speeds.
Success
Updated broadband provider coverage areas reflected in the https://broadband.ugrc.utah.gov/

Sprint 1 Tasks

[ ] - [ ] provider x
[ ] provider y

[ ] initiate fall broadband data gathering and preparation
[ ]

There is more residential provider data to update.
Still need to start FCC data

11/14/2023 TDS sent new data


Use bash shell in Install OpenMP task and don't let copy fail

see https://github.com/kadircet/clangd/actions/runs/1722423474 for a sample run


Should add a showErrors method

Add a showErrors method like jQuery validator's showErrors

This type of method call goes against Bootstrap plugins' API conventions.


Inconsistent handling of resolveFully and flatten options from ParseOptions

Hi team,
Is options resolveFully and flatten from ParseOptions, mutually-exclusive?
It looks as mutually-exclusive from readLocation() and it's not in readContents().
@gracekarina
Based on your answer, I will raise a PR.
Thanks,
Mohammed

Hi, yes they are mutually-exclusive. thanks

Hi, yes they are mutually-exclusive. thanks

Thanks for the quick reply @gracekarina

closed by #955


feature: asArrayOfStringToNullabeString(): array<string, string|null>

Is this kind of methods acceptable for this lib?

I believe it's not. Since client-side code won't get any confidence about the value under each key (would lead to if-else).
$result = [];
$mess = new Mess($whatever);
foreach ($mess->getArrayOfStringToMixed() as $k => $_) {
    $result[$k] = $mess[$k]->findString();
}

Maybe something like this would work for you?
What's your use case?

Thank you, I get your point.
Thats looks good, but in this case consumer code deals with Mess object.
In my case, I want to get from my Config::getOption('fb') something like array<string, string> or array<string, string|null>, or  array<string, string()> (empty string value), so I can use it like this:
$options = ConfigStorage::getOption('fb');
$connectorConfig = new ConnectorConfig($options['app_id'] ?? '', $options['secret'] ?? '');
if($connectorConfig->isValid()) {
 // ....
}

so keep Mess object inside ConfigStorage, and my ConnectorConfig is operate only string's.
Now, I just add converter for findArrayOfStringToMixed to ConfigStorage, and I is ok.

Also maybe we should consider something like this:
Mess::getAsArrayOfStringToCustom(callable $caster)

And a few default callables like the one you've mentioned:
$mess->getArrayOfStringToCustom(Type::stringOrNull()); // array<string,string|null>

Just thinking.

Though Psalm won't work here :/

Actually, it can be typed with this feature I thnk - https://psalm.dev/docs/annotating_code/type_syntax/conditional_types/


Add run exports

Additional comment:
@conda-forge-admin please rerender

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/mpg123-feedstock#26.


[Cosmos] Remove support for Python27, set Python36 as minimum, and update cosmos emulator pipeline

This PR takes care of updating Cosmos to remove Python27 support and upgrade the minimum version to 3.6 as per current guidelines: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/packaging.md.
It also takes care of updating the cosmos emulator pipeline step to go against 3.6.

/azp run python - cosmos - tests

LGTM, thanks for updating this @simorenoh!