Implement "content_iterator" step

Implement "content_iterator" step

Where is the state meant to live? We could

traverse the metadata to find all the URLs + checksums and pass the state of this recursive search around,
store the list of all URLs + checksums somewhere semi-permanent and pass the index around, or
pass the list of unprocessed URLs + checksums around and modify it as we finish processing.

Some relevant considerations:

If the list isn't enormous I would generally prefer passing it around to avoid having to deal with additional storage complexity.
If we pass around the full data rather than references to storage we are much more likely to run into hard AWS limits. I'm not sure how likely, but IIRC we need to be able to deal with millions of files in a dataset.
If we need to traverse the list more than once (and we probably do, since we'll want to separate checksum validation from copying files around) then we need some way to keep the full list around for multiple jobs.
Recursing through the metadata repeatedly is going to be costly, but could allow some code reuse.

Is there anywhere convenient to store this for the lifetime of a batch execution? Do batch runs have some built-in state storage which is easy to read/write? If not, S3 or DynamoDB seem like obvious choices.
In a local system and with metadata size << RAM size I would expect to implement this as follows:

Some job collects all the URLs and checksums from the metadata. This could happen during metadata validation for efficiency, even though that means that job being responsible for more than one thing. This list is passed up the stack to the orchestrator.
The orchestrator passes the full list to the content iterator.
The content iterator validates N checksums in parallel.
Repeat until end of list.
The orchestrator passes the full list to the file copying job.

Where is the state meant to live? We could

traverse the metadata to find all the URLs + checksums and pass the state of this recursive search around,
store the list of all URLs + checksums somewhere semi-permanent and pass the index around, or
pass the list of unprocessed URLs + checksums around and modify it as we finish processing.

Some relevant considerations:

If the list isn't enormous I would generally prefer passing it around to avoid having to deal with additional storage complexity.
If we pass around the full data rather than references to storage we are much more likely to run into hard AWS limits. I'm not sure how likely, but IIRC we need to be able to deal with millions of files in a dataset.
If we need to traverse the list more than once (and we probably do, since we'll want to separate checksum validation from copying files around) then we need some way to keep the full list around for multiple jobs.
Recursing through the metadata repeatedly is going to be costly, but could allow some code reuse.

Is there anywhere convenient to store this for the lifetime of a batch execution? Do batch runs have some built-in state storage which is easy to read/write? If not, S3 or DynamoDB seem like obvious choices.
In a local system and with metadata size << RAM size I would expect to implement this as follows:

Some job collects all the URLs and checksums from the metadata. This could happen during metadata validation for efficiency, even though that means that job being responsible for more than one thing. This list is passed up the stack to the orchestrator.
The orchestrator passes the full list to the content iterator.
The content iterator validates N checksums in parallel.
Repeat until end of list.
The orchestrator passes the full list to the file copying job.

Closed since this is effectively a task of #4.


server side support

Is this possible to add server side support ?

Love the new uv-tls-engine.
When add the server side support, please consider add SNI api, so it can handle multi domain in one listen socket.

Given that this has not moved in four years I assume there is no need for this from the openziti project, right? So no one is like working on this? @ekoby you know? :)

Correct, we don't need server side support for openziti SDK.
I don't have free time to allocate to it at this point.
We do welcome contributions if you want to take a crack at it


IllegalStateException: com.facebook.react.uimanager.IllegalViewOperationException: ViewManager for tag 63 could not be found

I basically just switched from react-native-fbsdk to this package, and didn't change anything. However, as soon as I started the app, I ran into this exception: https://sentry.io/share/issue/57d3875ef958442e8a3e90b2a2202934/ . The app didn't crash tho and since i'm not using any of the UI elements provided by fbsdk, so I'm not sure if I should be worried about the exception.
(Sentry crash report shared above)

Unfortunately "basically just..." is not sufficient to reproduce a problem. I'm using this library in production and not seeing the error. We need a reproduction of the problem to do any triage - an App.js that shows the problem on a repo started from npx react-native init fbrepro or similar https://stackoverflow.com/help/minimal-reproducible-example

yo @mikehardy i'm gonna ignore that "basically just..." part (tho it did hurt :) )... either way, let me try with a new project and i'll get back if I still see the error

I'll be happy to check it if you can post a reproduction, hopefully 🤞, in the attempt to make a minimum reproducible example the problem becomes clear

Still missing reproduction, no activity. Can always reopen, but closing to clean issue list.


max_tokens parameter

You set the max_tokens parameter to what number?
thanks for your service, bytheway
I test several applications and yours is the best one

thanks man!
https://github.com/jw-12138/davinci-web/blob/main/back-end/main.cjs#L227
As you can see in the source file, i didn't set the max_token, according to the official openAI API, the default value is Inf, and the model can process up to 4096 tokens of information.


Can't log in on the client

Describe the bug
When I try to log on, the whole client freezes and then closes. I uninstall the client and re download it, but it keeps doing it.
Environment (please complete the following information):

Windows

Same issue. Windows 64 bit. working on my brothers PC but not mine. Deleted cache, still not working. reinstalled twice.

Duplicate of #5675


Write Paraview and QGIS acceptable (netcdf) files

In GitLab by @Huite on Jun 20, 2019, 17:48
Reading model output and then dumping it into a netcdf does not lead to files that are gladly accepted by ParaView and QGIS.
This is primarily a matter of setting the right metadata, if I understand correctly.
I guess this would look like a module called imod.visualize.write, with two functions such as to_paraview_netcdf() and to_qgis_netcdf().
Another options is to vtk or (binary) tecplot, which are, if I understand correctly again, are essentially a matter of generating arrays of coordinates, and then dumping the numpy arrays into a file. Slight complication might be writing one chunk at a time, and sorting the chunks  -- if that's necessary at all.
Joeri, maybe you can share a snippet of what you're doing to write for paraview?
https://gitlab.com/deltares/imod/imod-python/snippets

In GitLab by @JoerivanEngelen on Aug 21, 2020, 18:25
Just an update on this before my holiday:
The branch currently is able to produce a projectfile that can be read by qgis, but the most important TODO's still are:

Write and support data without a time component (e.g. hydraulic conductivities)
Get proper time information in the projectfile, at it is now still hardcoded for my example
Automatic styling. Unfortunately the colorramp is ignored and a list of colors per value is required to plot something instantly. User now has to click styling and classify him/herself.
Add tests (I've got a test model I locally use, which can probably be used for a comparison, see test_model_simple.py )

Things to consider:

The qgis project file format is changed slightly with each QGIS update, this means that we every now and then we will have to change some variable names or add some settings with each QGIS update (and force our users to update their QGIS, but that should not be such a big deal as we also do not support old versions of xarray for that matter).
I found it very hard to debug a not working .qgs file. Qgis does not throw errors as long as long as the xml format is correct, so today I for example ran into a weird issue where Qgis apparently expected a character string of a certain length for "layer_id", which I was unaware off. How I figured this out is by painstakingly taking my generated .qgs file, compare it by content with a working .qgs file and change stuff one difference at a time until I got a working .qgs file.

This combination can make it quite frustrating to support the writing of .qgs files, especially since the readers of declxml do not support reading optional arguments, so one cannot observe what kind of xml object would be required to get a working example.

In GitLab by @JoerivanEngelen on Aug 19, 2020, 12:05
Working on an implementation of this in the following branch:
https://gitlab.com/deltares/imod/imod-python/-/tree/qgis_proj

In GitLab by @JoerivanEngelen on Sep 4, 2020, 12:07
TODO's in progress:

[x] Write and support data without a time component (e.g. hydraulic conductivities)
[x] Get proper time information in the projectfile
[x] Automatic styling.
[x] Add tests

In GitLab by @JoerivanEngelen on Nov 10, 2020, 11:15
Implemented with:
https://gitlab.com/deltares/imod/imod-python/-/merge_requests/104


Invoice Example: Association between DataStoreReference and UserTask disappears on save

Association between DataStoreReference and UserTask disappears
In the invoice example of the BPM platform project, there is a BPMN model containing a DataStoreReference that is associated with a UserTask. (It is not possible to model this association via the modeler GUI btw) The association is removed when saving the model and can only be replaced manually with a DataInputAssociation.
The invoice example will use the DataInputAssociation in the future, but I still think this should not happen with models using the simple Association.
Unfortunately, since the environment to reproduce this issue is very instable (i.e. saving or switching to XML view already triggers the issue) and the simple Association can not be added with the modeler GUI, I can not provide a minimal example. The issue is easy to reproduce with the invoice example model, though.
Steps to Reproduce

Open the model (from the platform repo)
change something
save the model
the association has disappeared

Expected Behavior

The Association does not disappear when changes are saved

Environment

OS: Windows 10
Camunda Modeler Version: 3.5.0

Minimal test case: test.bpmn.txt

The problem / underlying bug is that we do not allow associations in that place anymore. That in term leads to the association being removed.

I imagine this diagram is a couple of years old?

Do you guys mind changing it?

The current state is two years old. I already changed it to use a DataInputAssociation instead.


How to implement custom colors and how to override groupbox text color on individual buttons or other controls.

I discovered that if you do groupboxStandardApps.ForeColor = Color.White and buttonRunWord.ForeColor = Color.Black, then the text color for the Word button overrides the groupbox color.
Note that this was copied from a recent commit and I think that the best way to implement custom colors is to actually set up themes for people to switch between from a drop-down box.

Here's a blog post talking about how to implement color themes in C#:
https://psycodedeveloper.wordpress.com/2013/01/18/implementing-your-own-colour-themes-in-a-c-windows-forms-application/

This answer on Stack Overflow might help. It details a thing called a StyleSheetManager which uses XML to define colors and stuff similar to CSS but for .Net instead.
http://stackoverflow.com/a/9400800
http://www.codeproject.com/Articles/14814/StylesSheetManager-A-CSS-like-component-for-WinFor
I don't know if this will work due to it apparently being in C#.

Here's a better version I think. It's kinda complicated, but I think it would be best for me to use the "Inherits" classes instead of trying to set every control's color every time the theme is changed.
http://stackoverflow.com/questions/16134227/vb-net-class-to-change-textbox-backcolor-dynamically

I've found a tutorial showing how to make custom controls:
http://devcity.net/PrintArticle.aspx?ArticleID=87
This might be used if I get around to theming in VB.Net WinForms.

Here are some user controls things on Stack Overflow:
http://stackoverflow.com/questions/9844834/vb-net-usercontrol

Here's a post talking about what I basically want to do with theming:
https://social.msdn.microsoft.com/Forums/en-US/9b9bf31c-d20c-40e9-a7a7-08106a39a8f5/how-can-i-properly-invoke-a-setting-that-is-a-string?forum=vbgeneral

Maybe this will work. It's talking about looping through all the controls and setting them their properties.
http://stackoverflow.com/questions/29832504/changing-the-text-of-all-the-buttons-on-a-form-in-vb-net?rq=1

Actually, this code is probably what I need.
http://stackoverflow.com/q/199521
Screenshot:

I had to copy it into Notepad++ so that it would be as clean as possible. I didn't make that code.


Get stucked when train patchcore

Describe the bug
change train_batch_size and test_batch_size to 4 in anomalib\models\padim\config.yaml
python tools/train.py --model patchcore
shows
Epoch 0:   0%|                                                                                | 0/292 [00:00<?, ?it/s]C:\ProgramData\Anaconda3\envs\anomalib_env\lib\site-packages\pytorch_lightning\loops\optimization\optimizer_loop.py:137: UserWarning: `training_step` returned `None`. If this was on purpose, ignore this warning...
  self.warning_cache.warn("`training_step` returned `None`. If this was on purpose, ignore this warning...")
Epoch 0:  72%|████████████████2022-04-26 15:36:05,460 - anomalib.models.patchcore.lightning_model - INFO - Aggregating the embedding extracted from the training set.ation: 0it [00:00, ?it/s]
2022-04-26 15:36:05,633 - anomalib.models.patchcore.lightning_model - INFO - Applying core-set subsampling to get the embedding.

and then stucked
Screenshots

Hardware and Software Configuration

OS: Win10
CUDA Version 11.0

Additional context

I can run padim and get a good result.

Depending on your dataset size and your computing ressources, the core-set subsampling can take quite a while. Also you shouldn't increase the test batch size as this will break the torchmetrics metric calculations.

Thanks a lot,I think it is very slow because anomalib install cpu version of pytorch,so I install a gpu version pytorch and it is very fast now.

@BirdFrozen, now that you've fixed the issue, I'm closing this.

dear, @samet-akcay,  I used gpu version pytorch,but it also stucked in "2023-08-21 15:10:05,633 - anomalib.models.patchcore.lightning_model - INFO - Applying core-set subsampling to get the embedding."。the gpu was almost full.      20.6/24GB  RTX3090

dear, @samet-akcay, I used gpu version pytorch,but it also stucked in "2023-08-21 15:10:05,633 - anomalib.models.patchcore.lightning_model - INFO - Applying core-set subsampling to get the embedding."。the gpu was almost full. 20.6/24GB RTX3090

It can take a very long time as I said before! How long have you been waiting? It might take an hour or so..

@blaz-r, can you share your insights here in regards to the possible leaks and how to avoid it

@samet-akcay when training a single model, there shouldn't be any problems with leaks. As Alexander pointed out, it's just how Patchcore is implemented. Coreset subsampling can take really long. The huge memory consumption on the other hand comes from computing distances on many vectors, because it's done with matrix multiplication, meaning there is an entire matrix of all distances stored in memory.
I'm not sure how authors of the paper implemented this, but with the current anomalib it's like that and that requires a lot of memory.

I think they are using faiss to speed up the coreset sampling

A quick fix in the mean time would be to use a tqdm in this loop, so people can see that something is happening https://github.com/openvinotoolkit/anomalib/blob/cdedf05451cc57fb373866595e8ef23a820cf123/src/anomalib/models/components/sampling/k_center_greedy.py#L103-L109


Agent improvement

Comments from @gagb:
Some observations:

the agent many times starts to suggest shell commands which makes the code fail. Especially as the conversation gets longer
Sometimes the user responds with empty strings and the code agent never returns terminal and the code gets stuck in a loop. Also happens when lang=unknown eg cuz the agent didn't wrap the python code in codeblockss
The code fails if the context size > 8k
Original comment: https://github.com/microsoft/FLAML/commit/3b3dd60730931c793e88e4b2aa870fa0192db3f5#diff-9ac9829642f8aa5ad3ed717f7f60eabedf33210195465c1f6473cd2cfd4cd2af

PR #1025

@gagb The second problem should have been addressed in the latest PR. Let me know if you still have this observation.

More feedback based on integration with tinyRA and using gpt-3.5-turbo:

Drift: The conversation may drift and start to execute code that unrelated to the goal and possibly very unsafe. We need more safety checks on the code it suggests.
Memory refreshing: Others have found that occasionally refreshing agent memory with goal can help.
Guaranteed structured output: Currently there are no guarantees that the coding agent will output a python code block (or even use code blocks). This can cause the conversation to fail.
Shell agent: Currently agent can't execute shell commands to succeed (e.g., pip commands to install python packages).

@gagb The second problem should have been addressed in the latest PR. Let me know if you still have this observation.

I think I still happens with gpt-3.5. I haven't been able to test with gpt-4 because I don't have access to it. I am working on a feature to share failure cases from tinyRA easily.


Some questions

Dear Coenjan,
I apologize for the interruption, but I am currently working on learning the co-simulation of FAST.Farm and MATLAB. I have encountered some issues and have detailed them in the following GitHub issue: https://github.com/ValentinChb/FASTFarm2Simulink/issues/1.
After reading your master's thesis, I attempted to incorporate farm-level and turbine-level controllers in "SC_MATLAB.m." However, despite my efforts, I have been unable to run the program successfully. The simulation seems to stall at 0 to 1000s, and I am uncertain where the issue lies.
I am also contemplating whether it is necessary to use "FAST.Farm_x64.OMP.exe" to run the case. When attempting to execute this file on my computer, I encountered an error, preventing successful execution.
I would greatly appreciate your guidance and expertise on this matter. Your assistance in troubleshooting the problem or providing insights into the correct usage of "FAST.Farm_x64.OMP.exe" would be invaluable to me.
Thank you for taking the time to read my message, and I look forward to your response.
Best regards

Dear Jinxin,
Great to see that you have found the interface on GitHub! Right now I am on
holiday, I will be back January 28. Once back home I will have a look at
your questions! Sorry for the delay, I do not have my laptop with me and I
cannot check the code.
Short notice: I have had a look at your comments on GitHub, it seems that
the code works until the execution of the MATLAB code. It seems that you
started the simulation, but that MATLAB and FAST.Farm do not communicate
with each other. They can communicate with the 'receive' and 'send'
function (see paper or thesis).
Kind regards,
Coen
Op do 18 jan 2024 om 09:32 schreef VenusJinxin @.***>:

Dear Coenjan,
I apologize for the interruption, but I am currently working on learning
the co-simulation of FAST.Farm and MATLAB. I have encountered some issues
and have detailed them in the following GitHub issue:
ValentinChb/FASTFarm2Simulink#1
https://github.com/ValentinChb/FASTFarm2Simulink/issues/1.
After reading your master's thesis, I attempted to incorporate farm-level
and turbine-level controllers in "SC_MATLAB.m." However, despite my
efforts, I have been unable to run the program successfully. The simulation
seems to stall at 0 to 1000s, and I am uncertain where the issue lies.
I am also contemplating whether it is necessary to use
"FAST.Farm_x64.OMP.exe" to run the case. When attempting to execute this
file on my computer, I encountered an error, preventing successful
execution.
I would greatly appreciate your guidance and expertise on this matter.
Your assistance in troubleshooting the problem or providing insights into
the correct usage of "FAST.Farm_x64.OMP.exe" would be invaluable to me.
Thank you for taking the time to read my message, and I look forward to
your response.
Best regards
—
Reply to this email directly, view it on GitHub
https://github.com/coenjan/Files-MSC-Thesis-/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/APPDJIABA45OUONRNR4MO53YPDMYNAVCNFSM6AAAAABB73NW2OVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DONZXGQ2TKMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Dear Coenjan,
Thank you very much for your prompt response! I received your message and am truly grateful. I am eager to delve into the details of your master's thesis in the coming weeks, aiming to gain a more comprehensive understanding of the framework structure and code implementation for co-simulation. I will make every effort to address any issues that may arise during my study and strive to achieve a deeper level of comprehension independently.
Nevertheless, I recognize the complexity of this topic, and if you find some free time in the future to provide me with a few pointers or guidance, I would greatly appreciate it. Your professional insights would be invaluable to me.
Once again, thank you for your time and assistance.
Best regards,

Dear Jinxin,
I am back from holiday, are you able to use the interface yet? Otherwise,
we could plan a video meeting next week. Are you for instance available on
Saturday (February 3)?
Kind regards,
Coen
Op vr 19 jan 2024 om 03:27 schreef VenusJinxin @.***>:

Dear Coenjan,
Thank you very much for your prompt response! I received your message and
am truly grateful. I am eager to delve into the details of your master's
thesis in the coming weeks, aiming to gain a more comprehensive
understanding of the framework structure and code implementation for
co-simulation. I will make every effort to address any issues that may
arise during my study and strive to achieve a deeper level of comprehension
independently.
Nevertheless, I recognize the complexity of this topic, and if you find
some free time in the future to provide me with a few pointers or guidance,
I would greatly appreciate it. Your professional insights would be
invaluable to me.
Once again, thank you for your time and assistance.
Best regards,
—
Reply to this email directly, view it on GitHub
https://github.com/coenjan/Files-MSC-Thesis-/issues/1#issuecomment-1899541798,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APPDJIG5VCFSQ3EHWJPK6BTYPHKY7AVCNFSM6AAAAABB73NW2OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJZGU2DCNZZHA
.
You are receiving this because you commented.Message ID:
@.***>

Dear coenjan,
I would like to express my sincere gratitude for taking the time to respond amidst your busy schedule. Currently, I am diligently addressing and incorporating the feedback received on a manuscript, hence the temporary diversion from my previous interface research. I have also benefited from valuable insights provided by Dr. Valentin, who highlighted potential issues that warrant further exploration. Following the completion of my responses to the review comments, I intend to resume my focus on interface research.
Your patience in suggesting a video meeting is greatly appreciated. I must admit, however, that my proficiency in spoken English is not as strong as I would like it to be. Consequently, I am concerned that a video meeting might not facilitate effective communication. To avoid inconveniencing you and to ensure efficient dialogue, I prefer to continue our communication through email. Or may I record a video for you, if I need to ask your advice in the future?
Once again, thank you for your patient guidance, and I look forward to our continued collaboration.
Best Regards,

Dear coenjan,
Sorry for not replying to you for so long. Recently, I was responding to the review comments of a paper, so I did not continue to study this part of the content. Now, I am starting to study it again.
After running "RunTest. bat", the MPI_shared.dat file was immediately updated in the FASTFarm2Simulink-main folder; I changed the 4th line of the SC_input. dat file in the FASTFarm2Simulink-main\Test3WTs\OpenFAST folder to "../../MPI_shared. dat", which should correspond to "MPI_shared. dat" in the FASTFarm2Simulink-main folder. However, the result of the program running is still the same as before, with time stopping at 0 of 1000 seconds, which looks like FAST FARM is not running:

The content in the stdoutSCClientSubs.txt document under the FASTFarm2Simulink main \ Test3WTs \ OpenFAST \ T1 \ ControlData folder is displayed as follows:
DISCON: Did not manage to identify seed number. The control file location must fulfill the architecture <Farm root folder>/<Farm root folder>_<Seed number>/OpenFAST/T<Turbine number>/ControlData
I don't understand what's the meaning of "/_"? In fact, I created the folder based on the "Test3Turbines" example you provided. The address of the folder is "C:\Users\Lenovo\Desktop\fast-farm\FASTFarm2Simulink-main\Test_3WTs\OpenFAST\T1\ControlData", and the contents of the folder are as follows:

I still haven't found out which step of my try went wrong, and I kindly request your help again!


[SPARK-44987][SQL] Assign a name to the error class _LEGACY_ERROR_TEMP_1100

What changes were proposed in this pull request?
In the PR, I propose to assign the name NON_FOLDABLE_ARGUMENT to the legacy error class _LEGACY_ERROR_TEMP_1100, and improve the error message format: make it less restrictive.
Why are the changes needed?

To don't confuse users by slightly restrictive error message about literals.
To assign proper name as a part of activity in SPARK-37935

Does this PR introduce any user-facing change?
No. Only if user's code depends on error class name and message parameters.
How was this patch tested?
By running the modified and affected tests:
$ build/sbt "test:testOnly *.StringFunctionsSuite"
$ PYSPARK_PYTHON=python3 build/sbt "sql/testOnly org.apache.spark.sql.SQLQueryTestSuite"
$ build/sbt "core/testOnly *SparkThrowableSuite"

Was this patch authored or co-authored using generative AI tooling?
No.

@dongjoon-hyun @HyukjinKwon Could you review this PR, please.

Sure, @MaxGekk .

Merging to master. Thank you, @dongjoon-hyun for review.


Timer Counting Up

I create the timer and call...
self.countdown.setCountDownTime(60)
self.countdown.start()
but the timer label starts at 1 minute then starts to count up. Any help?

Try checking the MZTimerLabelType. It should be set to MZTimerLabelTypeTimer

Do you know how I would do so in Swift?

Just make a bridging header to this Pod or fork it and make a Swift version:)

Great, I got it to work using the bridging header. Thanks!

👍


feat: modify description for generic-ness and clarity

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


Tensorflow has not supported operator [AddN]

Platform (ubuntu 16.04):
Python version:3.6
Source framework with version (Tensorflow 1.8, caffe 1.0):
Destination framework with version (like CNTK 2.3 with GPU):
Hi when I tried to convert my tensorflow pb file into IR file, it shows Tensorflow has not supported operator [AddN]. I wonder how to solve this problem. Thanks.

Hi, @ChaoYu123 thanks for your attention and you can refer  https://github.com/Microsoft/MMdnn/wiki/Contribution-Guideline to add a new operator. Thanks!


GLES2 Compression on Blend Shapes Fix

When compressed vertex positions are used in a blend shapes mesh, we
need to make sure we set the w-component of the position vector to 1.0
When octahedral compression is used on normals/tangents, they need to be
converted to cartesian floats to be used for blend shapes
This conversion also changes the number of components of that vertex
attribute, which caused issues because previously there was an
assumption that you had the same number of components in the blend shape
buffer as you did in the original mesh's buffer (which is not true for
oct norm/tang)

