implementation of np.fill_diagonal

i would like to request something like np.fill_diagonal for dask
Any pointers on how I could go about implementing this on my own would be much appreciated.
The best i have come across SO is https://stackoverflow.com/questions/51713725/what-is-the-equivalent-of-np-fill-diagonal-in-dask which mentions using map_block but I am unsure of the logic to put inside the function passed to map_block
For a minimal example implemented in numpy that I wish to take over to dask:
def update_diagonal(matrix, num, lr, i):
    """
    Description:
        Updates the diagonal of the input matrix
    Inputs:
        matrix: Input diagonal matrix.
        num            : Number of rows/columns.
        lr          : Learning rate.
        i           : ith iteration
    """
    np.fill_diagonal(matrix, np.nan)
    matrix_std = np.nanstd(matrix, axis=0, ddof=0)
    matrix_fill = matrix_std * i * math.exp(2 * lr * step)
    np.fill_diagonal(matrix, matrix_fill)
    return matrix

Thanks for the great work on dask. it has really helped in my project

Thanks @talkhanz. Adding a da.fill_diagonal method would be welcome.

Any pointers on how I could go about implementing this on my own would be much appreciated.

Using map_blocks could work here. I think we'd want to map a function that makes use of the block_info= or block_id= functionality described in the map_blocks docstring to determine if we're on the diagonal or not. For non-diagonal blocks, don't do anything. For diagonal blocks, fill with the specified fill value.

Thanks for getting in touch!
I am not too familiar with how map_block works tbh.
I was inspecting https://docs.dask.org/en/stable/_modules/dask/array/creation.html#eye and wondering if replacing np.eye with np.nan or a fill_value would work for filling diagonals with nans or a fill_value.

ok just providing an update. I've managed to make dask.fill_diagonal work and tested it on a few test cases. still need to make sure this is fully functional for which i'd appreciate if @jrbourbeau could provide me the definite set of test cases. will give a detailed response with code soon

hey @ncclementi thanks for getting in touch and for sharing the snippet! I dont have a PR open yet but i will open it soon.
based on the code snippet you have shared, should i create a new file dask/dask/array/tests/test_fill_diagonal with a function such

def test_fill_diagonal():
     x = np.array([-2, -1, 0, 1, 2] * 20).reshape((10, 10))
     dx = da.from_array(x, chunks=5)
     assert_eq(da.fill_diagonal(dx), np.fill_diagonal(x))

btw np.fill_diagonal fills the diagonal in place i.e the original array is changed

based on the code snippet you have shared, should i create a new file dask/dask/array/tests/test_fill_diagonal with a function such
....

No, I wouldn't create a new file, we should find a place in one of the existing files. Although I'm not sure what is the best place in this case. Maybe in add it dask/array/tests/test_array_core.py), @jrbourbeau is this the right place?

btw np.fill_diagonal fills the diagonal in place i.e the original array is changed

This is interesting, I'm not sure what will happen to the test in this case since dx does a from_array and if x get's modified in place that might be modified dx too. I'd suggest you push any code that you have, so we can help you based on the code. : )

Thanks @talkhanz. Looking forward to the PR. It'll make commenting easier if we're all looking at the same code

hey guys, sorry for the delay. i have raised a pull request that is visible at https://github.com/dask/dask/pull/9866

I have noticed da.diagonal breaks when i input a large array without calling dask_array.compute_chunk_sizes().
This subsequently breaks da.flll_diagonal as well because im reusing da.diagonal code
 919         row_filter = (row_starts <= kdiag_row_start) & (kdiag_row_start < row_stops_)
    920         col_filter = (col_starts <= kdiag_col_start) & (kdiag_col_start < col_stops_)
--> 921         (I,) = row_blockid[row_filter]
    922         (J,) = col_blockid[col_filter]
    923

ValueError: not enough values to unpack (expected 1, got 0)

@talkhanz Would you mind reposting the last comment directly in the PR?
It'll make it easier to track code-related things in there.
Thanks


Made middleware path resolving lazy and refactored middleware names

Changes

Made graphql api path' resolving lazy in middlewares:
When profiling, it was noticed that most of the CPU time is actually wasted in the middlewares when calling and resolving reverse("api"). For example, when querying the me object, 28 ms of CPU time were used by the reverse("api") and 5 ms were actually being the rest of the request being processed.

Renamed middleware functions to meaningful names for easier profiling:
In the profiling trace we see "middleware" everywhere, making it impossible to know what middleware was being executed without having to lookup the path and line number that was provided by the trace.
middleware -> middleware -> middleware -> middleware. Who is who?

Pull Request Checklist

[x] Privileged views and APIs are guarded by proper permission checks.
[ ] All visible strings are translated with proper context.
[ ] All data-formatting is locale-aware (dates, numbers, and so on).
[ ] Database queries are optimized and the number of queries is constant.
[ ] Database migration files are up to date.
[x] The changes are tested.
[ ] GraphQL schema and type definitions are up to date.
[x] Changes are mentioned in the changelog.

Here is the report for c9fc37aa78d207ff6da2ff6df171806058365134 (NyanKiyoshi/saleor @ middlewares/lazy)
Base comparison is 81383c01022666b48a280982f27cf7e039272930.
No differences were found. (click me)

# api.benchmark checkout
  test name                                  	left count 	right count	duplicate count
  -------------------------------------------	-----------	-----------	---------------
  add billing address to checkout            	         34	         34	             20
  add shipping to checkout                   	          7	          7	              0
  checkout payment charge                    	         10	         10	              0
  complete checkout                          	          8	          8	              0
  create checkout                            	         50	         50	             24

# api.benchmark homepage
  test name                                  	left count 	right count	duplicate count
  -------------------------------------------	-----------	-----------	---------------
  retrieve main menu                         	          5	          5	              0
  retrieve product list                      	          4	          4	              0
  retrieve secondary menu                    	          5	          5	              0
  retrieve shop                              	          2	          2	              0

# api.benchmark product
  test name                                  	left count 	right count	duplicate count
  -------------------------------------------	-----------	-----------	---------------
  product details                            	         15	         15	              3
  retrieve product attributes                	          9	          9	              0

# api.benchmark variant
  test name                                  	left count 	right count	duplicate count
  -------------------------------------------	-----------	-----------	---------------
  product variant bulk create                	         51	         51	              3
  retrieve variant list                      	         15	         15	              6

# api product sorting attributes
  test name                                  	left count 	right count	duplicate count
  -------------------------------------------	-----------	-----------	---------------
  sort product not having attribute data     	         21	         21	              0


fix: fix build failing due incorrect #include files

As mentioned is #118, after some investigation I noticed that the file names referenced in the project JsiSkCanvas.h, JsiSkFontMgrFactory.h and JsiSkDataFactory.h  were incorrect.

Renamed JsiSKData.h to JsiSkData.h.
Some files were including to JsiSkData.h and others were including JsiSKData.h. I have renamed it to follow the pattern same as other files.
Renamed JsiSkSvg.h to JsiSkSVG.h.
JsiSkCanvas.h was including file JsiSkSVG.h which was actually named as JsiSkSvg.h. Following pattern of file naming in for other files, I have renamed it to JsiSkSVG.h

After making these changes, I was able to successfully build the app with latest react-native-skia installed.

[ ]  CLA Signed

Thanks, @ammarahm-ed! This has now been fixed in #125 so I'm closing this.

Hi @ammarahm-ed - this was not intentional at all! There is a lot of work involved with making sure the repo is healthy and in a good condition - and this time we missed your PR due to too much work. Nothing personal at all - and please accept our sincere apologies for this. We'll try to do better next time!

Indeed, our apologies, we missed that PR completely :))
Sorry about that!


Fix filedialog bugs

