ECDF as an Element?

I was thinking of putting together a PR for this, but wanted to see what people thought before investing the effort. I think empirical cumulative distribution functions (ECDFs) are very important plots for visualizing how data are distributed. I argue that because there is no choice of binning or bandwidth, and all data are plotted, they are even better than histograms (hv.Histogram) and KDEs (hv.Distribution). Below is a comparison of a histogram and an ECDF.
I would like to make a new plotting element, hv.ECDF. Are the core devs open to this idea?

Sounds good to me!
As a minor note, the example looks cut off near zero on the y axis.
Is there a more descriptive name for it? The only acronyms used as element names so far are RGB and HSV, which I think are much more widely recognized than ECDF as an acronym (which to me means our Edinburgh supercomputers!). CDF seems easier to recognize; does the fact that it's empirical really need to be emphasized? Or maybe CumulativeDistribution?

I'm glad you like the idea!
I prefer ECDF; it's pretty well known. The first page of hits on Google are all for the right thing, with the top hit being the Wikipedia page, and the second being the R function ecdf.
I don't think we should use CDF, because the ECDF is a very special CDF; one for an empirical distribution. CumulativeDistribution might work, but I worry about misinterpretations with Distribution, which uses a KDE. CumulativeDistribution might then be interpreted to mean the KDE plotted as a CDF. I guess EmpiricalCumulativeDistributionFunction is too verbose, but if verbosity is not a real issue, I prefer that to the other alternatives, which can leave open misinterpretation.
The y-cutoff on the plot is because I was panning and zooming before I took the screenshot. Here's a PNG of the pre-panned ECDF (how it should look).

I had all those thoughts too, but was hoping you'd disagree. :-)  I can't think of any other name, then.

