[docs] Improve the Base documentation

Make the Base docs comprehensive and compliant with our Style Guide (https://www.notion.so/mui-org/Style-guide-2a957a4168a54d47b14bae026d06a24b).
This is a follow-up to #31414.
Docs to review

Getting started

[x] Installation - #32483
[x] Overview - #32310
[x] Usage & Customization - #32562

Components

[x] Input - #32096
[x] Select - #32095
[x] Slider - #32140
[x] Menu - #32097
[x] Badge - #32098
[x] Modal - #32093
[x] Form control - #32309
[x] Table pagination - #32178
[x] Trap focus - #32364
[x] Popper - #32412
[x] Tabs - #32423
[x] No SSR - #32254
[x] Click-away listener - #32156
[x] Button - #32380
[x] Textarea autosize #32481
[x] Portal - #32157
[x] Switch - #32376

After reviewing #32364, I'm starting to notice formatting inconsistencies across these docs that I didn't catch when reviewing individually—for example, some explicitly include import code snippets, and others do not.
Once the individual revisions are done, I'll go back for one final pass to clean up all the little details across the board on all of these docs at once.

Re: this comment from @michaldudak, I am going to move the Unstyled components page to the Base docs and split it up into a few "Getting started" pages.

Note to self: HTML tags like <code> in the description <p> don't play nicely with search engines. These will need to be removed in the final pass.

Several pages such as the Switch doc mention the shared components / component / componentsProps props. We can link to more info about these props after #32562 is merged.

We need to come to a consensus about styling component names, and when to refer to a specific component vs its general usage. See: this discussion

IMO we can use just the capitalized component name without backticks unless we instruct the reader to type it or show how it should look in the code (with angle brackets) - so ButtonUnstyled and <ButtonUnstyled />.
I'd keep the backticks whenever we refer to a prop, though.

The first pass is now complete for all Base docs! 🙌 My next task will be to create a PR that addresses formatting inconsistencies across all of these pages at once.

There will always be further improvements to make, but I believe that the scope of this Issue has been resolved now that #33156 is merged.


Add Ethereum name or address to package.json

I would like to see an Ethereum name or address added to the ethereum field of the package.json file. This will allow consumers of the project to know a canonical address to send funds to. For example, I'm building an application that will allow developers to automatically donate ETH to all of their npm dependencies that have Ethereum addresses in their package.json files: https://sustainus.io

Considering that this project is being deprecated, this is unlikely to happen.


[Bug]: Multiselect widget on reset doesn't fallback to default values.

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When a multiselect widget is reset either individually or inside a form (enabling reset on submit success), the selectedOptionValues is resetting to [] (empty array) rather than to the default value.
Steps To Reproduce

Drag a multiselect widget
Drag a Text widget and set the Text property to Multiselect1.selectedOptionValues
Drag a button and set the onClick property to reset the multiselect widget.
Select the value Blue in the multiselect.
Press the button to reset the widget
Notice the Text widget displays the  Multiselect1.selectedOptionValues as [] instead of ["GREEN", "RED"].

Public Sample App
No response
Version
Cloud

@Aishwarya-U-R Ideally the output should contain "Dark Blue" and "Light Blue" as well. Can you create a separate issue for this?
@dilippitchika @souma-ghosh Something we should take care in the Select family epic?

@Aishwarya-U-R what is the mode selected? I can't see it from your screenshot. If you have selected display all items then it works as expected.

@dilippitchika - Yes, I also have the mode set to "Display all items".
And the question here is : If 'BLUE' which has some child items is set as fallback "Default Value" then resetting the widget - should contain child items also when {{MultiTreeSelect1.selectedOptionValues}} is used somewhere or not?
In above image you can see that when {{MultiTreeSelect1.selectedOptionValues}} displayed in Text widget - only BLUE is displayed & not DARK BLUE & LIGHT BLUE (while they are still selected in MultiTreeSelect)


Bugfix/Searxng tool not working

fix searxng too error

TLDR: Make sure that you have server.limiter set to false and json is included in search.formats. These parameters can be defined in searxng/settings.yml :
server:
  limiter: false
general:
  debug: true
search:
  formats:
    - html
    - json

https://docs.flowiseai.com/integrations/langchain/tools/searxng

result:

It works pretty good now. Thanks for adding JSON as default format too.

Just a minor issue with the link here:


Do not use ForwardingTestContext for text method context

Do not use ForwardingTestContext for text method context
Thanks to that each test has independent context and should affect each
other state.
It should not impose any overhead because injector is only created on
demand.

I have hit some issues when testing Presto with tempto 167. Some of the tests (like TestRoles) were modifying query executor state that was causing other tests to fail.

Some of the tests (like TestRoles) were modifying query executor state that was causing other tests to fail.

would https://github.com/prestosql/tempto/pull/15 help?

I think #15 could help, but I would need to find all tests that are vulnerable to query executor state and fix them. I don't want to do this now.

@sopel39 @findepi ping. This is ready to go.


feat: update hello example and add resetAllFilters

@Mason-Chou do you have specific feedback/comments on the PR I provided?


Navbar Improvement

I would like to improve the navbar by adding a search widget and providing a dropdown for projects so that they can be segregated under easy, medium and hard.
I am a GSSOC'21 participant. Please assign this to me!
Thank you.

@Anshika-Srivastava Sure go for it

Hey @Anshika-Srivastava Sorry for this, Actually UI has been updated due to which this issue becomes obsolete.
There are of plenty of things can be added or modified in our project feel free to checkout.


Add dict method for itk.MetaDataDictionary

Description
Add a __dict__ method to itk.MetaDataDictionary so a Python dict representation can be obtained with
meta_dict = dict(meta_data_dictionary)

xref https://github.com/Project-MONAI/MONAI/issues/856
Additional Information
Reasonable implementation:
meta_dict = {}
for key in img_meta_dict.GetKeys():
    # Ignore deprecated, legacy members that cause issues
    if key.startswith('ITK_original_'):
        continue
    meta_dict[key] = img_meta_dict[key]
meta_dict['origin'] = np.asarray(img.GetOrigin())
meta_dict['spacing'] = np.asarray(img.GetSpacing())
meta_dict['direction'] = itk.array_from_matrix(img.GetDirection())

This can be added to def __dict__(self) here: https://github.com/InsightSoftwareConsortium/ITK/blob/b2dcce79bb231b285acc540098fc5d032490ee34/Wrapping/Generators/Python/PyBase/pyBase.i#L124-L158
along with a test.

Addressed in https://github.com/InsightSoftwareConsortium/ITK/pull/2039

(Sorry for the delayed comment)
Very nice! I like the development of itk towards a more pythonic interface.
I have a few comments:

Regarding the 'origin', 'direction' and 'spacing' keys - it might be better to consider them as properties of the image class rather than semi-dictionary keys (through the general __getitem__ and __setitem__ methods).
I prefer image.origin = [4.0, 2.0, 2.0] over image['origin'] = [4.0, 2.0, 2.0].
Additionally, it will remove these keys from the metadata:

 ...
 '0028|1052': '-01.024000E+03',
 '0028|1053': '001.000000E+00',
 'origin': array([-836., -144., -122.]),
 'spacing': array([1.      , 0.484375, 0.484375]),
 'direction': array([[1., 0., 0.],
        [0., 1., 0.],
        [0., 0., 1.]])}

Maybe more appropriate since they are not really tags in the header

Not completely related to the topic - is there any plan to support sequences in the metadata object? Looks like they are omitted both in C++ and python.


fix(atracker): Removed deprecated atrackerv1 version code

PR summary
Atrackerv1 is deprecated and as part of this PR, removing all the code related to it.
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)

Current vs new behavior
Not modifying the current behaviour. Just the deprecated version is getting removed.
Does this PR introduce a breaking change?

[x] Yes
[ ] No

Since the atrackerv1 is deprecated, anyone who is using the v1 version have to start using atrackerv2.

Ran tests -
go test github.com/IBM/platform-services-go-sdk/atrackerv2 -tags="integration" -v
=== RUN   TestAtrackerV2
Running Suite: AtrackerV2 Suite
===============================
Random Seed:<PHONE_NUMBER>
Will run 136 of 136 specs

•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
Ran 136 of 136 Specs in 32.621 seconds
SUCCESS! -- 136 Passed | 0 Failed | 0 Pending | 0 Skipped
--- PASS: TestAtrackerV2 (32.70s)
PASS
ok  	github.com/IBM/platform-services-go-sdk/atrackerv2	34.460s

 go test
Running Suite: AtrackerV2 Suite
===============================
Random Seed:<PHONE_NUMBER>
Will run 93 of 93 specs

•••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••••
Ran 93 of 93 Specs in 3.485 seconds
SUCCESS! -- 93 Passed | 0 Failed | 0 Pending | 0 Skipped
PASS
ok  	github.com/IBM/platform-services-go-sdk/atrackerv2	3.996s

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


Add documentation about monitoring/alerting and reporting

Currently terediX expose custom metrics via /metrics endpoint. Also we have a pre-designed dashboard.
We need to add some documentation about it to the official website of terediX.

Here is the screenshot of a demo grafana dashboard created with metrics exposed from teredix.


Explicitly annotate existential usage of Message with the existential any keyword.

This PR separates out the addition of the existential any from https://github.com/apple/swift-protobuf/pull/1504 into its own distinct PR for easier consumption.
Context: https://github.com/apple/swift-protobuf/pull/1504 adds Self constraints to Message with the addition of static var _fields: Field<Self>. With this change the swift compiler will require uses of the existential Message type to be explicitly annotated with the any keyword. This keyword is currently optional for existential types without Self constraints however it will be required in swift 6.

Can you expand the description for why this is needed (for history, etc.).
And looking at the other PR, public struct Field<M: Message> { ... } doesn't both with any there, which seems to say not all uses of Message need to change to any Message, so what were the concrete requirements and are all these changes actually needed?

Updated title and description

This keyword is currently optional for existential types without Self constraints however it will be required in swift 6.

This statement is no longer true. The language workgroup has recently put out a post where they stated that ExistentialAny is no longer going to become a default feature in Swift 6. So for now we should put this on hold.
Can you explain why your other PR needed this to be changed everywhere?

This statement is no longer true. The language workgroup has recently put out a post where they stated that ExistentialAny is no longer going to become a default feature in Swift 6
Ah TIL good to know!

Can you explain why your other PR needed this to be changed everywhere?
I'm adding a static var _fields: [Field<Self>] { get } property to the Message protocol, which means this protocol now has Self constraints. With this change swift requires existential uses of Message to be explicitly annotated with the existential any.

