CVRP PDP with Resource Constraints does not honor loading time

Hello,
As always, thanks for an amazing tool.
I am trying to model a problem like this:

Two vehicles with capacity 1.
Two Pickups with demand 1.
Two Deliveries with demand -1.
The two Pickup Nodes have a resource constraint such that they can only be visited by one vehicle at a time.
The loading time at the Pickup Nodes is 5 time units.

Given the output from the assignment below, to me it seems like the top four bullets are fine but the last one concerning the loading time at the sources is not followed. I would have expected that e.g. Vehicle 0 would arrive at Node 2 at time 10, leave at time 15 due to the loading time and arrive at Node 4 at time 25.
Actual Output
Route for vehicle 0:
0 Time(0,0,0) -> 2 Time(10,10,10) -> 4 Time(20,20,20) -> 0 Time(40,40,40)
Time of the route: 40min

Route for vehicle 1:
0 Time(5,5,5) -> 1 Time(15,15,15) -> 3 Time(25,25,25) -> 0 Time(45,45,45)
Time of the route: 45min

Total time of all routes: 85min
Solver status:  1

Expected Output
Route for vehicle 0:
0 Time(0,0,0) -> 2 Time(10,10,10) -> 4 Time(25,25,25) -> 0 Time(45,45,45)
Time of the route: 45min

Route for vehicle 1:
0 Time(5,5,5) -> 1 Time(15,15,15) -> 3 Time(30,30,30) -> 0 Time(50,50,50)
Time of the route: 50min

Total time of all routes: 95min
Solver status:  1

I have tried to model this in the code snippet below. See especially the part at Add resource contraints at the sources
""" Vehicle Routing Problem with Resource Constraints at the Sources. """

from ortools.constraint_solver import routing_enums_pb2
from ortools.constraint_solver import pywrapcp

def create_data_model():
    data = {}
    nodes = [
        (0, 0),     # Depot
        (0, 10),
        (0, 10),
        (0, 20),
        (0, 20)
    ]
    data['demands'] = [
        0,
        1,
        1,
        -1,
        -1,
    ]
    data['time_matrix'] = calc_time_matrix(nodes)
    data['num_vehicles'] = 2
    data['vehicle_load_time'] = 5
    data['vehicle_unload_time'] = 5
    data['vehicle_capacity'] = 1
    data['sources_capacity'] = 1
    data['destinations_capacity'] = 1
    data['depot'] = 0
    data['sources'] = [1, 2]
    data['destinations'] = [3, 4]
    data['no_sources'] = len(data['sources'])
    data['pickups_deliveries'] = [
        [1, 3],
        [2, 4]
    ]
    return data

def calc_time_matrix(nodes):
    len_matrix = len(nodes)
    time_matrix = [[0 for i in range(len_matrix)] for j in range(len_matrix)]
    for i in range(len(nodes)):
        for j in range(len(nodes)):
            if i == j:
                time_matrix[i][j] = 0
            else:
                time_matrix[i][j] = abs(nodes[i][0] - nodes[j][0]) + abs(nodes[i][1] - nodes[j][1])
    return time_matrix

def print_solution(data, manager, routing, assignment):
    """Prints assignment on console."""
    time_dimension = routing.GetDimensionOrDie('Time')
    total_time = 0
    for vehicle_id in range(data['num_vehicles']):
        index = routing.Start(vehicle_id)
        plan_output = 'Route for vehicle {}:\n'.format(vehicle_id)
        while not routing.IsEnd(index):
            time_var = time_dimension.CumulVar(index)
            plan_output += '{0} Time({1},{2},{3}) -> '.format(
                manager.IndexToNode(index), assignment.Min(time_var),
                assignment.Value(time_var), assignment.Max(time_var))
            index = assignment.Value(routing.NextVar(index))
        time_var = time_dimension.CumulVar(index)
        plan_output += '{0} Time({1},{2},{3})\n'.format(manager.IndexToNode(index),
                                                    assignment.Min(time_var),
                                                    assignment.Value(time_var),
                                                    assignment.Max(time_var))
        plan_output += 'Time of the route: {}min\n'.format(
            assignment.Min(time_var))
        print(plan_output)
        total_time += assignment.Min(time_var)
    print('Total time of all routes: {}min'.format(total_time))

def main():
    data = create_data_model()

    manager = pywrapcp.RoutingIndexManager(len(data['time_matrix']), data['num_vehicles'], data['depot'])

    routing = pywrapcp.RoutingModel(manager)

    # Transit callback based on time.
    def time_callback(from_index, to_index):
        from_node = manager.IndexToNode(from_index)
        to_node = manager.IndexToNode(to_index)
        return data['time_matrix'][from_node][to_node]

    transit_callback_index = routing.RegisterTransitCallback(time_callback)

    # Cost of each arc = time.
    routing.SetArcCostEvaluatorOfAllVehicles(transit_callback_index)

    # Add Time Dimension.
    time = 'Time'
    routing.AddDimension(
        transit_callback_index,
        0, # Max waitning time for vehicles
        100, # Max time per vehicle
        False, # Do not force start cumul to zero, i.e. vehicles do not have to leave the depot at time = 0
        time)
    time_dimension = routing.GetDimensionOrDie(time)
    time_dimension.SetGlobalSpanCostCoefficient(100)

    solver = routing.solver()
    # Add resource contraints at the sources.
    source_variables = []
    for i in data['sources']:
        source_index = manager.NodeToIndex(i)
        source_variables.append(
            solver.FixedDurationIntervalVar(time_dimension.CumulVar(source_index), data['vehicle_load_time'], 'source_interval')
        )
    source_usage = [1 for i in range(len(source_variables))]
    solver.Add(
        solver.Cumulative(source_variables, source_usage, data['sources_capacity'], 'sources')
    )

    # Add the transportation pairs.
    for request in data['pickups_deliveries']:
        pickup_index = manager.NodeToIndex(request[0])
        delivery_index = manager.NodeToIndex(request[1])
        routing.AddPickupAndDelivery(pickup_index, delivery_index)
        routing.solver().Add(
            # The same vehicle must do both the pickup and the delivery
            routing.VehicleVar(pickup_index) == routing.VehicleVar(delivery_index))
        routing.solver().Add(
            # The pickup must be done before the delivery
            time_dimension.CumulVar(pickup_index) <= time_dimension.CumulVar(delivery_index))

    # Define the Demand callback.
    def demand_callback(from_index):
        """ Returns the demand of a node.  """
        from_node = manager.IndexToNode(from_index)
        return data['demands'][from_node]

    capacity = 'Capacity'
    demand_callback_index = routing.RegisterUnaryTransitCallback(demand_callback)
    routing.AddDimensionWithVehicleCapacity(
        demand_callback_index,
        0,
        [data['vehicle_capacity'] for i in range(data['num_vehicles'])],
        True,
        capacity
    )

    # Make it possible to subract vehicle load.
    # Reference: https://github.com/google/or-tools/blob/stable/ortools/constraint_solver/samples/cvrp_reload.py
    capacity_dimension = routing.GetDimensionOrDie(capacity)
    for node_index in data['destinations']:
        index = manager.NodeToIndex(node_index)
        capacity_dimension.SlackVar(index).SetRange(0, data['vehicle_capacity'])
        routing.AddDisjunction([node_index], 0)

    # Instantiate route start and end times to produce feasible times.
    for i in range(data['num_vehicles']):
        routing.AddVariableMinimizedByFinalizer(
            time_dimension.CumulVar(routing.Start(i))
        )
        routing.AddVariableMinimizedByFinalizer(
            time_dimension.CumulVar(routing.End(i))
        )

    # Setting first solution heuristic to greedy.
    search_parameters = pywrapcp.DefaultRoutingSearchParameters()
    search_parameters.first_solution_strategy = (
        routing_enums_pb2.FirstSolutionStrategy.PATH_CHEAPEST_ARC
    )

    # Solve the problem
    assignment = routing.SolveWithParameters(search_parameters)

    # Print solution to console.
    if assignment:
        print_solution(data, manager, routing, assignment)
    else:
        print('No solution.')

    # 0	ROUTING_NOT_SOLVED: Problem not solved yet.
    # 1	ROUTING_SUCCESS: Problem solved successfully.
    # 2	ROUTING_FAIL: No solution found to the problem.
    # 3	ROUTING_FAIL_TIMEOUT: Time limit reached before finding a solution.
    # 4	ROUTING_INVALID: Model, model parameters, or flags are not valid.
    print('Solver status: ', routing.status())

if __name__ == '__main__':
    main()

Hello, have any of the core team had a chance to take a look at this?
Kind regards

@Mizux or @lperron  it would be great if anyone of you had the chance to take a look at this. It is specifically the arrival times to node 3 and 4 in the solution which I think is 5 time units too early.
E.g. for Vehicle 0 I expect the time delta between node 2 and node 4 should be 15 (5 loading time + 10 distance) but it actually is only 10. It seems like the Loading time specified in FixedDurationIntervalVar is not followed.
Kind regards,
Kristoffer

load time should be integrated to your transit time matrix i.e.
Transit Time = loadTime + travelTime
So there is an issue in the sample at
https://developers.google.com/optimization/routing/cvrptw_resources#loading_constraints.
So to fix your issue try to add the load time  in your transit matrix, I'll try to fix the example accordingly....


"--region" in v0.9.21 does not work

I am calling variants on a chromosome with:
freebayes -f ref.fa -r 2 aln.bam

After a few minutes, the process finished but the output only contains header lines. Freebayes seems to work fine without -r. v0.9.20 does not have this problem.

Pinging @tsibley in case he has a clue. I saw two PRs related to region between v0.9.20 and v0.9.21.

A possibly-related problem is that a recent change made it so that freebayes would count up through the entire target region, even if there weren't alignments for some time. This can be slow.
I have a fix in hand to resolve this. But I don't know if it addresses the problem here, which is that the program exits without producing any output.

I've pushed the fix in https://github.com/ekg/freebayes/commit/e4b523d0d835be6cc4320ea7692b81982af035d4
Please let me know if this resolves the problem, or we can try to coordinate a better test case. I'm not able to reproduce anything like the issue as of this commit. Again, in my case the process seems to hang (as it counts up to a point where there are alignments), but it does not exit without producing any output. A particularly bad chromosome is human 22, where a large region of the start is empty and will have no alignments.