Just as a user, I think I'd almost prefer EmpiricalCumulativeDistribution, or EmpiricalCumulativeDistributionFunction, just for code clarity and to avoid acronyms (which may be well known in the stats-minded community but I'm not sure about elsewhere). Verbosity is not an issue I would say (you'd only type Empi+tab anyway).

Up to a point, verbosity isn't an issue, but I do think that the full name EmpiricalCumulativeDistributionFunction will cause us formatting problems in tables, lists, etc. where we enumerate Elements. I think the name should be something in the range of lengths of existing elements.

Good point.
On the other hand, I don't really see the point into specifying Empirical for this Element anyway. To me the main point is that it is a cumulative distribution, and whether or not it is based on the empirial distribution or a KDE should live in a plot option.
Putting options like these, which have nothing to do with the grammar of the underlying visualization, into the name of the element, would be an inconsistency with holoview's grammar and API, in my mind anyway.

Just an idea, one might even consider a plot option cumulative=True/False on Distribution, but I haven't thought that one through.

I think this is the right approach as well. I'd suggest implementing this either as a new operation or as a parameter on the existing univariate_kde operation (if that makes sense) and then expose it as a plot option on hv.Distribution.

I think it is important to draw some distinction between Elements that display all data points and those that do not. Here are some examples with code and rendered elements.
Examples that do not plot all of the data:

hv.BoxWhisker takes input data and performs some aggregation operation, and then some summary of the data are plotted. Excepting outliers, only summaries of the data are plotted.
hv.Distribution takes input data and performs a KDE, and then plots the KDE. None of the data are plotted.

import pandas as pd
import holoviews as hv
from bokeh.sampledata import autompg

hv.extension('bokeh')

df = autompg.autompg_clean

bw = hv.BoxWhisker(df, kdims=["origin"], vdims=["mpg"])

dist = hv.NdOverlay(
    {origin: hv.Distribution(group, kdims=["mpg"])
         for origin, group in df.groupby("origin")}
)

bw + dist

Examples that plot all of the data

hv.Scatter with a categorical axis plots every measurement (a.k.a. a strip plot).
hv.Spikes plots each measurement.

scatter = hv.Scatter(df, kdims=["origin"], vdims=["mpg"]).opts(jitter=0.3)

yticks = [(i + 0.25, origin) for i, origin in enumerate(df["origin"].unique())]
spikes = hv.NdOverlay(
    {
        origin: hv.Spikes(group["mpg"]).opts(position=i)
            for i, (origin, group) in enumerate(df.groupby("origin", sort=False))
    }
).opts(hv.opts.Spikes(spike_length=0.5, yticks=yticks, show_legend=False, alpha=0.3))

scatter + spikes

Difference between ECDFs and Distributions
The ECDF is decidedly different from an hv.Distribution, which does one thing: compute a KDE and render it. Rather, an ECDF is a plot of all the data. This may be clearer if we plot the ECDF as "dots," as is often done. This has the same information  the "staircase" representation, with each point being located at the concave corners of the staircase.

In this case, each dot is a measured data point. The ECDF can be thought of as a transform, like a jitter or beeswarm transform, that determines the y-position of the glyph (where the x-position is the measured value).
So, the "empirical" part of ECDF is a key feature. It means we are plotting data points directly, with a transform that does not lose any information about the measured data themselves.
A cumulative=True option for hv.Distribution is something different; it means to plot the integral of the PDF returned by the KDE. This is qualitatively different from an ECDF, which is a plot of actual measurements.

This is qualitatively different from an ECDF, which is a plot of actual measurements.

That makes sense. I'd probably be okay with adding an ECDF element in that case, I can't see a verbose name that would capture this well otherwise.

@justinbois If I'm looking at a distribution I'm looking at a distribution, no matter whether it has all the data points or only some smoothed estimate of them. The information you want to convey to the audience is the same. How the thing that you want to show is computed from the input is just a matter of preprocessing, i.e. implementing an operation of the right name and semantics.
Following your logic, one could also have two different elements for BoxWhiskers, one for where the medians are computed from the data, and another one where the medians are directly supplied to the element (as discussed e.g. here https://github.com/pyviz/holoviews/issues/2183), or two different VectorFields, one accepting angles/magnitudes, the other x/y vector components (as discussed here https://github.com/pyviz/holoviews/issues/3486). I don't think we should have different elements for each kind of input or intermediary processing being done.
Anyway that's just my two cents.

@poplarShift, I see what you're saying, but I'm concerned that taking this approach might make the umbrella of what is a Distribution too wide. By similar arguments, we could say that hv.Bivariate((x, y)).opts(kernel='empirical') should replace hv.Points((x, y)). Or that hv.Distribution and hv.Histogram are the same thing as well–they are both used to visualize PDFs; one uses binning and the other Gaussian KDE. We might then replace hv.Histogram with something like hv.Distribution(data).opts(kernel=<some object that specifies binning>).
Use of kernel='empirical' would result in a different kind of plot for a hv.Distribution than how it is currently defined (as a KDE), since an empirical PDF is a linear combination of delta functions (which we cannot show graphically). A reasonable representation would be a rug plot with some transparency to show repeated values, or hv.Spikes where the height of each spike is given by the number of measurements with the same value. Here, hv.Spikes is already in place; it's something that plots all of the data and is different from hv.Distribution.
I think @poplarShift's suggestion in #3486 regarding VectorFields is a very good one. But I do not think that is the same issue we are discussing here, since the transformation between angles and magnitudes to x-y velocities is bijective. The actual data cannot be retrieved from a KDE.
To your point about looking at a distribution, whether you are looking at points or smoothed estimate, I argue that these are actually not the same thing. The information in a KDE and in an ECDF are not the same, just as a regression line gives different information than the data themselves. You can also think of it this way: Is a hv.Points Element looking at a distribution? In some senses, yes, since the data could be sampled out of a (possibly unknown) distribution. But, as I mentioned before, I think it makes sense to have hv.Points and hv.Bivariate be separate Elements. Thinking of a data generating process, there is some underlying generative distribution, so one could argue that any plot of measured data is in fact looking at a distribution and we could further overload hv.Distribution.
Thanks for the engaging discussion, all. This is the sort of thing that make open source software healthy.

one could argue that any plot of measured data is in fact looking at a distribution and we could further overload hv.Distribution

When I plot a Points element, I don't attach specific information content beyond what the data are. Of course a subset of that information is also the distribution, but there's more: Distances between the points, values attached to each measurement (e.g. colour-coded), etc. - 'simply' the raw data and the fact that they exist. In this sense, Points is semantically overloaded already, because the reason I'm plotting them may be very diverse.
Plotting an ECDF, on the other hand, like other kinds of distributions, serves a more specific purpose: What values did I observe, how many of each, and how do they relate to each other. So of course there's a bijection between an ECDF and a list of values, but I'm showing them in a specific way, namely such that the audience knows about their distribution.

We might then replace hv.Histogram with something like hv.Distribution(data).opts(kernel=).

Well, I would not actually be strictly opposed to that. But of course the notions of histograms and distributions and their delineation have a long tradition. ECDF, I would argue, has less of a general-science tradition attached to it.

A reasonable representation would be a rug plot with some transparency to show repeated values, or hv.Spikes where the height of each spike is given by the number of measurements with the same value.

I agree with that too, and again one would be utilizing a semantically overloaded Spikes object and reduce it to one specific of its many possible functions.

Thanks for the engaging discussion, all. This is the sort of thing that make open source software healthy.

I agree, I've learned a lot already!

I agree that the primary use of an ECDF is to visualize a distribution, as also described in the ggplot2 documentation. Off hand, the only other use I can think of is its complement (ECCDF) being used as a survival curve, which is actually just an ECCDF anyhow; it's just sometimes not called that.
But that is also the primary use of a violin plot (hv.Violin), a KDE (hv.Distribution), and a histogram (hv.Histogram). And also hv.HexTiles and hv.Bivariate. All of these are unique Elements.
So, I think maybe we narrowed the question down:

Should ECDF have its own Element?
If not, why is it different from those I listed above, which are all primarily used to visualize a distribution?

It's important to note that ECDFs are also configurable. You can choose to plot the complement. You can choose to plot them as dots, staircases, or even "formally" (something like this). If you plot them with dots, you can have hover tools to give more information about each point. I think putting this configurability into hv.Distribution would be confusing and cluttered.
Due to some other commitments I will not be able to start working on this for at least a week, so in the meantime, it would be good to work out what we would like for the API for ECDFs. I'm in favor of its own Element (with valid points), and I think @poplarShift disagrees with me (also with valid points). It'd be good to hear other opinions.

Would @jbednar, @philippjfr, or others like to give their opinions on whether an ECDF should have its own Element? @poplarShift, do you have further thoughts?

It's tricky, because HoloViews is not currently consistent in this regard. I personally would rather it tend towards becoming consistent, which I believe would require that Elements have a direct mapping between the underlying data and the visual representation, with operations used for any significant transformations (reductions, aggregations, fitting). To do that several existing Elements would need to be deleted or deprecated and users would instead be told to use an operation that returns an existing Element type:

hv.Distribution -> replace with an operation compute_distribution accepting hv.Points, hv.Scatter, hv.Curve, etc. and returning hv.Curve
hv.ECDF (proposed) -> replace with an operation compute_ecdf accepting hv.Points, hv.Scatter, hv.Curve, etc. and returning hv.Curve
hv.Bivariate -> replace with an operation compute_bivariate returning hv.Contours

Others would require making new Element types (or changing existing ones):

hv.Histogram -> replace with an operation compute_histogram returning hv.Bars (which would need to be extended to support continuous axes in general, but that's an extension I'd like to see anyway)
hv.HexTiles -> replace with an operation bin2d_hex returning hv.Hex (a new type that looks like hv.HexTiles, but maps its .data directly to the visual display)
hv.BoxWhiskers -> replace with an operation compute_boxwhiskers accepting hv.Points, etc. and returning a hv.BoxWhiskers2 (which looks like hv.BoxWhiskers but has .data mapping directly to how the element looks, so that users could construct their own (e.g. from published stats) and pass them in)
hv.Violin -> replace with an operation compute_violin accepting hv.Points, etc. and returning hv.ViolinPlot (which looks like hv.Violin but has .data mapping directly to the visible appearance)

I think this would make HoloViews much easier to reason about and work with by separating the transformation operators from the visible representations. Jean-Luc suggested that Philipp and he already discussed this at length, and ended up agreeing that the convenience of being able to control the Element options using the hv options system outweighed trying to make it consistent like this, but I'm not sure I'm convinced about that.

Note that the above proposal matches how the HoloViews rasterize() operation currently works, which could also be called bin2d, i.e. accepting hv.Points, etc. and returning hv.Image.  This is in direct conflict with hv.HexBin, which also does 2d binning (with a different bin shape), but works entirely differently, as an Element that does the aggregation internally.  I don't see any particular reason these two nearly identical types of 2d binning should use entirely different approaches, and inconsistencies like that lead to ambiguity in how new functionality like ECDF should be handled.

I'm personally fairly strongly against this proposal, the inconsistency is quite frustrating but in actual the fact that Histogram actually contains the data representing the visual geometry and not the raw data has been a much greater source of frustration and confusion than the fact that other statistical aggregates do the opposite. I do concede that this is mostly a naming problem.
Nevertheless I think the convenience of having statistical aggregations is quite important. The conceptual leap of declaring a Dataset (for 1D data) and Points (for 2D data) and then importing and applying an operation to get the plot you want is a huge hurdle for users.
What I think would help consistency is if each of the statistical operations would map to a specific or multiple geometry element types on the output. That way we would still have the convenience of the statistical element but also have a clear story about how they map to actual geometries that get drawn on the plot. Indeed in the background a number of elements are already implemented this way, e.g. Distribution gets converted to an Area/Curve behind the scenes using the univariate_kde operation and Bivariate gets converted to Contours using the bivariate_kde operation. I would then strongly agree that we should do the same thing for the remaining elements mentioned above.

Yes, Jean-Luc warned me that you were the one that argued it should be the way it is, and that he grudgingly went along with it. :-) But it sounds like you are proposing an alternative mechanism for achieving consistency here, with a different outcome than in my proposal but still greatly improved consistency compared to the current approach, by making it clear that the transforms can be done by the element but are all optional and can be invoked explicitly when needed. If that's what you're saying, could you flesh out your proposal, to contrast it more directly with mine (which I'll call the "Elements for data, operations for transforms" approach), saying which Elements and Operations you'd propose to change or add?
I personally would argue that the "huge hurdle for users" is that things are not consistent, and so users can't quickly and intuitively jump to conclusions.  When things are clear and consistent (Elements == data, operations == transforms), users can learn this easily from a small number of examples.  When some Elements include transforms, it's muddy and much harder to learn; the best guess of a user is quickly invalidated in other examples, and then lots of examples or explanations are needed.  Inconsistency is the hurdle here!

I mean inconsistency definitely is a hurdle but you can't tell me that this isn't another significant hurdle:
from holoviews.operation import univariate_kde
ds = hv.Dataset(df, 'value_column')
univariate_kde(ds)

# vs.
hv.Distribution(df, 'value_column')

It's true that it's been annoying to have to import operators each time (as I very often rasterize and datashade), but that's something that could be addressed the moment we wish to, by promoting operations into the main hv namespace.  I'm not arguing for or against doing so, but to make it comparable, assume we did so, and then the difference is:
``
dist = hv.univariate_kde(hv.Dataset(df, vdim='value_column'))
# vs.

dist = hv.Distribution(df, 'value_column')

Moreover, in practice I think it would very often be more like:

dist = hv.univariate_kde(e)

where `e` is some Element that people already have lying around that they want to see the distribution of. I.e., sure, sometimes people would need to make a Dataset like that, but it seems to me that they often wouldn't need to.

I think the discussion has gone into some central issues about how HoloViews is organized. I Guess adding new functionality and thinking about how to do it leads to these kind of discussions.
While I'm very interested in the discussion, I think it mostly in the domain of the core devs (which I am not), so you should take my opinions here with that in mind.
To summarize: On the ECDF issue, we are all agreed HoloViews should offer that capability, but are not clear on how. The how question has raised notions about how Elements and operations are organized.
My $0.02 on the matter is that, as primarily a user (not a developer), HoloViews's structure has helped me think about my plots as is so nicely described at the beginning of the user guide; annotate your data with:

Type of plot
Key and value dimensions
Groups and labels

In practice, the type of plot is set by the Element I choose. As I have argued before, I think of an ECDF as a specific, separate type of plot, so hv.ECDF makes sense for an Element. This would tend to favor more elements versus @jbednar's elements for data; operations for transforms.
A tricky point comes when figuring out how fine-grained are the element choices. For example, I think a datashaded scatter plot (made with hv.Points) is not a different type of plot that a non-datashaded scatter plot. But maybe a hexbin is different than a scatter plot.
That said, @jbednar's concept that each Element has a direct mapping to data, and applying an operation on an element gives a new element with a possibly new data that maps to it (e.g., as in the box plot example) is very appealing to me. This means fewer Elements, and everything is more direct. It just seems a bit detached from the kind of thinking I've been doing that I outlined above based on the user guide (and I'm fine with that; the direct data-to-visual is conceptually pleasing).
W.r.t. adding ECDFs for the short term, if there might possibly be a major restructuring in the future, perhaps it's best for now to have an ECDF be its own Element, and then we can steal code from that element to whatever it transform it may become?

I think it makes sense to have mostly operations (along the lines of what @jbednar wrote), but wrap them into Elements using Compositors (for option styling and convenience along the lines of what @philippjfr wrote). For now, that wouldn't lead to much rogue code flying around that would need to be moved about later if one decides to go one way or the other (i.e. less elements, more operation-/plot-option centric, or more differentiation at the element level).
So concretely for the proposed ECDF element, how about an operation ecdf or empirical_cumulative_distribution_function (or whatever people like - as it's not an element, there would probably not be as many problems with verbosity though) that returns a Curve element. This can then be folded into an ECDF element using a compositor, or, later, if that's where the project ends up going, wrapped into plotting options in some sort of distribution, or just used on its own.

That way we would still have the convenience of the statistical element but also have a clear story about how they map to actual geometries that get drawn on the plot. Indeed in the background a number of elements are already implemented this way, e.g. Distribution gets converted to an Area/Curve behind the scenes using the univariate_kde operation and Bivariate gets converted to Contours using the bivariate_kde operation.

I think this is a partial incarnation of the 'macro' idea I was pushing for a fair while back: something that looks like an element but is really implemented as an operation mapping to other elements behind the scenes. I don't think things are currently implemented at the same level as I originally envisioned though and I don't have a fleshed out proposal for making this idea concrete.
For what it is worth, I originally sided with @jbednar when this was originally discussed but I now agree more with @philippjfr - the convenience of being element-like instead of operation-like is very high. I also agree that the fact that the .data of Histogram should really be the data that is to be binned not the visual representation.
I'll also note that introducing new elements that are meant to be about visual representation is orthogonal to anything else. I can imagine a Hex element that is just about the hexagons of HexTile and a generalized version of Bars that could represent histograms. Maybe if things like HexTile and Histogram offered a way to return the Hex and Bars as the visual representation of what gets rendered to the screen?

To summarize the discussion this morning with @jbednar and @philippjfr:
Current situation

Some of the statistical elements already use the compositor behind the scenes which are implemented using holoviews operations that map to the more primitive elements that are displayed.

Right now, this isn't very well documented though it is mentioned in places (e.g Distribution mentions univariate_kde). Finding the link between such elements and these operations is currently tricky and involves spotting the right section of the docs.

Suggested plan.

@jbednar didn't like the idea that elements using operations/compositors should be only associated with statistical elements. For this reason I propose statistical elements are an instance of a 'derived element' concept.

We can then have a user guide section about derived elements where we can talk about the full set of such elements and make the link to the corresponding operations very clear.

Then there are three more things we want to make this work well 1) Define a DerivedElement base class and corresponding (minimal!) API. 2) add new elements that map to the visual data more directly - these are the elements that are actually displayed after the necessary computation has occurred 3) expand the set of derived elements e.g Violin/BoxWhisker are not currently implemented with operations/compositor.

The only difference I propose that DerivedElement makes is that it offers a .derive sub-object that holds the set of associated operations used to visualize that element.

There is already discussion above about having elements that more directly map to the screen. For instance,  Hex instead of HexTiles - though there is a bunch of renaming would like to do here) and Bars would need to support categorical/numeric axes to support bar charts/histograms.