I see a lot of any Message.Type and similar in here. I believe that is wrong -- Message.Type is not being used as an existential here, so the any is not appropriate.

@tbkka All of the places that I've annotated with any were labeled by the compiler as required when combining with my changes from https://github.com/apple/swift-protobuf/pull/1509

Yep.  My mistake.

In general, I am happy with adopting ExistentialAny in this package since the language steering group has just deferred it to the next language revision. However, for consistency reason I would like to enable the upcomingFeatureFlag in our Package.swift then and just stick it everywhere. This way the compiler is going to enforce it for us.
@thomasvl @tbkka WDYT?

In general, I am happy with adopting ExistentialAny in this package since the language steering group has just deferred it to the next language revision. However, for consistency reason I would like to enable the upcomingFeatureFlag in our Package.swift then and just stick it everywhere. This way the compiler is going to enforce it for us. @thomasvl @tbkka WDYT?

Having the validation sounds good to me.

@tbkka WDYT?

Sounds like a good plan to me.  Let's do that.

I found a workaround for this in https://github.com/apple/swift-protobuf/pull/1504 so this is no longer necessary for me. LMK if I should close this. I'm happy to merge it too if you'd like.

I think we're good landing this, just need to do @FranzBusch 's suggestion to enable the workings in the Package.swift file.


Hiding folders from the solution explorer

I am using the JSPM package manager, which creates a jspm_packages containing many files. This is slowing down visual studio 2015 RTM a lot. I am using the vNext empty project template.
I haven't found a way to hide a folder from the solution explorer, even though node_modules is hidden by default. Also see this stackoverflow answer: http://stackoverflow.com/a/31036858/3922366
How can we hide folders? If it's not possible at the moment, when will this be possible?

I have the same problem.  In addition to the jspm_packages, I have a build output directory that VS attempts to add to the project and source control (TFS) which cause VS to stop responding during my build, I assuming it is watching file changes, which is not necessary or wanted.  Please provide a means to "exclude" a directory from the file watch and/or the project.json, and/or source control  which may be an issue with TFS, but it seems that TFS should ignore all directories "excluded" from the project.

:+1:

:+1:
This is an issue for EmberCLI projects as well, the 'tmp' folder in the project root gets thousands of files that are churned with every build, and safely ignored... when the VS solution explorer tries to load these files, it either freezes for minutes at a time or crashes completely.
Visual Studio Code has this feature already... it seems backwards that the uplevel version, VS 2015, wouldn't have a feature to match.

@sayedihashimi @barrytang thoughts?

:+1:

can we get an update? is there perhaps a workaround we can use?

@sayedihashimi @barrytang ping.

Sorry for the delay. We added a feature to hide files in beta8 which we just released. More info at http://blogs.msdn.com/b/webdev/archive/2015/10/15/announcing-availability-of-asp-net-5-beta8.aspx. Can you try it and let me know if it resolves the issue for you?

Closing for now. Please re-open if there's still an issue, or log a new issue in the https://github.com/aspnet/Tooling/issues/ issue tracker. Thanks!

Thanks! I will try this out today and will open an issue if I encounter any problems.

You can find files but not folders? Like, I want to hide the entire node_modules from solution explorer and cant?

@Serjster I would recommend filing a new issue in https://github.com/aspnet/Tooling/issues/


Work on the column of categories of the CURIOSITY page of Skill Assessment spreadsheet.

To create a column of categories for the "CURIOSITY" page of a Skill Assessment spreadsheet, follow these steps:

Open the Specific spreadsheet in desktop excel app.
You will see title Category in the page of CURIOSITY of the skill assessment spreadsheet.
In the cells below the title category, define the categories you want to use to assess the skills related to CURIOSITY.
Make sure the categories are specific, relevant, and appropriate for the skills being assessed.
Consider using a consistent format and make sure the categories are easy to understand and reference.

Example categories:

Time Management
* Ability to prioritize tasks and meet deadlines.
* Consistency in meeting commitments and following through on tasks

Attendance
* Regular and punctual attendance at work
* Adherence to established schedules and time off requests.

Task Completion
* Ability to complete tasks in a timely and efficient manner
* Consistency in producing high-quality work

Dependability
* Reliability in performing tasks and meeting commitments.
* Trustworthiness in handling sensitive or confidential information

**Note: These categories can be modified or expanded based on the specific needs of the assessment and the skills being evaluated. **

Hello,
This issue is completed.
Thank you.


wrong coordinate in LTSM ocr mode and Japanese

Hi all
i'm using Tesseract for get each char with Coordinate in image . I'm using ResultIterator with OCR MODE =2 (LTSM) and language = jpn.

tesseract::ResultIterator* ri = api->GetIterator();
int index_char = 0;
vector char_iterators;
do {
char *value = ri->GetUTF8Text(tesseract::RIL_SYMBOL);
//unknown value to space
if (value == nullptr || value == "")value = " ";
float conf = ri->Confidence(tesseract::RIL_SYMBOL);
ri->BoundingBox(tesseract::RIL_SYMBOL, &left, &top, &right, &bottom);
index_char++;
} while (ri->Next(tesseract::RIL_SYMBOL));
api->ClearAdaptiveClassifier();

Here is my program log and input image . You can see  in り character i got wrong Coordinate . I tested using tsv and hocr but it's give me same result. Still wrong Coordinate .

Char value = こ left= 15 top = 14 right = 51 bottom = 51 conf = 99
Char value = ん left= 64 top = 9 right = 112 bottom = 54 conf = 99
Char value = ば left= 122 top = 5 right = 171 bottom = 54 conf = 99
Char value = ん left= 176 top = 9 right = 224 bottom = 54 conf = 99
Char value = は left= 234 top = 9 right = 281 bottom = 54 conf = 99
Char value = こ left= 295 top = 14 right = 331 bottom = 51 conf = 99
Char value = ん left= 344 top = 9 right = 392 bottom = 54 conf = 99
Char value = ば left= 402 top = 5 right = 445 bottom = 54 conf = 99
Char value = ん left= 456 top = 9 right = 497 bottom = 54 conf = 99
Char value = は left= 514 top = 9 right = 561 bottom = 54 conf = 99
Char value = ご left= 15 top = 79 right = 58 bottom = 126 conf = 99
Char value = 飯 left= 62 top = 80 right = 113 bottom = 130 conf = 99
Char value = 大 left= 120 top = 80 right = 225 bottom = 130 conf = 99
Char value = 盛 left= 242 top = 83 right = 260 bottom = 130 conf = 99
Char value = り left= 2328 top = 1616 right = 2328 bottom = 1616 conf = 99
Char value = 。 left= 289 top = 116 right = 305 bottom = 131 conf = 99