This fixes the issue. Note that at my hand, v0.9.21 finished in a few minutes, outputting a header-only VCF. I was testing on chr18. The first reported SNP is at 18:10006. There are no long assembly gaps.
Anyway, I am closing this issue.

@lh3 Thanks for letting me know.
I'm trying to figure out how to include tests like this in the travis-CI ones. The problem is that we need a lot of data in order to do so, and it's hard to store much data in git or in a way that can be quickly downloaded by the continuous integration service.

Glad the issue is resolved!
@ekg Would it be faster/possible to generate the test data sets on the fly?

I am reopening this issue. The fix only works in one case but not others. Now this command line:
freebayes-e4b523d -r 6:159667058-171055068 -f hs37d5.fa CHM1.bt2.bam

gives a header-only VCF in ~15 CPU seconds, but 0.9.20 is emitting a lot of SNP calls.

I will use another example:
freebayes-e4b523d -r 9:67340340-83440068 -f hs37d5.fa CHM1.mem.bam

The CHM1.mem.bam alignment is available at:
ftp://ftp.broadinstitute.org/hapdip/
Again on this example, 0.9.20 gives SNPs, but 0.9.21 or e4b523d outputs header-only VCF.

All right. Thanks for the
Can I rely on the URL of that alignment data? I'd like to include these as
a test case.
On Wed, Mar 11, 2015 at 8:03 PM, Heng Li<EMAIL_ADDRESS>wrote:

I will use another example:
freebayes-e4b523d -r 9:67340340-83440068 -f hs37d5.fa CHM1.mem.bam
The CHM1.mem.bam alignment is available at:
ftp://ftp.broadinstitute.org/hapdip/
Again on this example, 0.9.20 gives SNPs, but 0.9.21 or e4b523d
https://github.com/ekg/freebayes/commit/e4b523d0d835be6cc4320ea7692b81982af035d4
outputs header-only VCF.
—
Reply to this email directly or view it on GitHub
https://github.com/ekg/freebayes/issues/155#issuecomment-78358950.

(I have updated the ftp link)
That is just a temporary place for the data, unfortunately. I have not found a permanent home for the CHM1 alignment.

I have made a smaller example and put it at:
<EMAIL_ADDRESS>You will get a header-only VCF with the following command line:
freebayes-e4b523d -r 9:67340340-68340340 -f hs37d5.fa 1.bam

@lh3 I'm not finding this easy to access. I'll just try this on the previous file.

@ekg wget -r<EMAIL_ADDRESS>will download the whole directory that @lh3 linked to.

Ah! Thanks, the URL was different and doesn't seem to work.
On Wed, Mar 11, 2015 at 11:35 PM, Thomas Sibley<EMAIL_ADDRESS>wrote:

@ekg https://github.com/ekg wget -r '
<EMAIL_ADDRESS>will download the
whole directory that @lh3 https://github.com/lh3 linked to.
—
Reply to this email directly or view it on GitHub
https://github.com/ekg/freebayes/issues/155#issuecomment-78396250.

OK, I can reproduce. Thanks again.
On Wed, Mar 11, 2015 at 11:38 PM, Erik Garrison<EMAIL_ADDRESS>wrote:

Ah! Thanks, the URL was different and doesn't seem to work.
On Wed, Mar 11, 2015 at 11:35 PM, Thomas Sibley<EMAIL_ADDRESS>wrote:

@ekg https://github.com/ekg wget -r '
<EMAIL_ADDRESS>will download the
whole directory that @lh3 https://github.com/lh3 linked to.
—
Reply to this email directly or view it on GitHub
https://github.com/ekg/freebayes/issues/155#issuecomment-78396250.

Erik and Thomas;
For what it's worth, I can confirm issues with the latest GitHub version. It only reports ~10% of calls on a full WGS analysis with regional (250k variants versus 2.8 million), so it appears to be a global issue. On the positive side, all of the calling approaches (single, pooled, joint) ran without any errors. If you need more error cases than Heng's I can put some together. Thanks again for looking at this.

@chapmanb @lh3 @tsibley OK, this last commit should resolve the issue as far as I'm able to test. Would you let me know if it seems to resolve things. It's a small change with a big effect.

It's not completely resolved, as tests are failing.

Erik;
Thanks much for these fixes. The latest version (0.9.21-7) validated great in the NA12878 trio evaluations for both pooled (all BAMs together) and joint (recalling based) approaches: http://imgur.com/a/ancGz. Thank you again for all the work on FreeBayes.

Hi Brad,
Thanks for letting me know! The results look nice, and I'm curious what
hard filters you are applying to the results. Do you have a pointer to the
code that does the filtering? I think other people might be interested.
Thanks for working on the other side: using freebayes in a production
environment and reporting the problems you encounter is half of the battle.
On Mon, Mar 30, 2015 at 10:54 AM, Brad Chapman<EMAIL_ADDRESS>wrote:

Erik;
Thanks much for these fixes. The latest version (0.9.21-7) validated great
in the NA12878 trio evaluations for both pooled (all BAMs together) and
joint (recalling based) approaches: http://imgur.com/a/ancGz. Thank you
again for all the work on FreeBayes.
—
Reply to this email directly or view it on GitHub
https://github.com/ekg/freebayes/issues/155#issuecomment-87618601.

Erik;
I'm glad it's useful. As always, happy to help supplement all the great work y'all do on FreeBayes. This is essentially the same approaches used in this post (http://bcb.io/2014/10/07/joint-calling/) with updated software versions. The actual code for hard filtering is here:
https://github.com/chapmanb/bcbio-nextgen/blob/b4af45059c11c776ba834f4ef5941b6aa163ca94/bcbio/variation/vfilter.py#L121
The primary filter removes low coverage, low quality calls, filtering heterozygotes more aggressively. There is also a high depth filter based on Heng's work. Thanks again.

Hi,
Do you have download link for the 0.9.21-7 version? I can not find a tag with that name or the commit id v0.9.21-7-g7dd41db (the name I found in bcbio).
Which version do you currently recommend to use in a production environment?

We still use 0.9.21-7 in bcbio for production. There's a block issue with the latest version (#173) so I haven't validated against the latest head. There isn't a tag or specific download link since FreeBayes uses submodules which aren't in the pre-baked tarballs GitHub provides for specific revisions, so it requires a recursive retrieval. You can use the homebrew recipe we have with bcbio if this helps:
https://github.com/chapmanb/homebrew-cbl/blob/master/freebayes.rb

Do you have download link for the 0.9.21-7 version? I can not find a tag with that name or the commit id v0.9.21-7-g7dd41db (the name I found in bcbio).

v0.9.21-7-g7dd41db refers to commit 7dd41db, which is 7 commits after the last tag (v0.9.21).

Thank you Thomas and Brad!

Hi Erik et al.,
I may be facing again the same issue with version
##source=freeBayes v1.0.2-6-g3ce827d
It is working fine without --targets, but it outputs empty VCFs when I define the targets. For context, this is a pretty large genome (non-human) and a large number of BAM files. We still receive warning similar to #119 , but historically this did not affect the outputs.
I can try to create some examples, but I thought I would drop a note here first to check if there is any advise at this point.
Thank you,
Marcio Resende


Fix missing member variable in Group

This throws an error in calling is_single_machine(self) because it asks for this member.

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

already fix in v1.7


Ensure timeouts are set when method is set interactively

When running mp-test, if a method (collect, connect, etc) was not selected using a command line argument and instead set interactively, the REST request to the adapter would not have a timeout set and could potentially hang forever. This ensures that the default timeout will always be set.
After introducing a time.sleep(60) in the test connection method, we can select the method interactively and the request correctly times out:
 ❯ mp-test -c Default
Choose a method to test: Test Connection
Building adapter [Finished]
Waiting for adapter to start [Finished]
Running Connect [Finished]
Failed: 408 Request Timeout

Avg CPU %                   | Avg Memory Usage %         | Memory Limit | Network I/O         | Block I/O
----------------------------+----------------------------+--------------+---------------------+--------------
2.8 % (0.0% / 0.0% / 44.9%) | 5.9 % (4.0% / 6.2% / 6.2%) | 1.0 GiB      | 3.41 KiB / 6.69 KiB | 0.0 B / 0.0 B

Request completed in 30.00 seconds.

Unable to validate the response json. The 'http://localhost:8080/test' endpoint response was:
 408 Request Timeout

All validation logs written to '/Users/kylerokos/Code/server-development-mp/logs/validation.log'

Looks good. Follow-up question: can the collection timeout be set manually or removed entirely? If I have a long-running collection, I may want to let it run indefinitely for debugging.

You can't remove it entirely, but you can set it to an arbitrarily large number. However, you have to do it via the command line, e.g., mp-test -c default collect -t 20m sets a 20 minute timeout.


[Event Request] Codeunit 5763 "Whse.-Post Shipment" – New Event  “OnPostSourceDocumentOnAfterPrintSalesShipment”

Could we please have a new publisher “OnPostSourceDocumentOnAfterPrintSalesShipment” in Function “PostSourceDocument”, Codeunit 5763 "Whse.-Post Shipment”?

    local procedure PostSourceDocument(WhseShptLine: Record "Warehouse Shipment Line")
    var
        WhseSetup: Record "Warehouse Setup";
        WhseShptHeader: Record "Warehouse Shipment Header";
        SalesPost: Codeunit "Sales-Post";
        PurchPost: Codeunit "Purch.-Post";
        TransferPostShipment: Codeunit "TransferOrder-Post Shipment";
        ServicePost: Codeunit "Service-Post";
        IsHandled: Boolean;
    begin
        WhseSetup.Get();
        with WhseShptLine do begin
            WhseShptHeader.Get("No.");
…
                        if Print then
                            if "Source Document" = "Source Document"::"Sales Order" then begin
                                IsHandled := false;
                                OnPostSourceDocumentOnBeforePrintSalesShipment(SalesHeader, IsHandled);
                                if not IsHandled then begin
                                    SalesShptHeader."No." := SalesHeader."Last Shipping No.";
                                    SalesShptHeader.SetRecFilter;
                                    SalesShptHeader.PrintRecords(false);
