How to draw pr curve and output tested images?

❓ Questions and Help
I can get the AP, but i do not know how to draw pr curve ?
And because the dataset i used to train is medical dataset, so I also want to look the detected test images which can show bbox on images, what should i do to output tested images into a folder.
Thanks!

I have not yet added functionality to draw PR curves, nor to output the tested images predictions. It is not hard to add, but I didn't have the time yet.

question Questions and Help
I can get the AP, but i do not know how to draw pr curve ?
And because the dataset i used to train is medical dataset, so I also want to look the detected test images which can show bbox on images, what should i do to output tested images into a folder.
Thanks!

You may refer to maskrcnn_demo.ipynb in demo folder. Here is the code from predictor.py
`def compute_colors_for_labels(labels):
"""
Simple function that adds fixed colors depending on the class
"""
colors = labels[:, None] * torch.tensor([2 ** 25 - 1, 2 ** 15 - 1, 2 ** 21 - 1])
colors = (colors % 255).numpy().astype("uint8")
return colors
def overlay_boxes(image, predictions):
"""
Adds the predicted boxes on top of the image
Arguments:
image (np.ndarray): an image as returned by OpenCV
predictions (BoxList): the result of the computation by the model.
It should contain the field labels.
"""
labels = predictions.get_field("labels")
boxes = predictions.bbox
    colors = compute_colors_for_labels(labels).tolist()

    for box, color in zip(boxes, colors):
        box = box.to(torch.int64)
        top_left, bottom_right = box[:2].tolist(), box[2:].tolist()
        image = cv2.rectangle(
            image, tuple(top_left), tuple(bottom_right), tuple(color), 3
        )

    return image`

@fmassa issue I have a similar question. From issue #353 I can get coco_eval object that has the precision and recall values. However, the shape of these two arrays is different, and it is not clear how to use them to plot a PR curve. I can the arrays as being of shape T, R, K, A, M and T, K, A, M for precision and recall, respectively. So I have 101 precision values at each IoU threshold but only one recall value.
How can I plot the PR curve from these?

pycocotools gives you the eval at IoU thresholds staring at 0.5 up to 0.95 with step sizes of 0.05. The dimensions of the precision array correspond to the following:

T: len([.5:.05:1.0]) the 10 IoU Thresholds
R: len([0:0.01:1])  the 100 Recall Thresholds
K: The number of category ids you have
A: A=4 which corresponds to the object area ranges
M: max detections

So, if you wanted to plot the curves, you could write something like this:
import numpy as np
import matplotlib.pyplot as plt

all_precision = coco_eval.eval['precision']

pr_5 = all_precision[0, :, 0, 0, 2] # data for<EMAIL_ADDRESS>pr_7 = all_precision[4, :, 0, 0, 2] # data for<EMAIL_ADDRESS>pr_9 = all_precision[8, :, 0, 0, 2] # data for<EMAIL_ADDRESS>
x = np.arange(0, 1.01, 0.01)
plt.plot(x, pr_5<EMAIL_ADDRESS>plt.plot(x, pr_7<EMAIL_ADDRESS>plt.plot(x, pr_9<EMAIL_ADDRESS>
plt.show()

@ayman-saleh Thank you for your answer!
Just for my understanding, is M the confidence thresholds that is used? in other word does it mean that M=100 means we just consider the objects with confidence of 100?

@isalirezag M is a list, so by default, i believe it is M = [1, 10, 100].  This list corresponds to the thresholds on max detections per image.

@ayman-saleh sorry that I got here so late, but how would you go about plotting the precision against the recall? Here you are just plotting the precision against an array from 0 to 1.01, but to my knowledge, recall also has different values, which would make the plot different. Following your code, I plotted this in my program and this came out, which looks a bit odd to me compared to the typical precision vs recall curves.

Hi @ayman-saleh how about the recall curve?, the dimension of precision is 5 while the dimension of the recall produced by pycocotools is 4. ie. [TxKxAxM]. How to extract the recall in a shape that can be plot.
Thank you.

Hi @ayman-saleh how about the recall curve?, the dimension of precision is 5 while the dimension of the recall produced by pycocotools is 4. ie. [TxKxAxM]. How to extract the recall in a shape that can be plot.
Thank you.

@ayman-saleh The code you provided computes precision. Please how about the recall points?

how to compute it? I tried to use your suggested code to generate PR curve on custom COCO dataset and had two extremely odd curves for two different classes (Please see below). The dimension of precision returned a shape of [10, 101, 2, 4, 3] against a recall dimension of [10, 2, 4, 3]. how does a 5 dimension shape plot against a 4 dimension shape? Could this be the reason for the Odd curves?

?
Btw, The array of precision returns values full of ones. something probably associated with my dataset. This seem a strange to me. Have you by any chance come across such behaviour?

@ayman-saleh The code you provided computes precision. Please how about the recall points?

how to compute it? I tried to use your suggested code to generate PR curve on custom COCO dataset and had two extremely odd curves for two different classes (Please see below). The dimension of precision returned a shape of [10, 101, 2, 4, 3] against a recall dimension of [10, 2, 4, 3]. how does a 5 dimension shape plot against a 4 dimension shape? Could this be the reason for the Odd curves?

?
Btw, The array of precision returns values full of ones. something probably associated with my dataset. This seem a strange to me. Have you by any chance come across such behaviour?

Hi @ayman-saleh how about the recall array?, the dimensions of precision array is 5 while the dimensions of the recall array is 4. ie. [TxKxAxM]. How to extract the recall in a shape that can be plot. Thank you.

Instead of parametrizing the arrays by score threshold, I believe they are parametrized by recall threshold. So you can just do as in here and the result will be a precision vs. recall curve.

Hi. Do you know how we could parameterize the precision arrays by score threshold instead of by recall threshold? Thanks


Created module for IPython kernel callbacks

As per request by @jbednar I used his initial attempt as a starting point to move the IPython kernel callback in the nyc_taxi demo notebook into a module so the notebook itself isn't littered with JS code.
The example from the nyc_taxi demo looks like this now:
from datashader.callbacks import IPythonKernelCallback

def create_image(p, ranges, agg_fn=ds.count):
    x_range, y_range = ranges['x_range'], ranges['y_range']
    h, w = ranges['h'], ranges['w']
    cvs = ds.Canvas(plot_width=w, plot_height=h, x_range=x_range, y_range=y_range)
    agg = cvs.points(df, 'pickup_x', 'pickup_y', agg_fn('passenger_count'))
    pix = tf.interpolate(agg, (255, 204, 204), 'red', how='log')
    dh = y_range[1] - y_range[0]
    dw = x_range[1] - x_range[0]
    p.image_rgba(image=[pix.img], x=x_range[0], y=y_range[0], dw=dw, dh=dh, dilate=False)

p = base_plot()
IPythonKernelCallback(p, create_image, throttle=500, agg_fn=ds.count)

We pass the Figure (p), the Python call, an optional throttling value and an agg_fn to the IPythonKernelCallback. Internally the following happens:

The IPythonKernelCallback instance registers itself on the class with a uuid as the key.
We generate a string command to execute on the Python side, which a) imports the class and b) looks up the callback instance on the class using the uuid and c) calls the update_image method on the callback instance with the stringified json of the current ranges.
Using a string format we interpolate the plot_id, and the cmd into a template and wrap it in CustomJS.

The Python callback itself accepts two args and kwargs:

The plot to render to.
The dictionary of stringified json data.
Any additional keyword arguments that were passed to the IPythonKernelCallback instance.

This works pretty well in the notebook, but it does have several limitations/drawbacks:

This still creates a new image_rgba glyph on every callback, it might be more efficient to update the datasource on an existing glyph.
Currently I bypass the show function, handle the comms object manually and use _repr_html to display it. I thought this would be fixed by https://github.com/bokeh/bokeh/pull/3681?
I've wrapped the kernel callbacks in _.throttle and added them to Bokeh._throttle, a new object I created. They should presumably be stored somewhere more appropriate.
This only works for standalone figures currently, any layouts likes vplot, hplot or gridplot will have issues when attempting to look them up via Bokeh.index, instead the id of the root plot should be sent and the plot looked up on the document.

That looks great!  Is there any way to eliminate the special call to create_image above?

Yes, I could look up the initial ranges and plot width/height on the plot and execute the callback once on instantiation.

That would be great; much less confusing for users.

Also, it looks like "dsplot =" can be eliminated, as that attribute isn't actually used.  That way it will be clear that instantiating the IPythonKernelCallback class is what installs it.

BTW, should this work when there are multiple such cells?  It doesn't seem to; if I duplicate the last cell in the notebook, only the first such plot seems to regenerate the image_rgba.

As I noted above:
Currently only the most recently executed cell gets updated although old plots still create kernel events on zooming, I think this could be improved. I thought this would be fixed by bokeh/bokeh#3681, maybe that hasn't made it's way into the latest dev release yet?

I just fixed a bug that would have prevented this from working by passing the plot instance into the callback but it still doesn't seem to do anything. Any idea when the last bokeh dev release was?

According to https://github.com/bokeh/bokeh/releases, 0.11.1dev3 was 2 days ago, at rev 1673e48.

Currently only the most recently executed cell gets updated although old plots still create kernel events on zooming, I think this could be improved.

Ah, you were talking about Shift-enter executing, i.e. executing Jupyter cells?  That's not the behavior I was seeing; I duplicated the last cell, and the first one was the one updating, not the second, which was only executed once I duplicated them.  Actually, now that I think about it, I don't know which one was executed last, since they look identical; maybe the one lower on the page was actually the original, not the copy.
So ok, the last one executed is the one that gets updates?    But that's not how HoloViews works, right?  How did you get it to work for any cell in HoloViews?

So ok, the last one executed is the one that gets updates? But that's not how HoloViews works, right? How did you get it to work for any cell in HoloViews?

In HoloViews I manually handle the Document creation, can do the same here I think.