It seems that things like BoxWhisker/Violin could be implemented with operations/compositor as long as we have multiple operations on .derive for the various parts of BoxWhisker/Violin. This is why a .derive sub-object is nice 1) it lets you quickly find the operations associated with a derived element while keeping the name you want for the operation e.g  univariate_kde  2) in the case of the more complex composite derived plots, there can be several operations there.

With all this in place, I think the new user guide could tell a more consistent and compelling story.

I agree that the above discussion captures what we discussed. There's one more thing we decided as well, which is that the way forward for the particular case of an ECDF is that the fundamental implementation is in terms of an operation, not an Element. I.e. that what should be submitted to the repository first is an operation, and then once we have that along with examples of it, we can make a compositor and a derived Element as a more convenient way to access that functionality, but that first we just need an operation.
So, if we haven't beaten you down too much already with our hemming and hawwing, @justinbois , we'd love to see a PR that contains an ECDF operation.  We'd then review that, merge it, and seprately add the compositor and derived Element on top of that.  Hope that's ok!

That's definitely ok! I should have a PR in the new few weeks for you.
This discussion about HoloView's structure has been enlightening and enjoyable. I'm guessing you will migrate those considerations to new issue(s)?

I've opened one for Hex already, but @jlstevens, please open a new one that contains the above info and points to this issue; the new issue should contain the full plan, and then this issue can be the background for those interested.

Oh, and one more thing about ECDFs:
They should not necessarily result in a hv.Curve element. I see three different ways of plotting ECDFs:

As a staircase (most often encountered), which would be hv.Curve.
As dots (at the concave corners of the "stairs"), which would be hv.Scatter. These are the actual data points.
"Formally" (wherein the vertical lines of the staircase are omitted, kind of like this). This would be an overlay of hv.Curve and hv.Scatter.

I have found (3) to be truly awful to look at and would be happy to omit that.
I have found (2) to be really useful. In fact the first ECDF I encountered (Fig. 1B of this paper) did it that way. It allows for nice hover tools over the glyphs that are not possible because of the ambiguity of doing so with the lines of the staircase. I think HoloViews should enable both (1) and (2).
Finally, I sometimes overlay a bootstrap confidence interval of the ECDF, like below, which is nice functionality to have, but may be outside of HoloViews's scope (though maybe not because some statistical computing, like KDEs, is already done).

If the ecdf operation returns a Curve, I'd assume the result of it can be passed to the Scatter constructor to create version 2. (hv.Scatter(ecdf(hv.Scatter(df)))  Showing the spread would be useful, yes, in which case the operation would return an overlay of the Area and Curve plots.

I agree @jbednar, though isn't there the Spread element for that (instead of Curve)?

If the ecdf operation returns a Curve, I'd assume the result of it can be passed to the Scatter constructor to create version 2. (hv.Scatter(ecdf(hv.Scatter(df))) Showing the spread would be useful, yes, in which case the operation would return an overlay of the Area and Curve plots.

I'd probably also expose this as a parameter on the operation, e.g. univariate_kde has a filled parameter, which becomes a plot option on the derived element and controls whether to return a Curve or Area.

Sure, Spread is a closer fit.  And yes, adding a parameter to switch between Area and Curve for the operation is useful, particularly if it is returning an Overlay rather than just one Element.

Does any of this discussion need updating now that Elements store reproducible pipelines of the operations used to construct them?  It doesn't have to, but it's now possible to e.g. get at the underlying data of a histogram whether or not it's available on .data of a Histogram element.


Test for the amout of pokemons

In this milestone:

Added the test for the amout of pokemons
Splite the main file into modules, for the amount of comments and the amount of pokemons.
Minor changes in the CSS.

Hi @Ruthmy Ruth,
Your feature is complete! 🏁 Nice job! 💎 There is nothing else to say other than... it's time to merge it 🍾 Congratulations!   🎉 💯 🌟
Highlights 🎯
🎲 Properly implemented modular JavaScript using ES6!
🎲 App works as intended!
Keep soaring higher! 💻 🍷 🚀


need more imports

I need to import 3 datasets to my python script. Would this be available in the future? Is there a workaround so that I can import 3 disparate datasets?

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

ID: 3c955e34-3ce8-3aeb-8dbf-cdc01bde6d25
Version Independent ID: cb290cea-b245-2228-f299-d5f54cd7e0ac
Content: Execute Python scripts - ML Studio (classic) - Azure
Content Source: articles/machine-learning/studio/execute-python-scripts.md
Service: machine-learning
Sub-service: studio
GitHub Login: @likebupt
Microsoft Alias: keli19

I'm closing this out since May has answered this but if you have further questions feel free to re-open.

I'm sorry, perhaps I wasn't clear. But this is for the 'Execute Python Script' in the Experiments for the machine learning studio. I want to turn this into a webservice.

The answer appear to be for using the notebook. Is there a way to deploy a notebook as a web service?

Hi @bruceokallau , sorry that currently there is no feature supporting your requirement. If the three datasets are disparate, maybe you can process them respectively.
Could you please explain your scenario so that we can better understand and plan to improve this module?

Hi @likebupt ,
I'm trying to incorporate this tool here https://github.com/JasonKessler/agefromname into a webservice. I want to send Azure ML a dataset from my SQL server and then have that agefromname tool give me an output that I can then take back into my SQL server.

@bruceokallau  Thanks for your sharing. But I'm still confused why you need to connect 3 datasets to execute python script module.

@likebupt The ageFromName tool needs two disparate datasets: mortality rates for the last 100 years and the total births by name for the last 100 years. Then I need to input a third dataset with my own names to get an age prediction.


[release-v1.9] Fix inlined plugins from client-pkg

Per our earlier chat. This's enough to have both lists initialized.
@rhuss

Thanks!
/approve
/lgtm

/cherry-pick release-v1.10


Upload to pypi

Hey!
It would be nice to be able to do "pip install mrtparse".

OK!
I'll do it.

I uploaded the mrtparse to PyPI.
Thanks a lot.

That's great, thanks!


Sets ACME client context to 10s and wraps controller ctx

/assign @munnerz
/milestone v0.14
/area acme
Set acme client context deadline to 10 seconds as well as wraps the controller context to be more cleaner.
NONE

/lgtm
/approve

/kind cleanup

/cherrypick release-0.14


ntrs: cellular response to [substance]

Hi,
For each of these, we would like a "response to" parent and "cellular response to" child, all with standard defs and relationships (incl. classifying substances according to ChEBI). Any that are accepted, we'll use in cross-products for pombe phenotype terms.
name: response to [x]
def: "Any process that results in a change in state or activity of a cell or an organism (in terms of movement, secretion, enzyme production, gene expression, etc.) as a result of an [x] stimulus." [GOC:curators]
name: cellular response to [x]
def: "Any process that results in a change in state or activity of a cell (in terms of movement, secretion, enzyme production, gene expression, etc.) as a result of an [x] stimulus." [GOC:curators]
for these values of [x]:
bismuth (I've used ChEBI:33301 'bismuth atom' for another phenotype term)
hydroxyurea
mercaptoethanol
methyl methanesulfonate (synonym: MMS)
sodium dodecyl sulfate (synonym: SDS)
sorbitol
thiabendazole (synonym: TBZ)
If these are OK and you want me to add them, assign to me.
thanks,
m
Reported by: mah11
Original Ticket: geneontology/ontology-requests/9361

Note for self: re-added bismuth ion to imports_requests as there was an error

Done.
@mah11 thanks for waiting!
Paola


Supermium v122 r4 missing 1px divider?

Describe the bug
It's more noticeable when using a custom theme like Simple Silver, but the 1px divider line is now missing, so it's difficult to tell foreground and background tabs apart in Supermium v122 r4
To Reproduce
Steps to reproduce the behavior:

Install Supermium v122 r4
(Optional) Install custom theme, e.g. Simple Silver
Open several tabs
The 1px divider along the top is gone, so background tabs blend into the browser's top chrome

Expected behavior
1px divider line should be present, as in previous releases?
Screenshots

Desktop (please complete the following information):

OS: Win10 1709 HiDPI screen
Bitness of browser: 64 bit

I will tweak the tab drawing code to reintroduce this line to all inactive tabs.

Thank you, win32!

@win32ss I know this is kind of a long shot, but since you already recreated compact mode for both tabs and omnibox already, could you look into the bookmarks bar too? Currently, with compact UI and legacy omnibox it looks really out of place, taking up, no joke more than the omnibox. It looks terrible, is a waste of space, and just has room for improvement. Could you consider updating it in the future? Me personally would be happy even if it stayed the same but was shrinked a bit to match the rest. Thank you!

Also, when you start TYPING in the url bar it'll use the new UI.
And yes I know I shouldn't be writing about 2 other issues in someone else's issue, I'm new to github and not experienced enough to create my own, sorry.

 @win32ss I know this is kind of a long shot, but since you recreated 'compact mode' for both tabs and omnibox already, could you look into the bookmarks bar too? Currently, with compact UI and legacy omnibox it looks really out of place, taking up as much space as the entire toolbar + ~1/4 of one tab, Could you consider updating it in the future? Me personally would be happy even if it stayed the same but was shrinked a few pixels to match the rest. Thank you!

I was thinking the Bookmarks Bar was looking a big chonky, thought it might have just been my eyes.

Weird. I didn't see that with the bookmarks bar, like, ever. Probably because I was an OG user (I just created my Github acc though), and for a long time used the Chromium 69 - 119

And how did you make such a realistic theme like in the old Google Chrome?

And how did you make such a realistic theme like in the old Google Chrome?
er... you know how #377


README ambiguity: System Preparation - Raspberry Pi / ARM64

See inline comments.
Raspberry Pi / ARM64
[...]
Installing the OS
There is a decent guide here on how to get Debian installed on a Raspberry Pi.

Deviations from that guide <<<COMMENT: We should highlight another deviation: Disregard "Adding the desktop environment">>>, as per these instructions. <<<COMMENT: These aren't really instructions, so I suggest we remove the reference>>>
- Use an SSD instead of an SD Card
**<<<COMMENT: The following matters are supplemental to the guide (I think), so I suggest we make them a post-install item>>>**
- Reinsert the storage media **<<<QUESTION: What does this mean?>>>**
- Open `sysconf.txt` file **<<<QUESTION: Located where?>>>**
- Add `root_authorized_key` **<<<QUESTION: Where does the key come from? Also, does this operation overlap with [How to configure SSH key-based authentication](https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server) mentioned elsewhere in the README?>>>**
- Add `root_pw`
- add `hostname`

(Post install) I would recommend adding a generic user. <<<COMMENT: The guide already covers this in detail>>>
adduser <username>

<<<COMMENT about the System Preparation section generally: We should clarify how it relates to the "Preparing Debian Server with Ansible" section>>>
Some ideas:

If item 1 of the Ansible section (How to configure SSH key-based authentication) still applies, move it to this section.
In the Ansible section, state whether the commands are for the root user or the normal/generic user created here.

CC @LilDrunkenSmurf

Disregard "Adding the desktop environment"
Fair. We can honestly add a comment to disregard anything after Flash Debian to the SD Card, as we add extra instructions to make a few changes before the first boot.
These aren't really instructions, so I suggest we remove the reference
They're not instructions, but references to the values that we're changing. It depends if we see value in referencing the values, or just stating what to change with no links back to the source. I'm good, either way.
**<<<COMMENT: The following matters are supplemental to the guide (I think), so I suggest we make them a post-install item>>>**
Agreed.
**<<<QUESTION: What does this mean?>>>**
I did this on a macbook. The RPi imager ejected the disk after verifying the image, so I had to physically unplug and plug the USB back into my macbook to mount the external drive. YMMV with windows, so it may not be the same. We can expand on that.
 **<<<QUESTION: Located where?>>>**
It was in the root dir of the external drive, when it was mounted.
**<<<QUESTION: Where does the key come from? Also, does this operation overlap with [How to configure SSH key-based authentication](https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linux-server) mentioned elsewhere in the README?>>>**
It totally overlaps. I agree with moving it to this section.
Personally, I only added the generic user as a backup if my SSH keys were lost, I found the guide after the fact, as I was just looking for a pre-written guide on how to flash an external drive with RPi imager. I failed to read how much further it actually goes.

I pushed a change to the readme, please read over and let me know if there needs to be any more changes.

Going to close this issue, feel free to open a PR to update it if needed.


Upgrade light-client data on fork boundaries

Upgrade light-client data on fork boundaries for gossip. Light client store's update processing doesn't seem to be affected by fork boundaries as of now.
Bootstrap is not gossiped and req/resp of bootstrap/updates comes with their own version which is used to pick correct forktype for to/from json
Closes #5102

:tada: This PR is included in v1.7.0 :tada:


Fix nav link jump / hookup emailjs to get involved

Description

the nav links were jumping when clicked so we fixed this.
we installed emailjs and added functionality to get involved form so that when it is used it sends an email to our gmail account containing the email of a person who would like to be contacted.
added .env file with API keys for email js so devs will need to add to their local code base (reach out to jess for the values)
REACT_APP_TEMPLATE_ID=
REACT_APP_USER_ID=
REACT_APP_SERVICE_ID=

Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Change Status

[ ] Complete, tested, ready to review and merge
[x] Complete, but not tested (may need new tests)
[ ] Incomplete/work-in-progress, PR is for discussion/feedback

How Has This Been Tested?

[ ] Unit Tests
[ ] Integration Tests
[ ] User Tests

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] My code has been reviewed by at least one peer
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] There are no merge conflicts