What does the pull request do?
Fixes crashes of Open and SaveFileDialog under Windows.
What is the current behavior?
Open and SaveFileDialog crash under windows if the Title-property is null (#1719). Also, crashes occur under Windows 7 #1700.
What is the updated/expected behavior with this PR?
The dialogs should not crash anymore.

Fixed #1719 by checking for possible null properties. Sadly, I can't verify that #1700 is fixed by this commit, since I don't have a Windows 7 machine at the moment. But it was a bug not to include FOS_FORCEFILESYSTEM into the options and then reading the filename via GetDisplayName(UnmanagedMethods.SIGDN_FILESYSPATH, ....
Fixes #1719
Fixes #1700

@jp2masa @wieslawsoltes can you all check if this fixes the issue?

Now I get this exception:
System.Runtime.InteropServices.COMException (0x8000FFFF): Catastrophic failure (Exception from HRESULT: 0x8000FFFF (E_UNEXPECTED))

Stack trace:
   at Avalonia.Win32.Interop.UnmanagedMethods.IFileDialog.SetFileTypes(UInt32 cFileTypes, COMDLG_FILTERSPEC[] rgFilterSpec)
   at Avalonia.Win32.SystemDialogImpl.<>c__DisplayClass1_0.<ShowFileDialogAsync>b__0()
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location where exception was thrown ---

@jp2masa Sorry, I included a wrong option in the default options... Could you try again?
If it still fails, what filters do you set?

It's working now. Thanks!

Thanks @CommonGuy!


[KYUUBI #6562] Support zorder clause syntax to use brackets

:mag: Description
Issue References 🔗

This pull request fixes #6562
Describe Your Solution 🔧

Modify KyuubiSparkSQL.g4 to support the zorder clause syntax to use brackets

Types of changes :bookmark:

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪
Behavior Without This Pull Request :coffin:
zorder clause syntax can't use brackets
Behavior With This Pull Request :tada:
zorder clause syntax can use brackets
Related Unit Tests

Checklist 📝

[x] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 0.00%. Comparing base (05cb5b4) to head (88701bf).

Additional details and impacted files
@@          Coverage Diff           @@
##           master   #6563   +/-   ##
======================================
  Coverage    0.00%   0.00%
======================================
  Files         677     677
  Lines       41799   41799
  Branches     5709    5709
======================================
  Misses      41799   41799

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Test project

We should pick a project that is known to be passing modulus standard, and write a test to ensure this project runs against it correctly. It will need to be open source, candidates:

[ ] logger
[x] knock-knock
[ ] demeteorizer
[ ] get-version

Need to merge these to include as successful tests:

https://github.com/onmodulus/logger/pull/8
https://github.com/onmodulus/get-version/pull/3


Add nan.max

Codecov Report
Attention: Patch coverage is 25.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 84.81%. Comparing base (d3b9b82) to head (b3af37a).
Report is 3 commits behind head on main.

Files with missing lines
Patch %
Lines

src/tabutorch/nan/reduction.py
14.28%
6 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #29      +/-   ##
==========================================
- Coverage   88.07%   84.81%   -3.27%
==========================================
  Files          10       10
  Lines         151      158       +7
  Branches       12       14       +2
==========================================
+ Hits          133      134       +1
- Misses         18       24       +6

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


CodeUnit File Management function OpenFileDialog bug

Hi,
When I call Codeunit "File Management" function OpenFileDialon
ClientFileName := FileManagement.OpenFileDialog('Select the picture','','');
I recieve an error message:

Why is that? Does anyone have the same issue?

@thpeder Hi, do you have any new about this issue?

Hi @linasostreika,
No I don't have any more information to you at the moment, but thanks for reporting the issue.

This feature can only be used in the windows client since it relies on client-side .NET.
The function should probably be marked as Internal.

@StanislawStempin so "File Management" function OpenFileDialog can not be used in Extensions?

It can be used in Extensions with Target = Internal (meaning On-Premise) and only in the Win Client. But cannot be used in the cloud or in the web client.


New idea - a "conversation" issue

Hi
I have been pointed in the direction of this project as a place that may be able to make use of an idea I have had further to my ongoing contribution to Mozilla.
Where contributors are involved in an open project on a platform such as GitHub, it is easy for issues to be taken up by conversation or discourse.  At the same time, I appreciate that there are some projects that do not have the resource to build and support a separate forum or chat platform, but they still wish to have open conversations with contributors.  Sometimes people may bring strong opinions that may not be relevant to software issues and "demand to be heard".
For these communities, would having a dedicated GitHub issue for community discourse be a useful recommended idea?  A GitHub issue is not a chat platform - I agree! - but as a way to contain discourse from "working" topics and have a dialogue with contributors in an open fashion, it might just work.
I appreciate that this idea has its flaws, but hopefully there might be some way you can use it and therefore have a fixed point in a repo where community dialogue can take place and possibly measured.

Hi @SeburoSUMO -- I agree that each community can appropriate technology as it sees fit, including using a GitHub issue for conversations that are not software related.
What metric do you think this would best align with?

Hi @GeorgLink
Looking at the focus areas listed on the CHAOSS site, I would initially look at this as being linked to Communication Inclusivity, but at there is also an element of Governance in so much that having an easy to reach communication "bucket" such as this could be a good way for people to flag up urgent concerns.

@SeburoSUMO is there anyway that you can proposed this via a shared document? This is something that I think we'd be happy to talk about at our next D&I call (July 15th).

I hope that this is okay.  Document is set so that anyone with the link can comment:
https://docs.google.com/document/d/1NJ_h5iNCnefACvkkF0N__j_skhyBuAnMieDKwCSXyQg/edit?usp=sharing

Yes, thank you!
At the bottom of the document, I copied the template we have for metrics so that we can start filling that out.
Could you please make the “edit” permission public? I was only able to make a suggestion.

Hi @GeorgLink
Sorry for that, I think I have now changed it for public editing:
https://docs.google.com/document/d/1NJ_h5iNCnefACvkkF0N__j_skhyBuAnMieDKwCSXyQg/edit?usp=sharing

Thank you

Hi @SeburoSUMO
Could you take a look at the template that @GeorgLink provided in your doc and place some of your text into the appropriate headings? This would be great in helping us to consider this metric.

Hi @germonprez
Apologies for not responding earlier, I did not know there was a needinfo outstanding for me.
At the time I wrote that document, I was unaware of the GitHub Discussions feature.  This is the same thing I was trying to outline - an area that contributors to a project without an open communication channel could discuss matters.  Although this feature is in Beta, it is a much better implementation of what I had in mind.
Thank you for your time, but I do not think this needs to stay open now.

Sound good. Thanks @SeburoSUMO


Use context manager or annotations for prometheus Gauge when possible /

applicable using g.track_inprogress()
This avoids having to manually call g.inc() and g.dec(), potentially
introducing bad metric reporting when exceptions are not handled
properly etc.
✅ Checks

[x] CI tests (if present) are passing
[x] Adheres to code style for repo
[x] Contributor License Agreement (CLA) completed if not a Reddit employee

(sorry not sure what happened, this disappeared from harold)


why centos7.0 is not supported with docker

File: install/linux/docker-ee/centos.md

install docker on centos required "Use CentOS 64-bit 7.1 and higher on x86_64" .
what's wrong with centos7.0 ?
I remember reading  that docker could go with centos7  a few months ago.

i see there is no mention of centos7.0 not supported in docker ce document.
is that mean ce is OK , but ee is not ?
File: install/linux/docker-ce/centos.md


Fix alert close, closed event

I don't quite understand why closeEvent and closedEvent are swapped here. Is there any special reason?
It is a little unexpected that closed.bs.alert was dispatched prior to close.bs.alert.

The order of the definition for the CustomEvent objects doesn't matter. We trigger close when the data-dismiss element is clicked, and closed event when animation, if any, is complete.

I agree with this behavior, but the code is doing the other way around. Currently, when the data-dismiss element is clicked closed event would be dispatched. Then when the animation finishes, close event would be dispatched.

@stepheny thanks for the clarification, I've merged this part and I updated V3 as well.


From header not parsed: From: FHA Rate Guide<EMAIL_ADDRESS>

This one shows blank Sender(@): From: FHA Rate Guide<EMAIL_ADDRESS>This one works fine, as do most others:  From: Andrew Hawkins<EMAIL_ADDRESS>Thanks
Hemal

I can't reproduce the behavior locally. Try importing attached message - 20241008-1000.zip - and see if it shows sender e-mail correctly.


Storybook > Component > Admin Dashboard> In small mobile view Card Revenue, Sales and To do List table is not display proper.

Describe the bug
In small mobile view Card Revenue, Sales and To do List table is not display proper.
Steps to reproduce bug
1.Go to 'https://stage.raaghu.ai/'
2. Navigate to 'Storybook > Component > Admin Dashboard'
Actual result-
In small mobile view Card Revenue, Sales and To do List table is not display proper.
Screenshots

Expected result-
In small mobile view Card Revenue, Sales and To do List table should be display proper.
Desktop (please complete the following information):
-OS: [Windows 10 Enterprise]
-Browser [ edge]
-Version [ 125.0.2535.92]

Fixed on stage


Cow: Watch rtampoa96(?:@yahoo.com)?

Cow requests the watch of the watch_keyword rtampoa96(?:@yahoo\.com)?. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

rtampoa96(?:@yahoo\.com)? has been seen in 0 true positives, 0 false positives, and 0 NAAs.

Approved by Spevacus in Charcoal HQ


Add query group level rejection logic

Description
With this change, we will be able to reject the requests for contended query groups.
Note

The QueryGroupService is a stub here and will be replaced by the actual implementation in next couple of days
Due to the above reason the tests for the QueryGroupService are intentionally left out to avoid the duplicate efforts.

Related Issues
RFC: https://github.com/opensearch-project/OpenSearch/issues/12342
Check List

[X] Functionality includes testing.
[ ] API changes companion pull request created, if applicable.
[ ] Public documentation issue/PR created, if applicable.

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

Also, gradle assemble and precommit are failing


Adds collection.removeif

Copied Collection.removeIf default method from GWT

Thanks again!

you're welcome again ;-)


Update version for batch shard allocation to 2.14

Description
Update the version check for batch shard allocator to v2.14
Related Issues

Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
[x] Commit changes are listed out in CHANGELOG.md file (See: Changelog)
[x] Public documentation issue/PR created

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

Failure arising because of flaky tests:

org.opensearch.cluster.MinimumClusterManagerNodesIT.testThreeNodesNoClusterManagerBlock - #10006
org.opensearch.indices.IndicesRequestCacheIT.testCacheCleanupOnEqualStalenessAndThreshold {p0={"opensearch.experimental.feature.pluggable.caching.enabled":"false"}} - #13503


Exercise 1.1: adding epsilon to std

Hello,
the provided solution spinup/exercises/problem_set_1_solutions/exercise1_1_soln.py includes the following snippet of code:
...((x-mu)/tf.exp(log_std)+EPS) ** 2...
which I'm a little curious about. The test passes without including the term EPS in my own solution (so I figure it doesn't matter), but I don't seem to find any mention of this epsilon parameter in the docs, https://spinningup.openai.com/en/latest/spinningup/rl_intro.html#stochastic-policies.
I'd like to know if there is any reasoning behind this term?

Hello, you seem to have missed some parenthesis. In the solution code it is :
(((x-mu)/(tf.exp(log_std)+EPS))**2
The EPS is there to avoid a possible division by zero which may happen later in training.

@unrealwill's answer is correct: the EPS is there for numerical stability, in case the denominator gets close to zero. I will probably add an explanation for this to the docs in the future.


file names and basic edits

@microsteve do not merge yet

OPS Build status updates of commit cb47daf:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/enterprise-graph-docs-pr, working directory: W:\oafe-s, target branch: master, target branch commit: 41e7fb8128d3f596ae62cbce434d38e01fe46206, source branch:<PHONE_NUMBER>b46b89ca4161fd7b16f87f/review-edits, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

enterprise-graph/api-overview.md
82
59
3
link
:white_check_mark:

enterprise-graph/build-graph.md
81
71
27
link
:white_check_mark:

enterprise-graph/conflation-concepts.md
76
52
22
link
:white_check_mark:

enterprise-graph/conflation-rules.md
73
35
58
link
:white_check_mark:

enterprise-graph/conflation.md
75
51
20
link
:white_check_mark:

enterprise-graph/create-conflation-model.md
89
71
18
link
:white_check_mark:

enterprise-graph/create-ontology.md
81
53
17
link
:white_check_mark:

enterprise-graph/create-source-schema.md
82
39
10
link
:white_check_mark:

enterprise-graph/delete-ontology.md
92
72
3
link
:white_check_mark:

enterprise-graph/enterprise-graph-overview.md
93
70
2
link
:white_check_mark:

enterprise-graph/enterprise-graph-use-cases.md
88
51
5
link
:white_check_mark:

enterprise-graph/entities.md
71
45
10
link
:white_check_mark:

enterprise-graph/index.yml
100
100
0
link
:white_check_mark:

enterprise-graph/ingest-data.md
80
45
12
link
:white_check_mark:

enterprise-graph/inheritance.md
80
32
3
link
:white_check_mark:

enterprise-graph/input-data-concepts.md
80
41
7
link
:white_check_mark:

enterprise-graph/ontology-concepts.md
86
69
11
link
:white_check_mark:

enterprise-graph/ontology.md
87
39
3
link
:white_check_mark:

enterprise-graph/properties.md
92
56
1
link
:white_check_mark:

enterprise-graph/query-graph.md
87
60
7
link
:white_check_mark:

enterprise-graph/schema-map-concepts.md
82
64
20
link
:white_check_mark:

enterprise-graph/schema-map-tutorial.md
77
28
3
link
:white_check_mark:

enterprise-graph/schema-map.md
77
41
14
link
:white_check_mark:

enterprise-graph/source-schema-concepts.md
87
72
15
link
:white_check_mark:

enterprise-graph/source-schema.md
74
55
7
link
:white_check_mark:

enterprise-graph/sparql.md
90
42
2
link
:white_check_mark:

enterprise-graph/toc.yml
100
100
0
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

enterprise-graph/api-overview.md
79
62
10
link
:white_check_mark:

enterprise-graph/build-graph.md
81
71
27
link
:white_check_mark:

enterprise-graph/conflation-concepts.md
76
52
22
link
:white_check_mark:

enterprise-graph/conflation-rules.md
73
36
57
link
:white_check_mark:

enterprise-graph/conflation.md
75
51
20
link
:white_check_mark:

enterprise-graph/create-conflation-model.md
89
71
18
link
:white_check_mark:

enterprise-graph/create-ontology.md
81
53
17
link
:white_check_mark:

enterprise-graph/create-source-schema.md
82
39
10
link
:white_check_mark:

enterprise-graph/delete-ontology.md
92
72
3
link
:white_check_mark:

enterprise-graph/enterprise-graph-overview.md
93
70
2
link
:white_check_mark:

enterprise-graph/enterprise-graph-use-cases.md
88
51
5
link
:white_check_mark:

enterprise-graph/entities.md
71
45
10
link
:white_check_mark:

enterprise-graph/index.yml
100
100
0
link
:white_check_mark:

enterprise-graph/ingest-data.md
80
45
12
link
:white_check_mark:

enterprise-graph/inheritance.md
80
32
3
link
:white_check_mark:

enterprise-graph/input-data-concepts.md
80
41
7
link
:white_check_mark:

enterprise-graph/ontology-concepts.md
86
69
11
link
:white_check_mark:

enterprise-graph/ontology.md
87
39
3
link
:white_check_mark:

enterprise-graph/properties.md
92
56
1
link
:white_check_mark:

enterprise-graph/query-graph.md
87
60
7
link
:white_check_mark:

enterprise-graph/schema-map-concepts.md
82
64
20
link
:white_check_mark:

enterprise-graph/schema-map-tutorial.md
79
36
7
link
:white_check_mark:

enterprise-graph/schema-map.md
77
41
14
link
:white_check_mark:

enterprise-graph/source-schema-concepts.md
87
72
15
link
:white_check_mark:

enterprise-graph/source-schema.md
74
55
7
link
:white_check_mark:

enterprise-graph/sparql.md
90
42
2
link
:white_check_mark:

enterprise-graph/toc.yml
100
100
0
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

OPS Build status updates of commit 06e50a5:
:warning: Validation status: warnings

File
Status
Preview URL
Details

enterprise-graph/conflation-concepts.md
:warning:Warning

Details

enterprise-graph/enterprise-graph-overview.md
:warning:Warning

Details

enterprise-graph/ontology.md
:warning:Warning

Details

enterprise-graph/source-schema-concepts.md
:warning:Warning

Details

enterprise-graph/source-schema.md
:warning:Warning

Details

enterprise-graph/api-overview.md
:white_check_mark:Succeeded

enterprise-graph/build-graph.md
:white_check_mark:Succeeded

enterprise-graph/conflation-rules.md
:white_check_mark:Succeeded

enterprise-graph/conflation.md
:white_check_mark:Succeeded

enterprise-graph/create-conflation-model.md
:white_check_mark:Succeeded

enterprise-graph/create-ontology.md
:white_check_mark:Succeeded

enterprise-graph/create-source-schema.md
:white_check_mark:Succeeded

enterprise-graph/delete-ontology.md
:white_check_mark:Succeeded

enterprise-graph/enterprise-graph-use-cases.md
:white_check_mark:Succeeded

enterprise-graph/entities.md
:white_check_mark:Succeeded

enterprise-graph/index.yml
:white_check_mark:Succeeded

enterprise-graph/ingest-data.md
:white_check_mark:Succeeded

enterprise-graph/inheritance.md
:white_check_mark:Succeeded

enterprise-graph/input-data-concepts.md
:white_check_mark:Succeeded

enterprise-graph/ontology-concepts.md
:white_check_mark:Succeeded

enterprise-graph/properties.md
:white_check_mark:Succeeded

enterprise-graph/query-graph.md
:white_check_mark:Succeeded

enterprise-graph/schema-map-concepts.md
:white_check_mark:Succeeded

enterprise-graph/schema-map-tutorial.md
:white_check_mark:Succeeded

enterprise-graph/schema-map.md
:white_check_mark:Succeeded

enterprise-graph/sparql.md
:white_check_mark:Succeeded

enterprise-graph/toc.yml
:white_check_mark:Succeeded

enterprise-graph/conflation-concepts.md

Line 29: [Warning] Invalid file link:(~/conflation-model-tutorial.md).
Line 39: [Warning] Invalid file link:(~/conflation-model-tutorial.md).

enterprise-graph/enterprise-graph-overview.md

Line 29: [Warning] Invalid file link:(~/quickstart.md).

enterprise-graph/ontology.md

Line 37: [Warning] Invalid file link:(~/../ontology-tutorial.md).

enterprise-graph/source-schema-concepts.md

Line 24: [Warning] Invalid file link:(~/conflation-model-tutorial.md).

enterprise-graph/source-schema.md

Line 42: [Warning] Invalid file link:(~/../create-source-schema.md).

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Acrolinx Scorecards
A minimum Acrolinx score of 80 is required.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
AcrolinxScore
LowestCategoryScore
Issues
Scorecard
Processed

enterprise-graph/api-overview.md
79
62
10
link
:white_check_mark:

enterprise-graph/build-graph.md
81
71
27
link
:white_check_mark:

enterprise-graph/conflation-concepts.md
76
52
22
link
:white_check_mark:

enterprise-graph/conflation-rules.md
73
35
58
link
:white_check_mark:

enterprise-graph/conflation.md
75
51
20
link
:white_check_mark:

enterprise-graph/create-conflation-model.md
89
71
18
link
:white_check_mark:

enterprise-graph/create-ontology.md
81
53
17
link
:white_check_mark:

enterprise-graph/create-source-schema.md
82
39
10
link
:white_check_mark:

enterprise-graph/delete-ontology.md
92
72
3
link
:white_check_mark:

enterprise-graph/enterprise-graph-overview.md
93
70
2
link
:white_check_mark:

enterprise-graph/enterprise-graph-use-cases.md
88
51
5
link
:white_check_mark:

enterprise-graph/entities.md
71
45
10
link
:white_check_mark:

enterprise-graph/index.yml
100
100
0
link
:white_check_mark:

enterprise-graph/ingest-data.md
80
45
12
link
:white_check_mark:

enterprise-graph/inheritance.md
80
32
3
link
:white_check_mark:

enterprise-graph/input-data-concepts.md
80
41
7
link
:white_check_mark:

enterprise-graph/ontology-concepts.md
86
69
11
link
:white_check_mark:

enterprise-graph/ontology.md
87
39
3
link
:white_check_mark:

enterprise-graph/properties.md
92
56
1
link
:white_check_mark:

enterprise-graph/query-graph.md
87
60
7
link
:white_check_mark:

enterprise-graph/schema-map-concepts.md
82
64
20
link
:white_check_mark:

enterprise-graph/schema-map-tutorial.md
79
36
7
link
:white_check_mark:

enterprise-graph/schema-map.md
77
41
14
link
:white_check_mark:

enterprise-graph/source-schema-concepts.md
87
72
15
link
:white_check_mark:

enterprise-graph/source-schema.md
70
55
9
link
:white_check_mark:

enterprise-graph/sparql.md
90
42
2
link
:white_check_mark:

enterprise-graph/toc.yml
100
100
0
link
:white_check_mark:

More info about Acrolinx

Install Acrolinx locally for VSCode
False positives or issues

OPS Build status updates of commit d1b24ed:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

enterprise-graph/api-overview.md
:white_check_mark:Succeeded

enterprise-graph/build-graph.md
:white_check_mark:Succeeded

enterprise-graph/conflation-concepts.md
:white_check_mark:Succeeded

enterprise-graph/conflation-rules.md
:white_check_mark:Succeeded

enterprise-graph/conflation.md
:white_check_mark:Succeeded

enterprise-graph/create-conflation-model.md
:white_check_mark:Succeeded

enterprise-graph/create-ontology.md
:white_check_mark:Succeeded

enterprise-graph/create-source-schema.md
:white_check_mark:Succeeded

enterprise-graph/delete-ontology.md
:white_check_mark:Succeeded

enterprise-graph/enterprise-graph-overview.md
:white_check_mark:Succeeded

enterprise-graph/enterprise-graph-use-cases.md
:white_check_mark:Succeeded

enterprise-graph/entities.md
:white_check_mark:Succeeded

enterprise-graph/index.yml
:white_check_mark:Succeeded

enterprise-graph/ingest-data.md
:white_check_mark:Succeeded

enterprise-graph/inheritance.md
:white_check_mark:Succeeded

enterprise-graph/input-data-concepts.md
:white_check_mark:Succeeded

enterprise-graph/ontology-concepts.md
:white_check_mark:Succeeded

enterprise-graph/ontology.md
:white_check_mark:Succeeded

enterprise-graph/properties.md
:white_check_mark:Succeeded

enterprise-graph/query-graph.md
:white_check_mark:Succeeded

enterprise-graph/schema-map-concepts.md
:white_check_mark:Succeeded

enterprise-graph/schema-map-tutorial.md
:white_check_mark:Succeeded

enterprise-graph/schema-map.md
:white_check_mark:Succeeded

enterprise-graph/source-schema-concepts.md
:white_check_mark:Succeeded

enterprise-graph/source-schema.md
:white_check_mark:Succeeded

enterprise-graph/sparql.md
:white_check_mark:Succeeded

enterprise-graph/toc.yml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@microsteve if you are okay with these diffs, please merge


Revise CONTRIBUTIONS to dictate requirements for Pull Requests, etc.

Due to a small flurry of less-than-useful pull requests with no justification, etc. which in turn require us to go digging to actually understand what the pull reqs do, we should more explicitly define our requirements for pull requests including Minimum Requisite Information.
watchlist and blacklist changes are much simpler to review but when we start putting in heavier code changes, functionality, etc. it becomes more necessary to have more details and justifications in the pull request.
This Pull Request is a draft until we get review of language, etc. at which point we'll make it a standard Pull Request.
Anyone with commit access is allowed to revise the branch, which is why I made it under SmokeDetector.

:+1:

Nobody merge this until its sat for a while.  I'd say 48h in case anyone else wants to make revisions.
At that time we can accept this if all checks out.

Nobody merge this until its sat for a while. I'd say 48h in case anyone else wants to make revisions.
At that time we can accept this if all checks out.

With no further complaints or changes, I am going to merge this.


v1.0.7 breaks our code based on sealeddata example: undefined reference to `u_thread_wait_event_ocall'

./lib/libenclave.a(sgx_tstd-3b39c27caf5563ab.sgx_tstd.3n9yueni-cgu.8.rcgu.o): In function `sgx_tstd::sync::mutex::SgxThreadMutexInner::lock':
sgx_tstd.3n9yueni-cgu.8:(.text._ZN8sgx_tstd4sync5mutex19SgxThreadMutexInner4lock17h3387cf2c2a22507cE+0x195): undefined reference to `u_thread_wait_event_ocall'
./lib/libenclave.a(sgx_tstd-3b39c27caf5563ab.sgx_tstd.3n9yueni-cgu.8.rcgu.o): In function `sgx_tstd::sync::mutex::SgxThreadMutexInner::unlock':
sgx_tstd.3n9yueni-cgu.8:(.text._ZN8sgx_tstd4sync5mutex19SgxThreadMutexInner6unlock17hcd0e85bf54896331E+0xd6): undefined reference to `u_thread_set_event_ocall'
c

code: https://github.com/scs/substraTEE-worker/tree/brenzi-crypto-helper-fixing

Hi @brenzi ,
I managed to fix this by:
(1) Copy and overwrite edl/sgx_tstd.edl, edl/sgx_fd.edl. Add edl/sgx_time.edl.
(2) Copy and overwrite the entire rust-sgx-sdk/common directory to substratee's common

I can submit a PR if you like :-)

Here's my patch
https://github.com/dingelish/substraTEE-worker/commit/d75ce066dc7fd70685265133e651213c68909651

Wow, I sure hope I may buy you a beer one day!
merged your commit into our master.


Use of ExecutorService creates non-daemon threads

Your use of ExecutorService in SyntaxTextAreaFX constructor creates a non-daemon thread that does not shut down when the window closes.  So this:

    executor = Executors.newSingleThreadExecutor();

Should be something like this:

    executor = Executors.newSingleThreadExecutor(runnable -> {
        Thread thread = Executors.defaultThreadFactory().newThread(runnable);
        thread.setDaemon(true);
        return thread;
    });

Completely agree with you.
Consider me newbie, can you explain your new code ??

The executor service allows you to pass in a ThreadFactory instance
which is used to create threads when the ExecutorService requires them.
This change simply creates a ThreadFactory that creates threads and then
sets them as daemon threads.  A daemon thread will shut down
automatically (and immediately) when the parent thread is closed.
------ Original Message ------
From: "Navdeep Singh Sidhu"<EMAIL_ADDRESS>To: "deepsidhu1313/SyntaxTextAreaFX"
<EMAIL_ADDRESS>Cc: "robross0606"<EMAIL_ADDRESS>"Author"
<EMAIL_ADDRESS>Sent: 2/24/2017 3:29:28 PM
Subject: Re: [deepsidhu1313/SyntaxTextAreaFX] Use of ExecutorService
creates non-daemon threads (#4)

Completely agree with you.
Consider me newbie, can you explain your new code ??
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/deepsidhu1313/SyntaxTextAreaFX/issues/4#issuecomment-282396403,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC0_2yjBU_SevK7V7L_0W5Q5KaAHZ768ks5rfz2ogaJpZM4MLnev.

This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

Thanks for the code. Committed the changes. We can close this issue if you want.


linux-5.4.88-modules (aarch64) fails, blocking nixos-unstable

Describe the bug
https://hydra.nixos.org/build/135054936
Caused by https://github.com/NixOS/nixpkgs/pull/78430.
To Reproduce
Steps to reproduce the behavior:

...
...
...

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers

cc @NeQuissimus
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Full log
The error:
root module: vmw_balloon
modprobe: FATAL: Module vmw_balloon not found in directory /nix/store/877vj59c34mrwa7b6120hdf02rkb5y08-linux-5.4.88-modules/lib/modules/5.4.88
builder for '/nix/store/1yhfy63iaxg1adlzwp91bxf6076863ij-linux-5.4.88-modules-shrunk.drv' failed with exit code 1

Seems to be related to nixos/modules/profiles/all-hardware.nix (vmw_balloon was added in 870375e19d1ec3ad69de7eb1c73c6c80cc214108):
      # VMware support.
      "mptspi" "vmw_balloon" "vmwgfx" "vmw_vmci" "vmw_vsock_vmci_transport" "vmxnet3" "vsock"

Not sure why the vmw_balloon kernel module seems to be suddenly gone.
cc @volth (disabled by GitHub...)

Full log
The error:
root module: vmw_balloon
modprobe: FATAL: Module vmw_balloon not found in directory /nix/store/877vj59c34mrwa7b6120hdf02rkb5y08-linux-5.4.88-modules/lib/modules/5.4.88
builder for '/nix/store/1yhfy63iaxg1adlzwp91bxf6076863ij-linux-5.4.88-modules-shrunk.drv' failed with exit code 1

Seems to be related to nixos/modules/profiles/all-hardware.nix (vmw_balloon was added in 870375e19d1ec3ad69de7eb1c73c6c80cc214108):
      # VMware support.
      "mptspi" "vmw_balloon" "vmwgfx" "vmw_vmci" "vmw_vsock_vmci_transport" "vmxnet3" "vsock"

Not sure why the vmw_balloon kernel module seems to be suddenly gone.
cc @volth (disabled by GitHub...)

Update: Ok, so I got a bit confused by the Hydra UI as e.g. https://hydra.nixos.org/build/135057055 states "System: x86_64-linux" but the failing build is from an aarch64-linux machine (e2da2215). I guess this is because we don't have a dedicated channel for AArch64.
In any case as long as the failure only occurs on AArch64 builds that would explain it as the vmw_balloon module depends on x86):
config VMWARE_BALLOON
        tristate "VMware Balloon Driver"
        depends on VMWARE_VMCI && X86 && HYPERVISOR_GUEST
        select MEMORY_BALLOON
        help
          This is VMware physical memory management driver which acts
          like a "balloon" that can be inflated to reclaim physical pages
          by reserving them in the guest and invalidating them in the
          monitor, freeing up the underlying machine pages so they can
          be allocated to other guests. The balloon can also be deflated
          to allow the guest to use more physical memory.

          If unsure, say N.

          To compile this driver as a module, choose M here: the
          module will be called vmw_balloon.

But the questions still is what changed in Nixpkgs to cause this regression.

Update: Ok, so I got a bit confused by the Hydra UI as e.g. https://hydra.nixos.org/build/135057055 states "System: x86_64-linux" but the failing build is from an aarch64-linux machine (e2da2215). I guess this is because we don't have a dedicated channel for AArch64.
In any case as long as the failure only occurs on AArch64 builds that would explain it as the vmw_balloon module depends on x86):
config VMWARE_BALLOON
        tristate "VMware Balloon Driver"
        depends on VMWARE_VMCI && X86 && HYPERVISOR_GUEST
        select MEMORY_BALLOON
        help
          This is VMware physical memory management driver which acts
          like a "balloon" that can be inflated to reclaim physical pages
          by reserving them in the guest and invalidating them in the
          monitor, freeing up the underlying machine pages so they can
          be allocated to other guests. The balloon can also be deflated
          to allow the guest to use more physical memory.

          If unsure, say N.

          To compile this driver as a module, choose M here: the
          module will be called vmw_balloon.

But the questions still is what changed in Nixpkgs to cause this regression.

maybe just the kernel update? a9dfa241f4380a9a9164687d55a56a424ae8537a

maybe just the kernel update? a9dfa241f4380a9a9164687d55a56a424ae8537a

Think I finally found it: fdf32154fc90698ef72ffa96ef39d920e1b9c951
cc @puckipedia

Think I finally found it: fdf32154fc90698ef72ffa96ef39d920e1b9c951
cc @puckipedia

So I guess it would be best to revert that commit in master for now and try to reland it via staging/staging-next as log contains multiple modules that are "not found" (10 matches) and this might also affect other things. But we could of course also try to fix the errors in master instead if someone prefers that.

So I guess it would be best to revert that commit in master for now and try to reland it via staging/staging-next as log contains multiple modules that are "not found" (10 matches) and this might also affect other things. But we could of course also try to fix the errors in master instead if someone prefers that.

I already have code that adds all those conditionals to make the minimal ISO build, so we could use that if that's the only issue.

I already have code that adds all those conditionals to make the minimal ISO build, so we could use that if that's the only issue.

I already have code that adds all those conditionals to make the minimal ISO build, so we could use that if that's the only issue.

suggest we try and see

I already have code that adds all those conditionals to make the minimal ISO build, so we could use that if that's the only issue.

suggest we try and see

Ok, so I got a bit confused by the Hydra UI as e.g. https://hydra.nixos.org/build/135057055 states "System: x86_64-linux" but the failing build is from an aarch64-linux machine (e2da2215). I guess this is because we don't have a dedicated channel for AArch64.

You're looking at the tested meta-job that combines things from multiple platforms.

Ok, so I got a bit confused by the Hydra UI as e.g. https://hydra.nixos.org/build/135057055 states "System: x86_64-linux" but the failing build is from an aarch64-linux machine (e2da2215). I guess this is because we don't have a dedicated channel for AArch64.

You're looking at the tested meta-job that combines things from multiple platforms.

You're looking at the tested meta-job that combines things from multiple platforms.

Yeah, I didn't know that it combines things from multiple platforms this way (thought there would be two tested jobsets) but I guess that makes sense in hindsight. But in any case it would IMO be nice to have dedicated channels for each architecture (cc #83049) but that is another topic (and I didn't really look a the details).
Anyway, thanks for pushing a fix :)

You're looking at the tested meta-job that combines things from multiple platforms.

Yeah, I didn't know that it combines things from multiple platforms this way (thought there would be two tested jobsets) but I guess that makes sense in hindsight. But in any case it would IMO be nice to have dedicated channels for each architecture (cc #83049) but that is another topic (and I didn't really look a the details).
Anyway, thanks for pushing a fix :)

:-) The trunk-combined jobset bears lots of history, just look at the name from svn times...

:-) The trunk-combined jobset bears lots of history, just look at the name from svn times...


Hide classes that are only for typing in auto-completion and rank them down in the search

Is your feature request related to a problem?
Classes that

don't have a constructor
don't have static members

are only used for typing. However, they

still get suggested by auto-completion,
still show up prominently in the search.

Desired solution

Hide them in auto-completion
Rank them down for searching
Display an info that they are only for typing.

Possible alternatives (optional)
No response
Screenshots (optional)
No response
Additional Context (optional)
No response

:tada: This issue has been resolved in version 0.12.0 :tada:
The release is available on:

npm package (@latest dist-tag)
npm package (@latest dist-tag)
v0.12.0
GitHub release

Your semantic-release bot :package::rocket:


subsys: logging: rtt: undeclared macro

DROP_MAX macro is used unconditionally but its declaration is conditional.
Line subsys/logging/log_backend_rtt.c:113
int cnt = min(drop_cnt, DROP_MAX);
error: ‘DROP_MAX’ undeclared (first use in this function)

Fixed by 47f529829fe81974cc2ce047d30641dbd8b69005.


[FEATURE] "social circle" in amethyst?

Is your feature request related to a problem? Please describe.
Content moderation is a legal agreement between the provider of a service and the person who wants to use it, who must agree to abide by the terms of service in order to use it.
Describe the solution you'd like
I would like to check who follows me and who is being followed. For example,

img-description: This image is illustrative. What this image demonstrates is who is following me, and who is being followed within my social circle.  Including a social circle makes sense in the case of greater transparency, privacy for users of the nostr network. Today we don't know which social bubbles we are here. What I'm asking for is greater transparency in knowing which people should follow and which ones we are not following.
Bounty (in Bitcoin sats) offered for the implementation
None - I'm thinking of developing this feature openly and free of charge by the amethyst app - which is a nostr client.
Additional context

I would like to contribute to this application
I would like to know if this feature makes sense
What I'm asking for here is an open way to moderate the content, through open information about who is following me and who is being followed. Things like GitHub have this following feature. Generally, you follow people within your social bubble or your common interests.
There are legal or juridical boundaries, which speak to the engagement process, reach, momentum or  content direction. For example, some news networks say their political positions or the way they investigate things - to make most people aware of their transparency or editorial work. In this sense, the resource that I request and that I can develop can provide greater transparency for people in the client nostr: amethyst.
Some say that social networks or apps should be more transparent about the content moderation process. So, I believe this can be done through open source and decentralized regulations. What I describe here is an open and decentralized possibility of algorithmic content moderation. Generally speaking, anyone can check who is inside or outside their social circle.
I am not a lawyer, judge, prosecutor or law student - in that sense, any information here may be wrong at first, but my question is valid in terms of developing a solution for content moderation. In this sense, I would like to know who has knowledge of the law if the resource I request makes sense and can contribute to society in general that needs to communicate. But at the same time, finding out which are the most harmful contents and with that forwarding to a legal process.
There are several forms of content moderation - for example: ways to moderate content in the free, temporary, judicial, open, closed or mixed sense. For example,  "a closed form of content moderation" can be done by the very people who manage an "application", "network", "social networking". For example, it is common for large social networks like Twitter, Facebook to moderate content based on privacy and security terms. If the user is reported or does not comply with the terms, he is removed immediately or not in the terms or legal and judicial processes.

The problem with this approach to content moderation is that you need a third-party interpretation of what happened.
People don't always have money to pay lawyers, and in that sense they can have moderate content without it being considered illegal.
One way to solve this problem is to forward a complaint request to 3 relays: government, news network and some judge that people consider impartial or neutral.
This entire process is publicly available and can be followed.

"An open way of moderating content" can be done through the relevance of the greater or lesser number of likes, dislikes, shares, reposts etc.

But, the problem with this approach is that people can engage in spreading or sharing false content with the aim of censoring ideal or legitimate thinking within a democratic state. This can happen through massive spam submissions on the nostr network or even with paid posts, advertisements. Or when people are influenced by "fake profiles". For example, today it is common for people to cancel themselves - for "ideological and political positions", and often without due process of law.
"A famous case" of this is when a platform limits the reach of certain contents with economic interest, but passing through the sieve or social criterion - that is, trying to limit free market competition.
For example, "a clothing brand" can advertise on the nostr network claiming to be a brand interested in a "common good". So, she(the clothing brand) uses the discourse or narrative of the "common good" - saying that companies that do not follow this guideline are wrong. This is a theoretical and hypothetical example in which I describe the process of influencing a brand against a free market.
Because in theory, this "clothing brand" limits the options available to people. Of course, there are exceptional cases that are not within the context I describe. But I'm not defending companies, I'm defending the idea that people have open tools for greater verifiability in content moderation.
The idea of moderating content by number of likes and dislikes makes economic sense - but not socially. For example, there are YouTube channels with good content, but they don't have as many subscribers
What I mean here is that this is just a general, partial measure for content moderation, not a complete, total measure.

So, the number of people you are following is showed in the app. That's an accurate number.
Followers are quite hard to capture because you will need to manually connect with the 1000s of relays out there to download each of their following lists to see if you are in there. And you will never be able to download the private ones.
Outside the regular follows, people can add you to a list. Who ever uses that list (there is no way to know who is using) is also following you.
Follower count in Nostr doesn't make much sense.

Followers are quite hard to capture because you will need to manually connect with the 1000s of relays out there to download each of their following lists to see if you are in there. And you will never be able to download the private ones.

So, I will close this question then - thanks for information here.

Outside the regular follows, people can add you to a list. Whoever uses that list (there is no way to know who is using it) is also following you.

Is there any NIP for this?

Follower count in Nostr doesn't make much sense.

but, why?


img-responsive

"Reponsive Images
For responsive images you could use the built-in responsive image shortcode:
{{%/* img-responsive http://example.com/image.jpg */%}}"
I tried as it's stated in the README but nothing happens, I can just see the plain text {{%/* img-responsive http://example.com/image.jpg */%}}.
I also tried to find any reference in Hugo code/doc about img-responsive but with no luck.
Am I missing anything? Thanks

I've made a small change to the readme file because it was indeed a bit misleading. The comments are there for the shortcode not to be executed on the upcoming themes site that uses the readme files to build its content.
Anyway, basically you use the short code like this:
{{% img-responsive "http://example.com/image.jpg" %}}


Unable to test web site with Microsoft.AspNetCore.App dependency

Found while verifying aspnet/Release#302.
Repro steps

create empty folder e.g. md netCore21RC1Api
cd netCore21RC1Api
dotnet new webapi --name netCore21RC1Api --output .\netCore21RC1Api\
dotnet new xunit --name XUnitTest --output .\XUnitTest\
dotnet new sln
dotnet sln add .\netCore21RC1Api\netCore21RC1Api.csproj
dotnet sln add .\XUnitTest\XUnitTest.csproj
 dotnet add .\XUnitTest\XUnitTest.csproj reference .\netCore21RC1Api\netCore21RC1Api.csproj
dotnet add .\XUnitTest\XUnitTest.csproj package Microsoft.AspNetCore.Mvc.Testing -v 2.1.0-rc1-30661
create an xunit.runner.json file in the .\XUnitTest directory containing at least

{
  "shadowCopy": false
}

This setting should be irrelevant for .NET Core 2.1 tests. Including it just in case…

dotnet build

Confirm app and test project work fine separately (with project reference but that's it):
a. cd netCore21RC1Api
b. dotnet run --no-build
c. browse to https://localhost:5001/api/values
d. kill the app
e. cd ..\XUnitTest\
f. dotnet test --no-build

Update .\UnitTest1.cs to contain:

using System;
using System.Net;
using System.Net.Http;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc.Testing;
using netCore21RC1Api;
using Xunit;

namespace XUnitTest
{
  public class UnitTest1 : IClassFixture<WebApplicationFactory<Startup>>
  {
      private readonly WebApplicationFactory<Startup> _factory;

      public UnitTest1(WebApplicationFactory<Startup> factory)
      {
          _factory = factory;
      }

      [Fact]
      public void Test1()
      {
      }

      [Fact]
      public async Task Values_Succeeds()
      {
          // Arrange
          var client = _factory.CreateDefaultClient();

          // Act
          var response = await client.GetAsync("/api/values");

          // Assert
          Assert.Equal(HttpStatusCode.OK, response.StatusCode);
      }
  }
}

dotnet build
dotnet test --no-build

Expected
A successful run of both tests.
Actual
The XUnitTest.UnitTest1.Values_Succeeds test fails with no error given. XUnitTest.UnitTest1.Test1 still works fine. (Both tests fail if the server is started in the constructor i.e. the CreateDefaultClient() was not placed in a single test.)
Execution in Visual Studio
Visual Studio's Test Explorer window provides more information about the failure:

Details
dotnet --info:
.NET Core SDK (reflecting any global.json):
 Version:   2.1.300-rc1-008662
 Commit:    6ae1926fb0

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.14393
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   C:\Program Files\dotnet\sdk\2.1.300-rc1-008662\

Host (useful for support):
  Version: 2.1.0-rc1-26423-06
  Commit:  b50a96ee38

.NET Core SDKs installed:
  2.1.200-preview-007474 [C:\Program Files\dotnet\sdk]
  2.1.200-preview-007517 [C:\Program Files\dotnet\sdk]
  2.1.200-preview-007576 [C:\Program Files\dotnet\sdk]
  2.1.200-preview-007587 [C:\Program Files\dotnet\sdk]
  2.1.300-preview2-008523 [C:\Program Files\dotnet\sdk]
  2.1.300-rc1-008662 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.0-preview2-30552 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.0-rc1-30661 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.0-preview2-30552 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.0-rc1-30661 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.0.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.0-preview2-26403-06 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.0-rc1-26423-06 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

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

This problem does not occur when using just packages e.g. start the above repro steps with

md net461RC1Api
cd net461RC1Api
dotnet new webapi --name net461RC1Api --output .\net461RC1Api\ --target-framework-override net461
dotnet new xunit --name XUnitTest --output .\XUnitTest\ --target-framework-override net461

The packages-only workaround succeeds with .NET Core 2.1 as well i.e.

edit the above .NET 4.6.1 projects to target that TFM:

<TargetFramework>netcoreapp2.1</TargetFramework>

rm -Recurse .\net461RC1Api\bin\, .\net461RC1Api\obj\, .\XUnitTest\bin\, .\XUnitTest\obj\
dotnet build
cd  .\XUnitTest\
dotnet test --no-build
observe 2 successful tests

I've updated the original description to contain the correct UnitTest1.cs file for API tests.

And, I forgot to mention including the following in XUnitTest.csproj:
<ItemGroup>
  <None Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>

One workaround is to explicitly reference the shared runtime "package" from the test project:
<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.0-rc1-30661" />

But, this isn't discoverable at all.

Put another way, the reference to the Microsoft.AspNetCore package is getting lost in the transitive references. Need that package to pick up the WebHost.CreateDefaultBuilder(string[]) method.

Assigning to @JunTaoLuo because he's taking the first crack at determining why dotnet restore isn't working the way we expect with <ProjectReference ... />s and shared runtimes.

My suspicion is that this is related to our recent changes in making Microsoft.AspNetCore.App implicitly defined. I'm going to test it some more.

Hi, aspnet/home says aspnet@preview 's version: 2.1.0-rc1-30682, but where to download from?

@d0apga take a look at the download page: https://github.com/dotnet/versions/tree/master/build-info/dotnet/product/cli/release/2.1.

The current thinking is that we will not change any changes to the web sdk to allow the reference to the metapackages Microsoft.AspNetCore.App and Microsoft.AspNetCore.All to be flowed transitively.
This is because even if we were to make the transitive references flow, the build msbuild targets will not. This means that while the app will be run on the latest aspnetcore shared frameworks via roll-forward, the test project will not. This discrepancy in the binaries loaded is dangerous and we would like to avoid that by requiring the same logic to be applied to the test project. To do this, the test project will need:

An implicit reference to the aspnetcore metapackages like <PackageReference Include="Microsoft.AspNetCore.App" />.
Change the SDK from Microsoft.NET.Sdk to Microsoft.NET.Sdk.Web

This is something that we'll need to do via documentation and I'm not sure how to make this requirement discoverable.

This is because even if we were to make the transitive references flow, the build msbuild targets will not.

What makes references to the meta-packages special in this context? Other dependencies of a referenced project flow without causing MSBuild issues.
If I'm understanding, we changed the meta-packages to be treated as PrivateAssets='All' when brought in implicitly. Is it not possible to revert that change?

Am I correct any project (e.g. a unit test project exercising a service implementation) referring to a web project can hit his issue? If yes, a fix in Microsoft.AspNetCore.Mvc.Testing is insufficient.

There are some email discussions on what other solutions we might have for this issue.

Folks, this is in the 2.1.0 milestone.  Any product changes we epect to do in 2.1?  If so, we'll need to send this to shiproom ASAP.

The final decision is not to make any changes in 2.1.0. The expectation is that the user will need to make the aforementioned changes where the test project will need:

An implicit reference to the aspnetcore metapackages like .
Change the SDK from Microsoft.NET.Sdk to Microsoft.NET.Sdk.Web

We will explore creating templates for better guidance/discoverability.
cc @dougbu @javiercn is there any documentation we need to update for this?
FYI closing since we will not be making any code changes to address this issue.

@JunTaoLuo Little confused about why I'm not broken given the discussion here and on #7617. I set up the test project for the integration testing sample like this ...
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp2.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <Content Include="xunit.runner.json" CopyToOutputDirectory="Always" CopyToPublishDirectory="PreserveNewest" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\..\src\RazorPagesProject\RazorPagesProject.csproj" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="2.1.0-rc1" />
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.0" />
    <PackageReference Include="xunit" Version="2.3.1" />
    <PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
  </ItemGroup>

</Project>

... note the lack of use of Web SDK and the lack of a package reference for the App package.
It didn't seem to have a problem (except for a bunch of package warnings). Seems to run ok ...
Total tests: 14. Passed: 14. Failed: 0. Skipped: 0.
Test Run Successful.
Test execution time: 14.8748 Seconds

Is there a delta between what I'm doing with the integration testing sample and what's being addressed here? Do you still want me to change this to Web SDK and use the App package in the test project?
If you'd like to see the whole sample, I put it over here :point_right: https://github.com/guardrex/IntegrationTestingSample

@JunTaoLuo Nevermind ... I read your remarks and surmise the answer is 'yes' to my rubber :duck: question. I'll cover it in the topic updates.

Side note tho: It's choking on having ...
<Content Include="xunit.runner.json" CopyToOutputDirectory="Always"
         CopyToPublishDirectory="PreserveNewest" />

error : Duplicate 'Content' items were included. The .NET SDK includes 'Content' items from your project directory by default. You can either remove these items from your project file, or set the 'EnableDefaultContentItems' property to 'false' if you want to explicitly include them in your project file. For more information, see https://aka.ms/sdkimplicititems. The duplicate items were: 'xunit.runner.json'

Seems ok tho removing the Content Include ...
Total tests: 14. Passed: 14. Failed: 0. Skipped: 0.
Test Run Successful.
Test execution time: 12.8168 Seconds

... but still getting hundreds of package ref errors. We can look at that later on the PR.
    212 Warning(s)
    0 Error(s)

Adding the Microsoft.AspNetCore.App reference and changing the sdk isn't always required to make the tests pass. @guardrex in your case, the tests work because you are referencing the .App package explicitly and specifying the version. Normally, the templates do not have a version number and our implicit version logic would have marked the package with PrivateAssets=All. Since that did not happen, all of the transitive references were maintained and your tests would be able to load any assembly that the app requires.
However, the msbuild properties will not be flowed transitively and you can end up in a scenario where your app runs on a different framework than the tests so the recommendation is still to add a reference to Microsoft.AspNetCore.App and changing to Sdk.Web. What are the package ref error you are seeing?

@JunTaoLuo There was no error ... that was my question ... I was wondering why I wasn't getting an error. I wasn't repro-ing what's in this issue.

you are referencing the .App package explicitly and specifying the version

I wasn't referencing the package (and I wasn't using Web SDK). The test app was working with ...
<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp2.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <Content Include="xunit.runner.json" CopyToOutputDirectory="Always" CopyToPublishDirectory="PreserveNewest" />
  </ItemGroup>

  <ItemGroup>
    <ProjectReference Include="..\..\src\RazorPagesProject\RazorPagesProject.csproj" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="2.1.0-rc1-final" />
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.0" />
    <PackageReference Include="xunit" Version="2.3.1" />
    <PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
  </ItemGroup>

</Project>

It works just as well with the updates you recommended ...
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>netcoreapp2.1</TargetFramework>
  </PropertyGroup>

  <ItemGroup>
    <ProjectReference Include="..\..\src\RazorPagesProject\RazorPagesProject.csproj" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.0-rc1-final" />
    <PackageReference Include="Microsoft.AspNetCore.Mvc.Testing" Version="2.1.0-rc1-final" />
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="15.7.0" />
    <PackageReference Include="xunit" Version="2.3.1" />
    <PackageReference Include="xunit.runner.visualstudio" Version="2.3.1" />
  </ItemGroup>

</Project>

... but with just a couple of other changes not mentioned:

<OutputType>Exe</OutputType> removed
Content Include="xunit.runner.json" removed (but the JSON file still in the project root)

I've already updated the new integration testing topic with the changes you recommended. Unless you want me to revert those, I think we're good. :+1:

<PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.0-rc1-final" />

@guardrex this is not the recommended reference anymore. That was an early workaround I found while initially debugging the issue.
Instead, please use and recommend leaving the Version choice to the Web SDK:
<PackageReference Include="Microsoft.AspNetCore.App" />

@dougbu Hum ... ok ... first time I'm hearing about this ... been heads-down busy on docs issues and still receiving news on upcoming bits. Thanks for letting me know.


Plugin doesn't work on java 17

If building a project with java 17, the plugin cannot load the environment. Here is an example sbt output:
[info] welcome to sbt 1.5.5 (Homebrew Java 17)
[info] loading global plugins from ***/.sbt/1.0/plugins
[info] loading project definition from ***/project
[info] loading settings for project *** from plugins.sbt ...
[info] loading project definition from ***/project
[info] loading settings for project userMarvin from build.sbt ...
[info] set current project to *** (in build ***)
[info] .env detected (fileName=meta/environments/dev.env). About to configure JVM System Environment with new map
java.lang.reflect.InaccessibleObjectException: Unable to make field private static final java.util.HashMap java.lang.ProcessEnvironment.theEnvironment accessible: module java.base does not "opens java.lang" to unnamed module @6a338cc8
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
        at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
        at java.base/java.lang.reflect.Field.checkCanSetAccessible(Field.java:178)
        at java.base/java.lang.reflect.Field.setAccessible(Field.java:172)
        at au.com.onegeek.sbtdotenv.DirtyEnvironmentHack$.$anonfun$setEnv$1(DirtyEnvironmentHack.scala:42)
        at scala.runtime.java8.JFunction0$mcV$sp.apply(JFunction0$mcV$sp.java:23)
        at scala.util.Try$.apply(Try.scala:213)
        at au.com.onegeek.sbtdotenv.DirtyEnvironmentHack$.setEnv(DirtyEnvironmentHack.scala:38)
        at au.com.onegeek.sbtdotenv.SbtDotenv$.applyEnvironment(SbtDotenv.scala:93)
        at au.com.onegeek.sbtdotenv.SbtDotenv$.$anonfun$configureEnvironment$2(SbtDotenv.scala:75)
        at scala.Option.fold(Option.scala:251)
        at au.com.onegeek.sbtdotenv.SbtDotenv$.configureEnvironment(SbtDotenv.scala:75)
        at au.com.onegeek.sbtdotenv.SbtDotenv$autoImport$.$anonfun$dotEnv$1(SbtDotenv.scala:43)
        ...

I haven't looked that deeply into it, but I suspect that the dirty environment hack just isn't possible in java 17 as they have made the env inaccessible.

This has been answered before, see #116 for example.

is there a way to set those args from the build.sbt? I can do
sbt test -J--add-opens=java.base/java.util=ALL-UNNAMED -J--add-opens=java.base/java.lang=ALL-UNNAMED from the CLI but would be nicer if I could set those options universally in the build

Maybe like this helps?
https://github.com/mefellows/sbt-dotenv/issues/104#issuecomment-846759580

ah nice, thanks.


Undefined index: permissions

I wan to create new menu for superadmin. So i added below code in menu.php
[
                "name"          => "Pages",
                "route"         => "pages",
                "link"          => URL::route('pages.list'),
                "permission"    => ["_superadmin"]
      ],

and inside route.php file i added
 Route::group(['before' => ['admin_logged', 'can_see']], function()
		{
			/**
			 * Pages route
			 */
			 Route::get('/admin/pages/list', [
			 	//'before' => 'has_perm:_superadmin',
			 	'as'	=> 'pages.list',
			 	'uses' => 'Jacopo\Authentication\Controllers\DashboardController@base',
			 ]);
		}
	 );

but it's thorwing
ErrorException (E_UNKNOWN)  Undefined index: permissions.

I think you have to write "permissions" instead of "permission".
Here is your working case:
[
                "name"          => "Pages",
                "route"         => "pages",
                "link"          => URL::route('pages.list'),
                "permissions"    => ["_superadmin"]
      ],


Add react-intl provider to App

Official documentation
Step-by-step guide React with i18n
How to translate React app with react-intl (Example)


Cache nuget metadata lookup with some safe defaults

Fixes #352

Found a bug with assuming just the group name as the cache key. Will improve this a bit more.


DLib Community Channels

Hi,
@davisking , I recently found DLib and wanted to say it is great, really.
I think Dlib deserves better community facilities than SourceForge communities.
I'd like to suggest:

DLib Gitter Channel.
DLib Forum based on Discourse (With Math Equation support using MathJaX with the MathJaX Plug In).

These solutions will enable better knowledge flow between DLib's users.
Thank You.

  I'm way too busy for that.  And discourse is apparently something that costs money.  So not doing that either.
There are already lots of forums on the internet for people to talk about software and machine learning.  Why do you think we need another?

Hi,
I don't think you must be in the Gitter channel.
Just once you open it it will be official one for Dlib.
The people who should be there are Dlib users.
I was under the impression Discourse is free (Or at least can installed and used free).
The idea was to replace Sourceforge ancient forums and to give Dlib's users better place to share information about the usage of Dlib.
I, for one, would love to have such channels.
Thank You.

Well, I'm not going to idle in a chat room, so since I'm not going to use it I'm not going to set it up.
Also, there are two kinds of questions.  Bug reports or issues specifically related to some problem in dlib (i.e. things you can post to github) and things that are not (e.g. general programming or machine learning questions).  The first category is nicely served by github issues.  People with the other kind of question, "how do I program a computer?" or "can someone teach me machine learning?" would be much better served by using some other resource than a dlib chatroom.  For example, by reading a good textbook, taking a machine learning or programming class, or even asking on stack overflow.

@davisking ,
I see your point and appreciate you take time to explaining it.
I still thinks there is a room for Forum for Dlib users (There is actually, on SourceForge, yet the platform isn't welcoming).
I understand you have bad experience with many people trying to get support form you.
But my intention was different.
A community which each helps others.
For instance, how about questions about your method for objects detection learning?
About the exact procedure of Dlib reagrding some functions?
I feel I'd be happy to have such place.
Thank You.


MSG100 ignoring Open Duration setting (again) with version 5.1.0

MSG100 Garage door opener
Firmware v 3.2.7
H/W version 3.0.0
I have just updated the integration from version 5.0.4 to version 5.1.0 and now the integration ignores the Open Duration setting in the integration.
This has happened before and was fixed but I cannot remember which version of Meross LAN that was.
The Close Duration setting is honoured by the integration interestingly enough.
HA core version 2024.5.4 but HA core 2024.4.4 exhibits the same problem
HAOS 12.3 but HAOS 12.2 is the same.
Supervisor 2024.5.1
Frontend 20240501.1

Yes, after remanaging the garage door 'state' it happens you see the garage as almost immediately 'Open' since this is how the raw contact works  (it opens almost immediately when the opening transition starts while it closes only at the end of the closing transition)
I'm re-patching this to 'finally' sort it out

I thought it was the contact. Thanks for looking at this so promptly.

I think Moonlight.2 may have introduced a new issue related to this. If the garage door is triggered outside of Home Assistant, the Home Assistant entity switches to the opening/closing state but does not switch to the open/closed state at the end, The correct state appears in the Meross app and is fixed by reloading the Home Assistant device. The entity transition duration property also appears to be incorrect and does not match the Meross app value.

I think Moonlight.2 may have introduced a new issue related to this. If the garage door is closed from within Home Assistant, the Home Assistant entity switches to the closing state but does not switch to the closed state at the end. The correct state appears in the Meross app and is fixed by reloading the Home Assistant device. The entity transition duration property also appears to be incorrect and does not match the Meross app value.

Also experiencing this issue. Garage door state doesn’t update to Closed in Home Assistant.

While the issue with the 'opened' state was easily spotted, I cannot detect the issue on the 'closed' state.
The only possibility is there are some other problems preventing the state update.
Do you see any other warning or error in HA log about the 'malfunctioning' garageDoor ?
@Nerwyn,
The entity 'Transition duration' is an internal estimate of the time it takes to the door to complete the transition and it is just a 'kind of debug feature' so it shouldn't affect the behavior in normal circumstances.
It is there since the beginning of the implementation when devices didn't expose at all any configuration parameter for the 'time of run' and was used as a base timeout for the code to setup, monitor, refresh the transition.
Now, if the device exposes any of 'doorOpenDuration/doorCloseDuration' or 'signalOpen/signalClose', meross_lan will use these values (the same as those configurable in the app) to setup the transition monitoring and so the aforementioned 'Transition duration' is just there as a passive measure
At least this is the concept before any other bug ;)

Good to know about the transition duration attribute. The door open/close duration numbers are accurate.
I do see this warning in the log which may be the culprit:
2024-06-05 16:54:12.517 WARNING (MainThread) [custom_components.meross_lan.msg100_###############################7] AttributeError('list' object has no attribute 'get') in NamespaceHandler(Appliance.GarageDoor.State)._handle_dict: payload={'state': [{'channel': 0, 'open': 1, 'lmTime':<PHONE_NUMBER>}]}


[chore] update Go to 1.21, and update relevant pkgs

Desired Behaviour
Need to update Go to 1.21 in go.mod and in Dockerfile, and also Makefile

Minor chore on updating meshkit and meshery-adapter-library

Can this be assigned to me if open @Ghat0tkach @saurabh100ni ?

@saurabh100ni would like to work on this issue.


Gradle-generated reports are overwritten when running more than single test

Describe the bug
To Reproduce
Steps to reproduce the behavior:

Run patrol test passing two test --targets (make both fail to make report path visible)

Wait until both tests they fail, and open the generated report
 • Executing tests of apk with entrypoint notifications_test.dart on emulator-5554...

 	FAILURE: Build failed with an exception.

 	* What went wrong:
 	Execution failed for task ':app:connectedDebugAndroidTest'.
 	> There were failing tests. See the report at: file:///Users/bartek/dev/leancode/patrol/packages/patrol/example/android/test-reports/connected/index.html

 	* Try:
 	> Run with --stacktrace option to get the stack trace.
 	> Run with --info or --debug option to get more log output.
 	> Run with --scan to get full insights.

 	* Get more help at https://help.gradle.org

 	BUILD FAILED in 20s
 ✗ Failed to execute tests of apk with entrypoint notifications_test.dart on emulator-5554 (Gradle test execution failed with code 1) (21.2s)

In this case, open <mobile root>/android/test-reports/connected/index.html.

Only the latest report is present, and all the previous ones are overwritten by it.

Expected behavior
At the very least, Gradle-generated reports for every test target shouldn't be overwritten. We could copy every test target to its own directory in (for example) in <mobile root>/android/test-reports/connected.
A better solution would be to merge all Gradle-generated reports into a single final report.

Additional information

Flutter 3.7.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision b06b8b2710 (13 days ago) • 2023-01-23 16:55:55 -0800
Engine • revision b24591ed32
Tools • Dart 2.19.0 • DevTools 2.20.1

patrol: 0.10.9

patrol_cli v0.9.0

cc: @mateuszwojtczak

It looks like it can be specified in the Gradle: https://stackoverflow.com/questions/19326527/specify-gradle-report-directory
Maybe we could somehow reset this after every test run, so that we have multiple files - each per test run

Sounds good.
patrol test already does this internally:
./gradlew :app:connectedDebugAndroidTest \
   -Ptarget="$(pwd)/../integration_test/example_test.dart" \

We can access the target property in build.gradle and assign it the integrationTest.reports.html.destination variable that the SO answer mentions.

The linked SO answer is very old and not of much use, but it pointed me in the right direction.
I whipped some convoluted Groovy:
String path = "/Users/bartek/dev/leancode/patrol/packages/patrol/example/integration_test/smoke/example_integration_test.dart"
path = path.substring(0, path.length() - 5) // remove ".dart" from the end
String result = path.split("integration_test", 2)[1]
result = result.substring(1) // remove path separator from the beginning

println result // outputs "smoke/example_integration_test"

We could also write a Gradle plugin for Patrol. Then we could simply ask our users to include a single line into their build.gradle files
plugins {
    id "com.android.application"
    id "kotlin-android"
    id "co.leancodepl.patrol.plugin" version "1.0.3"
}

Important!
Please copy-paste code from example's app app/build.gradle file, instead of copying code from comments in this thread, which are outdated and may contain bugs.

This will get fixed by #1004.

Is it? @bartekpacia

Yup, this is no longer a problem.


Adjust volume by scrolling with the mouse wheel.

Is your feature request related to a problem? Please describe.
Adjust volume by scrolling with the mouse wheel.
Describe the solution you'd like
to Adjust volume by scrolling with the mouse wheel.
Describe alternatives you've considered
adjust the volume by hand
Additional context

have a Volume scroll amount to show How much the volume level is changed per individual scroll input.

Please elaborate - we don't have any volume controller of any kind in Chatterino

@pajlada have it in the browser extension to control the volume

The extension is supposed to only replace chat, not change the player.
Try ffz or bttv for these features.


Angular 12 Schematics throws error about required properties

🐞 Bug report
Command (mark with an x)

[x] add

Is this a regression?
Yes.
Description
I created OktaDev Schematics as a way to add authentication with Okta to new apps that are created with a framework's respective CLI (e.g., Angular CLI, Create React App, Vue CLI, etc.).
Today, I discovered it doesn't work with Angular CLI ~12.0.0-next.9.
$ ng add @oktadev/schematics
ℹ Using package manager: npm
✔ Found compatible package version<EMAIL_ADDRESS>✔ Package information loaded.

The package<EMAIL_ADDRESS>will be installed and executed.
Would you like to proceed? Yes
✔ Package successfully installed.
? What is your OIDC app's issuer URL? https://dev-9323263.okta.com/oauth2/default
? What is your OIDC app's client ID? 0oambt69c4LNBiJ7u5d6
Schematic input does not validate against the Schema: {"project":"foo","clientId":"0oambt69c4LNBiJ7u5d6"}
Errors:

  Data path "" must have required property 'issuer'

🔬 Minimal Reproduction
Steps to reproduce:
npm i -g @angular/cli@next
ng new foo --routing --style css
ng add @oktadev/schematics

If I install Angular CLI v11.2.10, it works fine.
$ ng add @oktadev/schematics
ℹ Using package manager: npm
✔ Found compatible package version<EMAIL_ADDRESS>✔ Package information loaded.
✔ Package successfully installed.
? What is your OIDC app's issuer URL? https://dev-9323263.okta.com/oauth2/default
? What is your OIDC app's client ID? 0oambt69c4LNBiJ7u5d6
            ✅ Added '@okta/okta-angular' into dependencies
            🔍 Installing packages...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.1200.0-next.9 (cli-only)
@angular-devkit/core         12.0.0-next.9 (cli-only)
@angular-devkit/schematics   12.0.0-next.9 (cli-only)
@schematics/angular          12.0.0-next.9 (cli-only)

Anything else relevant?
/cc @mgechev

I upgraded to v12 RC1 today and tried it with OktaDev Schematics. Now I get past the prompts, but a new error happens.
➜  foo git:(main) ng add @oktadev/schematics
ℹ Using package manager: npm
✔ Found compatible package version<EMAIL_ADDRESS>✔ Package information loaded.

The package<EMAIL_ADDRESS>will be installed and executed.
Would you like to proceed? Yes
✔ Package successfully installed.
? What is your OIDC app's issuer URL? foo
? What is your OIDC app's client ID? bar
Cannot find module 'bluebird'
Require stack:
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- /Users/mraible/foo/node_modules/schematics-utilities/dist/package_update/npm.js
- /Users/mraible/foo/node_modules/schematics-utilities/dist/package_update/index.js
- /Users/mraible/foo/node_modules/schematics-utilities/dist/index.js
-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>-<EMAIL_ADDRESS>- /usr/local/lib/node_modules/@angular/cli/bin/ng

It doesn't happen if I use Angular CLI v11.2.11.
➜  bar git:(main) ng add @oktadev/schematics
ℹ Using package manager: npm
✔ Found compatible package version<EMAIL_ADDRESS>✔ Package information loaded.
✔ Package successfully installed.
? What is your OIDC app's issuer URL? foo
? What is your OIDC app's client ID? bar
            ✅ Added '@okta/okta-angular' into dependencies
            🔍 Installing packages...

Execution time: 19 s.

My environment:
Angular CLI: 12.0.0-rc.1
Node: 14.16.1
Package Manager: npm 7.11.1
OS: darwin x64

Angular: 12.0.0-rc.1
... animations, cli, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, router


Problem in small screens

Hi,
I have a fixed element inside a scrollable container, to make this work I had to put "ui-scrollpoint-target" in the container. This works great in a desktop.
The problem is, when the page is in a mobile screen size, the container no longer controls the scroll, now the body is controlling the scroll and the fixed element doesn't work, probably because is listening to the "ui-scrollpoint-target" of the container that is no longer controlling the scroll.
Any advice on this? Thanks!

W3 standards state that fixed element position is relative to the viewport, not to a scrollable container.
What I've done in the case of having an element "stick" to the top of a scrollable div is to set its position: absolute; and watch the scroll event on the scrollable div (potentially a ui-scrollpoint-target) to update the element's top value.
You probably could try the ui-scrollpoint-pin module.  Last I recall it was working pretty nicely, but I ended up abandoning the project because I found it to be overkill and I wrote something more specialized into my ui framework.

Thanks for your help.
Yes, as I said, the sticky element is working with ui-scrollpoint-target, the problem is when that container is no longer controlling the scroll because the screen size is too small and the whole page/body starts controlling the scroll.
I haven't found something to explain how ui-scrollpoint-absolute works, maybe that can help?


The unprefixed Fullscreen API has been finally enabled on some browsers

The unprefixed Fullscreen API has been finally enabled by default on Firefox and Chrome. So events are no longer executed because the detection was not done in the correct order.
https://www.fxsitecompat.com/en-CA/docs/2018/fullscreen-api-has-been-unprefixed/

Thanks a lot! Ill check your function and add to the gallery.
On Sun, Dec 30, 2018, 6:35 PM Frédérik BENOIST<EMAIL_ADDRESS>wrote:

The unprefixed Fullscreen API has been finally enabled by default on
Firefox and Chrome. So events are no longer executed because the detection
was not done in the correct order.
https://www.fxsitecompat.com/en-CA/docs/2018/fullscreen-api-has-been-unprefixed/
You can view, comment on, or merge this pull request online at:
https://github.com/vvvmax/unitegallery/pull/202
Commit Summary

The unprefixed Fullscreen API has been finally enabled by default on
Firefox and Chrome. So events are no longer triggered because the detection
was not done in the right order.

File Changes

M source/unitegallery/js/ug-functions.js
https://github.com/vvvmax/unitegallery/pull/202/files#diff-0 (18)

Patch Links:

https://github.com/vvvmax/unitegallery/pull/202.patch
https://github.com/vvvmax/unitegallery/pull/202.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vvvmax/unitegallery/pull/202, or mute the thread
https://github.com/notifications/unsubscribe-auth/AC_K_s5PgyHVFtHzqfx8qzDkeewx1QzBks5u-OtugaJpZM4Zk_sW
.