That sounds good; it would be awkward if only the last cell could be interacted with (e.g. Run All wouldn't be very useful then!)

And the new commits look great, thanks!

Although I'm really surprised -- I thought that removing the explicit call to create_image would fix the problem with the incorrect cropping on the initial plot (which is aligned properly, just covers too little area), since the first image would then be generated by the callback just like the rest of the images are.  But that doesn't seem to be the case; the initialization behavior hasn't changed (though the code looks much better!).

I'm not quite sure what's happening there either. I'm assuming the tile renderer or something else ends up setting a different range to what was specified initially. I've also run into problems with supporting multiple plots at once, in HoloViews we don't use show and all the magic that entails but I thought that they fixed this with the PR referenced above. Will have to dig into what's happening there tomorrow, going to bed now :)

Thanks so much; this has really helped already!  Brendan mentioned that putting the tiles in or out does have an effect, though I think he said it actually improved something he was looking at, surprisingly.  I can actually remove the tiles from this example, for now; they aren't crucial to include (though they do help to verify that we're doing scaling properly, since the data aligns closely with the geographic tiles).

I've added manual handling of the comms channels, which means I've had to hook into some of the low level private classes in bokeh because I couldn't get it working using show. This means I've used _repr_html_ to display the plot and am bypassing the usual display machinery entirely. In future it would be better to use show directly but unless I'm missing something that's not currently possible.

Also some random feedback, datashader should also have some way of setting or automatically determing a minimum bin size. When zooming in all the way to the street level the bins appear sparse but still appear in a regular, presumably the GPS data already has some fixed sampling and it would be nice if datashader didn't oversample. I've already got some code like that for rasterization callback in the Pepsi project.

Thanks!  While you still remember it, can you explain what the problems with show() were, either here or in a bokeh issue?

Is it ok to merge?

The recent debounce fix I introduced makes interaction a lot more smooth but it sometimes goes out of sync and ignores the last event. Could you give it a try with and without these lines:
if self.debounce:
            self.debounce = False
            return
        else:
            self.debounce = True

and see what you think?

The issue with show is that although they fixed it recently I don't seem to be able update multiple plots even if I attach them to separate documents.

And is your code to avoid oversampling automatic or a manual setting?

Just checked and I ended up going with a fixed sampling because the peak finding code because in that application we had worked out the sampling density.

I tried it, and it does seem to be smoother with the debouncing.  But in general this code should work with non-fixed-aspect-ratio plots, where someone could e.g. scale one axis rather than the other, which would only generate one event.  And presumably a box zoom would only generate one event?  So I'm not sure it's safe to debounce like this.
I wonder if there is some more subtle way to drop duplicate events other than simply skipping every other one, e.g. to ignore one if there was one just before.  What we've done in other cases is to have the most recent one interrupt the one before it, so that it's always only processing one event, though of course that has issues with never terminating if events keep coming in (which seemed unlikely).  But that's something we did at the back end, i.e. within the callback,  not at the level of the machinery doing the callback.

What we've done in other cases is to have the most recent one interrupt the one before it, so that it's always only processing one event, though of course that has issues with never terminating if events keep coming in (which seemed unlikely).

I tried that, it still seemed to be generating too many events for some reason. I've replaced that with a call to _.throttle, which ensures events are only sent every x milliseconds. underscore.js also has a _.debounce function, which could be used to capture only the final event. Here's a good visual breakdown of the two.

It's pretty responsive now and no longer swallows events like the previous approach, you can merge at any time.

Great!  Merging now.  I'll try to discuss this with Fabio and Damian to see if it makes sense to use in Bokeh.

Interesting concept :wink:


Linux kernels 2022-05-11

Description of changes
See commit history for detailed changes.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Fixes CVE-2022-1652 (linux commit d91ca05d52fabf68c0376bcfeed1a52be68a8e1b) for 5.17. Confirmed that in the config file:
# CONFIG_BLK_DEV_FD_RAWCMD is not set

Also in 5.10 and 5.4; however, I don't see the fix commit on 5.15 for some reason... Regardless, LGTM :+1:


Tree isn't loading

Tree was not loading, fixed an issue on comparing existing tree + group columns

Current coverage is 27.59% (diff: 100%)

Merging #70 into master will increase coverage by 0.19%

@@             master        #70   diff @@
==========================================
  Files            45         45
  Lines          1332       1337     +5
  Methods         169        170     +1
  Messages          0          0
  Branches        313        314     +1
==========================================
+ Hits            365        369     +4
- Misses          967        968     +1
  Partials          0          0

Powered by Codecov. Last update 37652d9...47f0ca6


【蚂蚁网安二期AGIC资助项目】复现LLM_Data_Privacy算法

【蚂蚁网安二期AGIC资助项目】
复现了2篇LLM数据隐私安全的论文
Analyzing Leakage of Personally Identifiable Information in Language Models..
Practical Membership Inference Attacks against Fine-tuned Large Language Models via Self-prompt Calibration.
本项目得到ANT group 和 Cybersecurity College Student Innovation Funding Program的支持。

I have read the CLA Document and I hereby sign the CLA


Value not updating correctly when being moved along slider.

Hi,
The value doesn't change when sliding the toggle on the bar like in example. What am I doing wrong?

Hi @clothiersphere! Do you see any errors in the terminal or the browser console?

None. Everything works fine except the value is not updating. When I select
a new value on the slider I'm able to console log and pass that value
correctly, but when I click the slider again - the slider resets to 0.
Conversely the displayFollowerPopover always shows as 0 - despite me being
able to log the value being selected.
I will try to do more testing or something fresh instead of incorporating
something since I'm sure it's something on my end.
On Tue, Oct 11, 2016 at 12:35 PM, Akshat<EMAIL_ADDRESS>wrote:

Hi @clothiersphere https://github.com/clothiersphere! Do you see any
errors in the terminal or the browser console?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NerdWallet/nw-react-slider/issues/18#issuecomment-253021269,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGs7PU_n4PT2NV8UhAHquiowX81RL-IKks5qy-UUgaJpZM4KTHAg
.