removing pr to commit and pr without .env which was added accidentally


[DROOLS-6746] make drools-core to depend on the static wiring

JIRA: https://issues.redhat.com/browse/DROOLS-6746
Related PRs
https://github.com/kiegroup/drools/pull/4066
https://github.com/kiegroup/kogito-runtimes/pull/1782

The (build) optaweb-employee-rostering check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) optaweb-employee-rostering check has failed. Please check the logs.

The (build) optaplanner check has failed. Please check the logs.

The (build) kogito-runtimes check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) optaweb-employee-rostering check has failed. Please check the logs.

The (build) kogito-apps check has failed. Please check the logs.

The (build) kogito-runtimes check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) optaweb-employee-rostering check has failed. Please check the logs.

The (build) optaweb-employee-rostering check has failed. Please check the logs.

The (build) optaweb-employee-rostering check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) optaweb-employee-rostering check has failed. Please check the logs.

The (build) kogito-apps check has failed. Please check the logs.


[JSON] Error: unable to verify the first certificate

I hope you can help me.
I spent a long time searching the internet to fix it but nothing was the same or work for me.
I get a certificate error that can not be fixed.
I get it when creating a Bot for discord. Here are some screenshots to see:

I hope you help me with this problem.
¡Thanks!

This error doesn't look like its coming from serve.


update linux build to work with recent Boost version

It looks like ptree has been moved around or changed in Boost since we last compiled Hellweg on Linux.
The error below occurs in the beamsim_build branch

@garsuga -- what is the status of this issue?

It is almost done, debugging some other build stuff with Rob still.
On Tue, Aug 2, 2022, 12:33 PM David Bruhwiler @.***>
wrote:

@garsuga https://github.com/garsuga -- what is the status of this issue?
—
Reply to this email directly, view it on GitHub
https://github.com/radiasoft/rslinac/issues/88#issuecomment-1203077898,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANKOJSOMDT5JY3PA5HZLRFTVXFSX3ANCNFSM52CYZ4WQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Closed with https://github.com/radiasoft/download/pull/309

I want to be able to manually build rslinac on Sirepo/Jupyter as a developer.
So it seems that there will have to be a fix to this repo as well.


[Hero System 6e Heroic] Minor feature added

Changes / Comments
Added 'costs endurance' options to power endurance selections.
Minor styling update for better cross-browser appearance.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[X] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[X] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Improve documentation around association defaults

@samphilipd can you please send the changes without running the formatter? :D We haven't ran the formatter on the codebase yet.

Merged manually, thanks!


problem in toggle

i have a problem with folding cell if i used list view in content layout i cant toggle the item
this code stopping work
((FoldingCell) view).toggle(false);
adapter.registerToggle(pos);

I have the same problem


Use direct files instead of hastebin for big output

discord supports sending 8MB files directly, and hastebin output seems to be truncated to about 4096 chars
using discord directly means the output can be much bigger than what hastebin seems to allow

The output is truncated so that people can't fill up memory with very large outputs. It has nothing to do with hastebin.


Impossible to exclude axon-server-connector maven dependency when using Spring Boot auto configuration

When you try to exclude the axon-server-connector maven dependency from the POM, it is impossible to start the application. That happens because the AxonAutoConfiguration directly refers to the class AxonServerCommandBus, that is part of axon-server-connector.
This only happens if the Axon Spring Boot Starter is used to initialize the application.

Closing this issue as it has been resolved in PR #1041


negative timestamps not valid for line protocol

CLI, showing max positive int64 is valid, but the smallest negative integer fails.
> insert timestamps value=1
> insert timestamps value=1<PHONE_NUMBER>854775808
> insert timestamps value=1 -1
ERR: unable to parse ' timestamps value=1 -1': bad timestamp

>

curl showing same issue (not sure why curl tops out at max int64 -1):
$ curl -XPOST 'http://localhost:8086/write?db=mydb' -d 'timestamps value=1<PHONE_NUMBER>854775808'
unable to parse 'timestamps value=1<PHONE_NUMBER>854775808': strconv.ParseInt: parsing "9223372036854775808": value out of range
$ curl -XPOST 'http://localhost:8086/write?db=mydb' -d 'timestamps value=1<PHONE_NUMBER>854775807'
$ curl -XPOST 'http://localhost:8086/write?db=mydb' -d 'timestamps value=1 -1'
unable to parse 'timestamps value=1 -1': bad timestamp

@jwilder we used to support negative timestamps. Was there an explicit decision not to with the line protocol, or is there a parser bug that's not properly accepting - as a valid leading character for timestamps?

Was not aware of that requirement so just a bug.


Edit readme file

Edited and formatted the ReadMe file.

@all-contributors please add 3BenLee for doc

@all-contributors please add 3BenLee for doc


File exist check option

Status

[x] Ready
[ ] Draft
[ ] Hold

Description
Added functionality to check if files exist in the client side and warn if overwrite parameter is set to false.
Not sure this is useful if we by convention imply that client/ dir must be ok to overwrite. And if using local files --remote=false should be set. I see cornercases though when this functionality is useful.
Types of changes
What types of changes does your code introduce to FEDn?

[ ] Hotfix (fixing a critical bug in production)
[ ] Bugfix
[x] New feature
[ ] Documentation update

Checklist
If you're unsure about any of the items below, don't hesitate to ask. We're here to help!
This is simply a reminder of what we are going to look for before merging your code.

[x] This pull request is against develop branch (not applicable for hotfixes)
[ ] I have included a link to the issue on GitHub or JIRA (if any)
[ ] I have included migration files (if there are changes to the model classes)
[ ] I have read the CONTRIBUTING doc
[ ] I have included tests to complement my changes
[ ] I have updated the related documentation (if necessary)
[x] I have added a reviewer for this pull request
[x] I have added myself as an author for this pull request

Further comments
Anything else you think we should know before merging your code!