*** start new code ***
                                    OnPostSourceDocumentOnAfterPrintSalesShipment(SalesShptHeader."No.");
*** stop new code ***
                                end;
                                if Invoice then begin
…
*** start new code ***
    [IntegrationEvent(false, false)]
    local procedure OnPostSourceDocumentOnAfterPrintSalesShipment(SalesShptHeaderNo: code[20])
    begin
    end;
*** stop new code ***

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Dynamic versioning

@henryiii I am interested in this feature and would be happy to be involved with implementing it, but I guess that there are some design decisions to take first. For example, setuptools provides a finalize_distribution_options() entry point that allows any provider to modify the distribution metadata to inject any dynamic values (as done in setuptools_scm, for example). hatch, meanwhile, has a dedicated version plugin interface which provides a class which can both provide the version and also accept a new version, because hatch itself provides an interface for incrementing versions.
I guess that as a backend only option, scikit-build-core doesn't want anything as complicated as hatch, so I would be inclined to go more down the setuptools route. We could implement an entrypoint like scikit_build_core.get_dynamic_metadata which should be a function which provides a dict of metadata keys and values - any keys which are in the main "dynamic" list will be updated in the main metadata dict before sending it to pyproject_metadata. Alternatively we could have an entrypoint like scikit_build_core.get_version which could just return the version string and only call that if version is in the dynamic list.  That is simpler, but less generic than the first option.
Let me know if any of this sounds sensible, and I will get to work on an implementation.

I've got an initial implementation in https://github.com/scikit-build/scikit-build-core/commit/4fa615095b50a83097d48749a2fe5f9760c015d3, actually. It would be pretty easy to add (as done in that commit) if we simply require a single method using setuptools_scm. There are some other tools (like dunamai), so I paused that work to see if there was a more general way to add it that would allow other backends in the future. I also would like to support hatch's method of pulling a version from a file via regex.
We'd want some configuration options (I'd really have liked it if setuptools_scm would let me just tell it to read its normal configuration from tools.setuptools_scm!). If we did the get_dynamic_metadata option above, I guess that would be implemented by the plugin.
I'd also like to support https://pypi.org/project/hatch-fancy-pypi-readme/.

Interesting, I hadn't seen that hatch plugin before, but that is implemented using a different hatch hook which is essentially identical to my get_dynamic_metadata() proposal above: https://hatch.pypa.io/latest/plugins/metadata-hook/reference/. In principle it seems like it can update any core metadata, but I don't know whether version is special cased so it doesn't work that way.
The only difference is that rather than a single function, hatch defines an interface class that plugins override, that class then has hatch provided methods to allow the project root and pyproject config to be passed in (so config comes from [tool.hatch.metadata.hooks.your-plugin] rather than [tool.your-plugin]).
To support hatch-fancy-pypi-readme  unmodified would require collecting the hatch entry point, and matching the hook class hatch passes into the plugin. Not impossible but not super pretty either. I see that you have plans to make scikit-build-core available as a hatchling plugin, presumably that would be the best way to work with other hatch plugins? So in that case maybe the best thing to do is something very simple in the scikit-build-core backend. It would then be pretty simple to hook up setuptools_scm or hatch-fancy-pypi-readme with a couple of lines of extra code.
To be honest, I am surprised there isn't some kind of PEP standard to define an entry point system for dynamic core metadata, having defined the dynamic field, it seems like an obvious next step to define how the dynamic fields get filled in.

Closed by #197.


Adjust namespacing

Updates namespacing of all translation keys.
Namespacing of settings is unchanged.

Closing this one to replace it with a PR that properly removes the scope prefixes.


Use a newer version of dartdoc

wdyt @abarth ?
closes https://github.com/flutter/flutter/issues/935

OK, ptal.

LGTM


How to display received/ attached images with text associated with them?

New issue checklist

[x] I have read all of the README.
[x] I have read the documentation.
[x] I have reviewed the contributing guidelines. Confirmation: ____
[x] I have reviewed the FAQ.
[ ] I have searched existing issues and this is not a duplicate.

My question
I've recently started working on chat app using JSQMessagesViewController. I'm new to this lib but need to know if there's any way to display images with text on chat screen? If so how can i achieve it, if not is it going to be available is upcoming releases?
Thank you.

@hemantkadam Can you clarify what you are asking for? Perhaps a mockup would help, or a screenshot from another app?

Issue #681 has some screenshots and discussion on combining text and media. The short answer is... you can send them in succession, or you can create your own media type that combines the two.
There is also labeling of media, as in PR #1520 (a work in progress)
There is also INPUT of mixed types, as in PR #1516 (also a work in progress)

@hemantkadam Sadly there isn't a team of paid developers working to make this look as great as WhatsApp 😜. Perhaps you can publish your MediaItem class for folks to collaborate on and improve.

You need to add some blur to the label background, change the colour to black and that should be a fine start at refinement. Even better would be what @eliburke suggested. Submit a PR and we can probably improve on what you already have.

:+1:

@hemantkadam
Can you provide me the sample which you have implemented please?

@gmansata6290 I did as @eliburke suggested, created MediaItem class for Photo, Video and Audio.

@hemantkadam so you have not implemented from this
Because I have implmented from that guideline causing some issue. Can you help me out in this?

@hemantkadam  Hemant thanks for your tips and I created MediaItem Class and It is working as expected. But the only thing what if I want lbl or textView and buttons? Can you just guide me?


Bug: Move feature error (text editing clash)

If I click the move feature and then try to move text, Visbug will get stuck in the text editing mode and not move the text. Also seems to happen if I just edited text and then tried to move something.

i think i can reproduce this, but only if the text element is alone and doesn't have a sibling to swap with. is that the same as you're describing here?


chore: update docs to be inline with<EMAIL_ADDRESS>

🚀 Deployed on https://6650f2799c181f6aea8e1604--cozy-fox-0defec.netlify.app


Point to stm32-rs repository in Cargo.toml

Crates.io points to jonas github repository even though the upstream repository is in the stm32-rs group.

bors r+


Added testcase to test dump while running workload - v2

This test triggers crash while running cpu workload ebizzy.
Signed-off-by: Pavithra<EMAIL_ADDRESS>

console_log.txt


cybr ccp retrieve-account

Is your feature request related to a problem? Please describe.
Currently I cannot use the cybr-cli with CCP.
Describe the solution you'd like
I would like the ability to easily retrieve credentials from the CCP via the following command:
cybr ccp retrieve-account --url https://url-to-ccp.company.local --app-id AppID --query "Query=Safe=Billing;Object=MonthlyBilling" --field password

Addition Notes
Extra flags may be required because:

CCP supports client certificate authentication
CCP supports OS Users authentication (for windows).

We should support more than just --query.  I think --query is good for situations where the entire query is stored in an app, to prevent code changes to work with our CLI, but I also think we should provide separate flags for each query key, as well.  --safe, --object, --username, etc.
--field should support multiple comma-delimited values. Password is already a default returned value and doesn't need to be provided. Example: --field Address,UserName would return password, address, username.

Sounds great! I am also thinking about have a --certificate flag for providing a certificate for authn


Duplicated keyboard shortcut in ubuntu version?

I recently starting using Ghost Desktop, and noticed the side-by-side preview keyboard shortcut is ctrl+alt+p. When I hit ctrl+alt+p it both opens the side-by-side preview AND publishes my post. This is not ideal.

Closing as a duplicate of https://github.com/TryGhost/Ghost/issues/9296 (this is an issue in Ghost-Admin rather than the desktop client)

Closing because dupe.


Improve Documentation

Improve README.md by including full flow of getting started steps.
Include proper documentation of python code backend.py

Getting Started Steps should contain

Downloading PostgreSQL, Starting it, and configuring DATABASE_URL for localhost support.
Creating table initially when not present in database


Redesign user tracker into user statistics

Describe the bug
User tracker not displaying anything
To Reproduce

Open User tracker as admin

Screenshots

Output in Web Console
window.controllers/Controllers is deprecated. Do not use it for UA detection. index.js:1362
Cookie “XSRF-TOKEN” has been rejected because it is already expired. info
Some cookies are misusing the recommended “SameSite“ attribute 2
Cookie “cookietest” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite fp.esm.js:292:21
Cookie “cookietest” will be soon rejected because it has the “SameSite” attribute set to “None” or an invalid value, without the “secure” attribute. To know more about the “SameSite“ attribute, read https://developer.mozilla.org/docs/Web/HTTP/Headers/Set-Cookie/SameSite fp.esm.js:296:30
Cookie “XSRF-TOKEN” has been rejected because it is already expired. account
Cookie “XSRF-TOKEN” has been rejected because it is already expired. 4 time
Cookie “XSRF-TOKEN” has been rejected because it is already expired. notifications
Cookie “XSRF-TOKEN” has been rejected because it is already expired. time
Cookie “XSRF-TOKEN” has been rejected because it is already expired.

This was deactivated intentionally some time ago.

ok well then maybe we should just removes it. Looks broken otherwise

Yes, I think we can remove it. It does not bring much functionality at the moment.
@FrankeLukas could you simply remove all related pages and functionality?

I just had an idea. Instead of removing this page, we should rename it and show the following interesting activities / metrics:

How many unique users have logged in to Artemis in the last X days
2a) How many unique users have participated in an exercise (i.e. have a submission with a submission) in the last X days
2b) How many total submissions (submission date) have been made in the last X days
How many results (with how much feedback) have been created (completion date) in the last X days
How many unique tutors have corrects an assessment (i.e. there is a manual result with completion date) in the last X days
How many exercises have been released in the last X days
How many exercises have been due in the last X days
How many exams have been conducted, how many individual student exams have participated (based on submissionDate) in the last X days

X should be a variable that can be specified on the page, e.g. 3, 7, 30, 90, 180, 365
There are probably more statistics that might be interesting.

All those activities / metrics / stats would be interesting on a global Artemis level, but also on a course level. So this might also related to @FuchsDominik's thesis about teaching analytics. I guess we could start here with the global stats and even provide (bar/line) charts on a weekly basis in the last X days...

Here is a SQL query to find the number of distinct users who logged into Artemis in the last 7 days
SELECT
	count(DISTINCT u.login)
FROM
	jhi_user u,
	jhi_persistent_audit_event a