So I completely took everything out except for the slider.
Here the min is 0 the max is 5 and the value is 0.
First thing I do is click the the 2nd tick and correctly pass the value of
the selected bar to my action creator ( note payload is passing back 2 )
(also note that the slider toggle/icon is still at 0.
Then I select the 4th tick and the value being passed is 4. ( popup still
shows 0 ).
Now I select the 3rd tick and the value passed is 3, but the slider dot
resets back to the 0 position.
[image: Inline image 1][image: Inline image 2][image: Inline image 3]
On Tue, Oct 11, 2016 at 3:09 PM, Christopher Lee<EMAIL_ADDRESS>wrote:

None. Everything works fine except the value is not updating. When I
select a new value on the slider I'm able to console log and pass that
value correctly, but when I click the slider again - the slider resets to
0. Conversely the displayFollowerPopover always shows as 0 - despite me
being able to log the value being selected.
I will try to do more testing or something fresh instead of incorporating
something since I'm sure it's something on my end.
On Tue, Oct 11, 2016 at 12:35 PM, Akshat<EMAIL_ADDRESS>wrote:

Hi @clothiersphere https://github.com/clothiersphere! Do you see any
errors in the terminal or the browser console?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NerdWallet/nw-react-slider/issues/18#issuecomment-253021269,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGs7PU_n4PT2NV8UhAHquiowX81RL-IKks5qy-UUgaJpZM4KTHAg
.

I'm sorry but I can't seem to reproduce your issue with the demo page. Also, can't see your screenshots.
If you are using this in a public repo then perhaps I could take a look at the source?


As the Designer, I want to revise Setup.hs documentation so that it accurately reflects the current state.

[x] Update internal documentation.
[x] Retest program.

Commit 8d6c01a completed this issue.  I had forgotten that I had already started changing Setup.hs to git-clone my ssh repo and alter the location of symbolic links, so a lot of refactoring and testing was needed.


share_embedding option

Can I use -share_embedding option in Torch Version ?

No, this feature is not available in the Torch version.

I am grateful for your speedy response.
I will try the PyTorch version.


stitch_threshold in GUI

I would like to pass on my self-trained models to cooperation partners who have no programming experience and therefore prefer to use the GUI rather than the command line. Unfortunately I can't find all parameters from the command line in the GUI, especially I miss the option "--stitch_threshold", because my 3D images are strongly anisotropic. Is there anywhere I can set this?

stitch threshold has never been an option in the gui but it's something we can add, I'll add the enhancement flag here

btw I think the CLI error with stitch_threshold is fixed now!

btw I think the CLI error with stitch_threshold is fixed now!

Thank you very much for that! Then I can withdraw my pull request, right?

stitch threshold has never been an option in the gui but it's something we can add, I'll add the enhancement flag here

Is there a rough time estimate of when I could expect to see this enhancement? Then I would know whether I would still have to look for my own alternative solution to tide me over while we wait for the official one.

btw I think the CLI error with stitch_threshold is fixed now!

Thank you very much for that! Then I can withdraw my pull request, right?

I rejoiced too soon, it doesn't seem to work after all.

this is implemented now


Different HTTP statuses, domain related validation, domain related handling.

Hi,
First of all, thank You for such a nice code example. I do really like this architecture and will try to use it in the nearly future. However, I still have some questions.

How do You handle different HTTP response codes? I.e. what if I wrote a REST api and decided to use codes like 201, etc. It seems like You almost always return 200 on success.

Is this the "Vertical slice" architecture which is being promoted in various conferences by Jimmy Bogard?

Where do You put your domain/persistence validation (since You seem to be only validating user inputs)? In https://github.com/jbogard/ContosoUniversityCore Jimmy Bogard moves it into the domain model.

Does all of your domain/application logic go to handler? In https://github.com/jbogard/ContosoUniversityCore Jimmy Bogard takes domain handling logic, puts it into the domain model and calls it from the handler.

What are Your thoughts on these questions?

Hi and you're welcome. Sorry it took me so long to get back to you. Please see my responses below:

How do You handle different HTTP response codes? I.e. what if I wrote a REST api and decided to use codes like 201, etc. It seems like You almost always return 200 on success.

It's no problem to return different codes. Nothing in this design will get in your way. You should check out the improvements in ASP.NET Core 2.2 for Open API analysers and conventions. Very helpful stuff. https://blogs.msdn.microsoft.com/webdev/2018/08/23/asp-net-core-2-20-preview1-open-api-analyzers-conventions/?WT.mc_id=-blog-scottha

Is this the "Vertical slice" architecture which is being promoted in various conferences by Jimmy Bogard?

Not specifically. Although I did learn alot from his work.

Where do You put your domain/persistence validation (since You seem to be only validating user inputs)? In https://github.com/jbogard/ContosoUniversityCore Jimmy Bogard moves it into the domain model.

In this solution I am validation the commands and queries. Validation or shared logic specific to the domain can be pushed down to the domain as per Jimmy's work.

Does all of your domain/application logic go to handler? In https://github.com/jbogard/ContosoUniversityCore Jimmy Bogard takes domain handling logic, puts it into the domain model and calls it from the handler.

Suggest that any shared logic get pushed down from the handlers to the domain.
Hope this helps, all the best.

Thank you very much!


This page and IoT Industrial Architecture show different patterns

Hello all. Looking at some of the docs that we have available for IoT solutions, we came across this one and also the Industrial Archtecture.
Both of this documents show different patterns, which can be confusing sometimes.
Should both of them follow the same pattern?

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

ID: eb9b53d6-2947-d5f6-ef9d-894359b012f5
Version Independent ID: 973daaa5-b27e-c7b2-c9c3-af427f170371
Content: Connected Field Service with IoTHub Architecture
Content Source: ce/field-service/developer/connected-field-service-architecture.md
Service: dynamics-365-customerservice
Technology: :"field-service"
GitHub Login: @gregdegruy
Microsoft Alias: daclar

Thanks for raising this issue, and apologies for the confusion! - We're currently reviewing all of our CFS documentation and planning updates :)


1-bit Adam examples/tutorial

This has code for bing_bert and SQuAD. The code has been checked against the tutorial that is currently a pull request on the DeepSpeed side (https://github.com/microsoft/DeepSpeed/pull/388).

@jeffra - I have pushed the changes to the param groups. Minor note in mpi script also added.
The F1 score looks good. Adding the output for record. {"exact_match": 86.56575212866603, "f1": 92.58469962106719}
I will sign-off now. Please merge this PR when you are ready.


getParameters

when using req->getParameters(),I can not get the paramter of same key,for example,url is:/api/list?key="hello"&key="world" when I call req->getParameters().equal_range("key") it only display the result value key="world" and ignore the fist value "hello"

As the parsing of query parameters is not defined in any RFC, the behavior is to be defined by the framework. I would say that in this case the described behavior is also what is to be expected.
There are some frameworks like PHP which support serialization of parameters with same names, but this is by no means a standard.
I think it makes sense to stay here somewhat with the RFC which only talks about unique parameters in the context of forms, and also apply it to query parameters.
Do you have any specific use cases where you rely on this implicit query parameter parsing behavior besides the “Hello, world!” example? Maybe there is another elegant solution.

req->getQuery() , get the full query string, and parse whatever you want.

req->getQuery() , get the full query string, and parse whatever you want.

I know this way,I just want to know whether there exists method or not,thank you

+1 from me. It'd be very useful if Drogon could properly handle arrays of parameters. It's not part of the RFC but it is industry standard for many years.


Max width of composite bloq

A helper function for getting the width of a composite bloq. This was raised as a problem in the review of #605 . This is just the helper function. There's a "TODO" where one could plumb in the max-widths of the callees, which would be available if this was part of the call graph summation.

@tanujkhattar I think this can go in as a private helper method, ptal

@tanujkhattar ptal


Make mqtt node to send acknowledgement if message fails to be received

May i know how do i make mqtt node to receive acknowledgement if the message fails to be delivered due to network failure.

Hi, thanks for raising an issue.
If you check out our contribution guidelines you'll see we prefer to handle this sort of thing on the mailing list, slack team or you could ask a question on Stack Overflow and tag it node-red. That way the whole Node-RED user community can help, rather than rely on the core development team.
For your specific question, that is not something we currently expose or make particularly easy to handle.
Thanks!

though the status node will indicate if it detects the link to the broker is broken. (but not on an individual message)

I'm going to close this issue here. Please follow up on the mailing list/slack channel as I describe above if you'd like to discuss further


[FEA] Support Parquet Read of Decimal FIXED_LENGTH_BYTE_ARRAY

Is your feature request related to a problem? Please describe.
https://github.com/rapidsai/cudf/issues/6909 was filed to support reading FIXED_LENGTH_BYTE_ARRAY decimal values.  Older versions of Spark store decimal this way so we do want to support this before we can merge decimal reading support.
https://github.com/NVIDIA/spark-rapids/pull/1294 is a PR that covers most of reading decimal, but not everything.

I am willing to take this task to support reading FIXED_LENGTH_BYTE_ARRAY decimal values if necessary.

I think we can close this issue because corresponding cuDF side task has been merged. And I have manually verified this feature with spark-rapids.

@sperlingxx do we have automated integration test cases to read FIXED_LENGTH_BYTE_ARRAY decimal values?

This appears to be done

This appears to be done


Tooltip React Component

Requirements:

[ ] Should match the style shown in specks
[ ] The tooltip should be flexible and detect the position of the target relative to the viewport edge. By default the preferred orientation of the tooltip is above the target, centered. If this is not possible, the tooltip should try to stay above the target and the tooltip pointer should align with the center of the target. It should follow top, right, bottom, left as order of precedence when it is not possible to render it at particular placement, move to the next.
[ ] Tooltips should be at least 10px (should be configurable) from the viewport edge. The tooltip pointer should be 5px (should be configurable) from the target.
[ ] Use a css-only solution for the tooltip pointer: square that is rotated 45º and aligns with the background. This way you can position it centered to the target, and use drop-shadow if needed for the whole thing.
[ ] Should allow any content (e.g. any other React component) inside the tooltip
[ ] Tooltip trigger should be configurable. For now, we need click and hover as two possible triggers
[ ] Delay (in milliseconds) in rendering the tooltip, on the configured trigger, should also be configurable
[ ] Should support themes. For now we would have only single theme, default.
[ ] Should support adding custom css class to the root container of the tooltip

working on this.

:+1: Go ahead

@Colinh84 Please let us know here if you have any query.

@vikasrohit I initially had some problems as the base repo doesn't build without errors on my Windows dev system, but I have it running now on my linux system and should have this task completed soon.

Thanks @Colinh84 for the update.

Let us know if the error is with our repo. We definitely want the repo to be runnable on Windows too :)

Even I faced this issue that repo dosent work on windows gets deployed without errors by when I open url in browser get several errors

@nlitwin It seems to be an error caused by some incompatible node modules in the repo, here is the error and stack trace that happens when I run "npm run dev":
ERROR in ./~/react-dropzone/lib/index.js
Module build failed: ReferenceError: [BABEL] C:\Users\colin_000\Documents\dev\react-components\node_modules\react-dropzone\lib\index.js: Using removed Babel 5 option: C:\Users\colin_000\Documents\dev\react-components\node_modules\react-dropzone.babelrc.stage - Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets
at Logger.error (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\file\logger.js:39:11)
at OptionManager.mergeOptions (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\file\options\option-manager.js:265:20)
at OptionManager.addConfig (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\file\options\option-manager.js:207:10)
at OptionManager.findConfigs (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\file\options\option-manager.js:413:16)
at OptionManager.init (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\file\options\option-manager.js:461:12)
at File.initOptions (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\file\index.js:194:75)
at new File (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\file\index.js:123:22)
at Pipeline.transform (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\pipeline.js:45:16)
at transpile (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-loader\index.js:14:22)
at Object.module.exports (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-loader\index.js:88:12)
@ ./components/FileUploader/FileUploader.cjsx 11:11-36
ERROR in ./~/redux-thunk/lib/index.js
Module build failed: ReferenceError: [BABEL] C:\Users\colin_000\Documents\dev\react-components\node_modules\redux-thunk\lib\index.js: Using removed Babel 5 option: C:\Users\colin_000\Documents\dev\react-components\node_modules\redux-thunk.babelrc.stage - Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets
at Logger.error (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\file\logger.js:39:11)
at OptionManager.mergeOptions (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\file\options\option-manager.js:265:20)
at OptionManager.addConfig (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\file\options\option-manager.js:207:10)
at OptionManager.findConfigs (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\file\options\option-manager.js:413:16)
at OptionManager.init (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\file\options\option-manager.js:461:12)
at File.initOptions (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\file\index.js:194:75)
at new File (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\file\index.js:123:22)
at Pipeline.transform (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-core\lib\transformation\pipeline.js:45:16)
at transpile (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-loader\index.js:14:22)
at Object.module.exports (C:\Users\colin_000\Documents\dev\react-components\node_modules\babel-loader\index.js:88:12)
@ ./~/appirio-tech-client-app-layer/src/store/configureStore.js 10:18-40

Thank you! I will try to run it on my Windows partition tonight and see if I can get it working

@Colinh84 Submission is closing. Are you able to complete the task?

If allowed I can try to this one up

@amolskh we need to wait for @Colinh84's confirmation before releasing it. And in any case we have very few minutes remaining to the submission end time.

@Colinh84 We have extended the submission timeline by 24 hours to allow you to complete the task. Please let us know if you would not be able to do so.

@vikasrohit very close to submitting, just creating some extra examples for testing now.

Awesome. Please make sure you submit the PR before submission end time which is less than 7 hours from now. Also, please submit a zip with a text file mentioning the tickets you have worked on for this challenge.

@vikasrohit Alright, got the pull request in: https://github.com/appirio-tech/react-components/pull/72
Note that I created the merge request to master as instructed in the challenge details, but there are whole bunch of other commits mixed up in the PR since I started working from the dev branch as was requested in the forums..

@Colinh84 I have synced dev branch with master last week and starting this week. So, even if you take pull from origin/dev, it should remove conflicts and number of changes in your PR.

Updated PR: https://github.com/appirio-tech/react-components/pull/73

@Colinh84
Final fix items:

[ ] Move example theme (.blue-round) styling to example scss
[ ] Can we remove dependency on id of the element to show tooltip against it? One way could be wrap target element in tooltip component like <Tooltip>

</Tooltip>

@vikasrohit Final fixes have been implemented, PR here: https://github.com/appirio-tech/react-components/pull/78


Release tracking

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
<EMAIL_ADDRESS>Minor Changes

#575 89d6590 Thanks @rezrah! - New pagination component generally available
<Pagination pageCount={15} currentPage={5} />

:link: Read the documentation for more examples

#574 95f15ba Thanks @rezrah! - New breadcrumbs component generally available
<Breadcrumbs>
  <Breadcrumbs.Item href="/">Resources</Breadcrumbs.Item>
  <Breadcrumbs.Item href="/copilot">GitHub Copilot</Breadcrumbs.Item>
  <Breadcrumbs.Item href="/copilot/chat" selected>
    Chat
  </Breadcrumbs.Item>
</Breadcrumbs>

:link: Read the documentation for more examples

#555 3980daa Thanks @rezrah! - Added new IDE component
Example:
<IDE alternativeText="description of the IDE, including any animations for users of assistive technologies">
  <IDE.Editor />
  <IDE.Chat />
</IDE>

🔗 See the documentation for more examples

Patch Changes

#568 40a129d Thanks @rezrah! - Added support for optional Button and sub menu's in SubNav component.
Also added fullWidth prop to optionally remove the default component padding.
<SubNav>
  <SubNav.Heading href="#">Heading</SubNav.Heading>
  <SubNav.Link href="#">Link</SubNav.Link>
  <SubNav.Link href="#">Link</SubNav.Link>
  <SubNav.Link href="#">Link</SubNav.Link>
  <SubNav.Link href="#" aria-current="page">
    Link
    <SubNav.SubMenu>
      <SubNav.Link href="#">Link feature one</SubNav.Link>
      <SubNav.Link href="#">Link feature two</SubNav.Link>
      <SubNav.Link href="#">Link feature three</SubNav.Link>
      <SubNav.Link href="#">Link feature four</SubNav.Link>
    </SubNav.SubMenu>
  </SubNav.Link>
  <SubNav.Link href="#">Link</SubNav.Link>
  <SubNav.Link href="#">Link</SubNav.Link>
  <SubNav.Action href="#" variant="secondary">
    Optional CTA
  </SubNav.Action>
</SubNav>

#566 eaeb50e Thanks @joshfarrant! - Adjusted block padding of small button controls from 12px to 8px.
This change affects all small size Button and ActionMenu instances.

#575 89d6590 Thanks @rezrah! - Added none optiona to arrowDirection prop of Link component. This value removes the arrow entirely.
<Link arrowDirection="none" {...rest} />

#573 e76c92b Thanks @joshfarrant! - Add trailingComponent prop to Hero

<EMAIL_ADDRESS>Patch Changes

#566 eaeb50e Thanks @joshfarrant! - Adjusted block padding of small button controls from 12px to 8px.
This change affects all small size Button and ActionMenu instances.

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Smoke test: 23/04/24
❌  Subnav changes

internal paddings require overriding

❌  IDE changes

CSP issues with file extension icons

Text sizes being overridden by dotcom

✅  Pagination
✅  Button updates

Smoke test: 25/04/24
All aforementioned issues resolved through #580
✅  Subnav changes - fullWidth prop added to remove internal padding
✅  IDE component - tabIcons prop provided for CSP compliance
✅  Pagination
✅  Button updates
Result:

Release good to go 🚀


installation trouble on WIN10 HOME with python311

I am trying to install numbers_parsers for more than 4h, now. Meanwhile, I fully installed Visual Studio for having access to the asked for c++ version via MSVC143.
Any help is very appreciated.
Kind regards
Dirk
Latest error protocoll:
C:\Users\Dirk>pip install python-snappy
Collecting python-snappy
Using cached python-snappy-0.6.1.tar.gz (24 kB)
Preparing metadata (setup.py) ... done
Building wheels for collected packages: python-snappy
Building wheel for python-snappy (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [27 lines of output]
D:\Programme\Python311\Lib\site-packages\setuptools_distutils\dist.py:265: UserWarning: Unknown distribution option: 'cffi_modules'
warnings.warn(msg)
running bdist_wheel
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\snappy
copying src\snappy\hadoop_snappy.py -> build\lib.win-amd64-cpython-311\snappy
copying src\snappy\snappy.py -> build\lib.win-amd64-cpython-311\snappy
copying src\snappy\snappy_cffi.py -> build\lib.win-amd64-cpython-311\snappy
copying src\snappy\snappy_cffi_builder.py -> build\lib.win-amd64-cpython-311\snappy
copying src\snappy\snappy_formats.py -> build\lib.win-amd64-cpython-311\snappy
copying src\snappy_init_.py -> build\lib.win-amd64-cpython-311\snappy
copying src\snappy_main_.py -> build\lib.win-amd64-cpython-311\snappy
running build_ext
building 'snappy._snappy' extension
creating build\temp.win-amd64-cpython-311
creating build\temp.win-amd64-cpython-311\Release
creating build\temp.win-amd64-cpython-311\Release\src
creating build\temp.win-amd64-cpython-311\Release\src\snappy
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\Programme\Python311\include -ID:\Programme\Python311\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" /Tcsrc/snappy/crc32c.c /Fobuild\temp.win-amd64-cpython-311\Release\src/snappy/crc32c.obj
crc32c.c
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\Programme\Python311\include -ID:\Programme\Python311\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" /EHsc /Tpsrc/snappy/snappymodule.cc /Fobuild\temp.win-amd64-cpython-311\Release\src/snappy/snappymodule.obj
snappymodule.cc
src/snappy/snappymodule.cc(33): fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "snappy-c.h": No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for python-snappy
Running setup.py clean for python-snappy
Failed to build python-snappy
Installing collected packages: python-snappy
Running setup.py install for python-snappy ... error
error: subprocess-exited-with-error
× Running setup.py install for python-snappy did not run successfully.
│ exit code: 1
╰─> [29 lines of output]
D:\Programme\Python311\Lib\site-packages\setuptools_distutils\dist.py:265: UserWarning: Unknown distribution option: 'cffi_modules'
warnings.warn(msg)
running install
D:\Programme\Python311\Lib\site-packages\setuptools\command\install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
warnings.warn(
running build
running build_py
creating build
creating build\lib.win-amd64-cpython-311
creating build\lib.win-amd64-cpython-311\snappy
copying src\snappy\hadoop_snappy.py -> build\lib.win-amd64-cpython-311\snappy
copying src\snappy\snappy.py -> build\lib.win-amd64-cpython-311\snappy
copying src\snappy\snappy_cffi.py -> build\lib.win-amd64-cpython-311\snappy
copying src\snappy\snappy_cffi_builder.py -> build\lib.win-amd64-cpython-311\snappy
copying src\snappy\snappy_formats.py -> build\lib.win-amd64-cpython-311\snappy
copying src\snappy_init_.py -> build\lib.win-amd64-cpython-311\snappy
copying src\snappy_main_.py -> build\lib.win-amd64-cpython-311\snappy
running build_ext
building 'snappy._snappy' extension
creating build\temp.win-amd64-cpython-311
creating build\temp.win-amd64-cpython-311\Release
creating build\temp.win-amd64-cpython-311\Release\src
creating build\temp.win-amd64-cpython-311\Release\src\snappy
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\Programme\Python311\include -ID:\Programme\Python311\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" /Tcsrc/snappy/crc32c.c /Fobuild\temp.win-amd64-cpython-311\Release\src/snappy/crc32c.obj
crc32c.c
"C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe" /c /nologo /O2 /W3 /GL /DNDEBUG /MD -ID:\Programme\Python311\include -ID:\Programme\Python311\Include "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Auxiliary\VS\include" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.22000.0\cppwinrt" /EHsc /Tpsrc/snappy/snappymodule.cc /Fobuild\temp.win-amd64-cpython-311\Release\src/snappy/snappymodule.obj
snappymodule.cc
src/snappy/snappymodule.cc(33): fatal error C1083: Datei (Include) kann nicht ge”ffnet werden: "snappy-c.h": No such file or directory
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools\VC\Tools\MSVC\14.34.31933\bin\HostX86\x64\cl.exe' failed with exit code 2
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> python-snappy
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.
C:\Users\Dirk>python
Python 3.11.1 (tags/v3.11.1:a7a450f, Dec  6 2022, 19:58:39) [MSC v.1934 64 bit (AMD64)] on win32
Type "help", "copyright", "credits" or "license" for more information.

exit()

C:\Users\Dirk>python3 -m pip install numbers-parser
Python konnte nicht gefunden werden. F³hren Sie die Verkn³pfung ohne Argumente aus, um sie ³ber den Microsoft Store zu installieren, oder deaktivieren Sie diese Verkn³pfung unter
C:\Users\Dirk>

The key is snappy-c.h": No such file or directory which suggests to me that the Snappy dev libraries are not installed or that VSC++ doesn’t have the include files on its include path.
There is an answer here  about installing the wheel that will include the compiled code.
Let me know how you get on and I can add to the Readme for Windows installation.

Thank you, Jon!
Given the many snappy wheels listed at Christoph's site I felt completely irritated by the many versions, as I am a complete newbie to python and pip.
I made my developer's career developing ABAP inside SAP.
So, I started top of list with "python_snappy-0.6.1-pp38-pypy38_pp73-win_amd64.whl". But no fuzz: the installation was safely aborted and I took the 2nd entry "python_snappy-0.6.1-cp311-cp311-win_amd64.whl", which did the job.
Only with this correct result I recognized the nomenclature in the version's names.
Thanks again, Jon.
Enjoy a peaceful Sunday.
Files at Christoph's:
Python-snappy: wraps the snappy compression library.
python_snappy‑0.6.1‑pp38‑pypy38_pp73‑win_amd64.whl
python_snappy‑0.6.1‑cp311‑cp311‑win_amd64.whl
python_snappy‑0.6.1‑cp311‑cp311‑win32.whl
... and more...
LOG:
C:\Users\Dirk>pip install C:\Users\Dirk\Downloads\python_snappy-0.6.1-pp38-pypy38_pp73-win_amd64.whl
ERROR: python_snappy-0.6.1-pp38-pypy38_pp73-win_amd64.whl is not a supported wheel on this platform.
C:\Users\Dirk>pip install C:\Users\Dirk\Downloads\python_snappy-0.6.1-cp311-cp311-win_amd64.whl
Processing c:\users\dirk\downloads\python_snappy-0.6.1-cp311-cp311-win_amd64.whl
Installing collected packages: python-snappy
Successfully installed python-snappy-0.6.1
C:\Users\Dirk>pip install numbers-parser
Collecting numbers-parser
Using cached numbers_parser-3.9.5-py3-none-any.whl (276 kB)
Collecting compact-json<2.0.0,>=1.1.3
Using cached compact_json-1.5.0-py3-none-any.whl (15 kB)
Collecting pendulum<3.0.0,>=2.1.2
Using cached pendulum-2.1.2-cp311-cp311-win_amd64.whl
Collecting protobuf<5.0.0,>=4.21.1
Using cached protobuf-4.21.12-cp310-abi3-win_amd64.whl (527 kB)
Requirement already satisfied: python-snappy<0.7.0,>=0.6.1 in d:\programme\python311\lib\site-packages (from numbers-parser) (0.6.1)
Collecting regex<2023.0.0,>=2022.9.13
Using cached regex-2022.10.31-cp311-cp311-win_amd64.whl (267 kB)
Collecting roman<4.0,>=3.3
Using cached roman-3.3-py2.py3-none-any.whl (3.9 kB)
Requirement already satisfied: wcwidth<0.3.0,>=0.2.5 in d:\programme\python311\lib\site-packages (from compact-json<2.0.0,>=1.1.3->numbers-parser) (0.2.6)
Requirement already satisfied: python-dateutil<3.0,>=2.6 in d:\programme\python311\lib\site-packages (from pendulum<3.0.0,>=2.1.2->numbers-parser) (2.8.2)
Collecting pytzdata>=2020.1
Using cached pytzdata-2020.1-py2.py3-none-any.whl (489 kB)
Requirement already satisfied: six>=1.5 in d:\programme\python311\lib\site-packages (from python-dateutil<3.0,>=2.6->pendulum<3.0.0,>=2.1.2->numbers-parser) (1.16.0)
Installing collected packages: roman, regex, pytzdata, protobuf, compact-json, pendulum, numbers-parser
Successfully installed compact-json-1.5.0 numbers-parser-3.9.5 pendulum-2.1.2 protobuf-4.21.12 pytzdata-2020.1 regex-2022.10.31 roman-3.3
C:\Users\Dirk>


fix: downgrade MSRV to 1.77.2 to support Windows 7

I don't have access to discord right now, what was the issue prompting for this change?
1.75 was the last version with proper Win7 support so I'd like to know what 1.77 brings us here.

ah nevermind, the change was later than initially announced (in 1.72 blog they said 1.75 is the last one but later changed that to 1.77 i guess).
Still, we shouldn't hold on to that for ever, this already caused so much pain in v1. Of course, it's totally fair for the first versions so everyone can use v2.
Also, let's not forget that Rust still supports windows 7 just under a new target triple which imo is good enough for the future since tauri's win7 support itself is more like best effort itself.


[CURATED PROJECT] Project #255

Project Title: "Screens"
Project Size: 1000
Project ID: 255
Artist Channel ID:<PHONE_NUMBER>15260948

dup of https://github.com/ArtBlocks/artbot/pull/206
https://github.com/ArtBlocks/artbot/commit/7ede9d4d985891b8399a27aa775f6eafdbecb919


Update sbt-updates to 0.5.3

Updates com.timushev.sbt:sbt-updates from 0.5.2 to 0.5.3.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (0.5.2).
You might want to review and update them manually.
website/yarn.lock

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.timushev.sbt", artifactId = "sbt-updates" } ]

labels: sbt-plugin-update, semver-patch, old-version-remains

plugin has been removed


cf_ptc_total doesn't work

Describe the bug
I assume cf_ptc_total = cf_ptc_fed + cf_ptc_sta but the total seems to be 0 even when fed is non-zero.
To Reproduce
Steps to reproduce the behavior:

Open default Wind Single Owner case (Federal PTC will be active)
Click on 'Simulate'
Try out this script:

I think cf_ptc_total should be removed because the state PTC and federal PTC are treated separately in the cash flow: The the state PTC is taxable income for Federal tax purposes. For example, see here for Single Owner. So the total PTC (sum of State and Federal) does not really have significance for cash flow calculations.
The total PTC is only calculated by cmod_cashloan, but not used to calculate any results. It is assigned as an output in common,cpp, but not assigned a value in any of the financial model compute modules.
Solution is to remove cf_ptc_total from common,cpp and cmod_cashloan.cpp.
LK Script for testing with Wind / Single Owner:
a = get('cf_ptc_fed');
b = get('cf_ptc_sta');
c = get('cf_ptc_total');
d = get('itc_total'); // not relevant for this conversation

outln(a);
outln(b);
outln(c);
outln(d);

@cpaulgilman Thanks for the explanation!


Feature Request:Add support for LLama3 models

Summary
Feature Request:Add support for LLama3 models
Appendix
Feature Request:Add support for LLama3 models

Hi @shivay-at-pieces
We made it. The newly released LlamaEdge 0.8.3 adds Llama3 support. https://github.com/LlamaEdge/LlamaEdge/pull/150
You can use the following command line to quick start.
bash <(curl -sSfL 'https://raw.githubusercontent.com/LlamaEdge/LlamaEdge/main/run-llm.sh') --model llama-3-8b-instruct


command 'extension.previewPlantUML' not found

when choosing choosing 'PlantUML Preview' from Command Palette
Extension can be seen among installed. Uninstall option for it is available.
VS Code 1.6.1
PlantUML 8048
okazuki PlantUML plugin 0.1.5

Did you set environment value?

PLANTUML_HOME
JAVA_HOME

Please show readme.md.

Yes, I think, I did.
D:_work_\plantUML>set | grep PLANT
PLANTUML_HOME=D:_work_\plantUML
D:_work_\plantUML>set | grep JAVA
JAVA_HOME="c:\Program Files\Java\jre8u101\bin"

OK.
JAVA_HOME is Java installed folder.
It is "c:\Program Files\Java\jre8u101".
Could you try.

D:_work_\plantUML>"c:\Program Files\Java\jre8u101\bin\java"
Usage: java [-options] class [args...]
(to execute a class)
or  java [-options] -jar jarfile [args...]
(to execute a jar file)
...
Seems to be OK.

my fault. I ran it from a different window. Now the error is "Unable to open 'PlantUML Preview;: write EPIPE

Could you run this command?
"%JAVA_HOME%\bin\java" -jar "%PLANTUML_HOME%\plantuml.jar"

This VSCode extension just execute this command.

I have changed JAVA_HOME
from
JAVA_HOME="c:\Program Files\Java\jre8u101\bin"
to
JAVA_HOME="c:\Program Files\Java\jre8u101
and then ran
D:_work_\plantUML>"%JAVA_HOME%\bin\java" -jar "%PLANTUML_HOME%\plantuml.jar"
'""c:\Program' is not recognized as an internal or external command,
operable program or batch file.
"c:\Program Files\Java\jre8u101\bin\java" -jar "%PLANTUML_HOME%\plantuml.jar"
-runs GUI of PlantUML

Are your JAVA_HOME "c:\Program Files\Java\jre8u101??
I think that you should remove double quote.

Thank you very much for your help. It works now.
D:_work_\plantUML>set JAVA_HOME=c:\Program Files\Java\jre8u101
D:_work_\plantUML>set | grep JAVA
JAVA_HOME=c:\Program Files\Java\jre8u101
D:_work_\plantUML>"%JAVA_HOME%\bin\java" -jar "%PLANTUML_HOME%\plantuml.jar"
-runs app
Double quotes were intended to avoid problems with the space in the path. Without them it works.

I'm glad to become your help.
Tyank you.


FCP: Language bindings

So I'm not opposed to using like an Array object or SizedBuffer but both sides of the interface must know about it. Rust has been interesting when you want to create arrays and pass them across the FFI boundary. In those cases you might have to create the struct in a separate call which makes it more complex and subject to more misuse. We can try to make a C like struct and see if its possible to use that across the boundary in a clean way.

@dhuseby showed me this crate that I really like and matches patterns I've used in the past with additional safety guarantees. I'd recommend everyone to take a look at it.

I'm approving, as per our discussion last week.  I'll defer to the expertise of people on here--this kind of practical stuff is not my strong point.

I think to move forward we should rework this RFC to use the ffi-support crate and serialization/deserialization across the FFI boundary either with flatbuffers or capnproto or something like that. Protobufs has much wider support among the languages that would be calling Ursa (e.g. Python, Java, Javascript, Golang, etc) so maybe that's a much smarter direction to go in.

@dhuseby feel free to fork my branch and submit a PR to mine then I’ll merge it with mine

Ok, so this is the naming convention for paths/repos for languages, i.e. not java-script but js.

Yes

Is the intent that "“libursa/bindings//folder” is checked into the repo or is the intent that it is generated as part of the build?

Is the intent that "“libursa/bindings//folder” is checked into the repo or is the intent that it is generated as part of the build?

Both actually. We would have libursa/bindings that would be checked into the repo and be as autogenerated as possible. Not all bindings can be. For now I recommend just doing C bindings as requests happen.


Ability to reorder Bookmarks

Hi,
I am using yourt fork, because I like to use categories in Applications. I would like to ask if it is possible to reorder bookmarks, applications?
Regards,
Adrian

Yes, it is possible to reorder bookmarks, applications and categories.
Make sure the sort order is set to "Custom order" in the General settings :

Once that is set, you should be able to drag and drop items in the Applications, Bookmarks and Categories edition pages.

Thanks, I enabled.
The only place I got it working is in the edit categories page:
https://user-images.githubusercontent.com/733361/218801356-1075aa93-e082-4a23-8ce9-b79aee466ad4.mov
For some reason I can't reorder apps.

Ahh, got it. It's working flawlessly. Thank you.


Ability to append headers to requests

Please use the following questions as a guideline to help me answer
your issue/question without further inquiry. Thank you.
Which version of Elastic are you using?
[ ] elastic.v2 (for Elasticsearch 1.x)
[ ] elastic.v3 (for Elasticsearch 2.x)
[ ] elastic.v5 (for Elasticsearch 5.x)
[ x ] elastic.v6 (for Elasticsearch 6.x)
Please describe the expected behavior
As of ES6, you can add a the X-Opaque-ID header to requests in order to be able to trace/track tasks as they execute. This functionality is found in the ES documentation here:
https://www.elastic.co/guide/en/elasticsearch/reference/6.2/tasks.html#_identifying_running_tasks
The current version of this API doesn't allow headers to be appended.  I modified the source code to resolve this, but it appears I can't make a branch to make a PR without first creating an issue.
Please describe the actual behavior
That the library provides a way to attach headers to the requests that are submitted to ES.
Any steps to reproduce the behavior?
If you show the list of running tasks, the headers field is always empty.  The impacted files are attached.  I only modified the ScrollService and TaskList (as opposed to all services) because that was the service I needed to use for my personal case.
Here are the modified files:
elasticHeaders.zip

Add in 51d010201ba7bcb2dec3d84f225fec8617de11d5 and 51d010201ba7bcb2dec3d84f225fec8617de11d5.


Update MpesaHelper.php

I am not able to reproduce the issue raised in this pr . Also this pr introduces breaking changes.
The best option would be to call $response->json() from your side rather than introduce it within the package and explicitly format the response to be returned as an associative array.
Example
use Iankumu\Mpesa\Facades\Mpesa;
$response=Mpesa::stkpush($phonenumber, $amount, $account_number,$callbackurl = null);

 /** @var \Illuminate\Http\Client\Response $response */
$result = $response->json(); // provides the json decoded data as an associative array
return $result;


test: Revert "test: adjust expectations in ml tests after bqml update"

Reverts googleapis/python-bigquery-dataframes#972
BQML is reverting the change.

All tests passed. Merging to unblock release.


Where can I get pretrained weights for autoencoder？

When I tried to run run.py, I found that running this model requires pretrained weights for autoencoder, but I couldn't find where to download this weight.

Here is the link:
https://drive.google.com/file/d/1ncAWUMvLq2ETMpG-7eI9qfILce_cPPfy/view


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/64491

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/64831


Documentation

Added detailed steps to clone repository, install mdbook and run the application on localhost

PR related to https://github.com/rohansx/web3-security/issues/1

could you please add brief description about this repo

Done


Known issue

The core of the message distribution is single threaded which can cause problems on platforms with multiple simultaneous users, like a web page. This issue should be fixed along with the cascading effects on current code.

I have made every command and query async.


Highlight item on collision

The menu item should now stay highlighted while draw and measure are in use

@Nixxs The menu item should now stay highlighted while draw and measure are in use. If you could test on the table next time you are testing that would be great. The button has been changed to optionally return the button id on callback


The content is cut off in the last row of the table

The content is cut off in the last row of the table.
To Reproduce Steps to reproduce the behavior:

Go to https://visualize.admin.ch/de/v/_zFtZDl0kw12

The content is cut off in the last row of the table.
Screenshot

Environment (please complete the following information):

Visualize environment and version: Prod
Browser: Safari 18.0.1 (206<IP_ADDRESS>.7) and Chrome  130.0.6723.58

What is the status of this issue? In my opinion, this is a pressing issue because users do not know that they are not seeing the full table and could come to misinterpretations.

@cype thank you for your note. We are planning to investigate the issue this week.

@BenjaminHofstetter @cype
The fix is ready for your review on INT (int.visualize.admin.ch). Also see the example chart here: https://int.visualize.admin.ch/v/QGCXVC05n5uQ?dataSource=Prod
We would appreciate if you could have a look and confirm that the fix works as expected. We are planning a deployment to Production with the fix next week.

That looks great! Thanks a bunch!


No documentation on private_key_filename.txt

I'm setting up the python API and I can't see any resources on how to populate the private_key_filename.txt file.
I have a private key, but a private_key_filename.txt file containing just the key will cause errors. Can somebody add some docs on this? Thanks

Nevermind, I found it. There is an example here: https://github.com/docusign/docusign-python-client/blob/master/test/keys/docusign_private_key.txt

You can also use the example https://github.com/docusign/eg-01-python-jwt

And for more code examples see https://github.com/docusign/eg-03-python-auth-code-grant


Fix UML bugs in DG

Codecov Report
Base: 59.46% // Head: 59.46% // No change to project coverage :thumbsup:

Coverage data is based on head (23fc7a7) compared to base (b4d4c2b).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff            @@
##             master     #262   +/-   ##
=========================================
  Coverage     59.46%   59.46%
  Complexity      850      850
=========================================
  Files           139      139
  Lines          3520     3520
  Branches        421      421
=========================================
  Hits           2093     2093
  Misses         1245     1245
  Partials        182      182

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


the latest integration sdk is not published to maven (6.2.0)

Report
Plugin Version
6.2.0
On what Platform are you having the issue?
6.2.0
What did you do?
trying to install the latest integration SDK
What did you expect to happen?
getting the latest version 6.2.0
What happened instead?
I got an error that the version is not available in maven

Hi @MoemenMostafa ,
We just released it to maven. It should be available soon!


fix timeseries and scatter plot order and opacity

[x] Closes #547. closes #548  .
[x] I am familiar with the contributing guidelines.
~Tests added.~
~Updates entries to docs/source/api.rst for API changes.~
[x] Adds descriptions to appropriate "what's new" file in docs/source/whatsnew for all changes. Includes link to the GitHub Issue with :issue:`num` or this Pull Request with :pull:`num`. Includes contributor name and/or GitHub username (link with :ghuser:`user`).
[x] New code is fully documented. Includes numpydoc compliant docstrings, examples, and comments where necessary.
[x] Maintainer: Appropriate GitHub Labels and Milestone are assigned to the Pull Request and linked Issue.

@williamhobbs thanks again for creating these issues. Here are some examples with 9 months of hourly forecasts and observations. Do you have a favorite?
opacity = 0.15

opacity = 0.25

opacity = 0.35

opacity = 0.5

opacity = 0.75

opacity = 1.

And here is opacity 0.25 and 1 with just a single forecast.

Feels like I'm looking at two different forecasts. Disturbing.
Personally, I think 0.25 pretty good overall. I made 0.15 and 0.35 after deciding I liked 0.25. I like 0.15 more than 0.35. The discrete points in 0.15 get hard to see, so I'll keep my vote with 0.25. The only thing I don't like about it is that the legend is kind of hard to see, but I don't want to fiddle with that in this PR.

And just a month of data for 0.25 and 1.0

I might prefer opacity = 1 in this case, but not strongly. I don't want to fiddle with setting opacity based on the number of points, so I think 0.25 or similar is still the overall winner.

Ah, one more... Plotly documentation recommends that we combine both marker and trace opacity.
marker opacity = 0.5, trace opacity = 0.5

marker opacity = 0.5, trace opacity = 0.25

I flipped back and forth between images in browser tabs and I couldn't see any benefit to specifying both opacities. So my vote is still the simple marker opacity = 0.25.

Glad to help. These look greatly improved.
Marker opacity of 0.25 looks like a good balance to me. Going lower might help on really large/concentrated datasets, but it would make single months hard to read. And the legend legibility becomes an issue at lower opacity.
My next thought is that uniform axis tick mark intervals might help as well, but that's pretty minor.

My next thought is that uniform axis tick mark intervals might help as well, but that's pretty minor.

Agreed. Latest commit fixes #419.

Added a quick hack to render W/m^2 as W/m2. A more unified approach to units rendering would be better but I think we should save that for a bigger plotting refactor. Here's what it looks like.

No need to worry about implications for pdf reports since these plots are not included in the pdfs.
I'll merge when the CI is green.


Scroll back to top

This PR adds a button that, when clicked, scroll the user back to the top. This is especially helpful on long pages such as https://www.cockroachlabs.com/docs/sql-grammar.html.
@kuanluo, PTAL. You can preview the feature here: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/d8254a05cd55b91f12b3ef3cd55204fd4daf44ae/
Some questions/concerns of mine:

I used the image you provided, but I'm worried that there's not enough contrast between the white background of the page and the background color of the image. Thoughts?
Should the button change on hover, as happens for pretty much all other buttons on the site?
What do you think about the placement? Would you like me to try it elsewhere?

Fixes #639

This change is

Hey thanks, @jseldess!
It works great. To your questions:

I used the image you provided, but I'm worried that there's not enough contrast between the white background of the page and the background color of the image. Thoughts?
What do you think about the placement? Would you like me to try it elsewhere?

It is very subtle and not easy to notice at the current place. What do you think about moving it up and more to the left (screenshot attached)?

Should the button change on hover, as happens for pretty much all other buttons on the site?
Yes, it should. I was looking for a subtle hover state. What do you think about this:

@kuanluo, made final changes, based on our recent chat:

new default image with grey border
on hover, we use js to switch to an image with a blue border
image is 50% down the page for greater visibility

You can check these updates here: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/e909e670f651a5fb5a33eb70ad78b78519650d16/

LGTM! Thank you!


[docs] Improve instructions for building Android.

Problem
Certain steps in the Android build instructions are vague.
Change overview
Provide more details on expected install paths and exact NDK versions required to build.
Testing
Locally built Android based on the documentation improvements.

Accepted for 1.0: documentation changes


Pegging 1 vote to 1 hour of work

There are a few issues with pegging 1 vote to 1 hour of work. If you peg it to the USD, it doesn't account for differences in the minimum wage between countries. For instance in Australia, the minimum wage is about 22 AUD. While in developing countries, the minimum wage will be lower. So it may be better to peg one vote to the minimum wage in fiat of one's jurisdiction, similar to Chronobank.

The vote token is not being pegged to the USD - only the initial price is set relative to an hourly wage based in USD.  Otherwise, the value will be market-based.

Ah, OK.

Although regarding ICOs, there are some other novel ways that could be better, although maybe it's a bit late (but not too late) to implement them.
https://ethresear.ch/t/daico-and-iterative-investment/1052
https://github.com/DemocracyEarth/paper/blob/master/README.mediawik

Is this issue closed now @jamesray1 ?


Fixed the broken links in metadata.md

Fixed the broken lines for 'TensorFlow Lite Android code generator' and 'Android Studio ML Binding feature'

Hi @lu-wang-g Can you please review this PR ? Thank you!


chore: use ECR registry for images

(will leave it to @sweatybridge to finalize this)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 22 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 23.901%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/start/start.go
0
22
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1196

Relevant Lines:
5004

💛  - Coveralls

Oh I just saw this after merging #364. Same idea, but i added an internal env var, in case this blows up and we want to switch back.


MockHttpTransport instead of objects mocks in GoogleCloudStorage

I moved some tests to not use Mocks anymore.

/gcbrun


small migration howto from elasticutils to elasticsearch-dsl would be nice

I guess full explanation would be pointless but 1 - 2 pages long howto could be useful for people like me
Mainly, elasticutil's mapping class to elasticsearch-dsl's doctype class. extract_document , get_mapping and so on.
(It will take me some time to figure out what's possible and what's not convertible)...
Thanks

It'll be really different for everyone. It's not something I think we can generally do. Sorry.

Well that's understandable.
I'd like to ask specific questions if possible.
Is there an equivalent of extract_document  in elasticsearch-dsl?
I could do dynamic things such as building a list in extract_document, but not sure if I could do that with elasticsearch-dsl.
Elasticsearch-dsl's doctype seems similar to mapping in elasticutils but their document doesn't say much.

I helped a bit early on with the initial architecture, but haven't really touched it since then. The projects I'm working on are still stuck on Elasticsearch 0.90.
I don't think anyone else looks here, so I think you should be asking elsewhere. For questions about elasticsearch-dsl, you should ask wherever they handle questions.

ok Thanks for the response!


fix(chat): remove empty chats from publish modal (Issue #1558)

Description:
remove empty chats from publish modal
Issues:

#1558

Checklist:

[ ] the pull request name complies with Conventional Commits
[ ] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[ ] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[ ] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review


Archive PloneConf 2023, prepare for PloneConf 2024

The following tasks need to be performed to archive the trainings from PloneConf 2023 and prepare for PloneConf 2024.
See also https://github.com/plone/training/issues/672

[ ] #849
[x] Configure DNS for 2023.training.plone.org
[x] Configure web server for 2023.training.plone.org
[x] Update Matomo to track new hostname
[x] Cut branch 2023 from main
[x] Ensure 2023 branch deploys to 2023.training.plone.org
[x] Update the home page to mention the 2023 archive

List of trainings to keep or add for PloneConf 2024

Mastering Plone 6 development
Mastering Plone 5 development
Volto Hands-On
Volto Add-ons Development
Volto Customization for JavaScript Beginners
Effective Volto
Testing Plone
Plone 6 Classic UI Theming
Plone Deployment
Plone Workflow
Migration best practices

I've completed all the tasks above, except determining which trainings will and will not be presented for 2024, which is now in an issue of its own. @polyester and I will work on that during the summer. @ericof we'll be in touch. Closing as done!


Live demo?

Do you have a live demo somewhere to link to? I don't see one in the docs.

Hey Louis,
That's a very good idea, I'll make one soon!
There is an undergoing important feature I'm working on right now.
It should be ready tomorrow, so I'll make an Expo Snack when the new version is released.
I'll update this once it's ready.
Have a great day :)

I just updated the README, you can quickly try any property using this sandbox.
If you have a few ideas for examples I could add to the playground, let me know.
I'll close the issue for now but feel free to reply

@eveningkid That's great, thanks! I do a newsletter on tools so I wanted to include it, but was hoping for a demo page before I did.


fix(index): export Icon from index.jsx

So we can write import { Icon } from '@edx/paragon';.

Coverage remained the same at 99.579% when pulling 8f0b7f28fb01fa31a06446abe155c478b5eaf64d on thallada/export-fix into efd86c59fe6266b569939a2d5f526fce5f2ecafc on master.


Add dladdr1 for GNU/Linux platforms

Hey, this is my first pull request in a large open source project. Let me know if I'm missing anything or if you see any compile errors. This addresses dladdr1 missing in the libc library for GNU/Linux platforms.

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @Amanieu (or someone else) soon.
Please see the contribution instructions for more information.

Uhm, looks like you've not allowed maintainers to access your fork and I cannot fix the issue by my hand...

@JohnTitor How can I fix it for future PR's including this one? This is what I see (Allow edits by maintainers is checked):

Hmm, then that's weird. Usually, I can push commits with it checked but this time it's rejected by "permission denied".
Anyway, it's lucky that you're here while we prepare a release :) Could you run cargo +nighly fmt and push it (it's ideal to fixup the change)?

@JohnTitor cargo fmt completed

Thanks! @bors r+

:pushpin: Commit 2d6c833ad84044a87614899e60e139514faa9211 has been approved by JohnTitor

:hourglass: Testing commit 2d6c833ad84044a87614899e60e139514faa9211 with merge bddd5e736473d43524c9195e78a5dd8cdcf31289...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing bddd5e736473d43524c9195e78a5dd8cdcf31289 to master...


Add an endpoint to query users by customer

A frequent use case will be to query all users belonging to a customer, so adding an endpoint for this query will simplify things.

This functionality now exists with the tagging.


framework/core/hpp_vulkan_resource.h: add header include that defines std::exchange

This avoids:
| In file included from /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/vulkan-samples/git-r0/git/framework/core/hpp_vulkan_resource.cpp:18:
| /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/vulkan-samples/git-r0/git/framework/core/hpp_vulkan_resource.h: In constructor 'vkb::core::HPPVulkanResource<HPPHandle, VKBDevice>::HPPVulkanResource(vkb::core::HPPVulkanResource<HPPHandle, VKBDevice>&&)':
| /srv/work/alex/poky/build-64-alt/tmp/work/core2-64-poky-linux/vulkan-samples/git-r0/git/framework/core/hpp_vulkan_resource.h:50:25: error: 'exchange' is not a member of 'std'
|    50 |             handle(std::exchange(other.handle, {})), device(std::exchange(other.device, {}))
|       |                         ^~~~~~~~

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Alexander Kanavin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Cleanup - eslint - move some rules ignoring to global

Part of https://github.com/wagtail/wagtail/issues/8731
Allow all code to ignore these two rules as this aligns better with common conventions in the code, move these ignoring rules out of legacyCode and into the general ignoring.
[ ] Follow up - If approved / merged - I will raise an issue for each of these on the wagtail eslint repo for these maybe being removed at that level (along with any others).
[ ] Additional follow up - PR based on https://github.com/lb-/wagtail/tree/cleanup/8731-eslint-fix-utils-version (clean up of the version file, including unit tests & migration to typescript)

remove prefer-promise-reject-errors ignoring completely - this does not flag any warnings and is a useful default to have
'max-classes-per-file' - this does not align with larger portions of code where one file can contain multiple 'things', there is not a strict convention of one file per thing (as per the rule to not use default only export being ignored) and adding this strictness does not seem to give much benefit.
'class-methods-use-this' - this also seems to not give much benefit and forces us away from common conventions where splitting logic up into class methods where suitable is useful. Static methods cannot be inherited easily and external functions do not always make sense.
no-else-return- See comment. Sometimes code just naturally reads as an equal choice between two alternatives - "return one thing, or return another thing" - and turning one of those cases into a fall-through just seems needlessly quirky for no benefit. It also causes some issues if you wrote the code one way (returning for branches) and then want to re-write for return at the bottom you now have to re-add all the else.
prefer-destructuring - See comment. This can cause confusion with "map this object to an object with one property" vs "read this property and set it to a variable". It really does not aid readability, nor does it give us too much benefit for potential code issues. Plus, for new JS devs - destructuring can be hard to grok.

@thibaudcolas  - I have updated this to include four rules to go to the 'global' instead of the legacyCode ignoring.
See linked comments with feedback for @gasman for additional context.

@thibaudcolas  checking in to see if you are able to take a look at this one

Rebased

@lb- I’ll get to this on the first week of September – feel free to run this past someone else if you’d like to get it reviewed sooner.

Update - https://github.com/wagtail/wagtail/pull/9233 raised to be a smaller scoped version of this PR

Marking as draft. Will revisit this approach and aim to do smaller PRs split from this further.

Closing - other PRs have been created to address most of this.

https://github.com/wagtail/wagtail/pull/8746
https://github.com/wagtail/wagtail/pull/9482
https://github.com/wagtail/wagtail/pull/9483


Add generator parameter to random transforms

Closes https://github.com/pytorch/vision/issues/7027
Tests will be failing as long as https://github.com/pytorch/pytorch/pull/107131 isn't merged.
Not all random transforms have been ported yet. We'll also need a bunch of docs.

TODO: Before I forget, I need to address CutMix and MixUp which rely on torch.distribution...

I'm gonna close this until I revert the revert of https://github.com/pytorch/pytorch/pull/107131, which may or may not happen.


Feat: add ni --reinstall

ni --reinstall / ni -R deletes node_modules before running install
Notes: the tag property on CommandWithPrompt was added for easier checking of specific flows i.e. delete_node_modules isn't allowed when doing ni -g, same for a nother PR I want to open ni --full or --clean which will delete the lock file and rerun ni (which also isn't supported for -g, but also not in i.e. ci)

Thank you, but no. To me, I'd like to keep ni simple as the alias layer. For more functionality, they should go to the package manager instead (or your local alias).

@antfu I respect your decision, I'll keep adding features to my fork and deploy it to npm for myself, and if at some point you want to sync features I'd be happy to help.
Will try to push "actually useful" stuff here (i.e. deno support)

@Zeko369 If you end up far beyond the current ni, I am happy to link it in the README for ppl who prefer more integrations.


hurl: 4.0.0 -> 4.1.0

Description of changes
https://github.com/Orange-OpenSource/hurl/releases/tag/4.1.0
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 264032 run on x86_64-linux 1

2 packages built:

hurl
vimPlugins.hurl

Result of nixpkgs-review pr 264032 run on aarch64-linux 1

2 packages built:

hurl
vimPlugins.hurl


Suggestion: Ability to set shortcut to search/open directly to browser

Would be great if we could search/open directly into the default or in-game browser.
And issue #171 would be good as part of this as I dont use the ingame browser at all. A lot of people have two monitors so in game browser isnt used much.

Hi, thanks for creating an issue.

Would be great if we could search/open directly into the default or in-game browser.

with all stats selected? or only preselected stats? what's the purpose of this feature? Thanks in advance!

Should just be the preselected stats. Often you need to do more details comparisons on other items in the market, having it in a browser helps compare stats to other similar items.
Also sometimes you just want to open it in the browser so you can come back to it later etc.
In trademacro ctrl+q or alt+q was used for this.

Should just be the preselected stats. Often you need to do more details comparisons on other items in the market, having it in a browser helps compare stats to other similar items.
Also sometimes you just want to open it in the browser so you can come back to it later etc.
In trademacro ctrl+q or alt+q was used for this.

Alright. Thanks for your explanation! 👍

Any update on this?

Any update on this?


Error when running pixelflow for a mask with no labels

Attempting to run pixelflow on a mask with no labels produces the following error:
Cell In[7], line 10
---> 10     features = pixelflow(
     11         mask,
     12         image,
     13         #custom=(custom_func,),
     14     ) #create table with metrics for each seed
     15     features_csv = features.to_csv('/bask/homes/l/lwcf1795/vjgo8416-scivision/plant-phenotyping/3D_seed_biodiversity_data_200723/first and second rep/' + pod_name + '.csv',
     16                                    header=True, index=False) #save metrics for all seeds in a pod to csv

File ~/src/pixelflow/src/pixelflow/core.py:200, in pixelflow(mask, image, features, custom, dim_labels, labelled)
    198 # calculate the 3D features
    199 features_dat3d = regionprops_3D(mask)
--> 200 features_df3d = props_to_DataFrame(features_dat3d)
    202 # if only certain features are requested, then filter the dataframe
    203 if features is not None:

File /bask/projects/v/vjgo8416-scivision/isq_conv_conda_env/lib/python3.9/site-packages/porespy/metrics/_regionprops.py:64, in props_to_DataFrame(regionprops)
     62 # Parse the regionprops list and pull out all props with scalar values
     63 metrics = []
---> 64 reg = regionprops[0]
     65 for item in reg.__dir__():
     66     if not item.startswith('_'):

IndexError: list index out of range

I've verified that this was in fact a seed pod with 0 seeds, and therefore my seed detection model correctly produced a mask with 0 labels.
This is a problem mostly when running pixelflow over multiple images, as this error interrupts the automated loop.
The behaviour I would like to see is pixelflow skipping over a mask with 0 labels when going through a loop of files, or better yet flagging the empty mask with a print out i.e. 'mask_name.npy has 0 labels'

Happy to look in to this - it sounds like a should be easy to solve. Could you send me an example mask so I can test the fix?

Thanks I've sent you an example empty mask

Addressing this in IFenton-37-BugFix

I can now successfully automatically create pixelflow 'features' objects for multiple files even if some mask files contain 0 labels, however attempting to also output .csv files with the features information as part of a loop over multiple files as below:
for file in X:
    image = imread(file) #load whole pod image
    pod_name = re.split("[/.]", file)[9] #save pod name for outputs
    mask = np.load('/bask/homes/l/lwcf1795/vjgo8416-scivision/plant-phenotyping/3D_seed_biodiversity_data_200723/first and second rep/' + pod_name + '_pred.npy') #load whole pod label for metrics calculations
    features = pixelflow(
        mask,
        image,
        #custom=(custom_func,),
        ) #create table with metrics for each seed
    features_csv = features.to_csv('/bask/homes/l/lwcf1795/vjgo8416-scivision/plant-phenotyping/3D_seed_biodiversity_data_200723/first and second rep/' + pod_name + '.csv',
                                    header=True, index=False) #save metrics for all seeds in a pod to csv

Now gives the following error for files in the list with empty masks
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[6], line 14
      8 mask = np.load('/bask/homes/l/lwcf1795/vjgo8416-scivision/plant-phenotyping/3D_seed_biodiversity_data_200723/first and second rep/' + pod_name + '_pred.npy') #load whole pod label for metrics calculations
      9 features = pixelflow(
     10     mask,
     11     image,
     12     #custom=(custom_func,),
     13     ) #create table with metrics for each seed
---> 14 features_csv = features.to_csv('/bask/homes/l/lwcf1795/vjgo8416-scivision/plant-phenotyping/3D_seed_biodiversity_data_200723/first and second rep/' + pod_name + '.csv',
     15                                 header=True, index=False) #save metrics for all seeds in a pod to csv

AttributeError: 'NoneType' object has no attribute 'to_csv'

Adding if features is not None to the for loop before attempting to output a csv of the features table as shown below prevents this problem
for file in X:
    image = imread(file) #load whole pod image
    pod_name = re.split("[/.]", file)[9] #save pod name for outputs
    image = normalize(image, 1,99.8, axis=axis_norm) #normalize image. NOTE: normalizer MUST be defined in step 3 and supplied here for prediction to function as expected
    mask = np.load('/bask/homes/l/lwcf1795/vjgo8416-scivision/plant-phenotyping/3D_seed_biodiversity_data_200723/first and second rep/' + pod_name + '_pred.npy') #load whole pod label for metrics calculations
    features = pixelflow(
        mask,
        image,
        #custom=(custom_func,),
        ) #create table with metrics for each seed
    if features is not None:
        features_csv = features.to_csv('/bask/homes/l/lwcf1795/vjgo8416-scivision/plant-phenotyping/3D_seed_biodiversity_data_200723/first and second rep/' + pod_name + '.csv',
                                        header=True, index=False) #if a pod has seeds, save metrics for all seeds in a pod to csv

@evangeline-corcoran Is this now resolved?

Yes I'm happy with this solution


TcpSocketOptions::ipv6_only flag should be optional

What is the problem your feature solves, or the need it fulfills?
An application setting TcpSocketOptions::ipv6_only flag will often cause an error to be logged. That might be because the application misinterpreted the address as IPv6 (cannot set the flag on IPv4 addresses), or because the OS doesn’t support this flag (seems to be the case for BSD-based operating systems). This means: the application shouldn’t have to choose if it doesn’t really want to.
This isn’t a problem right now because TcpSocketOptions only contains one field – if an application doesn’t want to set ipv6_only flag, it calls add_tcp instead of add_tcp_with_settings. Should TcpSocketOptions be extended as planned in future, this will become a problem however.
Describe the solution you'd like
This field should have Option<bool> as its type, with None keeping the system’s default behavior. The latter is always safe.

Correction: this already is an issue. The TcpSocketOptions structure has been extended already, there changes merely aren’t released yet.

Thanks for reporting. This fix will be included in one of the upcoming syncs.


Add a default description to Geometry type

It would be nice if there was a default description in a Meta class of the Geometry type which would describe which formats are accepted

@mongkok Great! Thank you:)


OAK-11203 : added support for delayFactor, progress/batch size overri…

…de from oak-run for full GC

merging as discussed offline


How can change picture size which has inserted?

How can change picture size which has inserted?

+1 on this. also how to change size of video?

Do you tried to use ImageResize plugin ?
https://github.com/davidroyer/vue2-editor#version-2---you-import--vue2editor-registers
import ImageResize from 'quill-image-resize-vue'

This issue is stale because it has been open for 60 days with no activity.

This issue was closed because it has been inactive for 7 days since being marked as stale.


fix : workspace.open with initial cursor position bug

Description
When opening already opened file via atom.workspace.open(path,{ initialLine: 0,  initialColumn: 0, searchAllPanes: true} ), cursor position doesn't move to row : 0, column:0.
Check below screenshot.
I run code on console.
var indexPath = "/Users/yomybaby/Documents/AWorkspace/demo-atom-package/app/controllers/index.js"
setInterval(function(){
  atom.workspace.open( indexPath , {initialLine:0, initialColumn:0, searchAllPanes:true});
},1000);

Expected result:
Whether or not file is opened already, cursor position has to be [0,0].
Same result of below code
var indexPath = "/Users/yomybaby/Documents/AWorkspace/demo-atom-package/app/controllers/index.js"
setInterval(function(){
  atom.workspace.open( indexPath , {searchAllPanes:true}).then(function(te){
    te.setCursorBufferPosition([0, 0])
  });
},2000);

It would be great to have specs for this to prevent regressions.

cc @nathansobo

Adding some specs for this now.