Closing for now, since you have a newer PR merged that makes sure that you get a unique execution folder for every start of the client. The overvriew check is really useful, but this PR needs to be updated to play with that aforementioned feature.


    ```

Caused by: java.lang.RuntimeException: Non-unique Mixin config name modid.mixins.json used by the mods hitboxplus and organized_tabs

Looks like there is an compatibility issue with organized_tabs

_Originally posted by @PingIsFun in https://github.com/PingIsFun/HitBoxPlus/issues/6#issuecomment-1302127745_

src/main/resources/modid.mixins.json
Duplicate of #``


Display In Sync Replicas (ISR) by Partition on Topic overview

Which version of the app are you running?
0.4.0 for production use
Tu.10.2022 06:31:55 (c961344) for test and evaluation
Is your proposal related to a problem?
It is helpful to identify which partitions for topics are not replicating properly, causing the In Sync Replicas number to be reduced in an otherwise normally functioning cluster (i.e. no brokers are down).
Describe the solution you'd like
Currently, when viewing a topic that has under replicated partitions, the metrics at the topic highlight this by show the number of URP and ISR.

On the latest build, on the Partition list for a topic, there is a Replicas column, with green showing which broker is the leader for that partition.

If we could add a column that showed which replicas for each partition are in sync, it could highlight those that are out of sync, like this (taken from a different Kafka tool).

This helps identify if all the out of sync replicas are from a single broker, which they were in my case.  All URP issues were on broker 1, so we were able to focus our attention there.

@Haarolean, we already return if replica is sync or not from backend. So, we can easily implement it in UI. As for design - I think the simplest way is to highlight non-synced replicates with bold red.

make the whole line red?


Fix failures in 1.25 Sanity

test run: https://opendatascience-jenkins-csb-rhods.apps.ocp-c1.prod.psi.redhat.com/job/rhods-ci-pr-test/1633/console

Rerun since the cluster was in a bad state: https://opendatascience-jenkins-csb-rhods.apps.ocp-c1.prod.psi.redhat.com/job/rhods-ci-pr-test/1634/console
Two failures, one of which is a known issue and the other is a browser issue


cpp: use bitwise crc update algorithm

Public-Facing Changes

Description

Closing since this is not intended to merge, it is merely for illustration and can remain attached to the perf ticket.


Unknown Location Error

Files.zip
Description
I have 2 identical .yaml files. Only difference is the location the information is stored and one looks for CFO positions and the other Human Resource. However, the Human Resource has the following error where as the CFO does not:
Traceback (most recent call last):
File "/home/pittsie/.local/bin/funnel", line 8, in
sys.exit(main())
File "/home/pittsie/.local/lib/python3.8/site-packages/jobfunnel/main.py", line 28, in main
job_funnel.run()
File "/home/pittsie/.local/lib/python3.8/site-packages/jobfunnel/backend/jobfunnel.py", line 86, in run
self.master_jobs_dict = self.read_master_csv()
File "/home/pittsie/.local/lib/python3.8/site-packages/jobfunnel/backend/jobfunnel.py", line 405, in read_master_csv
locale = locale.UNKNOWN
AttributeError: 'NoneType' object has no attribute 'UNKNOWN'
Both files have been attached in a zip
Expected behavior
Run
Actual behavior
Error shown above only on Bill.yaml not 2Mom.yaml
Environment

Build: 3.0.0
Operating system and version: Ubuntu 20.04

Discovered it was an issue in the CSV

Ah, yes this would seem to have been caused by an empty column in the CSV.
I think there is value in handling these errors more efficiently though, I will look into improving this.

I appreciate it!
I didn't do anything to the csv to add a blank so that's why I was
very confused
On Fri, Oct 2, 2020, 9:28 AM Paul McInnis<EMAIL_ADDRESS>wrote:

Ah, yes this would seem to have been caused by an empty column in the CSV.
I think there is value in handling these errors more efficiently though, I
will look into improving this.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/PaulMcInnis/JobFunnel/issues/110#issuecomment-702734370,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANAJFZWBG4AXTKB4FA6AMKDSIXIRXANCNFSM4SBWEONQ
.

hmm that's not good, was the issue with the CSV that all it got all mixed up? I've been seeing this on my end when something in the job description isn't escaped correctly (it's comma-separated after all).

I'm not sure honestly. It looked all normal but I can send it to you if
you'd like
On Fri, Oct 2, 2020, 10:19 AM Paul McInnis<EMAIL_ADDRESS>wrote:

hmm that's not good, was the issue with the CSV that all it got all mixed
up? I've been seeing this on my end when something in the job description
isn't escaped correctly (it's comma-separated after all).
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/PaulMcInnis/JobFunnel/issues/110#issuecomment-702760854,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANAJFZTHHHP7BY5XJB4MWZ3SIXONLANCNFSM4SBWEONQ
.

yeah if you're comfortable please send it over, I'm trying to fix some bugs that are cropping up with CSV updating.

(I'm most interested in the CSV that caused the failure if you still have it)

Attached is the one that caused some errors
On Fri, Oct 2, 2020, 11:22 AM Paul McInnis<EMAIL_ADDRESS>wrote:

(I'm most interested in the CSV that caused the failure if you still have
it)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/PaulMcInnis/JobFunnel/issues/110#issuecomment-702796297,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANAJFZWVE5HUFMR4QGCMOEDSIXV2FANCNFSM4SBWEONQ
.

hmm it seems like the attachment didn't make it onto the github, Feel free to send me an email<EMAIL_ADDRESS>with the CSV file and I'll take a look.


Add 0.9.904 version to CocoaPods

Can the latest tag 0.0.904 be added to CocoaPods, which is still showing 0.9.903.  Needed for Swift 4 support in Xcode Beta 6.  Thanks!

Done


Update Composer dependencies (2024-06-14-00-10)

Visual regression test passed!
View the visual regression test report


Support special github emojis

This was tricky. Now there's a small system to do custom regex + replacement stuff.

Note that the emoji input control doesn’t have these yet. Later PR
Sent with GitHawk

💪:octocat:👍
Sent with GitHawk

:rage1:
Sent with GitHawk


Workflow: Listing UI

Problem
As a user, I want to see my workflow executions.
Solution

Add a link in the sidebar under groups and projects
The link will go to a dedicated page for listing workflow executions
Listings will include:

Workflow Execution ID
Workflow Name
Workflow Version
State (queued, prepared, etc...)
Sample count (clicking should open a side panel displaying the samples)
Date
Actions: cancel, delete

Added in #332


PowerShell Core crashing on start up after installing posh-git

System Details

posh-git version/path: 0.7.3 - C:\tools\poshgit\dahlbyk-posh-git-9bda399
PowerShell version: 6.2.0
Git version: 2.21.0.windows.1
Operating system name and version: Windows 10 Professional, 1809

Issue Description
I am experiencing a problem with...
After installing posh-git, PowerShell Core crashes on launch. If I remove posh-git, it works again.
I have this in my Windows Event log:
Faulting application name: pwsh.exe, version: <IP_ADDRESS>, time stamp: 0x5c410542
Faulting module name: coreclr.dll, version: 4.6.27317.3, time stamp: 0x5c40be0f
Exception code: 0xc0000005
Fault offset: 0x000000000000298e
Faulting process id: 0x4b48
Faulting application start time: 0x01d4f3a9c24c7cf1
Faulting application path: C:\Program Files\PowerShell\6\pwsh.exe
Faulting module path: C:\Program Files\PowerShell\6\coreclr.dll
Report Id: cac91910-7882-44f6-8ae2-ca34e25e8e72
Faulting package full name:
Faulting package-relative application ID:

And this as well:
Application: pwsh.exe
CoreCLR Version: 4.6.27317.3
Description: The process was terminated due to an internal error in the .NET Runtime at IP 00007FFFD7BF298E (00007FFFD7BF0000) with exit code 80131506.

Let me know if there's anything else I can do or provide to help.

I'm somewhat skeptical posh-git is causing this. There have been several reports against the PowerShell repo of folks running into the same issue with event log entries very similar to yours - https://github.com/PowerShell/PowerShell/issues/9295

Thanks for the link and info! I spent about 10 minutes digging through Google before I posted this, though I searched for "PowerShell Core posh-git" specifically.  I'll go ahead and close the issue.  Hopefully this gets resolved quickly on Microsoft's side.


Add info about forward exports

This topic doesn't mention the syntax for defining forward exports. Suggested fix from Kevin Gao:
entryname[=internal_name|other_module.another_exported_name] [@ordinal [NONAME]] [[PRIVATE] | [DATA]]
entryname is the function or variable name that you want to export. This is required. If the name that you export differs from the name in the DLL, specify the export's name in the DLL by using internal_name. For example, if your DLL exports a function func1 and you want callers to use it as func2, you would specify:
EXPORTS
func2=func1
If the name that you export is from other module, specify the export's name in the DLL by using other_module.exported_name. For example, if your DLL exports a function other_module.func1 and you want callers to use it as func2, you would specify:
EXPORTS
func2=other_module.func1
Because the Visual C++ compiler uses name decoration for C++ functions, you must either use the decorated name internal_name or define the exported functions by using extern "C" in the source code. The compiler also decorates C functions that use the __stdcall calling convention with an underscore (_) prefix and a suffix composed of the at sign (@) followed by the number of bytes (in decimal) in the argument list.
Original bug contains an email discussion about this if you need more info.

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

ID: 41c796dd-5105-cdd2-7a4d-b4f7713d57dd
Version Independent ID: 7698174e-3277-935a-4d3c-1c430133dbfd
Content: EXPORTS
Content Source: docs/build/reference/exports.md
Product: visual-cpp
GitHub Login: @corob-msft
Microsoft Alias: corob

Please also include information about forwarders which point to ordinals.

@matbech This topic was updated. Did we answer your question?

The Old New Thing to the rescue: How do I forward an exported function to an ordinal in another DLL?


The Aggregator may try to trade negligible amounts

On the calculation of the last amount added to the list of swap_amounts (in lines 104 to 112 of the Aggregator contract), the amount to be traded in a specific protocol can be negligible, leading to possible denial of transactions and weakening the purpose of validating that the parts of the distribution are different from 0 (line 83 of the Aggregator contract).
When calculating how much should be exchanged in each platform, all but the last value are calculated as amount = (total_amount * part)/total_parts. If the ratio of part to total_parts is too low, so will the amount.
Similarly, for the last element of the distributions, since all parts are greater than 0 and total_parts is the sum of all parts, part will never be equal to total_parts, meaning that there will always be a remaining value to be exchanged in the last distribution. This means that even though the parts for the last distribution will not effectively be used in calculating the amount to trade, the amount traded at the last distribution will always be greater or equal to 1.
What may emerge as a complication of this is how the AMMs will handle such low amounts. Two possibilities come to mind: (1) the transaction is refused as the input amount is too low, and (2) loss by division in the calculation of amounts to be exchanged may yield no return for the user.
As in issue #48, this may be a consequence of how the transaction and its parameters are built (either by the user or the front end), but a nice way to avoid such scenarios is to, instead of validating if the distribution.part is not zero, validate that the amount to be exchanged is above a minimum amount.

[DRAFT - B4] The Aggregator May Try to
Trade Negligible Amounts
Severity: Informative Recommended Action: Fix Design Not addressed by client
Description
On the calculation of the last amount added to the list of swap_amounts (in lines 104 to 112 of
the Aggregator contract), the amount to be traded in a specific protocol can be negligible,
leading to possible denial of transactions and weakening the purpose of validating that the parts
of the distribution are different from 0 (line 83 of the Aggregator contract).
When calculating how much should be exchanged in each platform, all but the last value are
calculated as amount = (total_amount * part)/total_parts . If the ratio of part to
total_parts is too low, so will the amount.
Similarly, for the last element of the distributions, since all part s are greater than 0 and
total_parts is the sum of all parts, part will never be equal to total_parts , meaning that
there will always be a remaining value to be exchanged in the last distribution. This means that
even though the parts for the last distribution will not effectively be used in calculating the
amount to trade, the amount traded at the last distribution will always be greater or equal to 1.
What may emerge as a complication of this is how the AMMs will handle such low amounts.
Two possibilities come to mind: (1) the transaction is refused as the input amount is too low, and
(2) loss by division in the calculation of amounts to be exchanged may yield no return for the
user.
Recommendation
As in finding A2, this may be a consequence of how the transaction and its parameters are built
(either by the user or the front end), but an approach to avoid such scenarios is to, instead of
validating if the distribution.part is not zero, validate that the amount to be exchanged is
above a minimum amount.


Generate isbn list for gobi

Creates class for saving gobi isbn lists.
Fixes #872
Uses mock client from transformer for tests

@jermnelson can you take another look at this PR. I made changes that hopefully address the problem of repeatable MARC fields.


pdf export does not find system fonts on linux

Describe the bug
When document is exported by tinymist, system fonts are not applied. There are no completions for system fonts either. When exporting with typst compile fonts are applied correctly. Fonts do appear in typst fonts.
Package/Software version:
tinymist
Build Timestamp:     2024-09-10T00:54:04.630680233Z
Build Git Describe:  ce107ef
Commit SHA:          ce107efc7e3e5f42d0255121d8511b1a3b94e8f0
Commit Date:         None
Commit Branch:       None
Cargo Target Triple: x86_64-unknown-linux-gnu
Typst Version:       0.11.1

Additional context
I'm not using VS Code so I'm not sure how I can provide more context for this issue.

This might be the same issue as #590


Considering Gen and Arbitrary to be singleton types

Fixes #774

Current coverage is 89.01%

Merging #781 into master will increase coverage by +0.01% as of b539b3c

@@            master    #781   diff @@
======================================
  Files           78      78
  Stmts         8084    8081     -3
  Branches      1751    1751
  Methods          0       0
======================================
- Hit           7195    7193     -2
  Partial        384     384
+ Missed         505     504     -1

Review entire Coverage Diff as of b539b3c

Powered by Codecov. Updated on successful CI builds.


⚠ SkipTheCommericals has degraded performance

In cfb34a4, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 2298 ms

Resolved: SkipTheCommericals performance has improved in 1eb5147.


installation

Hi, I am trying to install using pip and I have two error (first I try with pip but i think is linked to old version of python), then I update python3 to python3.11 and I use pip3, but I have a second error:
pip install git+https://github.com/MrTomRod/flower-plot.git
DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. pip 21.0 will drop support for Python 2.7 in January 2021. More details about Python 2 support in pip can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support pip 21.0 will remove support for this functionality.
Defaulting to user installation because normal site-packages is not writeable
Collecting git+https://github.com/MrTomRod/flower-plot.git
Cloning https://github.com/MrTomRod/flower-plot.git to /tmp/pip-req-build-Jh1Yhd
Running command git clone -q https://github.com/MrTomRod/flower-plot.git /tmp/pip-req-build-Jh1Yhd
ERROR: Command errored out with exit status 1:
command: /usr/local/bin/python2.7 -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-req-build-Jh1Yhd/setup.py'"'"'; file='"'"'/tmp/pip-req-build-Jh1Yhd/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-CIQG_L
cwd: /tmp/pip-req-build-Jh1Yhd/
Complete output (5 lines):
Traceback (most recent call last):
File "", line 1, in
File "/tmp/pip-req-build-Jh1Yhd/setup.py", line 2, in
import pathlib
ImportError: No module named pathlib
----------------------------------------
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
ggreif@UBM12:~$ pip3 install git+https://github.com/MrTomRod/flower-plot.git
Traceback (most recent call last):
File "/usr/bin/pip3", line 11, in
load_entry_point('pip==20.0.2', 'console_scripts', 'pip3')()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 490, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2854, in load_entry_point
return ep.load()
^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2445, in load
return self.resolve()
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pkg_resources/init.py", line 2451, in resolve
module = import(self.module_name, fromlist=['name'], level=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/pip/_internal/cli/main.py", line 10, in
from pip._internal.cli.autocompletion import autocomplete
File "/usr/lib/python3/dist-packages/pip/_internal/cli/autocompletion.py", line 9, in
from pip._internal.cli.main_parser import create_main_parser
File "/usr/lib/python3/dist-packages/pip/_internal/cli/main_parser.py", line 7, in
from pip._internal.cli import cmdoptions
File "/usr/lib/python3/dist-packages/pip/_internal/cli/cmdoptions.py", line 19, in
from distutils.util import strtobool
ModuleNotFoundError: No module named 'distutils.util'
can you helpme?
thanks

The first error is indeed caused by Python 2.7. The second probably relates to the missing library distutils. I thought this was normally preinstalled on most systems, but apparently not. Run apt-get install python3-distutils (or something like this) and try again.

solved with: python3.8 -m pip install git+https://github.com/MrTomRod/flower-plot.git


NullPointerException on twitter login for react-native-image-picker integrated app

Hi @corymsmith Im getting a null pointer exception, if i use react-native-image-picker in my [Fabric twitter login] (https://github.com/corymsmith/react-native-fabric) integrated app.
The twitter login is working fine but, When i try to pick any image form gallery / camera roll it shows an alert of unfortunately app has stopped and get closed.
When i check the stack trace its showing null pointer expection at

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.twitter.sdk.android.core.identity.TwitterLoginButton.onActivityResult(int, int, android.content.Intent)' on a null object reference

Thanks in Advance

@karthickvkumar I am seeing this too. I tried removing mFabricPackage.handleActivityResult(requestCode, resultCode, data); from onActivityResult
It works for the tweet composer but I don't know about login as I am currently not using it.

@karthickvkumar There was a null check missing. I'll provide a pull request shortly.

Thanks alot @ramilushev


Update for Qiskit 1.0

Updates this project to be compatible with Qiskit 1.0.
This PR should not be merged until its dependency https://github.com/Zhaoyilunnn/qutils is updated to Qiskit 1.0 too.

@frankharkins Thanks, I will update qutils. After UT fixed, I will merge this PR

@Zhaoyilunnn thanks! Here's the migration guide: https://docs.quantum.ibm.com/api/migration-guides/qiskit-1.0

E       AttributeError: 'QuantumCircuit' object has no attribute 'qasm' I have updated qutils but facing this new error. First merge this PR and then I will fix new errors and upgrade to qiskit 1.0


feat: (IAC-1001) Add ability to set allocation method and domain name of public ips of jump and nfs vms

My team is looking for the ability to set the DNS name of the jump vm's public IP, so I added the ability to do that. While I was in there, I also added the ability to set the public IP to be Dynamic, so that it will be released and not charged to us while the VM is deallocated.
FYI I have tested this with my changes activated and with no inputs (the defaults).

@riragh How can I get this one into the approval flow to be merged in?

If you could please provide a little more background/reason for this request then I can create internal ticket for this request and get team approval for the request and the timelines as to when we have this merged.

Hey @riragh, the background here is cost savings. We want to be able to have a jumpbox with a public IP for use in specific situations. However since we keep it shutdown most of the time when not in use, the static IP costs us a small fee a month. This adds up when we have multiple clusters. Dynamic IPs are released when the VMs are shutdown, so we save there.
The other portion of this request setting a DNS name for the public IP, is just a nice to have since we won't have static IPs anymore.
For testing, I have tested this as much as I can using the default settings (functionally the same as now), and setting the new variables to make sure they work.

FYI @riragh I updated this one again with the latest from staging and main. Hoping it can make the next release!

FYI @riragh I updated this one again today. Was there ever an internal ticket created that I can track?

FYI I can't seem to get these tests to run. @riragh I suspect you need to resolve the changes required message to get them to run.

FYI I can't seem to get these tests to run. @riragh I suspect you need to resolve the changes required message to get them to run.

That doesn't seem to be the case. I am looking at what needs to change for the workflows to run.

It seems to have run in my repo but is not reporting back.
https://github.com/stturc/viya4-iac-azure/actions/runs/5257876087


In the Properties editor, initial color should match actual Vision color

Currently, in the "gravity" demo, the initial color is always set to black:

The "spheres" demo does not have this problem, by the way.

Yes, there is a problem with inferring the default color. I do not know how to fight it consistently. Thanks for the report.


(maint) Update Ruby to include OpenSSL 1.0.2d

I think we want a ticket number in JIRA for this, since a 1.0.0s to 1.0.2d bump is potentially significant.


Time phases

New module time_phases with an RAII timer which prints to stderr, and command-line flag --time-phases to enable it.
Fixes #933

@fitzgen I think all fixed

@bors-servo r+
Perfect! Thanks @jhod0 !

:pushpin: Commit e3c31dd has been approved by fitzgen

:hourglass: Testing commit e3c31dd87141698fb7a10a7f62e5db232060d424 with merge e841f6f88d13298e8f0a6f64e00ccd6a9805cfd7...

:sunny: Test successful - status-travis
Approved by: fitzgen
Pushing e841f6f88d13298e8f0a6f64e00ccd6a9805cfd7 to master...


Sprint plan

Overall project timeline is May 16 - July 8
Sprint 1910
May 16 - 17

Kickoff
Setup Flask boilerplate

Sprint 1911
May 20 - 31

First iteration of ml-enabler with API end points
Enable markdown for TM annotations API

Sprint 1912
June 3 - 14

With the help of HOT deploy ml-enabler
Demonstrate looking-glass integration API

Sprint 1913
June 17 - 28

Test TM integration API
Demonstrate task splitting API usage

Sprint 1914
July 1 - 8

Training
Documentation

@geohacker Can we please include these two specific points:

Provide a command line interface for looking glass calculation pipeline.
Implementation of a second extension to support a pre-processed data service API (I will create an issue for that).


column names alias

Hi
You can use "as" for aliasing a column name just like sql. Here is an example -
select Customers.CustomerName as name, Customers.ContactName as cName, Customers.CustomerID as cId from Orders join Customers
on
Orders.CustomerID=Customers.CustomerID

Originally posted by @ujjwalguptaofficial in https://github.com/ujjwalguptaofficial/sqlweb/issues/3#issuecomment-525553958
aliasing is working fine but the returned query still contains all columns plus the alias column , what i need is how to select aliasing columns only without other columns

IndexedDb is NoSQL database means your whole data is stored as object & thus retrieved as object. JsStore dont filter columns because it will be extra computation.
We recommend to use what you need from the results & don't care about extra data. The data is stored locally, so its not much of issue unlike server side database.
e.g -  if result is something like that -
var result = [{
    id: 1,
    name: 'ujjwal gupta',
    address: 'india',
    gender: 'male'
}]

From this result - i need only name & gender. So i will use only name & gender don't care about extra data.


need support for running from iseries

Trying to connect from an iseries v7.4 in QOPENSYS.  Using the following snippet:
from sqlalchemy import create_engine
from sqlalchemy.orm import sessionmaker
url = 'db2+ibm_db://*LOCAL'
engine = create_engine(url)
session_cls = sessionmaker(bind=engine)
conn = session_cls()
result = conn.execute('select current_date from sysibm.sysummy1')
data = result.fetchall()
conn.close()

You will get the following error:
InterfaceError: (ibm_db_dbi.InterfaceError) ibm_db_dbi::InterfaceError: IBM i does not support DSN keywords 'DRIVER'
(Background on this error at: https://sqlalche.me/e/14/rvf5)```