WHERE
	u.login = a.principal
	AND a.event_type = 'AUTHENTICATION_SUCCESS'
	AND a.event_date >= DATE(NOW()) - INTERVAL 7 DAY
	AND u.login NOT LIKE '%artemis_test_user%'

Here is a SQL query to find the number of distinct submissions in the last 7 days
SELECT
	count(DISTINCT u.login)
FROM
	submission s,
	participation p,
	jhi_user u
WHERE
	s.participation_id = p.id
	AND p.student_id = u.id
	AND s.submission_date >= DATE(NOW()) - INTERVAL 7 DAY
	AND u.login NOT LIKE '%test%'

That would indeed be really interesting

All those activities / metrics / stats would be interesting on a global Artemis level, but also on a course level. So this might also related to @FuchsDominik's thesis about teaching analytics. I guess we could start here with the global stats and even provide (bar/line) charts on a weekly basis in the last X days...

Looks really interesting yes. I will assign this to me and will work on this.

This is already in the newest version as far as I am aware.

This is already in the newest version as far as I am aware.


AKS-Preview CLI extension default to SLB+VMSS

This checklist is used to make sure that common guidelines for a pull request are followed.

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

If this PR is for a new extension or change to an existing extension, use the following to try out the changes in this PR:
docker run -it microsoft/azure-cli:latest
export EXT=<NAME>
pip install --upgrade --target ~/.azure/cliextensions/$EXT "git+https://github.com/xuto2/azure-cli-extensions.git@master#subdirectory=src/$EXT&egg=$EXT"

Would it be possible to know why the --enable-vmss flag has been removed from this PR?
It is referenced in existing Azure documentation and is causing users to run into issues: #927


add ability to configure elastic profiles

This looks good to me, anybody else wants to pitch in @MFAnderson @macdiesel ?


feat(typescrip): exports extended button types

Allow us to access the extend button props/types.

Ok thanks . .


(BKR-424) eliminated extra '/' on windows download URL

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/1240/
Test FAILed.

I stopped this run manually because there was a change to the commit.  Re-running now

@puppetlabs-jenkins retest this please

Refer to this link for build results (access rights to CI server needed):
http://jenkins-beaker.delivery.puppetlabs.net//job/qe_beaker_btc-intn/1241/
Test FAILed.

failure unrelated to change


NuGet Package cannot be restored

Hi,
I am having an issue with restoring the Microsoft.Identity.Client (MSAL) package in VS. I get the following error:
"Some Nuget Packages are missing from this solution. Click Restore from your online package sources."
When I perform the restore, I receive the following error:
"Unable to find version '1.1.1-alpha0417 of package 'Microsoft.identity.Client'."
I have tried uninstalling and reinstalling the package in VS, but it won't allow me to perform the actual uninstall.
Any ideas to solve this issue?
Sincerely,
Martin

Thanks for pointing that out!
Lol ... they removed that version of the package from NuGet & updated it. I updated the solution to the latest version & just tested it on iOS - seems to work fine.
BTW - I added a compiler directive to throw an exception immediately upon build time until the tenant, application ID, policies, etc are entered.


major: #18 Batch support and engine event system improvements

#18 - parallel batching - this PR changes the engine to always use lists of records, where non batch processing is the case where the batch size is one.

[x] Vertx
[x] Reactor
[x] Docs
[x] vertx batch test
[x] reactor batch test
[x] Failure tests
[x] ensure loop cycle is good
[x] todos
[ ] investigate build speed change

I think documentation should clarify relation between the Consumer property max.poll.records and the argument batchLevel of pollbatch(). Should we set both or only the latter? If both, should they be set to same value?
In addition it would be useful if documentation clarifies how error handling and offset commits are handled in batch processing

I think documentation should clarify relation between the Consumer property max.poll.records and the argument batchLevel of pollbatch(). Should we set both or only the latter? If both, should they be set to same value?
In addition it would be useful if documentation clarifies how error handling and offset commits are handled in batch processing

I think documentation should clarify relation between the Consumer property max.poll.records and the argument batchLevel of pollbatch(). Should we set both or only the latter? If both, should they be set to same value?

good suggestion! Will do so - hold me to it.

In addition it would be useful if documentation clarifies how error handling and offset commits are handled in batch processing

what sort of errors are you thinking about?
Off the top of my head, by default, if there is an error processing a batch of messages, the same thing would happen as if for a single message - the messages will all be returned to the internal queues, and will be retried after the default delay expires.

I think documentation should clarify relation between the Consumer property max.poll.records and the argument batchLevel of pollbatch(). Should we set both or only the latter? If both, should they be set to same value?

good suggestion! Will do so - hold me to it.

In addition it would be useful if documentation clarifies how error handling and offset commits are handled in batch processing

what sort of errors are you thinking about?
Off the top of my head, by default, if there is an error processing a batch of messages, the same thing would happen as if for a single message - the messages will all be returned to the internal queues, and will be retried after the default delay expires.

what sort of errors are you thinking about?
Off the top of my head, by default, if there is an error processing a batch of messages, the same thing would happen as if for a single message - the messages will all be returned to the internal queues, and will be retried after the default delay expires

I was not thinking on specific errors, but in general it would be useful to have a section in docs that states exactly what you are saying above, so users are aware of their responsibilities in this aspect!
New feature request - "Retry settings"
It would be nice to have some sort of flexibility to configure the built in retry mechanisms in pollBatch(), for example enableRetry, maxRetryAttempts and waitDuration. Then you can either configure it for your needs or choose to solve it yourself.

what sort of errors are you thinking about?
Off the top of my head, by default, if there is an error processing a batch of messages, the same thing would happen as if for a single message - the messages will all be returned to the internal queues, and will be retried after the default delay expires

I was not thinking on specific errors, but in general it would be useful to have a section in docs that states exactly what you are saying above, so users are aware of their responsibilities in this aspect!
New feature request - "Retry settings"
It would be nice to have some sort of flexibility to configure the built in retry mechanisms in pollBatch(), for example enableRetry, maxRetryAttempts and waitDuration. Then you can either configure it for your needs or choose to solve it yourself.

New feature request - "Retry settings"
It would be nice to have some sort of flexibility to configure the built in retry mechanisms in pollBatch(), for example enableRetry, maxRetryAttempts and waitDuration. Then you can either configure it for your needs or choose to solve it yourself.

Thanks again for your input! We should track this in a different feature, it's something I've been planning. I've created: https://github.com/confluentinc/parallel-consumer/issues/65 Enhanced retry epic. Let's continue the conversation there, and let me know if you have any further thoughts! I'll do something basic for the next version (enable/disable and then skip or die probably)...

New feature request - "Retry settings"
It would be nice to have some sort of flexibility to configure the built in retry mechanisms in pollBatch(), for example enableRetry, maxRetryAttempts and waitDuration. Then you can either configure it for your needs or choose to solve it yourself.

Thanks again for your input! We should track this in a different feature, it's something I've been planning. I've created: https://github.com/confluentinc/parallel-consumer/issues/65 Enhanced retry epic. Let's continue the conversation there, and let me know if you have any further thoughts! I'll do something basic for the next version (enable/disable and then skip or die probably)...

@ismarslomic @JorgenRingen do you have any ordering (or relative ordering) expectations or requirements for the messages within the batches?

@ismarslomic @JorgenRingen do you have any ordering (or relative ordering) expectations or requirements for the messages within the batches?

ok, implementation is ready for testing. I'm not entirely satisfied with the interface, but let me know what you think. I.e. we could make batching the only interface, and have the default batch size be == 1. But then the user function would always need to be a consumer which takes a list of records, which is kind of odd. Depends if you think batching would be the more common use case, or if single record processing would be..

ok, implementation is ready for testing. I'm not entirely satisfied with the interface, but let me know what you think. I.e. we could make batching the only interface, and have the default batch size be == 1. But then the user function would always need to be a consumer which takes a list of records, which is kind of odd. Depends if you think batching would be the more common use case, or if single record processing would be..

Does anyone have time to test this branch out? If not that's ok, I'll release it as 3.1.

Does anyone have time to test this branch out? If not that's ok, I'll release it as 3.1.

Do you already when this feature will be merged? Thanks!

Getting the following exception when running tests on this branch:
[ERROR] Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 1.761 s <<< FAILURE! - in io.confluent.parallelconsumer.examples.streams.StreamsAppTest
[ERROR] io.confluent.parallelconsumer.examples.streams.StreamsAppTest  Time elapsed: 1.761 s  <<< ERROR!
java.lang.ExceptionInInitializerError
Caused by: org.testcontainers.containers.ContainerLaunchException: Container startup failed
Caused by: org.testcontainers.containers.ContainerFetchException: Can't get Docker image: RemoteDockerImage(imageName=confluentinc/cp-kafka:latest, imagePullPolicy=DefaultPullPolicy())
Caused by: com.github.dockerjava.api.exception.NotFoundException:
Status 404: {"message":"No such image: testcontainers/ryuk:0.3.0"}

Tests are running fine on the master branch.

I have reapplied the changes of this pull requests to a new branch based on the most recent version of the master branch here: https://github.com/1123/parallel-consumer/tree/batching3 . This new branch also includes a new test for ensuring that the average observed batch size does not deviate too much from the configured batch size, and two new configuration options for the initial dynamic load factor as well as a delay for the control loop. I am sure there are some things that need to be reviewed and reworked. So any feedback is appreciated.

ok @1123 your update to the PR looks good! I've given you access, can you force push to this repo and features/batching (the branch in this PR), and we'll get about getting it merged!

Hey Antony, thanks for reviewing the changes. I force pushed the changes. I will have to revert two things though (distribution management in the pom.xml, and the change to the artifact version in parallel-consumer-core and parent). Also batching feature in the vertx and the reactor modules is still missing.

ok, there’s a couple test failures still - i think they need updating. But the batching feature seems feature complete now. Need to implement some test for the vertx and reactor versions, but should have this merged early next week.

Target should be 100% now. Protect for negative delta.


Use distinguished ConnectionClosedException when message not enqueued