And one more question . I'm try to and fonts in jpn data but may be i must re train from scratch. But i don't know actrually my jpn tessseract data (i'm downloaded from tessdata repository) how to make this?
I'm try download data from langdata repository make image from jpn.traintext and train it by using tesstrain.sh and Jtessboxeditor . But i got low accurary than i download from repository.  Some body can tell me extractly how to make it!
Sorry for my bad english

i got a same problem. i am using jpn.traindata.
i tried RIL_SYMBOL, RIL_WORD. RIL_SYMBOL is better.
A critical problem is ---- the recgnized character is so good but the position is too bad.
i need the pair of image and character, don't you?
If you have new information pls tell me.
thanks

I'm temple fix this by using this way
I'm using RIL_SYMBOL. in my case the wrong Coordinate usually appear in a end of lines or end of block
res_it->IsAtFinalElement(RIL_TEXTLINE, RIL_WORD)
res_it->IsAtFinalElement(RIL_PARA, RIL_WORD)
res_it->IsAtFinalElement(RIL_BLOCK, RIL_WORD)
when you get a wrong Coordinate you can predict a new  coordinate by using the backforward of  ResultIterator coordinate

Char value = こ left= 15 top = 14 right = 51 bottom = 51 conf = 99
Char value = ん left= 64 top = 9 right = 112 bottom = 54 conf = 99
Char value = ば left= 122 top = 5 right = 171 bottom = 54 conf = 99
Char value = ん left= 176 top = 9 right = 224 bottom = 54 conf = 99
Char value = は left= 234 top = 9 right = 281 bottom = 54 conf = 99
Char value = こ left= 295 top = 14 right = 331 bottom = 51 conf = 99
Char value = ん left= 344 top = 9 right = 392 bottom = 54 conf = 99
Char value = ば left= 402 top = 5 right = 445 bottom = 54 conf = 99
Char value = ん left= 456 top = 9 right = 497 bottom = 54 conf = 99
Char value = は left= 514 top = 9 right = 561 bottom = 54 conf = 99
Char value = ご left= 15 top = 79 right = 58 bottom = 126 conf = 99
Char value = 飯 left= 62 top = 80 right = 113 bottom = 130 conf = 99
Char value = 大 left= 120 top = 80 right = 225 bottom = 130 conf = 99
Char value = 盛 left= 242 top = 83 right = 260 bottom = 130 conf = 99
Char value = り left= 2328 top = 1616 right = 2328 bottom = 1616 conf = 99
Char value = 。 left= 289 top = 116 right = 305 bottom = 131 conf = 99

Strange. It looks like a bug.

Please check if this is fixed by the latest set of commits by Ray.

jpn-1.txt

Thank sir

5	1	1	2	1	1	111	170	43	47	96	ご
5	1	1	2	1	2	158	171	107	50	95	飯
5	1	1	2	1	3	271	171	50	50	96	大
5	1	1	2	1	4	338	174	29	47	96	盛
5	1	1	2	1	5	0	0	2550	470	96	り
2	1	10	624	173	87	48	96	初
5	1	1	2	1	11	0	0	2550	470	95	め
5	1	1	2	1	12	722	178	43	41	96	て
Please check this . Still wrong coordinate in り and め character

We are still able to reproduce it in the Arabic language in LSTM mode.
Most BBoxes are correct but there are some boxes that contain valid text and wrong coordinates (the region contained in the bbox is empty).

I'm getting the same behavior for Thai language in LSTM - BoundingBox() often returns the whole image size.
The image size was 400, 266. Here is a small portion of some results [X1, Y1; X2, Y2].
(As a side note, I'm using RIL_WORD, but it seems to behave like RIL_SYMBOL, I'm not sure why).
'ร' - Confidence: 94.3645 [0, 0; 400, 266]
'ม' - Confidence: 95.7061 [19, 68; 33, 77]
'า' - Confidence: 96.9703 [0, 0; 400, 266]
'ส' - Confidence: 96.976 [35, 67; 50, 77]

@amitdo  sir  could you show me where to get more info about how tesseract analyze input image to get the Coordinate of words/character and then recognize them through LSTM or old method and last combine the ocr result word with the coordinate ?

@wanghaisheng
I don't know where is that function in the code, sorry.

@wanghaisheng
See here:
https://github.com/tesseract-ocr/tesseract/blob/master/lstm/recodebeam.cpp
Search for 'box', 'xcoords', 'blob'

This happened to me also in Arabic language. Here is an example that reproduce the problem.

struct OcrResult
{
	std::string text;
	cv::Rect box;
};
int main(int argc, char *argv[])
{
	tesseract::TessBaseAPI tesseract ;
	tesseract.Init("./data/tessdata/", "ara", tesseract::OcrEngineMode::OEM_LSTM_ONLY);
	tesseract.SetPageSegMode(tesseract::PageSegMode::PSM_SINGLE_WORD);
	PIX *patch_pix = pixRead(argv[1]);
	tesseract.SetImage(patch_pix);
	tesseract.Recognize(0);
	std::vector<OcrResult> ocrResults;
	tesseract::ResultIterator *ri = tesseract.GetIterator();
	tesseract::PageIteratorLevel level = tesseract::RIL_WORD ;
	if (ri != 0)
	{
		do
		{
			char *word = ri->GetUTF8Text(level);
			int left, top, right, bottom;
			if (ri->BoundingBox(level, &left, &top, &right, &bottom))
			{
				OcrResult res;
				res.box = cv::Rect(left,top,right - left,bottom - top);
				res.text = std::string(word);
				ocrResults.push_back(res);
			}
			delete[] word;
		} while (ri->Next(level));
	}
	cv::Mat image = cv::imread(argv[1]);
	cv::Mat DrawingImg = image.clone();
	for(int i=0;i<ocrResults.size();i++){
		cv::Rect rect = ocrResults[i].box;
		cv::rectangle(DrawingImg, rect, cv::Scalar(255, 0, 0), 1);
		std::cout<<ocrResults[i].text<<std::endl;
		cv::imshow("DrawingImg",DrawingImg);
		cv::waitKey();
	}
}

I used OpenCV to draw boxes.
This image contains two arabic words. The recognition is correct for both words.
But the box position of the first word is wrong. (the word in the right)
The box is matching some noise on the top of the image.

And this is the original image.

I'm also getting this bug for english text, though I can't provide the data files as they contain PII.

I got same issue on beta.4 with jpn.traineddata.
In my case, the image size(width, height) and the invalid coordinate value are correlated.
Even with the same letter,　It's cause incorrect results depending on the position in the image.
$ tesseract -l jpn  'images/sample/test-jpn_01.jpg' stdout tsv | grep 596
Warning. Invalid resolution 0 dpi. Using 70 instead.
Estimating resolution as 167
1	1	0	0	0	0	0	0	596	118	-1
5	1	1	1	1	10	0	0	596	118	92	、
5	1	1	1	2	4	0	0	596	118	92	字
5	1	1	1	2	10	0	0	596	118	97	て
5	1	1	1	2	15	0	0	596	118	93	す

My test image size is 596x118. The same letter appears multiple times(ex. '字', 'て'), but the value of boundigbox is wrong only once.

FYI, In the above image, recognition of the character '日' incorrect by jpn.traineddata( traineddata_fast).

Same issue as #1192

It certainly a bug in the cased where you get complete garbage bboxes.


Update Nexus URL and remove deploy tags

Updating the Nexus URL in the pom file for the nexus plugin and removing the deploy tags from the workflow action.

:shipit:


Feature: Upload Files in Wiki Pages

Gitea version (or commit ref):
Git version: 1.1.0
Operating system:
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[x] MSSQL
[x ] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
Hello,
uploading Files in Pages of the Wiki, that would be really helpful. I use Wiki also for Planing and Brainstorming and sometimes it would be easier to upload scribbles or wireframes direkt to a page.
Thanks! :)

duplicated with #574


Access all data in the current viewport

I am trying to limit the number of displayed data points in the current viewport. Is there some way of accessing the data that is currently visible based on that viewport? Not all the data total just the data that you can currently see.
Thanks!

Short answer is No.  In the graphics pipeline, invisible data is clipped to viewport bounds after all vertex shader processed all vertices. There are some advanced techniques to avoid processing non visible data, like bounding boxes, occlusion query etc, but they are not currently implemented by deck.gl.
A temporary solution can be to use pickObjects, with entire size , then returned object contains the indices of visible data elements.

Thanks for the quick response, that function will do just fine!


Improve Hover Controls

Hi - love this! My one issue is that the hover controls don't work very well on tiny images. For example:

Not sure what the best way to fix them is though... maybe an option to just have the buttons and put the decisions that are currently in the hover menus into the popups (and/or behind a modifier key)?

Hey,
Thx for the report.
Can you export the journal note and attach it to this issue?

@benbarbour Hello,
Should be fixed with 0.0.4


Update jspsych-same-different-image.md

Type "same-different" is undefined.

@jodeleeuw No problem and same to you!
I never contributed much while at Vassar. Funny enough, I found myself using jsPsych to develop an A/B test plugin for my current research (comparing two ultrasound images).


How to ignore file data

Hello, I'm attempting to use this package to develop a speed test utility for my RN app. I don't need to use the data I am downloading and am having out of memory issues on Android. I would like to just ignore file data entirely if possible, but get updates at a specific interval. This is what I have so far:
export function makeRequest({ target, isUpload, onStart, onDelta }: MakeRequestOptions) {
  return new Promise((resolve, reject) => {
    let bytesReceived = 0;
    let bytesSent = 0;

    const task = isUpload
      ? ReactNativeBlobUtil.config({ fileCache: true }).fetch(
          "POST",
          target,
          { "Content-Type": "text/plain", "Content-Length": UPLOAD_FILE_DATA.length.toString() },
          UPLOAD_FILE_DATA,
        )
      : ReactNativeBlobUtil.config({ fileCache: true }).fetch("GET", target);

    task
      .progress({ interval: 250 }, (received) => {
        console.log("received", received);
        if (!isUpload) {
          onDelta({ delta: received - bytesReceived });
          bytesReceived = received;
        }
      })
      .uploadProgress({ interval: 250 }, (written) => {
        if (isUpload) {
          onDelta({ delta: written - bytesSent });
          bytesSent = written;
        }
      })
      .then(() => {
        resolve(undefined);
      })
      .catch((e) => {
        console.error("IN THE ERROR", e);
        reject(e);
      });

    onStart({
      abort: () =>
        task.cancel(() => {
          resolve(undefined);
        }),
    });
  });
}

One idea I had was to use path: "/dev/null" would that work?

Why do you want to use "filechache:true"?
I assume this is leading to the out of memory error, since it will write the data into a file

No feedback thus closed


Redesign Reflections.getSubTypesOf(Class type) or offer a new method

Hi,
at runtime I load/get a unknown Class-object in my code.
Class<?> myClazz =...
Now I would like to get all sub types of myClazz. Therefore I call the method...
Reflections reflections = ...
Set<?> setOfSubTypes = reflections.getSubTypesOf(myClazz);

In the current version of Reflections API I can just define a raw Set or a Set typed with a wildcard. In my humble opinion, there are two ways to improve / solve the situation:

redesign the method getSubTypesOf () by deleting the parameterized type
or provide a new method with same functionality but without a parameterized type

Both options would prevent a cast to Set<Class<?>> after calling the method.
If this issue has already been discussed, then excuse the effort and simply close this ticket.
Thanks,
Marius

I'm not sure, but we can overload the method with something like this:
public <T> Set<Class<?>> getWildSubTypesOf(final Class<T> type)
but, I need thoughts in this... I'm not a fan of the solution.

IMHO, getSubTypesOf returning a typed Set<Class<? extends T>> can be quite useful in many cases and I'd find it confusing to have two methods that do the same except for type info—especially since the issue is fixed with (Set) reflections.getSubTypesOf(clazz);. I understand that it doesn't feel nice but I'm not sure this would justify an additional method?


Roadmap: Recording keystrokes and clicks

AutoHotkey for Windows (which does what PyAutoGUI does) has a nice feature where you can also record clicks and keystrokes. This makes creating scripts much easier than typing in code and screen coordinates. This feature is on the roadmap for pyautogui, and this issue tracks any comments for this feature.
Please add any comments about this feature to this thread.

You might check out PyUserInput - it has this functionality for keystroke events and some mouse click and mouse move events. (https://github.com/PyUserInput/PyUserInput)

Worked on it for mouse events and have written code to get the current state (click, release, moving) and wait for a particular event to occur (click, release, moving) for x11. How can I contribute?

@asweigart check this out https://github.com/asweigart/pyautogui/pull/221 I have tried something for Unix X11 platforms.

any updates?

Perhaps instead of recreating the functions, we should just reuse the code from PyUserInput?

Maybe, but I was able to make it functional this way. So I thought people should have a look. Are you working on this, any leads through your approach?

@skt7 No I am not.. I was just stating.. that since pyuserinput is fairly mature as stated on their GitHub page..Mouse control and capture should be fairly complete and mature on all supported platforms.
we dont have to recreate that functionality, which may take more effort in writing and maintaining the code base.
Perhaps something similar to how pyuatogui uses openCV to allow the confidence parameter in pyautogui.locateCenterOnScreen('foo.png', confidence=0.999), if openCV is installed can be used to implement the mouse and keyboard capture..
That way we don't have to recreate a mature codebase, but can get the functionality through Pyautogui..

I would sooner see it here, only because you're talking about a project that hasn't been updated in over a year.  This project, and OpenCV, have been updated in less than a month.  Part of the goal is to avoid dead or dying projects as well so we don't have to redo projects 2-3x more often.

Thats a good point... but isn't it only true if the project actually has major problems? There doesn't seem to be many issues/PRs being filed.. so people who are using it are probably happy with whatever state it is in.
If it comes down to it..that the owner of the project doesn't actually want to accept PRs in future.. can't we just fork it, add the codebase to this project/create a fork?

Hey, sorry for being incommunicado. Thanks to skt7 for that code. I am looking at PyUserInput and pynput for how they do this, and I'd like to make some changes to the api to simplify it a bit. Anyway, I'll be putting this functionality into my other PyKeyMouse module here: https://github.com/asweigart/pykeymouse
Sorry that I've been busy with a bunch of other things, but I am committed to getting this and a few other things on the roadmap done this year. (I'd like to include them in the 2nd edition of Automate the Boring Stuff with Python).