Bugsquad edit: Follow-up to https://github.com/godotengine/godot/pull/58808.

Fixes https://github.com/godotengine/godot/issues/58789

Thanks!

Cherry-picked for 3.4.4.


GRASP-12948 Add accepted http response statuses for http methods

Changed http methods for RWSClient from having hardcoded expected http response codes to being passed by optional argument.
Existing codes are left as default.
https://nomagic.atlassian.net/browse/GRASP-12948
Review @michalvi @mkatliar
How it was tested?
On virtual robot through myke script.

I've run it on the Hugo simulation on virtual machine following Simplified robot studio for simulation instructions.
Worked fine.
THose http methods are basically the same, consolidating them would be the appropriate way to go, but it would require some work. I'll create an issue for this.

This merged branch breaks the build of abb_librws. There are some typos for example: Poco::Het::HTTPResponse::HTTP_OK}`` instead of Poco::Net::HTTPResponse::HTTP_OK}```


[E2E_baseline] Dynamo Benchmark E2E Accuracy test torchbench has some fail_accuracy models

🐛 Describe the bug
Torchbench has some models failed on accuracy check, the detail model list can be found as below table.

precision
mode
model

bfloat16
inference
pytorch_stargan

bfloat16
inference
hf_Whisper

bfloat16
inference
BERT_pytorch

bfloat16
inference
hf_distil_whisper

bfloat16
inference
squeezenet1_1

bfloat16
inference
hf_BigBird

bfloat16
inference
mnasnet1_0

bfloat16
inference
shufflenet_v2_x1_0

bfloat16
inference
hf_Reformer

bfloat16
inference
timm_efficientnet

bfloat16
inference
timm_nfnet

bfloat16
inference
timm_regnet

bfloat16
inference
timm_resnest

bfloat16
training
BERT_pytorch

bfloat16
training
hf_Whisper

bfloat16
training
squeezenet1_1

bfloat16
training
maml_omniglot

bfloat16
training
fastNLP_Bert

bfloat16
training
mnasnet1_0

bfloat16
training
basic_gnn_gin

bfloat16
training
shufflenet_v2_x1_0

bfloat16
training
hf_Reformer

bfloat16
training
timm_efficientnet

bfloat16
training
timm_nfnet

bfloat16
training
timm_regnet

bfloat16
training
timm_resnest

float16
inference
pytorch_stargan

float16
inference
BERT_pytorch

float16
inference
hf_Whisper

float16
inference
moondream

float16
inference
densenet121

float16
inference
hf_distil_whisper

float16
inference
squeezenet1_1

float16
inference
hf_BigBird

float16
inference
resnet18

float16
inference
mnasnet1_0

float16
inference
pyhpc_equation_of_state

float16
inference
mobilenet_v2

float16
inference
shufflenet_v2_x1_0

float16
inference
hf_Reformer

float16
inference
timm_efficientnet

float16
inference
timm_nfnet

float16
inference
timm_regnet

float16
inference
timm_resnest

float16
training
hf_Whisper

float16
training
BERT_pytorch

float16
training
speech_transformer

float16
training
moondream

float16
training
squeezenet1_1

float16
training
mnasnet1_0

float16
training
shufflenet_v2_x1_0

float16
training
hf_Reformer

float16
training
timm_efficientnet

float16
training
timm_nfnet

float16
training
timm_regnet

float16
training
timm_resnest

float32
inference
detectron2_maskrcnn_r_50_fpn

float32
inference
hf_Longformer

float32
inference
detectron2_maskrcnn

float32
inference
detectron2_maskrcnn_r_101_c4

float32
training
resnet50_quantized_qat

float32
training
mobilenet_v2_quantized_qat

float32
training
shufflenet_v2_x1_0

float32
training
timm_resnest

Versions
Pytorch: git clone -b e2e-baseline https://github.com/etaf/pytorch-inductor-xpu pytorch
Test script: inductor_xpu_test.sh

@etaf have a look whether there is common issue. Please have the first round of check. For details model failure triage, Yunfei will cover it.

There are no issue already found.

There is no issue that already found.

Close it as we have refreshed baseline


how to order items in propertygrid?

Hi,kikipoulet，I like your suki control very much, but I have some problems during use, like how to sort items in PropertyGrid, I tried some methods but it didn't work, do you have any good suggestions on your side

The PropertyGrid does not support changing the order of its categories and the entries inside. The default order is what ever is returned, when examining the bound class via reflection.
If you want to change that, then you can subclass the InstanceViewModel and override this method. Your custom implementation then, has to be assigned to this .


FilePicker in Dropdown

Hey everyone,
I'm trying to create a reusable FilePicker component, that I can wrap around other components. Therefore it uses a hidden <input>. The code for my FilePicker looks like this:
class SingleFileInput extends React.Component {
  constructor(props) {
    super(props);
    this.fileInput = React.createRef();
  }

  handleSubmit = event => {
    const { onSelectFile } = this.props;
    event.preventDefault();
    onSelectFile(this.fileInput.current.files[0]);
  };

  render() {
    const { children } = this.props;
    return (
      <>
        <input
          type="file"
          ref={this.fileInput}
          style={{ display: "none" }}
          onChange={() => console.log("NOT ARRIVING HERE")}
        />
        {React.cloneElement(children, {
          onClick: e => {
            e.preventDefault();
            this.fileInput.current.click();
          }
        })}
      </>
    );
  }
}

The component works well, if I wrap it around a
Something
. However it does not work, when I wrap it around a <DropdownItem>. In the latter case, the onChange handler of the component will never be called. I think this might have something to do with the fact, that the dropdown will be rerendered before the onChange callback is fired. Does this make sense?
Any idea how to solve this problem?
I put all the necessary code into this CodeSandbox: https://codesandbox.io/s/zl15p5rm0x
Thank you!

You can add toggle={false} to the DropdownItem and it will stop the menu from toggle when the item is clicked.

Thanks @TheSharpieOne. I converted the <UncontrolledButtonDropdown>into a <ButtonDropdown>. I then added the toggle={false} flag to the <DropdownItem> and manually called the toggle function, after executing my custom logic. Looks like this now:
class SingleFileInput extends React.Component {
  constructor(props) {
    super(props);
    this.fileInput = React.createRef();
  }

  handleSubmit = event => {
    const { onSelectFile, closeDropdown } = this.props;
    event.preventDefault();
    onSelectFile(this.fileInput.current.files[0]);
    if (typeof onCloseDropdown === "function") {
      closeDropdown();
    }
  };

  render() {
    const { children } = this.props;

    return (
      <>
        <input
          type="file"
          ref={this.fileInput}
          style={{ display: "none" }}
          onChange={this.handleSubmit}
        />
        {React.cloneElement(children, {
          onClick: e => {
            e.preventDefault();
            this.fileInput.current.click();
          }
        })}
      </>
    );
  }
}


bug: Sign in to Cody at startup every single launch

Version
v1.34.2
Describe the bug
Every time I open VSCode after closing it, it asks for a sign in.
Expected behavior
The session is saved between sessions.
Additional context
I'm using the Flatpak version of VSCode in Fedora Silverblue, with all of the updates, using GNOME if it helps.
Please note: every other extension works, so it's not just the read only nature of it. Could be the way VSCode handles secrets from reading the logs, but I just might be wrong. Here's the logs:
█ VSCodeSecretStorage:getAccessToken: failed
█ VSCodeSecretStorage:getAccessToken: failed
█ telemetry-v2: recordEvent: cody.extension/savedLogin
█ AuthProvider:init:lastEndpoint: No token found in secretStorage https://sourcegraph.com/
█ VSCodeSecretStorage:getAccessToken: failed
█ ModelsService: Setting primary models: []
█ telemetry-v2: recordEvent: cody.auth/disconnected
█ VSCodeSecretStorage:getAccessToken: failed
█ ChatsController:constructor: init
█ telemetry-v2: recordEvent: cody.signInNotification/shown
█ VSCodeSecretStorage:getAccessToken: failed
█ CodyCompletionProvider:notSignedIn: You are not signed in.
█ GraphQLTelemetryExporter: evaluated export mode: 5.2.5+
█ GraphQLTelemetryExporter: evaluated export mode: 5.2.5+
█ VSCodeSecretStorage:getAccessToken: failed
█ featureflag: refreshed
█ CodyCompletionProvider:notSignedIn: You are not signed in.
█ VSCodeSecretStorage:getAccessToken: failed
█ CodyCompletionProvider:notSignedIn: You are not signed in.
█ GraphQLTelemetryExporter: evaluated export mode: 5.2.5+
█ GraphQLTelemetryExporter: Error exporting telemetry events: Error: Variable "value" has invalid value null.
Expected type "JSONValue!", found null.
█ featureflag: refreshed
█ ContextFiltersProvider: setContextFilters
█ GraphQLTelemetryExporter: Error exporting telemetry events: Error: Variable "value" has invalid value null.
Expected type "JSONValue!", found null.
█ UpstreamHealth: Ping took 383ms (Gateway: 210ms)
█ ChatController: updateViewConfig
█ ChatController: updateViewConfig
█ ChatController: updateViewConfig
█ ChatController: updateViewConfig
█ telemetry-v2: recordEvent: cody.webview.auth/simplifiedSignInGoogleClick
█ GraphQLTelemetryExporter: Error exporting telemetry events: Error: Variable "value" has invalid value null.


Infinite loading when calling the QnAMaker using WebMethod C#

When I tried to call the web method "QnAMakerQuestionsAnswers", It will only have an infinite loading and will not show the result. I have tried this in a console application and it works perfectly but not for the WebMethod. I am not sure which part of my code I need to modify but this is a little bit frustrating. Please help!! Code is below:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Services;
using System.Net;
using System.Net.Http;
using System.Net.Security;
using System.Security.Cryptography.X509Certificates;
using System.Text;
using System.Threading.Tasks;

namespace ChatbotWebService
{
    /// <summary>
    /// Summary description for ChatbotWebService
    /// </summary>
    [WebService(Namespace = "http://tempuri.org/")]
    [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
    [System.ComponentModel.ToolboxItem(false)]
    // To allow this Web Service to be called from script, using ASP.NET AJAX, uncomment the following line.
    // [System.Web.Script.Services.ScriptService]
    public class ChatbotWebService : System.Web.Services.WebService
    {
        // NOTE: Replace this with a valid host name.
        static string host = "<Host Name>";

        // NOTE: Replace this with a valid endpoint key.
        // This is not your subscription key.
        // To get your endpoint keys, call the GET /endpointkeys method.
        static string endpoint_key = "<End Point Key>";

        // NOTE: Replace this with a valid knowledge base ID.
        // Make sure you have published the knowledge base with the
        // POST /knowledgebases/{knowledge base ID} method.
        static string kb = "<KB ID>";

        static string service = "/qnamaker";
        static string method = "/knowledgebases/" + kb + "/generateAnswer/";

        static string question = @"
        {
            'question': 'Who are you?'
        }
        ";

        async static Task<string> Post(string uri, string body)
        {
            using (var client = new HttpClient())
            using (var request = new HttpRequestMessage())
            {
                request.Method = HttpMethod.Post;
                request.RequestUri = new Uri(uri);
                request.Content = new StringContent(body, Encoding.UTF8, "application/json");
                request.Headers.Add("Authorization", "EndpointKey " + endpoint_key);
                //SUPER IMPORTANT LINE. PLEASE DO IT FOR .NET Framework v4.5.
                //Explanation at https://blogs.perficient.com/2016/04/28/tsl-1-2-and-net-support/
                ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12;
                var response = await client.SendAsync(request);
                return await response.Content.ReadAsStringAsync();
            }

        }

        async static Task<string> GetAnswers()
        {
            var uri = host + service + method;
            Console.WriteLine("Calling " + uri + ".");
            string response = "NULL";
            try
            {
                response = await Post(uri, question);
                Console.WriteLine(response);
                Console.WriteLine("Press any enter to continue.");
            }
            catch (HttpRequestException e)
            {
                Console.WriteLine(e.InnerException.Message);
            }
            return response;

        }
        [WebMethod]
        public string QnAMakerQuestionsAnswers()
        {
            return GetAnswers().Result;
        }
    }
}

Unable to reproduce the issue. Troubleshooting/isolating on Stack Overflow currently. Leaving open in case bug needs to be filed if we determine that.

Closing as unable to reproduce.


Add metadata about the detailed organization of the tuple.

The metadata will be organized in a two-tier structure:

tuple metadata;
metadata for the element of the tuple as an array.

fixed


add document summary creater

#Description
I have added the script to create text summary using sumy
Fixes #143
Have you read the Contributing Guidelines on Pull Requests?

[x] Yes
[ ] No

Type of change
Please delete options that are not relevant.

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

Checklist:

[x] My code follows the style guidelines(Clean Code) of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[x] My documentation follows Template for README.md
[x] My changes generate no new warnings
[ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works.

@all-contributors please add @kazuyoshi-tech for code and documentation


Fix for Issue 473 Imported Transactions Count Disappears once a Single Account is Selected

Github Issue (if applicable): #473
Trello Link (if applicable):
Forum Link (if applicable):
Explanation of Bugfix/Feature/Enhancement:
Refactored the code to be saucy.
Recommended Release Notes:
The number of imported transactions will now remain regardless of navigation with the app.

Looking for feedback on this line of code;
// Hook transaction imports so that we can run our stuff when things change ynab.YNABSharedLib.defaultInstance.entityManager._transactionEntityPropertyChanged.addHandler(this.invoke);
I'm thinking there is a potential loop or at a minimum a performance issue. The reason I say that is I noticed that if I approved an imported transaction, the handler was driven. In one account I had 156 transactions to approve and it seemed like it took a long time to complete. I wasn't paying real close attention so I can't say for sure.
The previous version of this feature didn't have the observe() function so the feature wasn't being fired twice. Of course the problem with that is the import notifications were going away as soon the user selected an account or navigated to the budget which resulted in the Issue being opened. I'm wondering if there is a reason why that handler is still needed. I think what we would miss without it is the import notification not being "automatically updated" when new transactions are ready to be imported. Of course as soon as the user does something that results in a changed node, the number of transactions would be added to the sidebar.

Unfortunately I can't really feedback as I'm in Australia where auto imports aren't supported, so I don't even know how they look in the UI nor how best to handle the integration. In general my rule of thumb is if it works let's ship it, and then if we can make it better later, let's do that too.

I agree that it's working well enough to ship it. I'm still not happy with it and will continue looking for a better way to handle it.

Thank you!


Tolerance in image size in regression comparison

Description
Currently, the test image and its regression baseline must have the exact same size, as per:
https://github.com/InsightSoftwareConsortium/ITK/blob/e41c4583c03c45fda7334111041aabb4b74e8465/Modules/Core/TestKernel/src/itkTestDriverInclude.cxx#L508-L514

Which causes this sort of failure:
The size of the Baseline image and Test image do not match!
Baseline image: C:/Dev/ITK-vs22/ExternalData/Modules/Remote/Montage/test/Input/MNML_5_500x_101/MNML_5-ITK.png has size [7447, 8346, 1, 1, 1, 1]
Test image:     C:/Dev/ITK-vs22/Testing/Temporary/itkMontageGTMNML5_2_1.mha has size [7447, 8345, 1, 1, 1, 1]

This makes the regression test fail even if it would pass otherwise (with e.g. --compareRadiusTolerance 1 and other tolerances).
Expected behavior
Use compareRadiusTolerance for comparing image sizes (which would have backwards compatibility problems), or use a new flag for that purpose (which would not disturb existing comparisons).
Actual behavior
There is no way to specify that image sizes could differ even a little.

In implementing this, the images could be cropped to the common region, or expanded to the largest containing region. For expansion, we would need to decide how to fill the padding. Perhaps go for the most convenient NearestNeighborExtrapolateImageFunction?

The current implementation assumes that the image are "congruent"? Aside from a different size, would this proposal allow for any other variations in geometry metadata? Are we comparing values physical or pixel space?

For ITKMontage's tests, the origin is always the same, but size might differ. So change for this case would be relatively simple.
For the resampling approach, we should probably do it symmetrically, so both resample A to B, and B to A, and do existing comparison twice (in case one image a significantly bigger than the other). And do this only if the images are not congruent and the size tolerance was specified, otherwise do the classic comparison as before.
Are you willing to take this up this issue Brad?

It would be nice to clean up this flag in Montage:
InsightSoftwareConsortium/ITKMontage@06cacd6 (#226)


Web -  Incorrect Tooltip Displayed When Hovering Over Avatar

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Navigate to settings and select "Workspace." If no workspace exists, create one.
Click on the plus sign and choose "Request Money."
Enter the desired amount and select the created workspace.
Go to the header and hover over the two avatars.
Observe that the wrong tooltip is displayed and does not show the email associated with the avatar.

Expected Result:
When hovering over the avatar, the correct tooltip should be displayed showing the email associated with the avatar.
Actual Result:
The wrong tooltip is displayed when hovering over the avatar after requesting money in a workspace.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/664dd260-3872-4306-a2c8-a5294cdda772
https://github.com/Expensify/App/assets/93399543/5134b1e5-e4dc-4747-8cc9-ce022c639a18
Expensify/Expensify Issue URL:
Issue reported by: @tewodrosGirmaA
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1692870954388439
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
Tooltip doesn't appear in SubscriptAvatar component
What is the root cause of that problem?
The styles should be applied to the View component (like in MultipleAvatars) but instead, they are applied to the Avatar directly
What changes do you think we should make in order to solve the problem?
We apply the styles [isSmall ? styles.secondAvatarSubscriptCompact : subscriptStyle] to the View here
What alternative solutions did you explore? (Optional)
--
Working demo/screenshot

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~01546f32a755cacd96

@johncschuster, can this please be labelled as external?

Solved with #26329, can be closed!

Sweet! Thanks for the heads up, @im-adithya! Closing!


The logic of isLocalPath

https://github.com/vuejs/vue-cli/blob/f46774b45dc8d7cb9ce2dbc1f7330f0f54a1ce68/lib/local-path.js
/^[./]|(^[a-zA-Z]:)/.test('/home')   => true
The logic of the function seems wrong, I think it should be
/^\.\/|(^[a-zA-Z]:)/.test('/home')

no, because we can pass an absolute path to test a local template


Fails to read EUDCC issued in Ireland

Hi Michael!
Thanks for creating this, I received my certificate yesterday and I am eager to see what information is encoded there! Sadly, coronadecode (commit 4d67a18) fails to parse it:
$ zbarimg --quiet --raw ~/Covid_cert.png | bin/coronadecode
2021/07/15 16:11:55 could not decode certificate QR code: cbor.Unmarshal(v.Payload): cbor: cannot unmarshal primitives into Go struct field coronaqr.claims.-260 of type int

If it is useful, I can give you the output of zbarimg in private.

Thanks for reporting this!
There are a couple of example codes in https://github.com/eu-digital-green-certificates/dgc-testdata/tree/main/IE which all work, so I’m curious how your code differs.
Can you send me your zbarimg via email please?

Done! (let me know if the email does not arrive)

Should be fixed now, thanks for sending the sample!


Swift 3 naming convention

According to the swift 3 naming convention, I changed the localized() method from a method to a computed property.
I hope you don't mind, I also took the liberty of changing the module name in a more Swifty one.

Hey @Buratti! I really like the idea of changing localized to a computed properly but I don't get the name change. This being a breaking change, it will also need a major release bump. Could you please change the PR to avoid the renaming?

Yeah, sure! I'm also having some trouble with travis because of this name change.
I did it because it is a bit unusual to have underscores in the names of the Swift modules, but it's not a big deal.
Anyway, as you said, it is kind of a breaking change so it is better to avoid it.


BoundingBox deletes NearInteractionGrabbable when BoundsOverride is TRUE

Describe the bug
When you add the BoundingBox component to a GameObject, and override the BoundsOverride with it's own BoxCollider, anywhere we call CreateRig(), it deletes the NearInteractionGrabbable component. This spirals down into other problems but, main bug is the above.
To reproduce
Steps to reproduce the behavior:

Create a cube, and Add the BoundingBox component to it
Grab and drop the cube's box collider to the BoundsOverride property of BoundingBox
Add another button which basically calls the BoundingBox.CreateRig()
Hit play. and you'll see the NearInteractionGrabbable component added.
Press the button now (calling CreateRig()) and this deletes the NearInteractionGrabbable component

Expected behavior
Not deleting the NearInteractionGrabbable component anytime we call CreateRig()
Test Project to reproduce bug
https://github.com/abhijitsri/UWP-EdgeTest-MRTK/tree/boundingBox-bug
boundingBox-Bug branch
Your setup (please complete the following information)

Unity 2018.4.12f1 or 2019.3
MRTK 2.3

Target platform (please complete the following information)

HoloLens 2
WMR immersive
OpenVR
Mostly all of it

I would also like to add that this is also present in the BoundsControl component that is meant to replace this and is extremely frustrating to work with.


Add --rm option as default for runs

Related to:

#207
#205
#196

Why
--rm Option
Adding the --rm option and making it default to ensure you can run multiple runs of the same container or compose file.
What

Add rm option as default

TODO

[x] Add tests
[x] Update docs

Thanks @pecigonzalo, PR looks great! I'd love to merge this, but could you please remove all the whitespace changes? Having such a large diff creates merge conflicts with other PRs, and makes it hard for for people who maintain forks. Thank you!

I can remove them @toolmantim , but I believe we should remove those spaces, as they are corrected by the IMO standard tool https://github.com/mvdan/sh otherwise each file has its own "style".
I can also split that into another PR if you wish, let me know your thoughts. (same applies to my other 2 PRs)

I understand you believe we should switch to that formatting. I'm not against it, but mostly I'm just trying to help get these merged for you first. Including project-wide formatting changes with a PR is always going to make it a little harder to accept.

Fully understand that ill disable shellfmt here and we can do that in a separate PR.

Removed shellfmt changes

Thanks @pecigonzalo!


Native quantum control toml fixup

Context: Ongoing transition to the schema 2 of the quantum device toml specification
Description of the Change: This is a minor source code clean up PR.

Remove force addition of the ControlQubitUnitary gate to the set of QJITDevice operations. This gate is handled by the generic logic in schema 2 config loader. In schema 1 loader, the sources already have all the required patches.
Explicitly list the runtime-supported controlled gates
Fix missing Projector observable in the lightning-kokkos device config
Open toml files in binary mode (fixes wheel builds)
Update some comments and simplify the set calculations.

Benefits: Cleaner sources
Possible Drawbacks: N/A
Related GitHub Issues: https://github.com/PennyLaneAI/catalyst/pull/554

@grwlf Should we merge this after the lightning update is merged so that the TODOs can be removed?

@grwlf Should we merge this after the lightning update is merged so that the TODOs can be removed?

It is possible but I don't think it is necessary. It might be easier to remove TODOs by a separate PR, depending on how fast they approve the PR in lightning.


install fail,

download suss,but install err.
i don't know why ?please help.

Traceback (most recent call last):
File "F:\ComfyUI\nodes.py", line 1993, in load_custom_node
module_spec.loader.exec_module(module)
File "", line 940, in exec_module
File "", line 241, in call_with_frames_removed
File "F:\ComfyUI\custom_nodes\ComfyUI_essentials_init.py", line 2, in
from .image import IMAGE_CLASS_MAPPINGS, IMAGE_NAME_MAPPINGS
File "F:\ComfyUI\custom_nodes\ComfyUI_essentials\image.py", line 8, in
import kornia
File "F:\ComfyUI.venv\Lib\site-packages\kornia_init_.py", line 8, in
from . import (
File "F:\ComfyUI.venv\Lib\site-packages\kornia\augmentation_init_.py", line 3, in
from kornia.augmentation.2d import (
File "F:\ComfyUI.venv\Lib\site-packages\kornia\augmentation_2d_init.py", line 2, in
from kornia.augmentation.2d.intensity import *
File "F:\ComfyUI.venv\Lib\site-packages\kornia\augmentation_2d\intensity_init.py", line 29, in
from kornia.augmentation.2d.intensity.plasma import RandomPlasmaBrightness, RandomPlasmaContrast, RandomPlasmaShadow
File "F:\ComfyUI.venv\Lib\site-packages\kornia\augmentation_2d\intensity\plasma.py", line 5, in
from kornia.contrib import diamond_square
File "F:\ComfyUI.venv\Lib\site-packages\kornia\contrib_init.py", line 15, in
from .image_stitching import ImageStitcher
File "F:\ComfyUI.venv\Lib\site-packages\kornia\contrib\image_stitching.py", line 7, in
from kornia.feature import LocalFeatureMatcher, LoFTR
File "F:\ComfyUI.venv\Lib\site-packages\kornia\feature_init_.py", line 7, in
from .integrated import (
File "F:\ComfyUI.venv\Lib\site-packages\kornia\feature\integrated.py", line 17, in
from .lightglue import LightGlue
File "F:\ComfyUI.venv\Lib\site-packages\kornia\feature\lightglue.py", line 30, in
from flash_attn.modules.mha import FlashCrossAttention
File "F:\ComfyUI.venv\Lib\site-packages\flash_attn_init_.py", line 3, in
from flash_attn.flash_attn_interface import (
File "F:\ComfyUI.venv\Lib\site-packages\flash_attn\flash_attn_interface.py", line 10, in
import flash_attn_2_cuda as flash_attn_cuda
ImportError: DLL load failed while importing flash_attn_2_cuda: 找不到指定的程序。
Cannot import F:\ComfyUI\custom_nodes\ComfyUI_essentials module for custom nodes: DLL load failed while importing flash_attn_2_cuda: 找不到指定的程序。

i have already update comfyui, but the error is still not resolved。
pytorch version: 2.4.0+cu124
Python version: 3.11.9
xformers version: 0.0.27.post2
Set vram state to: NORMAL_VRAM
Device: cuda:0 NVIDIA GeForce GTX 1060 3GB : cudaMallocAsync
Using xformers cross attention


Windows CI using github-actions

Building natively and running tests using a VM provided by github using github-actions.

@disassembler I am really glad you suggested github-actions! Let's see how the machines run :).

In case people are confused, this is about building on windows, and running test. Not just about the windows cross-compilation that we already do.

Related experiment #1809

bors: merge


#4: improves signal-to-noise on documentation

fixed issue as described in #4

if this seems overt, it's because it is. used to give a live example of issue automation


[#148059799] Fix the directory permissions

What
The current chmod on these folders is 775. This causes logrotate to
throw an error and prevent the files inside to be rotated to save some
space.
The folder should be set to 755 which is the default chmod upon
creation. We're removing the line that causes us problems.
How to review

Sanity check
May want to run the pipeline pointing to this release and see it succeed - I haven't done that.

I'm going to close this as we think the errors produced are a side effect of how we were running logrotate (see https://github.com/onemedical/datadog-agent-boshrelease/pull/17 for details).


Segmentation issues

There are few issues running steinbock:
Once I have # Select a random image
rng = np.random.default_rng()
ix = rng.choice(len(segstacks))
I see a value error (ValueError: a must be a positive integer unless no samples are taken)
Additionally, ModuleNotFoundError: No module named 'deepcell_toolbox'
And in preprocessing I see NameError: name 'Acquisition' is not defined.
If you can help, it would be great.
Best,
Saeed

Hi @KHALILISAEED, thanks for reaching out. From @nilseling I understand that you're using steinbock v0.15. Could you please post the exact script/command you're trying to run? And, if you're using the steinbock Docker container (recommended), the steinbock command alias? Thanks

I have installed steinbock through Python  (not docker). I copied your Steinbock repository into colab google, chose examples under Branch, and then select and copied all codes from 01preprocessing_if, 01preprocessing_imc, 02segmentation_deepcell and 03 measurement paste into jupyter notebook. I have practically used all of the codes from these 4 examples. Please see the attached and let me know if you have any question. I appreciate your help.

Best

Please note that #135 has not been merged into main and that we therefore do not fully support scripts from the examples branch at this point. However, the scripts will likely be reviewed and merged over the coming two weeks. In the meantime, their main author, @ndamond, may be able to help.

Hi @KHALILISAEED,
As @jwindhager mentioned, the jupyter scripts are not finalized yet. The standard way to use steinbock is currently to use docker: https://bodenmillergroup.github.io/steinbock/latest/install-docker/
If you still want to use the notebooks:

Note that the 01_preprocessing_if notebook is not usable yet.
Can you describe how you installed the python libraries in google colab?
After the installation, could you paste the output of !pip list -v here?
The error you see is caused by an empty image list. After running after running the first script (01_preprocessing_imc), can you check if the folder tree below is being generated? And can you check the content of the img subfolder?

steinbock data/working directory
├── raw
 |    └── *.zip (raw data)
├── img
├── segstacks
├── masks
├── intensities
├── regionprops
└── neighbors

Best,
Nicolas

Hi Nicolas and team members:
Thanks so much for getting back to me so quickly with your feedback and
comments. I am not a data scientist!I only took a course for basic python
as a Stem Cell Biologist and started using it. Regarding docket, I do not
know how to use it. Is there a page or simple step by step setting up
docker document where I can learn and use it. It would mean a lot to me if
you can help me with that. I can start using it today. We are a group at U
of T in Toronto, Canada alongside a few others who use IMC (Vincent Piguet
Lab).
I only used colab to reveal the codes and then copy and paste the codes
into a new jupyter notebook and started running them. I have not run any
script or installed any package in the colab directly.
I will go through your comments when I get to the lab. Many thanks.
Best,
Saeed
On Wed, Nov 2, 2022 at 3:33 AM Nicolas Damond @.***>
wrote:

Hi @KHALILISAEED https://github.com/KHALILISAEED,
As @jwindhager https://github.com/jwindhager mentioned, the jupyter
scripts are not finalized yet. The standard way to use steinbock is
currently to use docker:
https://bodenmillergroup.github.io/steinbock/latest/install-docker/
If you still want to use the notebooks:

Note that the 01_preprocessing_if notebook is not usable yet.
Can you describe how you installed the python libraries in google
colab?
After the installation, could you paste the output of !pip list -v
here?
The error you see is caused by an empty image list. After running
after running the first script (01_preprocessing_imc), can you check
if the folder tree below is being generated? And can you check the content
of the img subfolder?

steinbock data/working directory
├── raw
|    └── *.zip (raw data)
├── img
├── segstacks
├── masks
├── intensities
├── regionprops
└── neighbors
Best,
Nicolas
—
Reply to this email directly, view it on GitHub
https://github.com/BodenmillerGroup/steinbock/issues/153#issuecomment-1299695413,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZ5YYYM4SWAUJHVWQU4PTU3WGIKODANCNFSM6AAAAAARUNA56Q
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @KHALILISAEED,
have a look at the documentation of steinbock here.
Please zip each MCD + related TXT files and place all ZIP files in the folder /path/to/data/raw. When docker is installed and running (see installation instructions) you define an alias in the command line via (e.g. for Mac):
alias steinbock="docker run -v /path/to/data:/data -v /tmp/.X11-unix:/tmp/.X11-unix -v ~/.Xauthority:/home/steinbock/.Xauthority:ro -u $(id -u):$(id -g) -e DISPLAY=$(hostname):0 ghcr.io/bodenmillergroup/steinbock:0.15.0"

Please note that you will need to adjust the /path/to/data folder to where you data is located.
After this you create a panel file directly from the MCD metadata running:
steinbock preprocess imc panel

open the generated /path/to/data/panel.csv file, specify which channels you want to process by adding a 1 in the keep column and otherwise 0 and indicate nuclear channels with a 1 in the deepcell column and cytoplasmic channels with a 2 in the deepcell column.
Image processing, cell segmentation and feature extraction is then performed via following command line calls:
steinbock preprocess imc images --hpf 50

steinbock segment deepcell --minmax

steinbock measure intensities
steinbock measure regionprops
steinbock measure neighbors --type expansion --dmax 4

Assuming this is resolved.


Feat/input text prediction

#3 Predict sentiment analysis of input text:

Used joblib to save scikitlearn classification model
Introduced two methods save_model and load_model to save models after training or load them for direct usage

#14 Concert Script into OOP Format

Replaced model.py with 4 files model.py, doc2vec_model.py, classifier_model.py, text_classifier.py

model.py is an abstract class defining methods any model should do
doc2vec_model.py and classifier_model.py extending model.py
text_classifier.py is separate object that own dataset, doc2vec model, classification model and methods to train or test the whole model

Updated project structure with files increasing to enhance easily development
Replaced all path used with relative paths
Added mode (test/train) and filename of dataset to be used, filename of the doc2vec model to load/save trained model into, filename of classification model to load/save trained model into to the list of input provided by user when running the project form command line

Please review and let me know what you think!

Hi @Ayatallah, thank you for the PR! for starters, let's split this PR into multiple ones, in order to be self-contained for easier reviewing. shall we start with issue (#14)? also rebase on master branch (to update your fork and remove previous commits).


Fix TabError for Python 3

TabError: inconsistent use of tabs and spaces in indentation is treated as a syntax error in Python 3.
./example/reinforcement-learning/ddpg/strategies.py:65:39: E999 TabError: inconsistent use of tabs and spaces in indentation
        action = policy.get_action(obs)
                                      ^

@ThomasDelteil any chance you guys can squeeze in example validation together with the tutorial validation? We're having a lot of problems in our examples that are hidden because we don't test them.

@marcoabreu that's a great idea. However examples have a very big variance in terms of code quality compared to tutorials, a lot of them would need a major rewrite in the process of being made testable. That's definitely something I would like to do at some point but the scale of it significantly larger than tutorials. (1)3 reasons why:

Examples usually come with a bunch of arguments and problems are usually due to conflicting choices of script argument.
Examples can come with a lot of dependencies, sometimes on dataset download, external resources that are most of the times not automated through code at the moment
Examples are sometimes not end to end scripts but provide several utilities to achieve a specific task
One thing we could do to make it more manageable is to survey them all, split them into manageable tasks and try to get a community push to resolve such tasks and increase the overall quality and have a more unified feel for our examples.
We are currently going through the backlog of "Examples" "HowTo" "Question" "Docs" issues and aiming to close virtually all of them by the end of this quarter.

Excellent, thanks a lot for this detailed answer! This definitely sounds like a good approach, do you think it would be possible to request adding it to your teams long term planning - maybe as part of Q3 and the efforts to resolve the example related issues? I think a lot of these issues are based on the fact that we don't have proper test coverage for them.
We could basically start with an example and create a small guide. Then we'd make a quick sprint where everybody takes one example and adds it to CI in accordance with your instructions.

@marcoabreu can't really speak on behalf of @simoncorstonoliver but I think we have already planed out Q3 in terms of resource allocation so that might need to wait for Q4, and Q3 will focus on resolving outstanding problems that have been reported through the community github issues and questions on the forum, before moving to automated testing. That will depends also on how fast we can go through the backlog of issues while keeping up with the new ones that arise 😄

@marcoabreu @ThomasDelteil Can you please review ("Files changed" --> "Review changes") this change because the goal of this PR was to make a simple whitespace-only change that was easy to review.  However, much text has been written above that will cause reviewers to pause.

Sorry, we just waited for CI to pass :)

@marcoabreu a good starting point point might be a review of the examples to see which ones properly belong in the repo. Some might be better as a blog posts with independent repo rather than something that is considered an integral part of the repo for the framework.
We spent time in Nov 2017 to ensure they all worked -- it proved to be more effort than we anticipated. So let's put it on the to-do list for consideration for Q4.
Alternatively of course we're flagging issues as needing attention from new contributors. Some examples might benefit from attention from new contributors with expertise in specific fields.


@operator parameter decorator lacks key (forces incorrect typings)

I'm submitting a bug report

Library Version:
1.3.0

Please tell us about your environment:

Operating System:
Windows 10

Node Version:
7.5.0

NPM Version:
4.2.0

JSPM OR Webpack AND Version
0.17.0-beta.41

Browser:
all

Language:
TypeScript 2.2

Current behavior:
@optional decorator may only take a boolean, not a key as per docs.
Expected/desired behavior:

What is the expected behavior?

We can specify the key the decorator uses for the container @optional(keyOrCheckParent, checkParent)

What is the motivation / use case for changing the behavior?

Behaviour is not in line with other parameter decorators.
Should be possible to make it a non-breaking change.
Better utilise TypeSrcipt type-checks:

constructor(
  @optional(true) foo: Foo,
) {
  this.bar = foo.baz; // no error reported by TS though could be null due to @optional
}

Can become:
constructor(
  @optional(Foo, true) foo: Foo | null,
) {
  this.bar = foo.baz; // TS reports error
}

Hopefully I've not misunderstood this. It's my understanding that due to the inability to specify the key the @optional decorator must be inferring the type from the constructor definition. Is that right?

There does appear to be something wrong with this particular decorator.

I apologize, the error is in the documentation. You would use it like this:
constructor(@optional() foo: Foo | null) {

}

You would get a null though if there was no existing instance in the container or its parent chain. You only need to pass the boolean if it's false to not check the parent hierarchy. It does not take a key.

However, that does depend on how TS is encoding the parameter types. If it encodes just Foo, then it should work. If it encodes something else, then that would be a problem.


Provide a CLI argument to enable trace logging in standalone

The JewelLogger's JavaFactory defaults to FINE (debug) logging, but we should allow users to run the standalone code with a CLI argument (e.g., --jewel-verbose) to enable FINER (trace) level logging.

Closed by https://github.com/JetBrains/jewel/pull/714


Upgrade gradle and fix tests

I thought I'd check this out and run it, but gradle immediately gave a cryptic error message. Googling suggested I upgrade Gradle, so I did. After fixing things here and there I found out that the tests were broken. The grammar and the tests do not match, so I fixed things in the grammar and in the tests. The plugin can now be built, tested, and run again.

Heh, cool. Could you also sign the contributors.txt file? thanks!

Okay, signed it!

I will have to wait for @bjansen  to have time to review this as I've been out of the loop for too long. Sorry!

@bjansen, do you have time to review this RP?


Encapsulate container lifecycle state

Vlad had suggested having a method, changeState, that is called in all cases where we change the _lifecycleState, and that method encapsualtes the allowed state change state machine.
I think we could take that even a step further, and add a new class that encapsulates the var , state machine function, and properties. this would put all the lifecycle changes in one place, and allow us to prevent anyone from directly changing the state var
so something like
get state;
get isClosed;
get isLoaded;
changeState(from, to);

Originally posted by @anthony-murphy in https://github.com/microsoft/FluidFramework/pull/7933#discussion_r734046743

I would think attach state could go in the same lifecycle object

Not sure if we have a good epic for this one, it's a generic "code health" follow-up item.  Not high priority in and of itself, but more good hygiene to knock it out "soon" - I think I've already failed at that tbh, so planning to prioritize in Jan, I can timebox it and it won't take long.

Hi, I'm a new contributor. Would it be okay if I take up this issue?

@kumarrus Go for it!  Post back with any questions as you go, or even better push a draft PR even if incomplete and we can discuss in there.
@vladsud, @anthony-murphy - Any thoughts on whether this should also subsume attach state? Seems like it to me but wanted confirmation before pointing Rushab in the wrong direction.

I think attach state is orthogonal to lifecycle states (for most part)

Ok took another look and I agree. Especially transitioning to the closing/closed state, that could happen whether or not the container ever attached.
I had been thinking about how attach asserts the lifecycle state is loaded at the top, such that attach state attaching and attached would each imply loaded, but that's only part of the story (and doesn't even hold up looking at the load-existing flow)

Thanks, @markfields. I'll draft a PR soon. Would need some guidance regarding the possible and impossible state transitions.

@markfields I've created a draft PR. Looking forward to your feedback.

Moving to "Next" milestone since we're not holding this to any internal planning milestones


Performance

Requests seem to take quite long still even with compression. It should be tested on much slower connections how long they take. Also, some computation that is done on frontend should be tested on slower PC's. Like combined export parsing or perhaps table filtering.
If the table data requests are an issue on slower connections, we might have to implement server-side paging. See tanstack table documentation for more.

Still open. Cross-search performance is being tracked in #376.


add tooltips to minerals that can be gotten through stone dying process

do you mean the items that drop when the dyed stone is broken?

 yarden.zamir on Discord says

yea, things like diamonds, coal raw white etc. as people ignore ore processing in EMI because they don't think of ores as something they can get


dart2js: Revisit optimizations of List constructors for NNBD

With null-safety, the constructors List<T>() and List<T>(length) are being removed.
The replacements, other than list literals, are List.empty() and List.filled(length, value), both with optional growable: arguments.
dart2js does optimizations with the legacy constructors, for example, it knows that List(10) is fixed-length, and knows the length, and generates new Array(10), sometimes tagged with the complete type, e.g. JSArray<int>.
We need to do similar optimizations for List.filled (and List.generate).
It is important at global type analysis and later (SSA) to know:

The length expression of a list
Whether the list is fixed-length. This is somewhat complicated by the presence of the growable: parameter, which makes the answer value dependent.

One approach might be to re-write calls to List.filled with calls to specialized private constructors at the Kernel IR level. If the specialization bakes in the growable attribute (e.g. List._filled and List._filledGrowable, the fixed-length attribute might be inferred by the current machinery.

Related to these, we are also looking at how to improve dart2js tracing of nested arrays in the global analysis. Some benchmarks show that List.generate makes it harder to trace what's the type of the values in the list (especially whether those are arrays as well), as a result accesses to elements on the array are more imprecise than we would like.

Tracing
We get a lot of precision from per-list element tracking. The Havlak benchmark creates a list of lists. The dart2 version allocates an list and assigns each element in a loop with a second list. The outer list is inferred as a collection with an element also being a collection with concrete implementation type.
The inferrer models each []/List()/List(n) list constructor with a new ListTypeInformation. Since we lower List(#) to new Array(#) we can trace each list to see if it grows (for list literals which are growable) or if the flag property marking it as fixed-length is used (so we can omit the flag on fixed length lists that provably does not flow to length-modifying operations).
To get the same precision for the current constructors, List.empty, List.filled, List.generate, List.of, List.from and List.unmodifiable we need to trace each constructor.
The problem with tracing calls to, say, List.filled is that we still have the call. The implementation of List.filled itself contains a creation. When we trace that implementation creation, it does not flow anywhere, since we ignore the returned value and substituted the collection for the call site. Thus we might incorrectly conclude that a fixed-length allocation is never challenged, and omit the flag property. (This optimization is currently disabled with a mysterious comment.)
To fix tracing, we need to connect the inner, or source, collection with the outer, or replacement, collection.
We could have a 'linear-replacement' node in the inferrer graph that works a bit like a Φ-node that propagates types from only the replacement input but allows tracing through both inputs.
It would be useful if we could model some cases of List.of, List.from and List.unmodifiable. The basic idea is that the input to List.of flows to a node that links the collection element node of the input to the collection element node of the output, and links in a declared type node if the input LUBs to a non-collection node.
Length forwarding
One important optimization is detecting that lists have the same length.
var a = List(size);
var b = List(size);
for (int i = 0; i < size; i++) a[i] = b[i] = 100;

How we do this with List(n) is we keep a note of the HInstructions that represent fixed-length lists. The optimizer can then 'store-forward' the length. a.length and b.length in the bounds checks  (0 <= i < a.length) are replaced by size, making it possible to eliminate the checks (0 <= i < size).
We could also recognize List.filled and List.generate in a similar way.
List.generate macro-expansion
To fully recover the precision in the dart2 version of Havlak, the List.generate in the new version would have to be traced with two levels of call-site context-sensitivity.
An alternative is to inline calls as a Kernel transform:
List<T>.generate(size, (i) => e, growable: g)

BlockExpression {
  // Evaluate arguments to new variables
  int _size = size;
  bool _growable = g;
  // Allocate an array of required size.
  // Inferrer recognizes this constructor and starts with an [empty] element type.
  // i.e. the elements are 'late'.
  var _result = List<T>._allocate(_size, growable: _growable);
  for (int _i = 0; _i < _size; _i++) {
    var i = _i; // Bind closure parameter
    _result[_i] = e;
  }
  return _result;
}

if the function is not a function expression, it could be captured and called.
if the function is a function expression with non-simple body, it could be captured and called. For dart2js it is probably best to not expand the call to List.generate in this case.
_allocate could be further specialized depending on a known value for growable.

DDC could use this transform too. An optimizing compiler will erase trivial renames. DDC might be served better by generating tighter code, not introducing new variables where unnecessary.

I have implemented

Tracing of all the List constructors.
Length forwarding for fixed-length List.filled and List.generate.
Expansion of List.generate for simple direct closures.


fresh floods system log

fresh plugin wrapper floods the system log with
Dec 09 17:59:12 xx gnome-session[2515]: [fresh  4023] [PPB] {fake} ppb_audio_input_enumerate_devices
messages, one every two or 3 seconds.

Fixed in 54fd8deb3ce63a27316642fa07976809c55f45ad.
If you want to decrease amount of data printed to stdout, add quiet = 1 line to ~/.config/freshwrapper.conf

(Actually those messages was left on purpose, as a reminders.)


fix azconnectedk8s update --disable-proxy

pass empty "proxy" settings to cluster config DP, which will understand that to mean that proxy is being disabled.
cf https://msazure.visualstudio.com/One/_git/compute-HybridMgmt-ClusterConfigDP/pullrequest/11170292
@bavneetsingh16
This checklist is used to make sure that common guidelines for a pull request are followed.
Related command

General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally? (pip install wheel==0.30.0 required)
[ ] My extension version conforms to the Extension version schema

For new extensions:

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

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your pull request is merged into main branch, a new pull request will be created to update src/index.json automatically.
You only need to update the version information in file setup.py and historical information in file HISTORY.rst in your PR but do not modify src/index.json.

Thank you for your contribution! We will review the pull request and get back to you soon.


Issue with Toasts.IToastNotificator reference (iOS)

Hi, fantastic plugin, thank you. I recently updated the Nuget reference to ver 2.0.1 however now the project refuses to build due to to the following error:
Error CS7069: Reference to type Toasts.IToastNotificator' claims it is defined assembly Toasts.Forms.Plugin.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null', but it could not be found (CS7069)
This only started happening with this latest version. The issue occurs on the following line in the AppDelegate "DependencyService.Register();"
Any input on this?

Resolved. For anyone who encounters this (I'm using Xamarin studio) if you right click on the Toasts.Forms.Plugin item under Packages, ensure that you select the "Refresh" option. That fixed the issue I posted.


How will the effectiveness of the model be evaluated, and does the library provide the appropriate methodology?

Hello, I am now learning data mining and using ABOD for data anomaly detection. After I build the model, I do not know whether the performance and accuracy of the model are good, so I need to evaluate the whole model. Could you help me?
In addition, I see that in your case (abod_example.py), ROC score and Precision@rank n score are used, but there is no y value (label) in the data set, so these two evaluations cannot be used
from pyod.models.abod import ABOD
from sklearn.model_selection import train_test_split
import pandas as pd
import numpy as np

df = pd.read_csv(
    r"D:\WorkSpace\apple_quality.csv"
)
df.dropna(axis=0, inplace=True)

df_num = df.select_dtypes(include=np.number)

X_train, X_test = train_test_split(df_num, test_size=0.2, random_state=42)

model = ABOD().fit(X_train)

decision_scores = model.decision_scores_
test_scores = model.decision_function(X_test)

HI
if your dataset doesn't provide any labels associated with data, you cannot use the classic metrics provided by a confusion matrix. I suggest to use Silhouette Scorer (for example) provided by sklearn library or any other metrics described here
https://towardsdatascience.com/how-to-evaluate-clustering-performance-without-ground-truth-labels-9c9792ec1c54


Style Upvoty widget so it fits app's style

Upvoty website takes custom css through their admin panel. I'm assuming this will propagate to widget (though not sure, need to check)
Acceptance criteria:
1 - Upvoty widget is styled such that it fits in nicely with app
Time Estimate - 2 hours

Have a version of this live now. Took about 1.5 hours.
To get an idea of what it'd look like in app either run this repo, or download below html file (in the zip, github made me zip to upload), and open with Chrome
widget-test html.zip
Currently the version that fits the app colors works for app (at least for most areas, need to see if there's any obscure places you can get where it looks weird)
Honestly upvoty default style is pretty white/simplistic so it will look fine regardless.


Pull request for python-numexpr

For travis-ci/travis-ci/travis-ci#4314.
Ran tests and found no setuid bits.
See https://travis-ci.org/travis-ci/apt-whitelist-checker/builds/72054253

Sorry, but this test will have to be re-run. Will open a new one later.


HTTP: Add support for Pebble based multipart

I've got to send a multipart request. The first part is a json that describes all following parts. Other parts are raw file bytes. The number of files could vary.
Current state:
It is possible to assign only the whole body to a request using Pebbple. But as far as I know, Gatling treats PebbleBody as a regular String, so that it is impossible to send raw file content (PDF for example) in requests like this.
Desired state:
It is possible to build a json part using Pebble, assing it to a request as a bodyPart and assign all following bodyParts using already exisitng bodyPart classes.
Known workaround:
Prepare a json as a String using Scala/Java loops and assign to a request using StringBodyPart.

2 different things in your request:

supporting Pebble for building parts => pretty feasible, and that actually be a pretty good contribution!
"The number of files could vary." => impossible to support at the moment. You should use a doSwitch to route to different paths, each having a static number of parts.


State Visualizations have inconsistent return types in the docs

Environment

Qiskit Terra version:

Current versions of docs as of 2pm ET on June 26, 2023
https://qiskit.org/documentation/apidoc/visualization.html#state-visualizations
https://github.com/Qiskit/qiskit-terra/blob/791a45433a21a5604086bfcd96d804433b8aecfe/qiskit/visualization/state_visualization.py
What is happening?
All state visualizations return a matplotlib.Figure. However, some docstrings report this as a Figure, some as a matplotlib.Figure.
ex: https://qiskit.org/documentation/stubs/qiskit.visualization.plot_bloch_vector.html#qiskit.visualization.plot_bloch_vector
ex: https://qiskit.org/documentation/stubs/qiskit.visualization.plot_state_hinton.html#qiskit.visualization.plot_state_hinton
The inconsistency is a bit confusing (for example, a user might wonder if there's a difference between a Figure and matplotlib.Figure).
How can we reproduce the issue?
Check the docs:
https://qiskit.org/documentation/apidoc/visualization.html#state-visualizations
https://github.com/Qiskit/qiskit-terra/blob/791a45433a21a5604086bfcd96d804433b8aecfe/qiskit/visualization/state_visualization.py
What should happen?
Ideally, all would list a common return type.
Any suggestions?
I'm happy to submit a PR to update all return types to matplotlib.Figure if that's the agreed-upon solution.

Thanks for the report.  The actual ideal return value would be something that intersphinx can resolve into a link to matplotlib.figure.Figure.  I don't know off the top of my head how easy Sphinx will make that, especially if there are any instances where we're using autodoc's automated processing of type hints to produce the Sphinx rtype directive, but it would be a welcome PR to make that cross-referencing work correctly.

Ok -- I'll dig into it and open a PR once I've got the cross-referencing to the matplotlib doc working.