ClientEntityManagerImpl currently throws a ConnectionClosedException when sending a message and either the connection was closed before the message was enqueued or after the message was enqueued and may (or may not) have been sent.  For applications attempting resiliency through reconnection, being able to tell the difference between a message that failed before sending and one that failed after sending could be used to improve resiliency operations.
Changing ClientEntityManagerImpl to throw a ConnectionClosedBeforeSendingException (or something like that), a subclass of ConnectionClosedException, to distinguish an unsent message from one that might have been sent would be helpful.
This, of course, would need to be paired with the addition of the exception to Terracotta-OSS/terracotta-apis.  (See Terracotta-OSS/terracotta-apis#298)

Would a check method on the exception suffice versus a whole new exception class?

fixed in df4d103ab7


0.17.1 MSI is inconsistently named

Describe the bug
A patch version of a release should not make breaking changes, but the 0.17.1 release has its MSI named "ebpf-for-windows.msi". Most eBPF releases follow the form https://github.com/microsoft/ebpf-for-windows/releases/download/Release-v$EbpfVersion/ebpf-for-windows.$EbpfVersion.msi
OS information
N/A.
Steps taken to reproduce bug
Try to download 0.17.1 by replacing a version number.
Expected behavior
The download succeeds.
Actual outcome
The download fails with 404 not found.
Additional details
No response

Description:
Hello,
I'm experiencing a build error while attempting to compile the eBPF for Windows project using Visual Studio 2022. The errors persist despite disabling the warnings-as-errors setting in the project properties and using the /p:TreatWarningsAsErrors=false flag in the msbuild command.
System Configuration:
Operating System: Windows 11
Visual Studio Version: Visual Studio 2022 (17.11.2)
Windows SDK Version: 10.0.22621.755
Windows Driver Kit Version: 10.0.22621.382
CMake Version: 3.30
Steps to Reproduce:
Clone the ebpf-for-windows repository with submodules.
git clone --recurse-submodules https://github.com/microsoft/ebpf-for-windows.git
Run the initialization script:
.\scripts\initialize_ebpf_repo.ps1
Open Developer Command Prompt for VS 2022.
Run the following build command:
msbuild /m /p:Configuration=Debug /p:Platform=x64 /p:TreatWarningsAsErrors=false ebpf-for-windows.sln
Errors Encountered:
C:\Program Files (x86)\Windows Kits\10\build\10.0.22621.0\WindowsDriver.common.targets(1362,5): error MSB6006: “inf2cat.exe”已退出，代码为 -2。 [c:\Users\17204\ebpf-for-windows\netebpfext\sys\netebpfext.vcxproj]
c:\Users\17204\ebpf-for-windows\external\ebpf-verifier\external\bpf_conformance\external\elfio\elfio\elf_types.hpp(1,1): error C2220: 以下警告被视为错误 [c:\Users\17204\ebpf-for-windows\tools\bpf2c\bpf2c.vcxproj]
c:\Users\17204\ebpf-for-windows\external\ebpf-verifier\external\bpf_conformance\external\elfio\elfio\elf_types.hpp(1,1): error C2220: 以下警告被视为错误 [c:\Users\17204\ebpf-for-windows\tools\bpf2c\bpf2c.vcxproj]

Troubleshooting Steps Taken:
Checked and confirmed that both SDK and WDK versions match the required versions (10.0.22621.x).
Disabled warnings as errors both in Visual Studio project settings and using the /p:TreatWarningsAsErrors=false flag with msbuild.
Reinstalled SDK and WDK to ensure correct installation.
Ran the build command as an administrator to avoid permission issues.
Cleaned and rebuilt the project multiple times.
Screenshots:

Additional Information:
It appears that inf2cat.exe is exiting with a code -2, which typically indicates a failure in creating or verifying the catalog files. This issue occurs despite matching the expected SDK and WDK versions.
The project settings to ignore warnings treated as errors are seemingly ineffective when running msbuild from the command line.
Could you please provide any insights or suggestions on how to resolve these errors?
Thank you for your assistance!


Implement new HPD parameters

The new HPD parameters based on 20 inch HPD (Prototype version) measurement result are introduced in WCSim and validated.
I uploaded the validation result.
https://dl.dropboxusercontent.com/u/61208795/newHPD_implementation.pdf
From this result, 1 p.e. distribution, Conversion factor of dark noise, timing resolution about 1p.e. region seems to work correctly.  (QE is the same value as Box and Line PMTs)
Now I have been considering how to validate high charge region timing resolution, but I do not have the method at the moment.
And, based on the geometry of detectors with Box and Line PMT, new detectors with new HPDs are added.
I execute simulation in those geometry and there is no error in the process.

Why do we need two different HPDs in WCSim? Is this just updated information about HPDs (in which case we should just replace the old info in the HPD entry we already have) or is this actually a new PD? Is there any reason to keep the old HPD around?

@eosullivan
The data source of old and new HPD parameters is absolutely different (measurement result of 8" HPD in water and 20" prototype HPD in the air) except for QE and PD shape (QE is based on High QE R3600).
I think we should use new parameters for the evaluation of photosensor performance in detector.
However I also thought the condition of existing geometry should not be changed.
So I did not delete the parameters.

Ok, so is it that the new parameters better describe the HPD we are considering for HK? If so, I see no reason to keep the old HPD around.

Yes, I think the new parameter seems to be described better.
Then, I will modify it.

If that is the case, I agree. I think you should just change the current HPD parameter description and not add any new configurations.

Also, is there any motivation for making all of these detector configurations with this HPD? We made many SK detector configurations with B&L for the design report study, but we will probably not be doing this with HPDs. Probably just one configuration, SK with 40% HPD coverage, would suffice.

Sorry, I'll revise that last suggestion. Maybe we just need SK with 20" HPD and 20% coverage and SK with 12" HPD and 15% coverage.

@eosullivan
There is not so big reason. I thought the HPD should be done the same evaluation as that of Box & Line PMT to compare the result.
Then I will remove the 20" HPD 14% coverage geometry.

The timing response for the HPDs follow the same complicated formula that you implemented for the B&Ls. Can you show us some validation plots which compare data with your function?

@eosullivan
Please read the slide I uploaded.
https://dl.dropboxusercontent.com/u/61208795/newHPD_implementation.pdf
From page.7, when the conversion factor is set to 1, the ratio of dark rate MC output to setting value is 0.9238.
In order to set the ratio to 1, I set the conversion factor to 1/0.9238=1.082.
And I validated the timing resolution by changing the code today.

Each point shows the timing resolution of MC output and the blue line shows the setting function.
From this result, the sigma of HPD seems to be correctly introduced (Box and Line PMT was also validated).
I will describe the validation result of timing resolution in detail later.

I think we should not add any configuration we are not actually using now.  I think there are already too many!
Let's just add the ones we need when we use them.  It is also good to have that in its own pull request not in the pull request of the HPD parameter setting change.

All right. I will delete the old HPD parameters.

And please rename the new HPD to not include the date. Also, I will agree with Chris that there are many detector configurations and we don't necessarily need to add these new ones. So, please remove the new detector configurations. If we decide that we need them, they can be a separate pull request.


simplify pom since jdk8 build support dropped

Since #290 dropped support for building with jdk8, the first version of #288 is a simpler setup since we can drop the extra profile. Tested locally that built artifact still functions with java 8.

Thanks.


[INFRA-2908] Enable JEP-229 on stapler/stapler

Description
Hoping this works to get https://github.com/stapler/stapler to have an Artifactory token. (Would be nice to refactor this repo to have one file per target repository, with potentially multiple sections for paths.)  https://issues.jenkins.io/browse/INFRA-2908
@daniel-beck @oleg-nenashev
Reviewer checklist (not for requesters!)

[ ] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[ ] Check that the $pluginId Developers team has Admin permissions while granting the access.
[ ] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[ ] If security contacts are changed (this includes add/remove), ping the security officer (currently @daniel-beck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

is there any reason we need multiple files?

That is just not how this repo works; not touching that part.

Can't we just set multiple paths

Not currently, no.

or even globs?

As in #1938? Perhaps. Not clear to me whether it will be necessary or not, since we cannot really preview the Artifactory part of this prior to merge can we?

Ought to wait for @daniel-beck, unless you feel confident you know how the Artifactory mangling works. My concern is that whatever GitHub token is used to manage secrets on @jenkinsci repos will not have access to @stapler. (In that case, we can move to @jenkinsci, or I can continue to release manually for now via mvn -Dset.changelist clean deploy; not having to deal with OSSRH and maven-site-plugin and maven-release-plugin is still a huge step forward.)

It's https://github.com/jenkins-infra-bot just make sure that user has admin on stapler and that side will work, I assume you have admin access there?

I assume you have admin access there?

No, I am not on the infra team.

I have no access to stapler, @olblak  / @oleg-nenashev ?

Nothing in https://github.com/stapler/stapler/settings/secrets/actions so I guess it did not work.

I’ll check in a bit, I have access here now

Build is failing for unrelated reasons,
+ /home/jenkins/tools/hudson.tasks.Maven_MavenInstallation/mvn/bin/mvn -U clean verify
[ERROR] Could not create local repository at /home/jenkins/.m2/repository -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LocalRepositoryNotAccessibleException
[Pipeline] }

@dduportal updated the agent image yesterday

I replayed the job with a different local repo dir not owned by root and it worked.
Secrets are there now


Sparse update for embedding matrix technically incorrect for momentum (but probably better)

Hi,
I noticed this issue in my own implementation, and remembered that your solvers also use a sparse update implementation for the embedding matrix. I thought I'd drop you a note.
The issue is that most momentum-based solvers involve some sort of exponential decay on the momentum vector. In my implementation, this decay was being applied unevenly, because the solver would only be called for words present in the minibatch. If I'm reading your implementation right, I think the same is true for you.
The technically correct solution is pretty obvious --- we can just track a timestamp, and do the update lazily as momentum ** (current_time - time_of_last_update).
However, in practice I think this solution might be worse than the "bug". It would mean rare words get no momentum, because we can expect them to have a long time between updates. Alternatively we could set the momentum decay really low, which would make the gradients of the rare words too sticky.
For the classical momentum, the "bug" version means that the momentum is simply the EMA of the active gradients for that word. I'm satisfied with this.
However, I think there might be some problem for other solvers, such as Adam, which also take the number of overall updates as a parameter. We might consider using the number of updates for the feature, instead. In my implementation, I happen to have the timestamp of the last change to the feature, and I didn't want to track another book keeping variable for a minor thing. So I'm guessing the number of updates using the time since last change, time / (time-last_upd).
I doubt that there's a huge difference in results from this issue, either way. But it might be good to note ways in which the implementation behaves differently from others. A similar situation occurs for regularization penalties. I saw from another issue that you're aware of that.
Best,
Matt

Hi Matt,
Thanks for the heads up on this! I'm pretty sure your analysis is correct, but it may be a while before we actually have some time to go in and fix and/or document it.

It is now possible to optimize using a dense update that considers momentum exactly correctly, and the behavior is (nominally) documented: https://github.com/clab/dynet/commit/3b60eec570672a3b5088e21b3849deaeb980ab18


[occm] fix ovn security groups

What this PR does / why we need it: the main reason for #2699 was that svcConf.allowedCIDR was not passed to ensureAndUpdateOctaviaSecurityGroup from updateloadbalancer (it was passed from ensureloadbalancer). However, I compined some of the creating values for svcConf to new function to make it little bit easier to read and remove duplicates
Which issue this PR fixes(if applicable):
fixes #2699
Special notes for reviewers:

Release note:

NONE

/test openstack-cloud-controller-manager-e2e-test

ping @kayrus @dulek currently ovn loadbalancers are kind of broken because of this. If using manage-security-groups="true"

/kind bug

/lgtm
/approve

/cherry-pick release-1.31
/cherry-pick release-1.30

/cherry-pick release-1.31


change module name prefix (follow-up for LUCENE-10234)

Add the same prefix as the automatic module name.
https://github.com/apache/lucene/commit/20cb6817db45d261bf336102f5842674f377d823
Luke works well for me. Is the change correct?  @dweiss @uschindler

Ah, thanks. I hope I didn't interrupt you (I happened to have nothing that keeps me busy today... but there was no reason to rush from my side.)

No, no - please go ahead if you have time. I'm just saying that I think there will have to be some manual tweaks if you merge with main and I won't be able to help out now.


Support Fixed-Sized Lists

This commit adds support for the Fixed-Sized List Layout.

I've made some changes to the type system so that a shorthand (atoms) and longhand (tuples) syntax for declaring types exist for better compatibility with Nx.

@josevalim and @tsloughter, I've added initial support for Fixed-Size Lists. Couple of things left to do:

Test if we crash on invalid input
Write docs


October 19th, Community Meeting Agenda

Dapr Community Meetings
Every two weeks we host a community meeting to showcase new features, review upcoming milestones, and engage in Q&A with the Dapr community - all are welcome, and we encourage participation.
The purpose of this thread is to form a discussion amongst the Dapr community on potential topics to highlight during the meeting. If you have a topic you wish to present or learn more about, please comment and be sure to include your name and a short description of the topic.
The conversations in this thread will directly influence the meeting agenda for the community call on October 19th, at 9AM PST. The meeting agenda is finalized by a Community Call Host prior to the meeting.
Thank you and we look forward to hearing your input.

Hey, can I have a 15 min slot in this session to talk about and demo the dapr SDK we are working on for Haskell language? haskell-dapr

@rahulbhargav That's awesome to hear! Would you be able to fill out this short form to tell us more about the topic you wanted to speak about?
Here's the form: Community call presenter sign-up

@rahulbhargav would you be able to say more about what your presentation will be about?

I'll cover a "Milestone overview for Dapr 1.10".

I will be covering the DocumentStore as a new building block proposal.
https://github.com/dapr/dapr/issues/5146


Ensure audit profile captures all the activities

Possible check to target the following resource

[ ] azurerm_monitor_log_profile

closing, tracking in spreadsheet

closing, tracking in spreadsheet


quite microphone event

quiet event is not useful in practice -- at least in a noisy classroom you will have a lot of transitions from "some noise" -> "no noise", so it triggers all the time.
If we keep quiet, we need to least require something like 2 seconds with low noise threshold.

I'd like to keep quiet event for now. @mmoskal  - ideas on the 2 second check?

we can do 2 seconds

i think this is done, @mmoskal ?

there's no threshold right now


chore(deps): update caddy docker tag to v2.6.4

This PR contains the following updates:

Package
Type
Update
Change

caddy
final
minor
2.4.6-alpine -> 2.6.4-alpine

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@paulushcgcj I haven't had any luck either and this is the patched version.  :/  ...Please update if you find a solution and I'll do the same.

Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will now ignore this update (2.6.4-alpine). You will still receive a PR once a newer version is released, so if you wish to permanently ignore this dependency, please add it to the ignoreDeps array of your renovate config.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.


Consider installing CMake Config files

If libcds provided a LibCDSConfig.cmake file with its installation, it would be easier to use it from a CMake-based project.

I'm not  an expert in CMake magic.

Sure, I'll try to get to it tomorrow or so.

Are you willing to drop support for old versions of CMake?

What minimum version you want?
At present, old CMake 2.8.12 is installed on some computers where I test the library and I cannot upgrade it.

What minimum version you want?

None specifically, I just wanted to know what version you could support. But it seems like you can't move away from 2.x, which is fine.


Use adminClient instead of client when interacting with system index in integTests

Description
Opening this PR to attempt to fix security CI checks. There are a few instances where the adminClient should be used instead of client in integTests.
To test I am running a local node with security, JS + ISM installed.
Running tests with
./gradlew integTestRemote -Dtests.rest.cluster=localhost:9200 -Dtests.cluster=localhost:9200 -Dtests.clustername="smoketestnode" -Duser=admin -Dpassword=myStrongPassword123\! -Dsecurity=true -Dhttps=true

Check List

[ ] New functionality includes testing.
[ ] New functionality has been documented.
[ ] API changes companion pull request created.
[ ] Commits are signed per the DCO using --signoff.
[ ] Public documentation issue/PR created.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@cwperks auto backport failing, mind create one manually?

@cwperks auto backport failing, mind create one manually?

👍 , yes I will create a manual backport in a few hours.


Inlude area in alert email

Hi, I think it is more logical to include the area rather than the source dataset in the alert email. If you have set a few alerts, it is in fact nog very clear anymore which ones you want to look at. Area is the most important to a manager. Alternatively, both could be included of course. Lat/Lon is in fact also totally uninformative so perhaps these 2 columns can go and we use area instead there?

Hi @timadriaens
In email there is a section called "Alert details" where the area is mentioned. An example follows here below for one of my alerts. Maybe you refers to the table with the occs examples? Mentioning the area has not really sense as it could be "Belgium" if no more specific area is selected. Moreover, it will be a redundant information as this info is already present as I mentioned before. Notice also that the details shown in the example table are the same as the ones shown in the table mode of the web application. In my opinion we shouldn't change it as lat lon are always present while municipality (just to mention the field which would make more sense) is not always filled in.
Alert details

Alert name: All IAS fishes in West Flanders
Species: Ameiurus melas, Channa argus, Fundulus heteroclitus, Gambusia affinis, Gambusia holbrooki, Lepomis gibbosus, Morone americana, Perccottus glenii, Plotosus lineatus, Pseudorasbora parva
Areas: West Flanders
Datasets: all
Email notifications frequency: Daily


Installation refinement (SUMO setup)

Pull request information

Status: ready to merge
Kind of changes: improve setup script
Related PR or issue: N/A

Description

This PR introduces a change to the SUMO installation scripts, which prioritizes this version of SUMO in the PATH environment variable, as opposed to potential older versions. This is useful for users who already have a different instance of SUMO installed. The change was already made in the OSX install, so this PR only includes the change for the Linux install.

Pull Request Test Coverage Report for Build 3804

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.299%

Totals

Change from base Build 3798:
0.0%

Covered Lines:
8268

Relevant Lines:
9056

💛  - Coveralls

Thanks @AboudyKreidieh !


feat(3053892284): change the getStarknetWallet modal styling to darkmode

Description of the Changes

added modalOptions with theme dark to getStarknetWallet function

Solves #3053892284

Checklist

[x] Changes have been done against dev branch, and PR does not conflict.
[x] Manually tests of the main Application flows are done and passed.
[ ] New unit / functional tests have been added (whenever applicable).
[x] Automation tests are passing in local environment.
[ ] Docs have been updated (whenever relevant).
[x] PR title is follow the Conventional Commits convention: <type>[optional scope]: <description>, e.g: fix: prevent racing of requests

This change is

:tada: This PR is included in version 1.9.0-dev.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.9.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


use command make fmt  to reformat code

please rebase this PR to latest main branch

please rebase this PR to latest main branch

done


[BUG] [SDK Author] Recording tests leaves me with a single .ctor.json file

Describe the bug
I'm trying to record tests for an updated HybridCompute SDK. When I run them using:
$env:TEST_CSM_ORGID_AUTHENTICATION = 'SubscriptionId=<SUBID>;AADTenant=<TENANTID>;Environment=Prod;HttpRecorderMode=Record;ServicePrincipal=<APPID>;ServicePrincipalSecret=<SECRET>;'
$env:AZURE_TEST_MODE = 'Record'
dotnet test

Expected behavior
after running this, I expect to see a json file for every test like the instructions say
Actual behavior (include Exception or Stack Trace)
I see a single file per test file:

and

inside of these these files there are entries:

but I'm afraid that only contains the entries of the last test or something...
To Reproduce
Steps to reproduce the behavior (include a code snippet, screenshot, or any additional information that might help us reproduce the issue)

checkout my branch in my fork
run the commands above

Environment:

Name and version of the Library package used: N/A
Hosting platform or OS and .NET runtime version (dotnet --info output for .NET Core projects): [e.g. Azure AppService or Windows 10 .NET Framework 4.8]

.NET Core SDK (reflecting any global.json):
 Version:   3.1.401
 Commit:    5b6f5e5005

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.19041
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\3.1.401\

Host (useful for support):
  Version: 3.1.7
  Commit:  fcfdef8d6b

.NET Core SDKs installed:
  2.1.803 [C:\Program Files\dotnet\sdk]
  2.1.805 [C:\Program Files\dotnet\sdk]
  3.1.101 [C:\Program Files\dotnet\sdk]
  3.1.401 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.15 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.21 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.1 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 3.1.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.1.15 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.21 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.1 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 3.1.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.WindowsDesktop.App 3.1.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
  Microsoft.WindowsDesktop.App 3.1.7 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

To install additional .NET Core runtimes or SDKs:
  https://aka.ms/dotnet-download

IDE and version : [e.g. Visual Studio 16.3] N/A

@TylerLeonhardt, just so I can make sure we are on the same page, are you trying to integrate your tests with the Track 2 Test Framework? Are you working on a new Track 2 management library?

@JoshLove-msft I don't really know what Track 2 is. I'm just trying to update the tests for my updated generation of the HybridCompute module:
https://github.com/TylerLeonhardt/azure-sdk-for-net/tree/update-hybrid-compute/sdk/hybridcompute/Microsoft.Azure.Management.HybridCompute/tests
I followed this guide:
https://dev.azure.com/azure-sdk/internal/_wiki/wikis/internal.wiki/78/Mgmt-.NET-SDK-release-process?anchor=sdk-generation-from-updated-spec
Track 2 looks fairly different than the tests I wrote and am wondering why that is...

This is apparently happening because it matters where the MockContext.Start(GetType().FullName); is called. It has to be called in the method that will be the name of the file it would seem. I abstracted it out to be in the ctor of my tests and that caused this behavior. It seems like this should actually look up until it finds a method with a Fact attribute instead of just looking up one in the stack trace.

@TylerLeonhardt since you've found a workaround and we are focused primarily on enhancements for the Track 2 Test Framework, I will close out this issue. Let us know if there is anything else we can help with.


Disable toolbar items

Hi Paul!
My app will be used by  different users with different privileges,  editing function not enabled for "simple" user.
Is it possible to disable some elements on toolbar and/or  disable context menu?
Thanks :-)