(Kind of like how PyAutoGUI uses PyMsgBox for its message box feature and PyScreeze for its screenshots, I'd rather break out functionality into separate modules just in case people want to use only those parts. Hence, I've made PyKeyMouse and PyGetWindow. The main thing that holds up these projects is I want to find solutions for all three platforms (win/mac/x11) before including them in pyautogui.)

Hi,
great work with PyAutoGui!
I Just wanted to check in with the progress of this feature, has it been fully implemented?
Also, I've seen someone trying to give it a go here: https://github.com/asweigart/pyautogui/pull/140
I'm just very excited because I have a bunch of use cases which will make my work life easier! (imagine automating something on a second display as I continue my work on the main screen; maybe using a multiple-cursor tool, or natively if possible)
That will be awesome!


Remove Simple-Web-Server and use boost.beast instead

Simple-Web-Server is no longer under development, so it probably shouldn't be used anymore. Instead boost.beast includes functionality and examples to implement a "simple web server".

Just tried to upgrade to boost 1.71.0 which breaks Simple-Web-Server:
/Users/adalidclaure/src/arcc/Simple-Web-Server/server_http.hpp:299:84: error: no member named 'get_io_service' in
      'boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::executor>'
        timer = std::unique_ptr<asio::steady_timer>(new asio::steady_timer(socket->get_io_service()));

Even more reason to get rid of this library.


Add the r: timeout label when closing issue after no response from customer

Proposal: Update the no-response bot workflow to add the r: timeout label when it closes an issue. This would allow the primary triage team to track the number of issues closed due to inactivity.

cc: @godofredoc


[FEATURE] Support Alternate Ports

Thanks for making such a useful tool! It would be swell if it could be used to test services running on alternate ports. Plex, for example, often uses port 32400:
# A standard service listening on 443 with a trusted cert.
❯ dstp https://standardService.myDomain.tld
Ping: 251.027µs
DNS: resolving VALID_IP
SystemDNS: resolving VALID_IP
TLS: certificate is valid for 79 more days
HTTPS: got 200 OK

# A Plex server running remotely on port 32400 with a trusted cert.
❯ dstp https://plex.myDomian.tld:32400
Ping: no response (this is expected from the location this server is running)
DNS: resolving VALID_IP
SystemDNS: resolving VALID_IP
TLS: dial tcp VALID_IP:443: connect: connection timed out
HTTPS: Get "https://plex.myDomain.tld": dial tcp VALID_IP:443: i/o timeout

I got the same result passing the URL with the -a flag. The expectation is that the tests would use the port provided in this argument where applicable.

Hey @alexfornuto, thank you for the suggestion but i don't think it possible to specify a port while sending raw ICMP packets.
To make things clear, ICMP is built on top of IP(Network Layer), which is quite different from TCP and UDP(Transport Layer) since ICMP is considered as layer 3.5 protocol and sits somewhere between Transport Layer and Network Layer and it has no sense of port unlike other Transport Layer protocols since the real reason behind the ports is creating a session between two different processes in different hosts using the source and destination port which is included in the header format for TCP and UDP.
There are tools like hping (3) that you can specify port but they are relying on UDP if you specify the destination port.

@ycd thanks for the explanation. To provide additional context, I'm not asking for the ping to look on a port. I understand that's not how ping works, and as I added in the codeblock above the ping failure was expected from this host.
I'm more concerned about the TLS and HTTPS checks checking ports other than 443.

@alexfornuto, oh yeah, that's right!
https://github.com/ycd/dstp/blob/a95f470809e8883252bca20eb8ebfd06d65c2254/pkg/dstp/addr.go#L31
The current logic splits the host and port and completely omits the port afterwards. I should and i will add a logic there for specifying different port for HTTPS and TLS. Thanks for bringing this up!

Hey @alexfornuto, just implemented this feature and introduced --port flag.

@ycd Thanks! Confirmed working via brew.


Tensorflow nnvm shape error

Thanks for participating in the TVM community! We use https://discuss.tvm.ai for any general usage questions and discussions. The issue tracker is used for actionable items such as feature proposals discussion, roadmaps, and bug tracking.  You are always welcomed to post on the forum first :)
Issues that are inactive for a period of time may get closed. We adopt this policy so that we won't lose track of actionable issues that may fall at the bottom of the pile. Feel free to reopen a new one if you feel there is an additional problem that needs attention when an old one gets closed.
For bug reports, to help the developer act on the issues, please include a description of your environment, preferably a minimum script to reproduce the problem.
For feature proposals, list clear, small actionable items so we can track the progress of the change.

Traceback (most recent call last):
File "x.py", line 142, in
graph, lib, params = nnvm.compiler.build(sym, shape=shape_dict, target=target, target_host=target_host, dtype=dtype_dict, params=params)
File "/homed/lidw/tvm/nnvm/python/nnvm/compiler/build_module.py", line 270, in build
ishape, _ = graph_util.infer_shape(graph, **shape)
File "/homed/lidw/tvm/nnvm/python/nnvm/compiler/graph_util.py", line 31, in infer_shape
graph = graph.apply("InferShape")
File "/homed/lidw/tvm/nnvm/python/nnvm/graph.py", line 234, in apply
check_call(_LIB.NNGraphApplyPasses(self.handle, npass, cpass, ctypes.byref(ghandle)))
File "/homed/lidw/tvm/nnvm/python/nnvm/_base.py", line 75, in check_call
raise NNVMError(py_str(_LIB.NNGetLastError()))
nnvm._base.NNVMError: Error in operator model_with_buckets/embedding_attention_decoder_6/attention_decoder/attention_decoder/MatMul: [21:57:07] /homed/lidw/tvm-zx/nnvm/src/top/nn/nn.cc:58: Operator dense(use_bias=False, units=128, name=model_with_buckets/embedding_attention_decoder_6/attention_decoder/attention_decoder/MatMul) expects weight's shape to be [128,128], but got [128,384].

I ran an OCR model and the above error occurred, can someone help me figure it out? Appreciated.

Can you please move this topic to the discuss board?
On Fri, Nov 23, 2018 at 7:51 PM daweili1226<EMAIL_ADDRESS>wrote:

I ran an OCR model and the above error occurred, can someone help me
figure it out? Appreciated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dmlc/tvm/issues/2162#issuecomment-441341441, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACIsgDdXH3f5P5NBGptnoJLI0_GX4m5kks5uyMJIgaJpZM4YxQkW
.


Add GitHub filesystem block to GitHub collections, and add support for private repos.

Summary

This pull request adds the GitHub filesystem block to the GitHub collection, and also allows the block to use private repos.
Relevant Issue(s)

This PR will address https://github.com/PrefectHQ/prefect/issues/6669 . I haven't yet looked into whether there are any other steps needed to definitely call that issue closed.
Checklist

[ ] Summarized PR's changes in CHANGELOG.md

Alright - everything is tested and the changes have been added. I'm still getting coverages failures on 3.7/3.8/3.9 Coverage failure: total of 79 is less than fail-under=80. I'll update the changelog now.

Updated to use urlunparse and just ran the following successfully:
from prefect_github.repository import GitHubCredentials, GitHubRepository

creds = GitHubCredentials(
    token=<my_token>
)

repo = GitHubRepository(
    repository_url=<my_private_repo>,
    credentials=creds
)