@2ps Fix of this issue has been delivered using this commit. Hence, closing the issue now. thanks.


New language: Spanish + Small typo corrected on a LOG.error String argument.

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


Tensorflow load_weights(0 function working in jupyter ntoebook but not in a script

Click to expand!
Issue Type
Bug
Source
source
Tensorflow Version
2.9.1
OS Platform and Distribution
Windows
Python version
3.8.10
GCC/Compiler version
No response
CUDA/cuDNN version
11.2
GPU model and memory
No response
Current Behaviour?
The above code when run in Jupyter notebook inside vscode runs as intended
but fails when run inside vscode as a .py file. I am using a virtual environment
and only installed tensorflow, transformers and ipykernel for using as a jupyter kernel.

I get the following error when running it in a .py file.

Standalone code to reproduce the issue
import tensorflow as tf
from transformers import AutoTokenizer ,TFAutoModelForSequenceClassification, DataCollatorWithPadding

model_ckpt = 'distilbert-base-uncased'
num_labels = 6
batch_size = 16
tokenizer = AutoTokenizer.from_pretrained(model_ckpt)

def predict(text:str)->int:

    tf_model = (TFAutoModelForSequenceClassification
        .from_pretrained(model_ckpt, num_labels=num_labels))

    tf_model.load_weights('./checkpoints/my_checkpoint')

    input_text_tokenized = tokenizer.encode(text,
                                            truncation=True,
                                            padding=True,
                                            return_tensors="tf")
    prediction = tf_model(input_text_tokenized)
    prediction_logits = prediction[0]
    emotion = np.argmax(prediction_logits[0])
    return prediction

x=predict(text='I am despair')
x

Relevant log output
raise errors_impl.NotFoundError(None, None, error_message)
tensorflow.python.framework.errors_impl.NotFoundError: Unsuccessful TensorSliceReader constructor: Failed to find any matching files for ./checkpoints/my_checkpoint

@shehroz218,
I tried to execute the given code with an alternate approach. Kindly find the workaround gist of it here and let us know if the issue still persists. Thank you!


Update html-tag.js

this is to fix misbehavior on literalTemplate.

Reference Issue

I signed it
Pierre ALIBERT
Le mer. 27 juin 2018 à 14:08, googlebot<EMAIL_ADDRESS>a écrit :

Thanks for your pull request. It looks like this may be your first
contribution to a Google open source project (if not, look below for help).
Before we can look at your pull request, you'll need to sign a Contributor
License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/
https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I
signed it!) and we'll verify it.
What to do if you already signed the CLA Individual signers