Yes: example on this page :
https://bossanova.uk/jexcel/v4/examples/contextmenu
https://bossanova.uk/jexcel/v4/examples/spreadsheet-toolbars


Upcoming Cupertino Library Features

This is a list of the new Cupertino library features that we're likely to work on in the next three months. It does not include the ongoing work related to bugs and other existing issues. The goal is to emphasize new widgets and features we're hoping to work on in near term, and to solicit feedback. We'd welcome comments about the features listed here and features we may have missed.
Features for which the work is relatively complete are marked with ✔.
This issue obsoletes https://github.com/flutter/flutter/issues/35026, which covered July-September 2019. The comments and votes submitted for #35026 will not be forgotten, it's assumed that they all still apply to this new roll up.
There's a similar list of Material library features, see #43035.
✔ Dark mode (iOS 13)

Support iOS13's dark mode and dynamic system  colors.
This project has been underway for a while already. It was announced in September 2019.

[x] CupertinoTheme & CupertinoTextTheme dark mode updates, #41859.
[x] CupertinoDynamicColor, CupertinoSystemColors, #37719, #39927, #39430.
[x] CupertinoButton and (bottom) CupertinoTabBar, #39765.
[x] CupertinoActionSheet, CupertinoActionDialog #39215, https://github.com/flutter/flutter/pull/40007.
[x] CupertinoActivityIndicator and CupertinoApp, #39289.
[x] Dark Mode R: Refresh Control, #40454.
[x] Dark mode CupertinoNavigationBar, #40189.
[x] Dark mode for CupertinoSwitch and CupertinoScrollbar, Fidelity updates, #40636.
[x] CupertinoPageScaffold dark mode, #40690.
[x] Remove CupertinoSystemColors in favor of CupertinoColors, #40566.
[x] CupertinoDatePicker & CupertinoTimerPicker dark mode, #39919.
[x] Cupertino { TabScafold, TextSelection, TextField } dark mode & minor fidelity update, #41431.
[x] CupertinoTheme & CupertinoTextTheme dark mode updates, #41859.