repo.get_directory()```

@khuyentran1401 Can you give this a try in a deployment?

@WillRaphaelson here's the one that composes.

I QA in and it works as expected


Why make the endpointClosure、requestClosure and so on let?

When create MoyaProvider, I can pass endpointClosure and requestClosure to its initializer.
So the problem is what if I want to change the endponitClosure later.
I have to create a MoyaProvider again, pass the new endpointClosure to its initializer.
Is there a better idea?

Good question; the properties of MoyaProvider are let because Swift encourages properties to be let by default. We've never had a reason to make them var. If you need to modify the behaviour of the endpointClosure, you can use an if statement in the closure that checks for a condition to behave one way or another, for example in a variable outside the closure. You can also attach that variable as an associated value on your Target enum class.
Hope that helps! Let us know if we can clarify anything.

Closing due to inactivity. Let us know if you still have questions, @EvilNOP :wink:


Snippet completions appear inside comments.

Environment data
dotnet --info output:
.NET Core SDK (reflecting any global.json):
 Version:   2.2.101
 Commit:    236713b0b7

Runtime Environment:
 OS Name:     Mac OS X
 OS Version:  10.13
 OS Platform: Darwin
 RID:         osx.10.13-x64
 Base Path:   /usr/local/share/dotnet/sdk/2.2.101/

Host (useful for support):
  Version: 2.2.0
  Commit:  1249f08fed

.NET Core SDKs installed:
  2.2.101 [/usr/local/share/dotnet/sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.2.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.2.0 [/usr/local/share/dotnet/shared/Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.2.0 [/usr/local/share/dotnet/shared/Microsoft.NETCore.App]

VS Code version: 1.30.1
C# Extension version:  1.17.1
Steps to reproduce
Inside comments i get snippet completions, I have no C# related extensions installed other than omnisharp.
Expected  behavior
In comments there shouldn't be any completions at all or at least upon manually invoking them.
Actual behavior
Snippet completions appear inside comments.

Deeply irks me. Periods in comments always end up .abstract

@akshita31 Can you figure out if we're providing these or if VS Code is?

@rchande disabling snippets globally does affect lots of other languages, it becomes so frustrating if you do anything besides C# in vscode. I hope it gets fixed 😅

I'm not sure if this is conneced to this issue, but I sometimes get similar behaviour with dots, which gets a bit frustrating when working with C# 8 Ranges.
For example, typing 0..^2 might become 0.Equals.^2.

@JulianGmp yeah they closed the issue while it's not solved, i get the same behavior, other language servers don't seem to exhibit this behavior

@pushqrdx this issue isn't closed though? Or do you mean a different one?

@JulianGmp you know what, i totally flopped, i literally thought my issue was close sorry for that


[GrafanaDashboard] Use CR's namespace as a default folder name

Is your feature request related to a problem? Please describe.
In v4, we used CR's namespace as a default folder name in the dashboard controller.
In v5, we use General (pre-existing folder with id 0), which contradicts the docs:

In a standard scenario, a folder with default settings gets created through a GrafanaDashboard CR. It either matches the Kubernetes namespace a dashboard exist in or spec.folder field of the CR.

Describe the solution you'd like
We should probably move back to the previous behavior to make sure we don't end up unintentionally cluttering General folder.

So I spoke to a colleague around this and he had a good point.
It is reasonable that we should follow how grafana is working.
If you import a random dashboard and don't define a folder in the grafana UI the dashboard will be created in the General folder.
I think this is a good point, it also forces our users to perform an active decision where to put the dashboard.
What do you think around that?

@NissesSenap Well, I think the previous behaviour worked great for multi-tenant environments. There, the namespace <=> folder match felt natural. Personally, I wouldn't try to match it with Grafana's behaviour.
At the same time, my intention here is only to make sure docs are not misleading, so I don't necessarily advocate for one approach or the other. :)


Trouble setting up shift + arrow key support in native terminal

Description of the problem or steps to reproduce

Add script from #802 to "/etc/console-setup/remap.inc" and a new file "supplemental.kmap" with the same contents
Run "sudo loadkeys supplemental.kmap"
Run "sudo dpkg-reconfigure -u keyboard-configuration"
Edit any file with micro
Shift + arrow keys pastes escape codes into the file

The problem was mentioned in the old issue, but seems to have been resolved back then. I must be missing something because I'm stuck at that point.
Thank you for your work BTW, Micro has been wonderfully intuitive to get into.
Specifications
Commit hash: 2.0.11-2+b1 (micro -version doesn't output anything else)
OS: Debian 12.8 (headless)
Terminal: Standard

xterm option has to be also enabled when using supplemental.kmap. The option can also be temporarily enabled when running micro -xterm on. However, other keys may not work when xterm is enabled.
A fork of Tcell is used in Micro, but I think enabling xterm or setting TERM to xterm did not have to be done in older versions because the string sequences in supplemental.kmap were added to the entry of linux in https://github.com/zyedidia/tcell/commit/37b78458fe9cbcbdd74fc579537aa13f50eb9f2f. The string sequences were somehow removed in updates with upstream code.
The string sequences can be readded but the suggestion mentioned in https://github.com/zyedidia/micro/issues/1396#issuecomment-1793772244 can easily be done in Go using KG_* bit field position macros in linux/keyboard.h. I think it is better if the suggestion mentioned is done but no one has tried implementing it.

Thank you! Resolved it.


Allocation Error in PPML Image  in Kubernetes: Initial Job Has Not Accepted Any Resource

Description:
When executing the script ppml/trusted-bigdata/scripts/start-pyspark-pi-on-k8s-client-sgx.sh using the $RUNTIME_K8S_SPARK_IMAGE, I encountered a resource allocation error.  The error log shows the following message repeatedly:
Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources

However, when using theapache/spark:v3.1.3 image, the job runs successfully and completes as expected.

Script with Apache Spark Image:
    --conf spark.kubernetes.container.image=apache/spark:v3.1.3 \
    ...
    --jars local:///opt/spark/examples/jars/spark-examples_2.12-${SPARK_VERSION}.jar \
    local:///opt/spark/examples/jars/spark-examples_2.12-${SPARK_VERSION}.jar 3000"

Logs with Apache Spark Image:
24-07-07 08:55:06 [dag-scheduler-event-loop] INFO  TaskSchedulerImpl:57 - Killing all running tasks in stage 0: Stage finished
24-07-07 08:55:06 [main] INFO  DAGScheduler:57 - Job 0 finished: reduce at SparkPi.scala:38, took 82.806856 s
Pi is roughly 3.1414868371382894
24-07-07 08:55:06 [main] INFO  AbstractConnector:381 - Stopped Spark@4dd77110{SSL, (ssl, http/1.1)}{<IP_ADDRESS>:4440}
24-07-07 08:55:06 [main] INFO  AbstractConnector:381 - Stopped<EMAIL_ADDRESS>(http/1.1)}{<IP_ADDRESS>:4040}
24-07-07 08:55:06 [main] INFO  SparkUI:57 - Stopped Spark web UI at https://<IP_ADDRESS>:4440
...

Additional Information:
Building the PPML Image:
The PPML image is built using the following script ppml/trusted-bigdata/custom-image/build-custom-image.sh:
#!/bin/bash

export CUSTOM_IMAGE_NAME=registry.bigdata.xdu.com/bigdl-ppml-trusted-bigdata-gramine-custom
export CUSTOM_IMAGE_TAG=2.5.0-SNAPSHOT
export BASE_IMAGE_NAME=bigdl-ppml-trusted-bigdata-gramine-base
export BASE_IMAGE_TAG=2.5.0-SNAPSHOT
export SGX_MEM_SIZE=8G
export SGX_LOG_LEVEL=error
export ENABLE_DCAP_ATTESTATION=false

if [[ "$SGX_MEM_SIZE" == "memory_size_of_sgx_in_custom_image" ]] || [[ "$SGX_LOG_LEVEL" == "log_level_of_sgx_in_custom_image" ]]
then
    echo "Please specific SGX_MEM_SIZE and SGX_LOG_LEVEL."

Hi @vi0eros
PPML Image is designed for SGX enabled platform (recommended platform is 3rd-4th Xeon platform with SGX enabled on BIOS). If you can finish running the example with apache/spark:v3.1.3 image, while get errors with PPML image. Please check if SGX on your platform (SGX should reserve some memory for memory pool).
BTW, Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources is just a warning. It will keep show this message until job gets enough resource.

Hi @vi0eros PPML Image is designed for SGX enabled platform (recommended platform is 3rd-4th Xeon platform with SGX enabled on BIOS). If you can finish running the example with apache/spark:v3.1.3 image, while get errors with PPML image. Please check if SGX is enabled on your platform and then if SGX is set up with enough EPC (SGX reserved memory).
BTW, Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources is just a warning. It will keep show this message until job gets enough resource.

@qiyuangong
Thank you for your response. I have verified that I am indeed running on an SGX-enabled platform. However, my EPC memory is somewhat limited. To address this, I have set the following parameter in start-pyspark-pi-on-k8s-client-sgx.sh:
--conf spark.kubernetes.sgx.enabled=false

Specifically, I am wondering if the PPML image can run without SGX enabled, given that my EPC memory is quite limited.
I have also removed the resources section from spark-executor-template.yaml. The updated content of spark-executor-template.yaml is as follows:
apiVersion: v1
kind: Pod
spec:
  containers:
  - name: spark-executor
    env:
      - name: ATTESTATION
        value: false
      - name: ATTESTATION_URL
        value: your_attestation_url
      - name: MALLOC_ARENA_MAX
        value: 4
    volumeMounts:
      - name: device-plugin
        mountPath: /var/lib/kubelet/device-plugins
      - name: aesm-socket
        mountPath: /var/run/aesmd/aesm.socket
      - name: nfs-storage
        mountPath: /ppml/data
    # Removed resources section
  volumes:
    - name: device-plugin
      hostPath:
        path: /var/lib/kubelet/device-plugins
    - name: aesm-socket
      hostPath:
        path: /var/run/aesmd/aesm.socket
    - name: nfs-storage
      persistentVolumeClaim:
        claimName: nfsvolumeclaim

Is it possible to run the PPML image in a non-SGX mode, and if so, are there any additional configurations or adjustments needed to ensure that it functions correctly under these conditions?
Thank you for your assistance.

Hi @vi0eros PPML Image is designed for SGX enabled platform (recommended platform is 3rd-4th Xeon platform with SGX enabled on BIOS). If you can finish running the example with apache/spark:v3.1.3 image, while get errors with PPML image. Please check if SGX is enabled on your platform and then if SGX is set up with enough EPC (SGX reserved memory).
BTW, Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources is just a warning. It will keep show this message until job gets enough resource.

@qiyuangong
Thank you for your response. I have verified that I am indeed running on an SGX-enabled platform. However, my EPC memory is somewhat limited. To address this, I have set the following parameter in start-pyspark-pi-on-k8s-client-sgx.sh:
--conf spark.kubernetes.sgx.enabled=false

Specifically, I am wondering if the PPML image can run without SGX enabled, given that my EPC memory is quite limited.
I have also removed the resources section from spark-executor-template.yaml. The updated content of spark-executor-template.yaml is as follows:
apiVersion: v1
kind: Pod
spec:
  containers:
  - name: spark-executor
    env:
      - name: ATTESTATION
        value: false
      - name: ATTESTATION_URL
        value: your_attestation_url
      - name: MALLOC_ARENA_MAX
        value: 4
    volumeMounts:
      - name: device-plugin
        mountPath: /var/lib/kubelet/device-plugins
      - name: aesm-socket
        mountPath: /var/run/aesmd/aesm.socket
      - name: nfs-storage
        mountPath: /ppml/data
    # Removed resources section
  volumes:
    - name: device-plugin
      hostPath:
        path: /var/lib/kubelet/device-plugins
    - name: aesm-socket
      hostPath:
        path: /var/run/aesmd/aesm.socket
    - name: nfs-storage
      persistentVolumeClaim:
        claimName: nfsvolumeclaim

Is it possible to run the PPML image in a non-SGX mode, and if so, are there any additional configurations or adjustments needed to ensure that it functions correctly under these conditions?
Thank you for your assistance.

Hi @vi0eros
BigDL PPML is mainly designed for TEE (SGX is one of them). Without the protection of TEE, we cannot ensure the confidentiality and integrity of the main components.
The example and image you chose are designed to run Apache Spark within Intel SGX. spark.kubernetes.sgx.enabled=false is just for debugging, not for production. If this example is not running in SGX, we cannot ensure spark components are fully secured. In that case, changing to an Apache Spark image may be a better choice.

Given this information, I have decided to switch to using an Apache Spark image for my needs. This resolves my issue.
Thank you for your assistance.

Given this information, I have decided to switch to using an Apache Spark image for my needs. This resolves my issue. Thank you for your assistance.

You are welcome. :)


GROOVY-7558 Add private field accessors and bridge methods to dynamic…

… classes with statically compiled inner classes

So basically you find, you need to generate those bridge methods, and leave it to a later visitor to actually produce that code... The alternative would be to write a visitor that can adds this information and is run from StaticCompilationVisitor, to let the actual adding of those methods be done by the StaticCompilationVisitor later on. But actually the list of inner classes in the classnode is supposed to contain all inner classes at this stage, so I am not sure you even need a full blown visitor for this. What do you think

If I understand correctly, your suggestion is to have the StaticCompilationVisitor for an inner class or method add bridge methods to its outer class? The issue there is that there may be multiple statically compiled inner classes/methods, each possibly accessing different private members of the outer class, so we would have to try adding bridge methods (to the outer class) for each statically compiled inner node and keep track of which private members we'd already added bridge methods for. This would add some complexity to the implementation, but I think it would be ok. Does that sound like what you had in mind?

@blackdrag Any feedback for @shils?

Sorry, for not answering earlier. It might be more easy to explain by example... Look at StaticTypeCheckingVisitor.VariableExpressionTypeMemoizer. The memoizer is used in the visitor to track something, even though StaticTypeCheckingVisitor is itself a visitor. The memoizer here does a specific task, by collecting information in the subtrees of the AST, and feeds that to the original visitor. IN your case that would be the information of what bridge methods do need to be added

@blackdrag That's alright, I've been busier than usual as of late anyway. Thanks for the feedback, I'll take a look.

@blackdrag I'm not sure I understand your comment. Dynamic classes are not visited by any static compilation visitor so the bridge method collecting visitor you suggest would have to be run from some other visitor... Also, the collecting visitor would have to perform method selection across all of the statically compiled inner classes (or be run after method selection.)
In any case, I changed the implementation to not add a public method at the cost of possibly misusing phase operations.

+1, the use of a callback in metadata is a little novel but I can't think of a better way right now and I think correctness trumps the added complexity in this case. We can always refactor and simplify if we can think of an improvement.

Agreed, thanks for reviewing this.


ScottPlot 5  IDraggable

i want to use ScottPlot5 to replace  ScottPlot4.X
but I don't find Interface  IDraggable
if  the IDraggable in ScottPlot5  is on the way?

Hi @daimenspace, thanks for this issue! This is possible in ScottPlot 5, but IDraggable is not required. I'll create a demo specific to scatter plots #3248, but for now you may find the information you need by looking at the draggable axis line demo https://scottplot.net/demo/#interactive-plottables


refactor digital storage markdown

Converted mb->MB, kb->KB, tb->TB etc in examples.
Fixed 2 sections of code examples that didn't have enough spaces to format that way in markdown.
Reworded wording on digital storage sections and formatted so end of each line shows (from) and (to) for easier skimming
couple other minor English changes

@robakerson, Please read these two articles and make sure your changes follow the MB and Mb format right or not.

https://telcom.uk/faqs/49/what-is-the-difference-between-megabit-mbit-and-megabyte-mbyte/
https://www.makeuseof.com/tag/megabit-vs-megabyte/


Add tests for class constrained protocol extension

Follow up to conversation in #26669. Add tests for class constrained protocol extension where the protocol does not impose a class requirement.

cc @slavapestov @jrose-apple

@swift-ci Please smoke test

Linux failure is unrelated:

22:35:13 /home/buildnode/jenkins/workspace/swift-PR-Linux-smoke-test/branch-master/swift-nightly-install/usr/bin/swift-build: error while loading shared libraries: libllbuild.so: cannot open shared object file: No such file or directory

Yeah, it sounds like that's affecting everyone right now. I'll wait a while and run the tests again.

@swift-ci Please smoke test Linux

@swift-ci Please smoke test


RPC fix: Explorers show premiums sent to miner

closes ENG-789
Explorers show premiums sent to miner because the RPC exposes the max_priority_fee which currently isn't used to fund miners.
This provides a first pass at upgrading the system by modifying the output of the json rpc to overwrite max_priority_fee_per_gas to zero. Future PRs will enable miners to collect the premiums.

Suggest closing this PR and continuing the discussion in https://github.com/consensus-shipyard/ipc/issues/896.

Closing this PR and continuing the discussion in #896


Doesn't work with woff2 files when gzippedOnly is true

This seems to ignore the uploading of file extensions with a number appended, such as woff2. This happens when gzippedOnly is true.

This has been published. v1.0.4


Dialogflow CX Batch intents update and other operations like in ES sdk

Thanks for stopping by to let us know something could be better!
PLEASE READ: If you have a support contract with Google, please create an issue in the support console instead of filing on GitHub. This will ensure a timely response.
There is not option to do operations in batches as it is possible with ES SDK
https://github.com/googleapis/nodejs-dialogflow/blob/main/src/v2/intents_client.ts#L415
Because of that we often have issue with hitting quota limit of 60 requests per minute when doing operations on agent.
There was open issue but closed after migrating to this repo
https://github.com/googleapis/nodejs-dialogflow-cx/issues/247

Hello @Mistic92 👋
These client libraries are automatically generated from API definitions. For opening a feature request, your best option is to open an issue on the Dialogflow Issue Tracker, listed here.


Error Login failed for user

I'm new to eConnect but looking into it with the hope of ultimately making some batch changes to some orders I have in GP from a my own C# application.
As I stumble through some GP provided C# samples that use the Microsoft.Dynamics.GP.eConnect and Microsoft.Dynamics.GP.eConnect.Serialization dlls, I am unable to successfully connect.
Looking for help, I found this app and gave it a try.
I'm running on my developer PC and hitting my remote GP server's database.
In the Settings, Test Connection on the DYNAMICS and Company databases are successful.
I'm choosing the "Use a specific user name and password" option.
But when I generate some XML in your app, Executing it gives me:
eConnectOut: Failed
Error Login failed for user ''
One thing that slightly concerns me, when I navigate back to my Connection settings, the "Blank password" checkbox is checked.
And the Password textbox is empty. And "Allow saving password" doesn't seem to do anything obvious.
It makes me wonder if the code is even using my password once the Settings dialog is closed.
Any ideas?

I can try. You're actually the first person who has ever contacted me about my application, so we may have to work through this together. I think the solution to your issue is simple, but you may have run into some coding problems that I will need to fix.
Below are the connection properties that I am currently using for my TWO database connection. The DYNAMICS connection properties are identical except for the name of the database.
I have selected the Microsoft OLE DB Provider for SQL Server in the Provider tab:

In the Connection tab, I have the following settings:

It sounds like you have a valid login with the database as the Test Connection button returned successfully.
You should definitely have Allow Saving Password checked or the application won't save your password in the config file. If the password isn't saved in the config file, you'll get a login failure message from the database as the application is attempting to login with a blank password.
Checking the Blank Password checkbox will cause the password in the application's config file to be set to an empty string. Some applications require you to check Blank Password intentionally so that a password will not be stored in a config file, but doing so requires the user to enter the password each time they restart the application. My application expects a valid password in the config file, so you do not want Blank Password to be checked. Checking Blank Password will also result in a login failure message from the database.
Can you try checking the Allow Saving Password checkbox and unchecking the Blank Password checkbox to see if that resolves the login issue? If not, I'll have to dig into the code to see if I can find the problem.
Thank you for giving my application a shot and letting me know that you encountered a problem. If you have any questions about eConnect, please let me know and I'll try to answer them.

Thank you!
It looks like my mistake was choosing SQL Server Native Client 1.0 instead of Microsoft OLE DB Provider for SQL Server.
I saw SQL Server and never looked back. Ooops.
Still, now when I Execute I get:
eConnectOut: Failed
Error @oErrString is not a parameter for procedure eConnectOut.

I am indeed trying to use RQeConnectOutType.
The long story is:
The company I work at uses the GP webservices SDK to interact programmatically with GP. Not the eConnect API. My attempts to change the SalespersonKey on a SalesOrder resulted in exceptions:
A validation exception has occurred.
Validation Errors:

Unable to update the existing SOP Header record
Customer credit limit has been exceeded

I'm a novice GP developer and after some googling and failure to find a solid understanding/solution I wondered if the eConnect API might lead me to success. Of course I was hoping it would be a simple effort to give it a try, but alas.
I found the Microsoft.Dynamics.GP.eConnect and Microsoft.Dynamics.GP.eConnect.Serialization dlls and eConnect Samples folder on my GP server, and hoping I was on the fast track to success, copied them to my development PC, built the RequesterConsoleApplication in VS and stepped through it, and encountered connection issues.
As I got a little smarter about things and recognized:

my dev pc is on a different domain as my GP server. This could contribute to some issues.
the econnect dlls default to connecting to the local eConnect Integration Service which I haven't installed, evident by the exception: The pipe endpoint 'net.pipe://localhost/Microsoft/Dynamics/GP/eConnect/EntityOperations' could not be found on your local machine.
deviating from this may be possible, using eConnectMethods.RequireProxyService = false
changing the connection defined in app.config may be important, but the eConnect Samples are all missing their app.config files, and finding an example on the internet has proven fruitless for me. This is why I started looking into github for any eConnect examples that might have an app.config I could model from, and I then found your application.
Maybe using your application would help me understand if what I'm trying to do is possible, from establishing a working connection across domains to ultimately successfully changing a sales order in the way I want.
While I might continue to use your application in some capacity, I'm currently heading down the path of installing the eConnect Integration Service locally with the hope of configuring it to work across domains, and getting the sample application to run properly. The installation guide puts me on the fence on whether this will work. And I'm still a little uncertain if it is absolutely needed locally, given we have an instance installed and running on our GP server, but I'm looking for any working path at the moment, not necessarily the best one.

I did just try some other transactions in your app, sort of.
By doing File > Load eConnect XML File, and choosing taSopHdrIvcInsert.xml from your eConnectFiles folder, I get an Error dialog that says:
The transaction "taSopHdrIvcInsert" was not found.
Error occurred at eConnectTransactionExplorer.Form1.LoadFile(String filename) at eConnectTransactionExplorer.Form1.Load_eConnect_File_ToolStripMenuItem_Click(Object sender, EventArgs e)
I got the same type of error with taSopLineIvcInsert.xml, so I stopped trying to load files.
I then tried manually creating a number of different requests using the UI but I haven't been able to get any XML to show up again in the eConnect XML section. I'm looking around the UI like I'm missing something obvious. I did this before without thinking, so what am I missing now?

In response to your points above:

If you can connect locally from your computer to the database on the remote GP server, then I think you should be okay.
The eConnect DLLs assume that you have the eConnect service running locally on your computer, hence the named pipe issue.
I've never used the eConnectMethods.RequireProxyService = false. I'm not sure what this does.
I've often said that the level of documentation provided for GP development is almost criminally negligent. The information available is sparse at best and often describes simple, happy paths that don't lend themselves well to the real world. It's incredibly frustrating, especially if you are a contractor who is under billable-time constraints.
SOP is one of the most complex transactions in GP. There are a LOT of eConnect nodes that do a LOT of different things.
My understanding is that a locally installed and running eConnect Integration Service is absolutely necessary in order to use the eConnect DLLs.

The files you are attempting to load are the eConnect XML template files that describe the various eConnect transactions. The usual workflow is either:

Manually create an eConnect transaction using the application. The XML is displayed in the eConnect XML box. You can then save it to a file and later re-load it.
You are working with a pre-existing eConnect transaction's XML, such as the XML that another application has created, and you want to tweak it to test different options. You should be able to load the XML from the other application if it has been saved to a file.


Added protoc, helm & protoc-gen-* to test.dockerfile

What this PR does / why we need it:
It adds a few dependencies to the test.Dockerfile for new features introduced for the API Server PRs (#355  #366 )
NONE

/retest

/retest

/retest

The base branch of this PR should be the API server feature branch: feature-api-server

retest

/retest
prow is misbehaving...

/unhold


PDF417 Scanning not supported

Any possible chance to support this type of 2D code in this package?

Any update??


Support Near Real-time Flag Updates

Overview
Near real-time flag updates can be important in various situations. For example, when a recently enabled feature causes an issue that needs to be reverted or when a feature flag is being used as a circuit breaker. Slowly propagated flag changes can also have unintended consequences in highly distributed environments. Multiple requests could experience different behavior based on which pod receives the request.
Proposal
Extend flagD to support watching the Kubernetes API for flag configuration changes.
Questions

What's the overhead introduced on Kubernetes?
Can the watch be generic and not specific to Kubernetes?

Resource

Knative ConfigMap watcher
Kubernetes ConfigMap Watcher Blog

@AlexsJones had a withdrawn OFEP related to this but I think it's worth reexploring.
https://github.com/open-feature/research/blob/main/004-OFEP-inotify-interface.md

I will re-open the OFEP and do some POC on this

Let me know if I can help. I'm very interested in this one.

The challenge will be how much of the K8s API library do we add into FlagD - I would prefer none of it, which means we'd need to write a custom HTTP interface that uses the golang primitives without API machinery. Will see what's practical vs possible.

Got it, thanks. Well I'm here for moral support at least 😄

Resolved by: https://github.com/open-feature/open-feature-operator/pull/82


CircleImage inside CircleImage?

Is it possible to set image inside image?
Example:
xmlns:ImageCircle="clr-namespace:ImageCircle.Forms.Plugin.Abstractions;assembly=ImageCircle.Forms.Plugin.Abstractions"
<ImageCircle:CircleImage FillColor={Binding RandomColor} HeightRequest="48" WidthRequest="48">
<Image:CircleImage Source={Binding PictureWithoutBackground} HeightRequest="30" WidthRequest="30"/>
< ImageCircle:CircleImage />

No, you would want some other custom view to do circles, not an image as there is overhead.


[Request] The purse in creative mode menu

It would be useful if the purse could be displayed in the "Survival Inventory" portion of the creative mode menu, because it is cumbersome to switch to survival mode and back to creative mode when mapmaking and testing.

Very true. Just as having no display while trading

We might look into doing this, as we are changing the purse to an owo-ui component, in order to make it be displayed in Villager Trade screen (see #54). With this in place adding it to the Creative inventory should in theory be possible

Will these changes also be available for 1.19.x? 1.20 is out now, but I don't think about switching yet

I do not believe so, as it depends on features exclusive to owo-lib 0.11.0+, which is only for 1.20.

I cri

This has now been implemented in 0.2.10
Cheers


Edge compatibility

Hi, has anyone tried to tackle Microsoft Edge compatibility? Right now the demo behaves erratically on Edge (testing on 15.15063). I'd like to look into it, but would appreciate any pointers.

I narrowed it down to this combination of placeMarkers() and selectMarkers() in pushHistory:
https://github.com/guardian/scribe/blob/f60e071ad14de66d5646d78af51feba188030fdb/src/scribe.js#L180-L182
Commenting them out fixes the Edge problem, now investigating what's tripping it up.


Ats analytic adapter

Ats analytic adapter - add new ats analytic adapter.

Hi @bretg ,
when you have time, can you please do a review?
Tnx

Related to: https://github.com/prebid/Prebid.js/pull/4895


Remove dependency on tibble

Dear Allison,
First of all: thank you for making this package available. It is a great data set for teaching!
I noticed that the package imports tibble, while tibble is not used anywhere in the R folder. It can therefore be  removed from the DESCRIPTION file. This makes the package more lightweight to install.
Explicitly, tibble also depends on packages, which depend on packages again, and so on. This means that when I install palmerpenguins in a clean R installation, a total number of 66 extra packages will be installed. None of these packages, including tibble, are needed to use the penguins data set.
I'm happy to make a PR if you agree.
Thanks again for all the work,
Mark

Hi @markvanderloo,
Thank you raising this issue. @allisonhorst and I discussed, and decided to remove the dependency in the interest of making this data package as lightweight as possible, as you can see in the merged PR above. If that addresses your concerns, can you let us know here and we'll close the issue?
Alison / Allison

Hi Alison & Allison,
Thanks for the quick response. I downloaded the pkg and can build and R CMD check it without problems(**). (I left out the vignette folder to do a quick check) .
So I will close this issue. Thanks for the feedback!
(**) You seem to be missing the Maintainer: field in the DESCRIPTION now.
Depending on who will submit it to CRAN, you can modify and add the following line to DESCRIPTION and all should be fine.
Maintainer:  Firstname Lastname<EMAIL_ADDRESS>

Not sure where you got 66 from. I only see 15:
path <- tempfile()
dir.create(path)
.libPaths(path)

install.packages("tibble")
length(dir(path))
#> [1] 15

(**) You seem to be missing the Maintainer: field in the DESCRIPTION now.

That is not a required field, it is generated from Authors@R, no need to add it. Please see "Writing R Extensions".

@hadley I used miniCRAN::pkgDep(). but this includes (recursive) suggests. I should have done this:
> tools::package_dependencies('tibble', recursive=TRUE)
$tibble
 [1] "cli"        "crayon"     "ellipsis"   "fansi"      "lifecycle"
 [6] "magrittr"   "methods"    "pillar"     "pkgconfig"  "rlang"
[11] "utils"      "vctrs"      "assertthat" "glue"       "grDevices"
[16] "utf8"       "digest"     "tools"

Which includes recursive Imports, Depends, and LinkingTo, so no optional dependencies here.
But even if tibble was dependency-free it would be nonsense to import it into a data package.

@gabor I got a build error with R CMD check pointing out the missing field, so I filled it in.


Add Testing

Add testing using known good files and hashes for both reads and writes.

A end-to-end test is being run via GitHub Actions, but more testing should be added.

Resolved 0064c42c95fd7676b8ed2f1c24e9c50b71c4a555


aws-c2a fails to install at 0.7.1

I was really excited when I found https://constructs.dev/packages/@aws-c2a/cdk-pipelines-step/v/0.7.1?lang=typescript.
However, when I tried to use it in a pipeline, the Check step fails at the build phase of the codebuild run:
[Container] 2021/12/03 15:33:35 Entering phase BUILD
--
22 | [Container] 2021/12/03 15:33:35 Running command set -e
23 |
24 | [Container] 2021/12/03 15:33:35 Running command [ -z "${RULE_SET}" ] \|\| aws s3 cp s3://$BUCKET/$RULE_SET $RULE_SET
25 |
26 | [Container] 2021/12/03 15:33:35 Running command npm install -g aws-c2a
27 | npm ERR! code ETARGET
28 | npm ERR! notarget No matching version found for<EMAIL_ADDRESS>29 | npm ERR! notarget In most cases you or one of your dependencies are requesting
30 | npm ERR! notarget a package version that doesn't exist.
31 | npm ERR! notarget
32 | npm ERR! notarget It was specified as a dependency of 'aws-c2a'
33 | npm ERR! notarget
34 |
35 | npm ERR! A complete log of this run can be found in:
36 | npm ERR!     /root/.npm/_logs/2021-12-03T15_33_40_673Z-debug.log
37 |
38 | [Container] 2021/12/03 15:33:40 Command did not exit successfully npm install -g aws-c2a exit status 1
39 | [Container] 2021/12/03 15:33:40 Phase complete: BUILD State: FAILED
40 | [Container] 2021/12/03 15:33:40 Phase context status code: COMMAND_EXECUTION_ERROR Message: Error while executing command: npm install -g aws-c2a. Reason: exit status 1

I was able to reproduce this locally on my machine as well:
[~/.../experiments] ➔ npm i -g aws-c2a
npm ERR! code ETARGET
npm ERR! notarget No matching version found for<EMAIL_ADDRESS>npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR!      /Users/bilalq/.npm/_logs/2021-12-03T15_38_29_234Z-debug.log

Seems like some of the sibling packages didn't get published? Installing 0.7.0 directly works.

Since the codebuild step just runs npm install -g aws-c2a without trying to match the version of @aws-c2a/cdk-pipelines-step, pinning just that dep in one's own package.json doesn't work either.

Thanks! Fixed in 0.7.3.


Setting backgroundColor on Picker makes the icon disappear

Is this a bug report?
yes

Have you read the Contributing Guidelines?
kind of
Environment
Environment:
OS: Windows 10
Node: 9.0.0
Yarn: 1.3.2
npm: 5.5.1
Watchman: Not Found
Xcode: N/A
Android Studio: Version <IP_ADDRESS> AI-171.4408382
Packages: (wanted => installed)
react: 16.2.0 => 16.2.0
react-native: 0.53.0 => 0.53.0
Target Platform: Android 7.0 on Samsung Galaxy S5

Steps to Reproduce

run sample code

Expected Behavior
The icon should appear over the backgroundColor

Actual Behavior
The icon does not appear

Reproducible Demo
	<Picker
			prompt="Picker"
			selectedValue={this.state.language}
			onValueChange={(itemValue, itemIndex) => this.setState({ language: itemValue })}
			style={{ backgroundColor: "red" }}
			>
		<Picker.Item label="Java" value="java" />
		<Picker.Item label="JavaScript" value="js" />
	</Picker>

still an issue

it's pretty annoying how people go through the trouble of completing a succinct issue report only to have no contributer ever look at it.


[GLUTEN-2723][CH] Improve Broadcast Join performance -- Part 3

What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
(Fixes: #2723)
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)

Run Gluten Clickhouse CI


Add support for 32bit arm

At the moment 32bit android arm is not supported, so the fallback without SIMD is required.

@igor-microblink Does this change fix this? If so, I will merge this into master .

Thanks. Proposed change is fix for compilation error on armebi v7a.
__ARM_FEATURE_SVE is not defined for armeabi-v7a. Is it possible to add impl which enabled arm neon for 32bit ARMs? AFAIK ARM NEON is supported from armeabi-v7.

__ARM_FEATURE_SVE is not defined for armeabi-v7a

Yes, cause Arm SVE is an extension for armv8 and one of basic instructions in armv9.

Is it possible to add impl which utilizes arm neon for 32bit ARMs? AFAIK ARM NEON is supported from armeabi-v7.

Hmm, currently qoixx doesn't support armv7 as SIMD-available environment, because I don't have any development environment of armv7. It is possible technically cause NEON is an extension for armv7, but qoixx basically assumes 64-bit architecture (e.g. fast hash calculation using 64bit integer arithmetic; this might be not fast on 32bit environment), and currently I don't think I'd support it aggressively. Of course PR for supporting armv7 with NEON would be welcome, I will review it.


Porting libraries

This addresses #302 and depends on #315.
libraries.md is the only file to review here.  The others are a part of the overview and structure.

[x] Add important discontinued tech
[x] Add info about project.json and global.json in project model overview, with link to project model docs
[x] Add xproj and csproj details

/cc @mairaw @ghogen @terrajobst @richlander @blackdwarf @bleroy

In general I would recommend avoiding future tense - so I'd search out all occurrences of "will" and change most of them to present tense.  "This article will cover" ==> "This article covers", etc.

@ghogen I addressed your overview.md feedback in #315.

Overall looks good! Left some comments for you to address or consider

Rebased, now it's time to basically rewrite this

Thanks @cartermp!

LGTM modulo feedback


Relaxing type requirements for broadcast_like

Description
Similarly to #14097, broadcast_like op should also not dictate the type of its second argument (since only shape metadata is used there).
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x ] Changes are complete (i.e. I finished coding on this PR)
[x ] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
[x ] To the best of my knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

@mxnet-label-bot add [Operator, pr-awaiting-review]

@mxnet-bot run ci [unix-gpu]

@mxnet-bot run ci [unix-gpu]

@mxnet-bot run ci [unix-gpu]

@mxnet-bot run ci [all]

@mxnet-bot run ci [all]

@mxnet-bot run ci [windows-gpu]

The PR has been merged.
Thanks for your contribution! : )


Fix swappable image

Squashed version of #857 with updated testsuite.

@skirsdeda I'm still getting the error with Django>=1.10.

@stefanfoulis It seems that I'll have to fix django-polymorphic because it tries to validate model manager on polymorphic models (only excluding abstract models) whereas manager on a swapped model is inaccessible as well. So this might be a bit of a setback unless we can work out some workaround.

@stefanfoulis I did the tests and confirmed that the problem is in django-polymorphic. See django-polymorphic/django-polymorphic#307 which fixes the issue.

@skirsdeda cool!
Since this PR works for non swappable models anyway and is already an great improvement in its current state, I'd say we should merge it already now.
Then when django-polymorphic is released with that fix, we can just update the test-suite to require passing tests for Django>=1.10 with swappable models.

@stefanfoulis agreed 👍

Hmmm....I wonder why we're limiting to django-polymorphic<1.1 in setup.py (https://github.com/divio/django-filer/blob/60c15fe9728c6b40a0b8cfdcb8a4b9a6f0ed3fb1/setup.py#L32)

My guess is that this limit is completely artificial because it was just raised from another version to what was the newest version of django-polymorphic at that time.


chore: release v1.69.0 [DO NOT MERGE]

feat: idle finance (#2344)
feat: handle WalletConnect provider failure (#2588)
refactor: consolidate and simplify asset click logic (#2620)
fix: load default assets on refresh (#2619)
refactor: make  a pure function & rename (#2618)
refactor: simplify  (#2617)
feat: gracefully handle network change (#2591)
feat(foxPage): new fox icon (#2607)
feat(foxEth): new fox icon (#2608)
feat: gracefully handle accounts change (#2590)
feat: swapper, reborn (#2584)
feat: no side effects on onProviderChange (#2593)
chore: enable rainbow charts in all environments (#2599)
feat: turn osmo flag off for develop (#2596)
feat: always error on console.* calls (#2448)
feat: account dropdown (#2594)

I think we need to have further conversations around what the expectations are around testing for this new style of release when there are 4-5 different flags that need to be turned on for a pr, are we supposed to turn them all on and test all at once? test each individual flag separately and together? Just separately?
Previously when releases would go out, there'd be comments like this
"Since we are going to need to fix a few more things in-house and this is excluded from the multi-accounts scope, there is no need to re-test the Idle feature with the flag on.
If you still have an active position in your account from the previous testing, please enable the flag and withdraw from them to ensure regression testing in conditions of users not staked with Idle." (from gomez individual pr ask before)
And this helped to guide the testing we were doing. And before we get too deep into this, I think having some clarity around expectations/best practices would be good to have moving forward.


Cannot restore on Motorola Droid Turbo

I just upgraded from the droid razr maxx to the droid turbo.  The restore worked perfectly on the maxx, but I'm not getting anywhere with the turbo.  It says that it is restoring items, but when I open up messenger, there are no messages.  p.s. The call logs have never worked for me on either phone.

Lucky you! I look with envy, the Turbo's not been released in the UK. Seems like a perfect mix of phone!

very likely device specific bug


Fastfetch freeze on Void Linux

Fastfetch stops halfway on Void:

Here's the output with showerrors:

Good news is the new code in r146 detects it properly. The output on top is from neofetch. Ctrl-C exits fine, it simply stays like this forever.

This seems like a typically deadlock. Most probably in theme code because it hangs just before this output and it is calculated multi threaded. Sadly i can't reproduce it so i need your help for this. In src/modules/theme.c you will find the following code:
const FFPlasmaResult* plasma = ffCalculatePlasma(instance);
const FFstrbuf* gtk2 = &ffCalculateGTK2(instance)->theme;
const FFstrbuf* gtk3 = &ffCalculateGTK3(instance)->theme;
const FFstrbuf* gtk4 = &ffCalculateGTK4(instance)->theme;

Each of the calculation methods waits for a calculation thread to finish and then return its result. Can you use something like
puts("after plasma"); to detect which of these methods hang forever? Probably somewhere a pthread_mutex_unlock(&mutex); is missing which i cant find.  If you have time you can try to hunt it further down.
Just for interest you can try with --multithreading false and look if this changes anything. (It probably wont tho).
Thanks

Small update: I actually found some missing `````pthread_mutex_unlock``` in some error handlers in the DConf part of the GTK detection (commit). Did this fix your issue?

Also interesting is that resolution doesn't work for you (neither the wayland nor the xrandr nor the x11 implementation). Are the corresponding libraries not called "libwayland-client.so", "libXrandr.so" and "libX11.so"  on void linux?

The mutex unlocks did the trick:

Errors:

Here the output from locate:
/usr/lib/libX11.so.6
/usr/lib/libX11.so.6.4.0

/usr/lib/libpci.so.3
/usr/lib/libpci.so.3.7.0

/usr/lib/libwayland-client.so.0
/usr/lib/libwayland-client.so.0.3.0

/usr/lib/libXrandr.so.2
/usr/lib/libXrandr.so.2.2.0

It also fails to detect the WM, WM Theme and Terminal Font on both void and manjaro, btw.

The symlinks are different in Void vs Manjaro. When I made one, it fixed the resolution output:

The same would probably work for the rest.

Not detecting WM, WM Theme and Terminal Font ist expected behavior as they need to be implemented for each WM / terminal emulator individually and i simply haven't done that for mutter / xfce4-terminal.  As this is a very new project im focusing on making the core more solid at the moment than adding more support for individual use cases (but this will definitely come).
The problem on void is that there doesn't seem to be a symlink without a version (E.g. /usr/lib/libX11.so --> /usr/lib/libX11.so.6 and /usr/lib/libX11.so.6 --> /usr/lib/libX11.so.6.4.0 then) which exists on the most common distributions. This can be solved by hardcoding a specific version of library, although this brings problems like

what happens if the library gets a major update?
What if somebody has an older version installed?

This could be solved by dynamically looking for files starting with libX11.so in /usr/lib/ and trying with all results but i thinks this will cost a lot of compute time.

The symlinks are different in Void vs Manjaro. When I made one, it fixed the resolution output:

The same would probably work for the rest.

Small tip: if you symlink libwayland-client.so or libXrandr.so you should get refresh rate in resolution output, wayland even supports different refresh rates per monitor if this is important for you.

As a solution for you, without creating files not indexed by your package manager, you can put the following lines in ~/.config/fastfetch/config.conf:
--lib-wayland libwayland-client.so.0
--lib-pci libpci.so.3
--lib-dconf libdconf.so.1

closing this as the original issue was resolved.


Increase test timeout

Problem
Right now we have to add this.timeout before every test. This creates a lot of repetitive code which can be avoided by editing out the Taskfile.yml.
Solution
Edit the Taskfile.yml. There's an npx mocha command that has a low test transaction timeout.
Alternatives
No response

closed via #2566


Avoid rethrowing exception during test teardown

Motivation
In several cases, the test get stuck on the broker teardown. Do not re-throw the exception here, since the test logic itself was already successful.
20:18:36.507 [main:org.apache.pulsar.broker.auth.MockedPulsarServiceBaseTest@176] WARN  org.apache.pulsar.broker.auth.MockedPulsarServiceBaseTest - Failed to clean up mocked pulsar service:
org.apache.pulsar.broker.PulsarServerException: org.apache.pulsar.broker.PulsarServerException: java.util.concurrent.TimeoutException
	at org.apache.pulsar.broker.PulsarService.close(PulsarService.java:319) ~[classes/:?]
	at org.apache.pulsar.broker.auth.MockedPulsarServiceBaseTest.internalCleanup(MockedPulsarServiceBaseTest.java:161) [test-classes/:?]
	at org.apache.pulsar.broker.admin.NamespacesTest.cleanup(NamespacesTest.java:173) [test-classes/:?]

run java8 tests

rerun java8 tests

run java8 tests
run integration tests

run java8 tests


Moment deprecation warning

Getting the following deprecation warning when using this component with the latest version of moment:
Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.

What do you pass as value?

It's not related to component directly but to how component is used. It seems that it was passed a string which is not valid ISO string for datetime values.
In the recently released version you can pass valueFormat prop which specify how to parse string values:
<Time value="2012/12/12" valueFormat="YYYY/mm/DD" />


Fix compile error in libnotify plugin

Fixed your compile error :)

What version of gtk do you use? it is defined as following in my environment.
NotifyNotification *notify_notification_new(const gchar *summary,
											const gchar *body,
											const gchar *icon,
											GtkWidget *attach);

I don't know when the last argument is removed.
In my case, libnotify 0.5.0-2ubuntu1(Ubuntu 10.10 Marveric) has 4 arguments version. However, official documentation (NotifyNotification, 0.7.4) shows 3 arguments version.
And, libnotify has no macro to identify version. So, what should I do to fix it?

try in latest.

And please create another issue for second patch. :)