It's possible we don't have your GitHub username or you're using a
different email address on your commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.

Corporate signers

Your company has a Point of Contact who decides which employees are
authorized to participate. Ask your POC to be added to the group of
authorized contributors. If you don't know who your Point of Contact is,
direct the Google project maintainer to go/cla#troubleshoot (Public
version https://opensource.google.com/docs/cla/#troubleshoot).
The email used to register you as an authorized contributor must be
the email used for the Git commit. Check your existing CLA data
https://cla.developers.google.com/clas and verify that your email is
set on your git commits
https://help.github.com/articles/setting-your-email-in-git/.
The email used to register you as an authorized contributor must
also be attached to your GitHub account
https://github.com/settings/emails.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Polymer/polymer/pull/5272#issuecomment-400648643, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALAP4GNrLGobzzJBW4a7ltOkkHTcUn7dks5uA3WvgaJpZM4U5lwy
.

Please link to an issue that this PR is solving (if there is not one, there should be one per CONTRIBUTING guidelines.  Please also add a unit test that verifies the broken behavior was fixed.

Closing this per above comment. Feel free to reopen once you added a unit test and linked to the GitHub issue this PR is solving.


Bump the master version to 1.3.0

I have already created branch-1.2 to perform the release, so I will bump the master version to 1.3.0-rc.0.

v1.3.0-rc.0 seems to have been stuck for a while, can we release it. The 2 incomplete milestone seems to be new feature and not anything that are blockers.

The reason is that 1.2.0 have compilation issue and v1.3.0 have that fix I think. As v1.2.0 are using old node-pre-gyp

@lxcid Sorry for delay of the release.
We're planning the next release in March.


Add CHANGELOG.md

@vweevers I've added tags retroactively, in case you wonder why there are a gazillion builds of old versions on travis.

I don't see any builds in Travis but 👍

I don't see any builds in Travis but +1

Aaah ok. I figured I just give you a heads up since it happened before on other repos.


No setting window open

Microsoft PowerToys version
0.68.0
Installation method
PowerToys auto-update
Running as admin
does not matter - either admin or non-admin.
Area(s) with issue?
General, Settings
Steps to reproduce

Launch main app ("C:\Program Files\PowerToys\PowerToys.exe")
Launching PowerRun via it's shortcut key (customized as my own one)

✔ Expected Behavior
After clicking tray, Welcome or General window showing.
❌ Actual Behavior
Nothing happens. Neither "General" nor "Welcome" window shows.
No error message showing
Other Software
No response
Bug Report zip
PowerToysReport_2023-03-06-09-23-09.zip

Not able to repro this, going to close. Let us know if you see this again!


ECN support

Would be great if aioquic would mark its packets with ECT(0) and would report ACK-ECN frames.

I have previously looked into this and unfortunately I don't think this is possible with the socket APIs provided by Python.
I'd love to be proven wrong though!

https://pypi.org/project/nadds/ seems to be a python2 module supporting cmsg ancillary data, and the page says that python3 should have this natively? Of course that may be wrong and/or not working.

Hi @larseggert I'm sorry but I haven't found a way to support ECN so I'm going to close this as "wontfix".

So, currently, airtoc still does not support ECN and L4S?

Correct.   I'll take another look at it and see if I can figure out how to get and set the info in python.


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 918 ms

Resolved: Bofrost.lu performance has improved in f4258d0 after 8 minutes.


API key for mailgun

The API_key, domain, incoming_address fields for mailgun are missing in IntegrationCreate which are required to be able to do API calls
IntegrationCreate: (https://github.com/smooch/smooch-python/blob/master/docs/IntegrationCreate.md)

Thanks for the report. These have been added in 5.28.0


update loggregator-release to include prometheus 2.12.0

Hi, my team would use loggregator-release (V104.4 or higher) and to approve that I've to verify that all its licenses are acceptable.
During my analysis I've found a problematic license in the code of package prometheus 2.10.0 (dependency of loggregator-release, and so I've opened an issue on it: prometheus/prometheus#5783
(please note that I've opened the issue on 2.9.2 but 2.10.0 have the same problem).
Its developers have solved the issue in prometheus 2.12.0 (see details in the above issue).
So, I kindly ask you to update loggregator-release to use the new version of prometheus.
Thanks a lot.

Hi, do you have any new on this issue? Thanks

@kitemongerer Hi Max, my colleague Michele has sent you an email with details, please let me know if you have not received.
Thanks

@luisapace I did not receive the email. It would be great if it would be posted in the #loggregator channel in https://cloudfoundry.slack.com/messages/C02HCCXV5 so the rest of the team can assist

The dependency chain that links to prometheus is the following
https://github.com/cloudfoundry/loggregator-release/tree/v104.4/src/code.cloudfoundry.org shows this link: https://github.com/cloudfoundry/log-cache/tree/b58cf4e7bc872866d692b7757683ce6711bc182f.
inside log-cache you can then find  log-cache/internal/promql/promql.go  .
The promql.go has : "github.com/prometheus/prometheus/pkg/labels"
"github.com/prometheus/prometheus/promql"
"github.com/prometheus/prometheus/storage"
among its imports
This is surprising as the link says: "bump log-cache to version that doesn't require prometheus "
Hope this clarifies the issue raised by Luisa

@kitemongerer Hi, are there any updates? Thanks

@luisapace It looks like the current version of loggregator-release has this log-cache commit in its go.mod: https://github.com/cloudfoundry/log-cache-release/commit/8c97ac62a57b3aafd23368b7e50d73d2f56e5770#diff-12842eeae4e409eb286af05c15acac3e
which has Prometheus 2.12.0... is that what you're looking for?

@kitemongerer yes, thanks. May I ask you if you can confirm what is the current version? 103.4.3?

It's 106.2.0

just released! thanks a lot again for your help

@kitemongerer thanks a lot


Change Softphone Output Volume

I know there is a way to mute the input audio for the softphone agent, however, is there a way to disable or adjust the output volume? Unless I've missed it, I'm not seeing anything in the media controllers.

There is not a way to adjust the output volume (assuming you mean the audio from the customer to the agent).


Added versioning by tag name instead of manual.

Added versioning and changed sdk version to 5.0 in builds.

Retested snyk, issue was a missing dependency (which is now changed to 5.0 version of netsdk).


Align GPU

Hİ,
I want to use GPU When it was doing align. Yes it is working GPU but the align speed is same. What is problem? Can you help me?

Quite a lot of the alignment code is using CPU and it would probably take a bit of effort to rewrite it to pure GPU.


List of apps available to share to

Hi,
We can share base64 files to some apps listed, but we can't figure out why some apps are not listed.
For example, we would like to open pdf files in the acrobat reader app, but is not appearing in the list of apps. Is there any way to show all possible applications? many thanks!

Hello, maybe isPackageInstalled function is what you're looking for?

Hi @jgcmarins , thanks for the advice. the issue there is that I will have to know in advance all the possible packages for pdf's that are out there. The idea is that if I install an app/package for viewing PDFs I can open it with it without having to get a new version.
Also, it needs to work for ios and android). thanks again!
Any other ideas?

Besides isPackageInstalled function, I've found some thoughts:

Android
iOS

I'm facing the same issue.... I tried using
	<array>
		<string>com.adobe.adobe-reader</string>
		<string>pdfreader</string>
        <array>``` in the `Info.plist` file and I couldn't make `Acrobat PDF Reader` to show up there nor being able to toggle it from the "more" options.
note: there are a lot of apps missing in the "more", "suggestions" section of the share modal.

note: there are a lot of apps missing in the "more", "suggestions" section of the share modal.

Thanks. Any idea on how could we add more?

Thanks for the reply @jgcmarins, I wish I knew.... in my particular case, adding more apps there, will partially solve the problem since the user could be able to find his option by tapping "more", but I'd still need the app to show in the first menu. If I find something I'll let you know of course.

Im also having this issue. Does anyone solved it?


Added spring-btn animation style

Added new button animation style
.spring-btn
-give button a spring like animation when hover on.

Great thank you!
@all-contributors please add @someoneisyes for code and idea


Update to React 16

First, thank you very much for this library.
Do you have any plans to updating the "peerDependencies" to React 16? Now I get these annoying warning messages when I use yarn.
Thank you!

If I fix it, do you accept the PR?

Hey @andrerpena I would have accepted a PR for sure but i think the issue you've been having is fixed in 1.1.3


[Question]: can't create database

What happened?
I created a database on single-db but after I changed to multi-db  but my db stopped to work I checked and the dbo schema disappear on SQL server view then when I tried to delete I got a message like dbo schema does not exist, I decided deleted the database manually from sys.databases, when I try to create again I got a message guest already exists then I can't create this database, my question is how can solve this on where other tables I have to delete the old reference to this db
Thanks
Version
BABEL_3_X_DEV (Default)
Extension
babelfishpg_tsql (Default)
Which flavor of Linux are you using when you see the bug?
Other
Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct.

Changing the migration_mode is not supported. As per https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/babelfish-architecture.html : "The migration mode is stored in the migration_mode parameter. You must not change this parameter after creating your cluster as you could lose access to all your previously created SQL objects."
If you want to use a different migration mode, you must create a new Babelfish/Aurora PG cluster. If you are not sure which migration mode is best for your situation, choose multi-db.

Another case came up at Github where someone changed migration_mode and lost access to their schemas: https://github.com/babelfish-for-postgresql/babelfish_extensions/issues/1612


Correction for raw affiliation School of Computer Science and Informatics, De Montfort University Dubai, Dubai International Academic City, Dubai, United Arab Emirates

Correction needed for raw affiliation School of Computer Science and Informatics, De Montfort University Dubai, Dubai International Academic City, Dubai, United Arab Emirates
raw_affiliation_name: School of Computer Science and Informatics, De Montfort University Dubai, Dubai International Academic City, Dubai, United Arab Emirates
new_rors: 0312pnr83
previous_rors:
works_examples: W4393972802
contact: 071a2a9020e75831ca96ed40303073f4:bf061d @ dmu.ac.uk

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


content overlap

Type: Bug
as i scroll down the contents get overlapped with previous ones
VS Code version: Code 1.86.2 (903b1e9d8990623e3d7da1df3d33db3e42d80eda, 2024-02-13T19:40:56.878Z)
OS version: Windows_NT x64 10.0.19045
Modes:

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i5-1135G7 @ 2.40GHz (8 x 2419)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: enabled

Load (avg)
undefined

Memory (System)
15.70GB (8.42GB free)

Process Argv
--crash-reporter-id 2a524b22-29ee-4469-bfa7-8c6e3bebfc90

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

phpserver
bra
3.0.2

db2forzosdeveloperextension
IBM
2.1.4

java
red
1.28.1

LiveServer
rit
5.7.9

vscode-java-debug
vsc
0.56.1

vscode-java-pack
vsc
0.25.15

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscoreces:30445986
vscod805cf:30301675
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
2i9eh265:30646982
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
h48ei257:30968133
pythontbext0:30879054
accentitlementsc:30887149
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
edj9j583:30969295
7j2b6412:30969109

Same issue:
Version: 1.86.2 (Universal)
Commit: 903b1e9d8990623e3d7da1df3d33db3e42d80eda
Date: 2024-02-13T19:42:13.651Z
Electron: 27.2.3
ElectronBuildId: 26908389
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 21.6.0

Hey @bhavyaus, this issue might need further attention.
@SpoorthiNP, you can help us out by closing this issue if the problem no longer exists, or adding more information.

@wlchn could you please include a screenshot of the issue or repro steps?

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


chore: Add Coverlet for code coverage in unit test projects

Coverlet can help those who want to contribute by adding tests, so that they can easily see which part of the codebase are not covered by tests.
Need to install the Fine Code Coverage extension for Visual Studio 2022
The sample image below shows that the BasketService.UpdateBasket() method is not covered by any test:

@dotnet-policy-service agree


Set livy kubeVersion upper bound to 1.18.9

Relates to issue 51

Also had to move the spark-history-server chart to this repo since it has been deprecated. Will look for the alternatives later.
@rakeshramakrishnan @Minutis what do you think about the provided changes?


Feedback on scenario core viz elmt

[ ] Title (the label) should be bigger (from @vhfgosselin)
[ ] Should be expanded by default
[ ] Sub title custom properties is unnecessary
[ ] Tags should be True by default
[ ] tag edition not working?
[ ] cycle should be displayed with scenario.cycle.get_simple_label()
[ ] expanded does not work
[ ] expandable does not work

Who is deciding what we should do or not ?


Bug: UB in as_wide of core::strings::*

Which crate is this about?
windows
Crate version
0.39.0
Summary
Quoting the documentation of slice::from_raw_parts:

data must be non-null and aligned even for zero-length slices. One reason for this is that enum layout optimizations may rely on references (including slices of any length) being aligned and non-null to distinguish them from other data. You can obtain a pointer that is usable as data for zero-length slices using NonNull::dangling().

core::strings::{HSTRING, PSTR, PWSTR, PCSTR, PCWSTR}::as_wide all do not account for this, and at least HSTRINGs one is not marked as unsafe, and provides a safe Display implementation using this.
Toolchain version/configuration
No response
Reproducible example
use windows::core::HSTRING;

fn main() {
    let s = HSTRING::new();
    println!("{s}");
}

Crate manifest
No response
Expected behavior
No response
Actual behavior
No response
Additional comments
It seems that all these string wrappers could maybe benefit from using Option<NonNull<T>> instead of a raw pointer. (Still #[repr(transparent)]-compatible)

Hm, I think it's the new implementation that is wrong here? In other cases HSTRINGs should always be valid so there's no need for the null case. Rather than use a null pointer in new, why not point to a static HSTRING header?
But I do agree that either way, using NonNull instead of a raw pointer would help guard against mistakes.

Thanks for the report! So, I don't believe this is an actual issue in practice and instead we're just missing some documentation.
For all non-HSTRING types accessing the underlying pointer can only happen through unsafe. We don't document the requirements here very well, but we certainly expect the user to ensure that the pointer is properly aligned.
For HSTRING, the inner pointer is only set in three places: as a null pointer - which we never pass to from_raw_parts, in from_wide_iter, and in Clone::clone.
Those last two transitively require that Header::alloc returns an aligned pointer. This function ultimately calls into HeapAlloc which will be either aligned on 16-bit or 8-bit offsets. The alignment of Header is 8 which means any pointer to Header aligned to addresses at 16 or 8 bit offsets will be aligned.
I believe this means that there is non-UB here. However, this should be much more closely documented and perhaps even some debug_asserts! can be added to make sure this stays true in the future.
Let me know if my thinking here seems correct!

Oh I'm sorry, while trying out a few things around this I missed one additional function call, so seems to be safe!
The call to HSTRING::as_ptr() within as_wide doesn't just do self.0 of course, but checks everything internally and returns a pointer to a const zero [u16; 1]
const EMPTY: [u16; 1] = [0];
EMPTY.as_ptr()

so the resulting slice is valid!
Sorry for the noise and thank you for the quick responses ❤


Incidents list pagination

Add pagination to incidents and maintenances lists.
Statuspage API doc: https://developer.statuspage.io/#operation/getPagesPageIdIncidents

I added pagination

but I ran into a problem whenever I refresh, the old list remains and a new whole list gets added below it.

How are you querying the API? Because there is a limit and a page property.
The limit should be a fixed value, the page should only incremente for each new page, and the API will return only new data, which you then push to the current array of this view.

yeah I am using that only
'

I will create a pull a pull request to show

Could you please open a draft pull request, so I can have a look and help you better.