Modal presentations (iOS 13)

Shows a new view on top of the current view that looks like a stacked card.

https://github.com/flutter/flutter/issues/33799
https://github.com/flutter/flutter/issues/33798
https://github.com/flutter/flutter/issues/42560

✔ Context menus (iOS 13)

Similar to “peek and pop”, but don’t rely on 3D touch.
This project has been underway for a while already. It was announced in September 2019.

[x] https://github.com/flutter/flutter/pull/37778

Text Editing Gestures (iOS 13)

Various new gestures related to text editing.

https://github.com/flutter/flutter/issues/34749.

✔ New CupertinoSwitch (iOS 13)

[x] https://github.com/flutter/flutter/pull/36087
[x] https://github.com/flutter/flutter/pull/40636
[ ] https://github.com/flutter/engine/pull/12404 (Landed and reverted. When this is re-landed, see comment on original PR about the duplicate notification registration)

✔ New SegmentedControl (iOS 13)

This project has been underway for a while already. It was announced in September 2019.

[x] https://github.com/flutter/flutter/pull/42775

Simplified I18N Process

Apps will use a tool to generate a localized resources class from handwritten application resource bundle (".arb") files, one per supported locale.

There's a relatively detailed proposal  in #41437. This feature applies to both the Cupertino and Material libraries.
Support SF Symbols (iOS 13)

https://github.com/flutter/flutter/issues/33916

Long press and drag to select text (iOS 13)

Should be same selection gesture as Android.

#35010

CupertinoSearchBar

Similar to Material's SearchDelegate etc.

https://github.com/flutter/flutter/issues/9784

Systematic Fidelity Measurement and Tracking
Measure look and feel fidelity by comparing Flutter with native apps. This process needs to be part of post-submit testing; just like performance benchmarking.
The goal is to verify that a user can not distinguish between native and Flutter apps for visuals and behaviors that are intended to match their native counterparts.
This project applies to both the Cupertino and Material libraries.
Autofill Support
The overall goal for this project will be to add engine support for the native autofill services, provide an SDK widget that exposes the autofill service data, and integrate autofill with the default text selection menu.
This is also part of the upcoming Material features.

https://github.com/flutter/flutter/issues/13015
https://github.com/flutter/flutter/issues/33040

Simplified I18N Process
Can this task also take care of updating the info.plist about the supported languages so that we won’t have to do it manually for iOS?

Is autofill blocked for cupertino?

@bitsydarel - That's a good idea. Could you add a comment to #41437?

@GregorySech Autofill is not blocked for Cupertino.  I just added a section above about it.  Hopefully a lot of the work for autofill for Material and Cupertino is able to be shared, besides the native platform code.

Yes sure

@HansMuller I've unchecked the checkbox for flutter/engine#12404, since it was reverted. I've also added a note about a fix that will be required in two places: beside the checkbox, and on the original PR.

Any way to help with autofill support for Cupertino?

@genert Let's discuss on the main Autofill issue, I just posted here: https://github.com/flutter/flutter/issues/13015#issuecomment-548932823

Is there a scheduled time when these features will be released? just looking for a rough estimate (days, weeks, months, ...)

@lanmonster The features with a ✔ have been released in master (there are links to the PRs above if you need to know the exact versions).  For those without a check yet, take a look at the linked issues and follow the progress in there.  Dark Mode and Modal Presentations are both under active development and have linked PRs too, for example.  Others will probably get picked up after those two are done, probable on a "months" timeline unless someone steps in and wants to work on them.

@justinmc any idea when ModalPresentations will be implemented? This ticket is not updated for a long time

Unfortunately I was only able to do some initial investigation for ModalPresentations before I had to focus on other things, so it's not going to be soon.  The issue mentioned for it (https://github.com/flutter/flutter/issues/42560) has a link to a Pub package that might be what you need in the meantime.

:( that is sad news. I think the Flutter team should make sure we can also build native looking like apps with Flutter. One of the things we were worried about when taking a look at Flutter were the "native like" widgets provided by the flutter team. This should be a high priority with every design change.

I totally agree and I hope we can get back to this soon.  In the meantime, if you or anyone else cares enough about this feature to implement it yourself, PRs are always welcome and I'd be happy to help out with code review and guidance.

Is the cupertinoSearchBar in flutter now ?

@adeolaex No, but you can follow https://github.com/flutter/flutter/issues/9784 for any progress.

I'm going to close this as I'm no longer working on planning the high level Cupertino effort.  Check the issues in the original description for any updates on individual features.


Added max width for the navbar

By adding the max-width, navbar works perfectly .

can you provide a screenshot? @raghav1030

I think it would be great if you look it into the website only because it more of a animation change than the styling change.
But still here's the screen shot :


After upgrade to 2.9.0 framework cis-aks-t1.2.0 not working

Description
After I upgraded kubescape-cli to 2.9.0 (brew upgrade), scanning with framework cis-aks-t1.2.0 is not working.
Environment
OS: macOS 13.4
Version: Your current version is: v2.9.0 [git enabled in build: false]
Steps To Reproduce
Steps to reproduce the behavior:

kubescape scan framework cis-aks-t1.2.0
Initialized scanner
✅  Loaded policies
✅  Loaded exceptions
✅  Loaded account configurations
✅  Accessed to Kubernetes objects
0% |                                                                                | (0/0, 0 it/hr) [0s:0s]
✅  Done scanning. Cluster: dev
✅  Done aggregating results

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Kubescape did not scan any of the resources, make sure you are scanning valid kubernetes manifests (Deployments, Pods, etc.)
ℹ Run with '--verbose'/'-v' flag for detailed resources view
Expected behavior
Scan and output the results
Actual Behavior
Not working and giving this output:
"Kubescape did not scan any of the resources, make sure you are scanning valid kubernetes manifests (Deployments, Pods, etc.)"
Additional context
If i switch to other frameworks it works as aspected.

@arvesolli are you scanning an AKS cluster?

Yes, one if the changes introduced in the latest version is not scanning frameworks that are not related to the environment. e.g. nos scanning cis-eks on an AKS cluster. #1293
I believe Kubescape failed to detect that it is an AKS cluster.
Can you please share the output of the following command
kubectl version --short

~ kubectl version --short
error: unknown flag: --short
See 'kubectl version --help' for usage.

without --short
~ kubectl version
Client Version: v1.28.0
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.26.3
WARNING: version difference between client (1.28) and server (1.26) exceeds the supported minor version skew of +/-1

@matthyx , @rcohencyberarmor how can we detect an AKS cluster is such case?
Thoughs?

We detect AKS from the server address in .kube/config if it contains azmk8s.io...

~ grep azmk8s.io .kube/config
    server: https://***.westeurope.azmk8s.io:443
    server: https://****.westeurope.azmk8s.io:443
    server: https://*****.westeurope.azmk8s.io:443
    server: https://******.westeurope.azmk8s.io:443

As you can see I have 4 clusters in Azure in my .kube/config file. I scrambled the whole addresses.

@arvesolli Thanks for reporting, we will fix this :)

Anything I can help out with here? :)


Add test skip capability

Adds a Cypress command to enable test skips when conditions are met.
The command is in support/commands.js and will take any boolean expression as an arg.
Note: to be able to use it and use the Mocha test context, any test will need to use es5 syntax for functions, namely:
it('does a thing', function () { //do something })

rather than
it('does a thing', () => { //do something })

In the skipped tests, I'm currently evaluating against the url containing 'dev' to skip on dev environment, but you may want to change the expression if this won't work.
Also fixes formatting in test classes.

Adds a Cypress command to enable test skips when conditions are met.
The command is in support/commands.js and will take any boolean expression as an arg.
Note: to be able to use it and use the Mocha test context, any test will need to use es5 syntax for functions, namely:
it('does a thing', function () { //do something })

rather than
it('does a thing', () => { //do something })

In the skipped tests, I'm currently evaluating against the url containing 'dev' to skip on dev environment, but you may want to change the expression if this won't work.
Also fixes formatting in test classes.

Hey @cshnimble , Looks good to me.  Thanks for also making some other best-practice amendments to my original code.
I think the only thing from me is to please ask nicely if you can switch testing for 'dev' or 'test' in the URL is for now to test for 'd01' or 't01' to select the appropriate environment?
Other than that all good from me boss unless you've got anything else to add @paullocknimble ?
Thanks


Run the LocateProjects action from this repo

The LocateProjects app is used in the Snippets5000 CI build.
Instead of running that from a hand-generated NuGet package in each repo, we should run it directly from the source in this repo.
/cc @IEvangelist @adegeo @gewarren
Additionally, the Snippets5000 PowerShell logic should merge in with LocateProjects and have a single code base that a single maintainer can work on.

Associated WorkItem - 60144

Completed!


[GOBBLIN-1291] Fixes bug where :sourceRelease intermittently fails

Certain Gobblin modules such as gobblin-elasticsearch install tars using scripts during testing. Occassionally these tars are not cleaned up fully by ./uninstall_test_deps.sh which causes the file to be picked up by the :sourceRelease task, causing it to fail.
The patch ignores these tars adding files to the release tar.
Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[ ] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-XXX

Description

[ ] Here are some details about my PR, including screenshots (if applicable):

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #3130 into master will decrease coverage by 4.27%.
The diff coverage is n/a.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 268d608...296be66. Read the comment docs.

@Will-Lo Thanks for this PR! It is very timely given the 0.15.0 release I am working on.


Sidebar navigation closes on page reload

Same issue when I click Kubewarden -> Policy Servers -> default -> Config
Screencast from 2024-08-20 16-49-48.webm

This appears to be an issue with cluster level extensions in general, not specific to Kubewarden.


mysql.connector.errors.InterfaceError: caching_sha2_password requires SSL

Per above.
mysql_pool = MySQLConnectionPool(
            host=mysql_host,     # 数据库主机地址
            user=mysql_username,      # 数据库用户名
            passwd=mysql_password,        # 数据库密码
            port=mysql_port,
            database=mysql_db_name,
            pool_size = config_pmc,

        )

Issue located:
This issue is caused by disabling the ssl function on the server, which is a function that caching_sha2_password required.


Poloniex sequences

Separated the issue, started here https://github.com/Matthias247/jawampa/issues/83

Hi everybody,
i have some issues with the poloniex Push API, so decided to use the thread here and not to open a new one
Using the Poloniex Push API we face some weird issues with the sequence number, namely some messages are being dropped and do not arrive on our side.
The messages are received with a sequence number inside. We process them directly and change the internal state of the order book, if the seuence is exact one more than last processed one.
In case the messages are arriving not in the exact order of sequence numbers, the messages are buffered and processed later in the correct order. So we can handle messages very well independent of the order they arrive in.
But the problem, which we can not handle,occurs, if we simply miss a sequence number. It happens pretty often. Currently if we miss a sequence number the messages are buffered, and if the buffer grows over 100 messages, we stop waiting for that missing sequence number. The only thing, we can do, is to start the complete sync process again. We get the snapshot of the order book using the rest API, and apply the incoming messages using the sequence numbers.
The described problem occurs very often, for example if we look at the pair “BTC_ETH”, we see the problem almost twice a minute.
See attached the simple java program PoloniexWSJavampa.java, which can be used to reproduce the issue.
One example output is attached as well.
example.output.txt
PoloniexWSJavampa.java.txt
The big question here is, how is it possible, that we do not see some messages??? Can they be dropped somehow? By server or by jawampa?

@angiolep  to excited to wait for your explanation of the problem, we face at Poloniex

Hi there,
here is the answer of the support team on the issue :
"
This happens sometimes with the WAMP API. It is due to inherent scalability problems with the routing software, and we are working on a pure WebSockets API (currently used by the web interface, but lacking documentation) to replace it. For now, part of the reason the sequence numbers are there is so that you can detect a missing message; if you don't see the message within a second or two, you can reset your order book using the regular polling API.
We hope the new websockets API will be ready soon, we are just working on the finishing touches and the documentation.
"
So, for now, @andre77  solution is the one we have to use :)
Best regards

Hi there,
I am also working on a project which uses Poloniex orderbook. Multiple messages arrive in single packets so you have to dig down into the packet to get out all the messages. However, it is true that from time to time something gets missed out.
In case you miss the sequence, you have two options.. either you re-initialize the state of your orderbook from Poloniex REST service or, if suitable to your requirements, update the orderbook by last received message even if the sequence num is greater than expected. The first approach is more consistent but slower and there is a problem if an wamp message is received while the Rest init process is in progress so you need to run Rest and Wamp clients at the same time.

Hi there,
I am trying to connect to the API,  I received the REST book and I believe I am now reading the push API messages correctly.  The issue is that the sequence number I receive on the book from the REST API is substantially ahead of the push API modify and remove messages (sometimes by a couple of hundred thousand).  Does anyone have a clue as to whats happening.

rpike, I am also finding the WAMP API market updates are hours behind real time which would correlate to a couple of hundred thousand messages.

donno why but push api data seems totally outdated

It's not only outdated, but there is something massively wrong with the sequences. Whereas I can understand if messages come out of sequence at times, I get relatively often jumps of 100'000 or more in the seq numbers. This can't be the expected behavior.

hi, Is there any other possibility to get the real time Streaming data from Poloniex other than using Wamp Api, since the WAMP Api is giving data which is totally outdated?

@dhinesh-raja Where do the REST API have sequence numbers? (you do realize btw that only those 1+ billion people who live in India use "lakhs"? not that I'm not used to them by now...)

I'm having the same problem with WAMP, seq numbers are far behind of seqs from an order book received by rest api. Does anyone know rest api request limit for poloniex? How often can I call their api before they ban my API? Thanks in advance.

@avdva From the Poloniex API documentation:

Please note that making more than 6 calls per second to the public API, or repeatedly and needlessly
fetching excessive amounts of data, can result in your IP being banned.

@pvk444 Thanks a lot. I wonder, that didn't notice it before.

Random idea: reverse engineering the undocumented websocket API that @JeremieRodon's post mentioned? Poloniex can't afford to let it stop working or they'll stop making money.


Prompt resource doesn't remove cursor when ENTER key is pressed.

Code:
prompt = promptui.Prompt{
	Label: "Prompt 3",
}
_, err = prompt.Run()

The string that I get back from prompt.Run doesn't include the cursor, though.

You could try my fork. I fixed it some way.
Since it is a bit hack, I might not create pr to really fix it for now.
https://github.com/tigergraph/promptui

Is the issue just that the length in bytes is different than the length in runes then @chriszzt? Assuming https://github.com/tigergraph/promptui/pull/2/files is the relevant PR and not https://github.com/tigergraph/promptui/pull/1/files, I mean - since 1 was much larger than 2

https://github.com/tigergraph/promptui/pull/2/files

Oh, actually c.input is of type []rune, that is why i delete unnecessary type conversion in my pr

Created PR #147 which extracts the commit PR #118 by @richardmcsong that deals specifically with this issue (PR #118 also contains additional functionality), hopefully making PR #147 easier to accept.
Also, PR #147 does pass the CI build, which also hopefully makes it easier to accept.


initial load by ts-sockets.js gets order wrong

replicate:

load up tiddlyspace.com and look at the three tiddler titles in the socket feed
in another tab load: http://tiddlyspace.com/search?q=

Unless there is current write activity, the tiddlers in the socket feed will be from the bottom, not top, of the results list in the other tab.
This seems to be happening because the tiddler at the top of the list is being pushed onto the transitionUI stack, it should probably be the other way round. Two ways to fix this might be:
-url: "/search?q=_limit:20",
+url:"/search?q=_limit:20;sort=modified",

or, in the loop that follows, set i = tiddlers.length - 1 and count down in the loop instead of up. Could also exit the loop after 3 transitions, even if length is longer?

Addressed. I went for the sort.
Some of the tiddlers will be thrown away on account of being shadow tiddlers or plugins so I don't want to worry too much about exiting the loop too early. Also if we plan to allow scrolling back in time it would be useful to have additional ones so they are available from the start.


Notes in tag archive

Don’t list album notes individually, just list the album they’re part of.
(Wait, what if the individual notes have different tags?)

Can’t get my head around this one. Hotfix: Tag the album, not the notes it contains. That way, the album gets listed on the taxonomy page, while the individual notes don’t (unless tagged).


Azure AD register an App URL

Azure AD register an App URL

Docs Build status updates of commit b172493:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-community-training/infrastructure-management/install-your-platform-instance/configure-login-social-work-school-account.md
:bulb:Suggestion
View
Details

microsoft-community-training/infrastructure-management/install-your-platform-instance/configure-login-social-work-school-account.md

Line 85, Column 51: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://docs.microsoft.com/azure/active-directory/develop/quickstart-register-app' will be broken in isolated environments. Replace with a relative link.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel