Not calling shutdown shows error message

Currently, hedera-sdk doesn't provide an option to close the client/transaction. Every time a getAccountBalance or a FileUpdateTransaction transaction is execute, we get the below error:
Sep 18, 2019 5:44:06 PM io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference cleanQueue
SEVERE: *~*~*~ Channel ManagedChannelImpl{logId=53, target=0.testnet.hedera.com:50211} was not shutdown properly!!! ~*~*~*
Make sure to call shutdown()/shutdownNow() and wait until awaitTermination() returns true.
java.lang.RuntimeException: ManagedChannel allocation site
at io.grpc.internal.ManagedChannelOrphanWrapper$ManagedChannelReference.<init>(ManagedChannelOrphanWrapper.java:94)
at io.grpc.internal.ManagedChannelOrphanWrapper.<init>(ManagedChannelOrphanWrapper.java:52)
at io.grpc.internal.ManagedChannelOrphanWrapper.<init>(ManagedChannelOrphanWrapper.java:43)
at io.grpc.internal.AbstractManagedChannelImplBuilder.build(AbstractManagedChannelImplBuilder.java:512)
at com.hedera.hashgraph.sdk.Node.getChannel(Node.java:30)
at com.hedera.hashgraph.sdk.QueryBuilder.getChannel(QueryBuilder.java:33)
at com.hedera.hashgraph.sdk.HederaCall.newClientCall(HederaCall.java:34)
at com.hedera.hashgraph.sdk.HederaCall.execute(HederaCall.java:43)
at com.hedera.hashgraph.sdk.Client.getAccountBalance(Client.java:133)
at com.hedera.services.exchange.ExchangeRateTool.execute(ExchangeRateTool.java:76)

Working on adding an AutoCloseable implementation to Client so it can be used with try-with-resources.

To be clear, the issue here is letting Client get garbage-collected without closing the underlying gRPC channels. This error message exists to ensure users wait for the channels to finish existing calls before discarding them (and theoretically catch errors during shutdown but the only exception type documented is InterruptedException on awaitTermination()).
Reusing them per-transaction should be okay.

Client.putNode should also probably shutdown the channel of a node if it gets replaced.

@abonander Client.putNode just replaces the node and the replaced node will be garbaged collected. So the exception will be thrown anyway.
Meanwhile, is there another way to wait for the channels to finish existing calls?

That's what I meant, it should call .shutdown() on the replaced node.
There's no other way right now but I'm working on the aforementioned fix.

Opened #229.


[ARM] template validation commands show unexpected error messages for invalid templates

Describe the bug
ARM template validation commands shows unexpected error messages for invalid templates. This only happens on the dev branch db6c634faac95af7d3ebbeaf97d5245305e9dd91.
Command Name
az deployment group/sub/mg/tenant validate
Errors:
If a template contains any validation errors, the following error will be shown:
<bound method _RequestsTransportResponseBase.text of <RequestsTransportResponse: 400 Bad Request, Content-Type: application/json; charset=utf-8>>

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.
Run az deployment group validate with any invalid ARM template. For example:
{
  "$schema": "https://schema.management.azure.com/schemas/2019-04-01/deploymentTemplate.json#",
  "contentVersion": "<IP_ADDRESS>",
  },
  "functions": [],
  "resources": [
    {
      "type": "Microsoft.Storage/storageAccounts",
      "apiVersion": "2021-02-01",
      // reference not allowed here.
      "name": "[reference('abcede').something]",
      "location": "[resourceGroup().location]",
      "kind": "StorageV2",
      "sku": {
        "name": "Premium_LRS",
        "tier": "Premium"
      }
    }
  ]
}

Expected Behavior
Print the template validation error message.
Environment Summary
Windows-10-10.0.19043-SP0
Python 3.8.10
Installer: PIP

azure-cli 2.23.0

Additional Context

ARM


How to compile this into CSharp in windows 10?

I already installed the latest version of python.
When I tried to compile the project:

You need the protoc command in your %PATH% or specified with --protoc-path.

...or you must put the fullpath to the "protoc.exe" file as part of the python command (using -p attribute)
for example: "-p c:\software\protoc\bin\protoc.exe"
So full command then will be something like this:
"python compile_pretty.py -p c:\somedir\protoc\protoc.exe csharp"

Closing this issue.


Porting to Godot 4

Please check if the PR fulfills these requirements:

[x] The commit message follows our guidelines.
For bug fixes and features:

[x] You tested the changes.

Related issue (if applicable): #44
Info
Though we've discussed adding a new godot4-game folder, I'm opening this against the game folder so we can see the diff.
I was quite surprised at how large the diff is, but I guess godot 4 uses a much different metadata format for assets than godot 3, so I don't think there's a way around it. It might make sense to maybe only include the gdscript changes just so we can focus on the API changes for now. Any thoughts regarding this unwieldly diff?

@NathanLovato any thoughts?

Sorry for the slow answer. This PR is on my to-do list, just that this list is a bit long at the moment. Having a big diff is completely fine, please don't worry about it.
I'll test and review this over the weekend. Thanks much for taking the time to port the demo!

Cool! No worries. In that case, I put everything under the godot4-game folder as discussed. Thanks!

Thanks much for the work!


flyToBounds tests added

Implemented tests for flyToBounds method of Map(#8145)

@Falke-Design Kindly review again

@Falke-Design shall we merge this one in? Looks like a solid addition to the test suite.

Thanks for your contribution @shreya024, it's much appreciated!


What about arabic tessdata?

I tried tessdata from:
Google https://code.google.com/p/tesseract-ocr/downloads/detail?name=tesseract-ocr-3.02.ara.tar.gz&can=2&q=   3.02
I receive an error  "tessdata_manager.SeekToStart(TESSDATA_INTTEMP):Error:Assert failed:in file adaptmatch.cpp, line 511"
Git, main tesseract repo https://github.com/tesseract-ocr/tessdata
And I receive the same error.
Other languages work well!

If it's a question of the language file consistency you would better publish it to the upstream tesseract repository. You may also create your own language file like it's written [here] (https://code.google.com/p/tesseract-ocr/wiki/TrainingTesseract3).

In original project "Template Framework Project" arabic works fine, but in the new project does not work, strange...

Can you show me your code snippet and the project structure with the tessdata folder in it? (is it blue or yellow?). Could you also provide the whole output of Tesseract from the console?

Error and tessdata folder: https://www.dropbox.com/s/egplhia77sgpfhw/Edited1.png?dl=0
Log 1: https://www.dropbox.com/s/u76ai73npi5gbem/Edited.png?dl=0
Log 2: https://www.dropbox.com/s/nc1pn7eadxvha53/Edited3.png?dl=0
Code snippet: https://www.dropbox.com/s/29kqq04puc5lz5u/snippet.png?dl=0

Error and tessdata folder

Log 1

Log 2

Code snippet

I found a solution.

After changes everything works fine!

@Munderkind, so the reason of the crach is in G8OCREngineModeCubeOnly, isn't it?
Does arabic language normally work in Tesseract only mode? If so, pls, refer to #140. It seems that Cube is dead and no longer supported. So I'll change the ticket title to mention arabic language in it as well.

@Munderkind, could you also close the ticket if there are no more questions regarding the topic?

@ws233 Arabic language normally work only in G8OCREngineModeCubeOnly.
In G8OCREngineModeTesseractOnly, G8OCREngineModeTesseractCubeCombined crash with errors.

FYI, I see the same behavior running Tesseract on Android: https://github.com/rmtheis/tess-two/issues/12

Isn't working!

@Munderkind Thank you so much, you just saved my day!

@Munderkind neither cudeOnly nor tesseractCubeCombined working for me. Can you help me.

Crash --->

Code --->

tessdata folder --->


aparAhNa as second half of the day (rather than 4/5th)

Veda-s and sUtra-s speak of aprAhNa in two contexts:

Two fold division of day

"वसन्तो ग्रीष्मो वर्षा - ते देवा ऋतवः। शरद्+हेमन्तः शिशिरस् - ते पितरः। य एवापूर्यते ऽर्धमासः - स देवा, योऽपक्षीयते स पितरो, ऽहर् एव देवा, रात्रिः पितरः, पुनरह्नः पूर्वाह्णो देवा, अपराह्णः पितरः। ...... स यत्र उदगावर्तते देवेषु तर्हि भवति। देवांस् तर्ह्य् अभिगोपायस्य्, अथ यत्र दक्षिणावर्तते पितृषु तर्हि भवति, पितॄंस् तर्हि गोपायति ।" śatapatha Brāhmaṇa (ii. 1. 3, 1-3)

5 fold division of the day - "दे॒वस्य॑ सवि॒तुᳶ प्रा॒तᳶ प्र॑स॒वᳶ प्रा॒णः । ....मि॒त्रस्य॑ सङ्ग॒वः । ... बृह॒स्पते॑र्म॒ध्यन्दि॑नः । ...  भग॑स्यापरा॒ह्णः ।"

Proper disambiguation

In the context of muhUrta-s, the 5 fold division is to be taken.
In the context of pitRkArya-s (used in contrast with pUrvAhNa rather than sAngava etc.., and in juxtaposition with other two fold divisions like ayana, day-night etc.. ), the 2-fold division is to be taken.

The bug
Currently, the 5-fold division is assumed indiscriminately; whereas generally 2-fold division makes more sense (shrAddha, pitRkarma, sannyAsi-ArAdhanas etc..). This messes up vyApti decisions (besides making the logic complicated), besides giving ridiculous times for regions with very long/short  day lengths.
It is possible that later shiShTa-s support this wrong practice (like their "uttarAyaNa"), in which case, I'd be interested in seeing the pramANa-s. In that case, it might make sense to make to make this a computation option.

Implemented this change. Now using the half day interpretation. Turns out that no festival in the test cases is affected - so most people won't notice.

Can we have it as an alternative option please? Surely 70+ of festivals
will be affected... Not sure how nothing is affected...
On Wed, Oct 14, 2020, 07:33 Vishvas Vasuki विश्वासः <
<EMAIL_ADDRESS>wrote:

Implemented this change. Now using the half day interpretation. Turns out
that no festival in the test cases is affected - so most people won't
notice.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sanskrit-coders/jyotisha/issues/53#issuecomment-708108260,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKAPE3ZDXADXRVJUJ552ALSKUBHJANCNFSM4SKYX5SA
.

Check it out - nothing was actually affected. The corner case I'd imagined seems quite rare.

Oh - I think I must be misreading something - will go back and recheck.

Actually makes some difference. Implemented the option, but remain doubtful as to whether even latter day shiShTa-s interpret aparaahNa to be muhuurtas. If it is just a mistaken assumption in the code, would rather remove it.
Can you check (attaching panchaangas for 2020 at chennai-2020.local.tar.gz for convenience)? (Perhaps @jamadagni might care to comment.)
Couple of easy places to check:

kAJcI 40 jagadguru zrI~mahAdEvEndra sarasvatI 2 ArAdhanA (Internet doesn't tell me when that is.)
shraaddha tithi for 30th Jan 2020. ("2nd half of the day" gives tithi 5, old implementation gives nothing, I am told that vaidikashrI gives 6)

तथापि सम्प्रदायो वर्तत इति विज्ञायते - https://vvasuki.github.io/jyotiSham/mAnam/pUrvAhNa_vs_aparAhNa/ ।


Some strange behaviour of shallowReactive api

Link to minimal reproduction
https://sfc.vuejs.org/#eyJBcHAudnVlIjoiPHNjcmlwdCBzZXR1cCBsYW5nPVwidHNcIj5cblx0aW1wb3J0IHsgc2hhbGxvd1JlYWN0aXZlIH0gZnJvbSBcInZ1ZVwiO1xuXG5cdGxldCBvYmpqID0gc2hhbGxvd1JlYWN0aXZlKHtcblx0XHRuYW1lOiB7XG5cdFx0XHRmaXJzdDogXCJNb3VyYWRcIixcblx0XHRcdGxhc3Q6IFwiRUwgQ0FESVwiLFxuXHRcdH0sXG5cblx0XHRhZ2U6IDIzLFxuXG5cdFx0YWRyZXNzOiB7XG5cdFx0XHRjaXR5OiBcImNhdHRvc1wiLFxuXHRcdFx0Y291bnRyeTogXCJTZWFcIixcblx0XHRcdGxvdHQ6IDAsXG5cdFx0fSxcblx0fSk7XG5cblx0bGV0IGZvbyA9ICgpID0+IHtcbiAgICAvLyB0b2dnbGUgdGhpcyBsaW5lIGFuZCBjaGVjayByZWFjdGl2aXR5XG5cdFx0b2Jqai5hZ2UrKztcbiAgICBcblx0XHRvYmpqLm5hbWUuZmlyc3QgKz0gXCIyXCI7XG4gICAgXG4gICAgb2Jqai5hZHJlc3MubG90dCsrXG5cdH07XG48L3NjcmlwdD5cblxuPHRlbXBsYXRlPlxuXHR7eyBvYmpqIH19XG5cblx0PGJ1dHRvbiBAY2xpY2s9XCJmb29cIj5jbGljazwvYnV0dG9uPlxuPC90ZW1wbGF0ZT5cbiIsImltcG9ydC1tYXAuanNvbiI6IntcbiAgXCJpbXBvcnRzXCI6IHtcbiAgICBcInZ1ZVwiOiBcImh0dHBzOi8vc2ZjLnZ1ZWpzLm9yZy92dWUucnVudGltZS5lc20tYnJvd3Nlci5qc1wiXG4gIH1cbn0ifQ==
Steps to reproduce
just toggle that comment  // objj.age++; and see how reactivity behaves, when this line is commented (disabled) yes nested props are not reactive but when this line is active object behaves just like any reactive object
What is expected?
i expect that nested props don't change in a shallow reactive object root elements only can be reactive
What is actually happening?
nested props also has some reactive behaviour
System Info
No response
Any additional comments?
No response

This comes up regularly. Re-renders caused b one reactive change will still Update the whole template with the latest data, regardless of that other data is reactive.


Implement four string manipulation functions

This PR implements the following functions:

uppercase(s)
lowercase(s)
trim(s)
replace(s, from, to)

In addition, this adds support for another function variant Ternary.

This looks great. The only thing this needs is documentation. I think a new subsection in the Functions of the readme would be good, titled String Manipulation.

Merged! Thank's for the PR!


Skin Not Being Sized Correctly

In this application
<?xml version="1.0" encoding="utf-8"?>
<s:Application
	xmlns:fx="http://ns.adobe.com/mxml/2009"
	xmlns:s="library://ns.apache.org/royale/spark"
	xmlns:comp="components.*"
	width="100%"
	height="100%"
	>
	<comp:CollapsiblePanel/>
</s:Application>

where Collapsible Panel is
<?xml version="1.0" encoding="utf-8"?>
<s:SkinnableContainer
	xmlns:fx="http://ns.adobe.com/mxml/2009"
	xmlns:s="library://ns.apache.org/royale/spark"
	skinClass="components.CollapsiblePanelSkin"
	width="100%"
	>
</s:SkinnableContainer>

And CollapsiblePanelSkin is
<?xml version="1.0" encoding="utf-8"?>
<s:SparkSkin
	xmlns:fx="http://ns.adobe.com/mxml/2009"
	xmlns:s="library://ns.apache.org/royale/spark"
	>
	<fx:Metadata>
		[HostComponent("components.CollapsiblePanel")]
	</fx:Metadata>
	<s:Button left="0" right="0" height="24" />
	<s:Group id="contentGroup" width="100%" height="100%"/>
</s:SparkSkin>

The button should be spread to the width of the screen (as it does in Flex). Instead, it's got a 70px width.

In main app replacing
`<comp:CollapsiblePanel/>`

With
`<comp:CollapsiblePanel height="100%"/>`

Fixes the problem.

This seems to be fixed, at least with PR #1135 and other previous PRs (don't know which one fixed it;  probably commit d195814211ad3ada0f00be42cce0491419f8d032).  PR #1135 is specifically designed to resize skins in all cases (it uses "displayView" to be either contentView or skin, and resizes that appropriately).

Actually, already works in develop.  (PR #1135 changes the implementation, though, to try to make things better in other situations, too.)


Failing Search Performance Test

2024-11-06 10:14:12.581 Uncaught app exception
Traceback (most recent call last):
File "/opt/anaconda3/envs/py311/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/exec_code.py", line 88, in exec_func_with_error_handling
result = func()
^^^^^^
File "/opt/anaconda3/envs/py311/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 579, in code_to_exec
exec(code, module.dict)
File "/home/axhu/VectorDBBench/vectordb_bench/frontend/vdb_benchmark.py", line 50, in
main()
File "/home/axhu/VectorDBBench/vectordb_bench/frontend/vdb_benchmark.py", line 43, in main
drawCharts(st, shownData, failedTasks, showCases)
File "/home/axhu/VectorDBBench/vectordb_bench/frontend/components/check_results/charts.py", line 14, in drawCharts
drawChart(data, chartContainer)
File "/home/axhu/VectorDBBench/vectordb_bench/frontend/components/check_results/charts.py", line 46, in drawChart
drawMetricChart(data, metric, container)
File "/home/axhu/VectorDBBench/vectordb_bench/frontend/components/check_results/charts.py", line 164, in drawMetricChart
chart.plotly_chart(fig, use_container_width=True)
File "/opt/anaconda3/envs/py311/lib/python3.11/site-packages/streamlit/runtime/metrics_util.py", line 410, in wrapped_func
result = non_optional_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/py311/lib/python3.11/site-packages/streamlit/elements/plotly_chart.py", line 506, in plotly_chart
plotly_chart_proto.id = compute_and_register_element_id(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/envs/py311/lib/python3.11/site-packages/streamlit/elements/lib/utils.py", line 226, in compute_and_register_element_id
_register_element_id(ctx, element_type, element_id)
File "/opt/anaconda3/envs/py311/lib/python3.11/site-packages/streamlit/elements/lib/utils.py", line 132, in _register_element_id
raise StreamlitDuplicateElementId(element_type)
streamlit.errors.StreamlitDuplicateElementId: There are multiple plotly_chart elements with the same auto-generated ID. When this element is created, it is assigned an internal ID based on the element type and provided parameters. Multiple elements with the same type and parameters will cause this error.
How can i solve this error?
user is root
step:
sh /home/axhu/init.sh
vim init.sh
#!/bin/bash
conda init && conda activate py311
timestamp=$(date +"%Y%m%d-%H_%M_%S")
cd /home/xbli10/vectordbbench/
cd /home/axhu/VectorDBBench/
command="python -m vectordb_bench |& tee /home/axhu/log/result_${timestamp}.log &"
eval ${command}
cd /home/axhu

@midonKing Could you please check the VectorDBBench version?
"streamlit.errors.StreamlitDuplicateElementId" has been fixed in PR: #386 (v0.0.14)

@midonKing Could you please check the VectorDBBench version? "streamlit.errors.StreamlitDuplicateElementId" has been fixed in PR: #386 (v0.0.14)

yes,You are right, I upgraded the version to solve the problem, thank you!


CI actions failing

Some of the GitHub actions have failed.

@asemposki @jcyannotty @ominusliticus
Ideally, the test_and_deploy GH action should test prebuilt binary wheels rather than test a local clone so that the tests are true end-to-end tests of not only the code but also packaging.  Clearly this will also test a general user's experience.
I also like being able to test my installation directly.  For instance, I would typically like to run
$ python
>>> import Taweret
>>> Taweret.__version__
1.0.1
>>> Taweret.test()
...

I propose to

move the test folder into the distribution as Taweret/tests, which means that it (including the test data) would be in the module as Taweret.tests
add the test function to the package that would use pytest under the hood to discover and run tests as above
build the binary wheel, install it, and use the test function to check the wheels
add a tools/test_installation.py script that users could run to test their installation rather than run the above manually

How does this sound?

@jared321 everything regarding the tests sounds good to me. Two follow up questions:

what does the Taweret binary wheel contain? What purpose will the Taweret wheel serve going forward?

I'm not opposed to moving towards the source layout if it makes things easier. Will the new src folder just contain the Taweret folder, or will it also contain other items? If it just contains the Taweret folder (similar to the link you provided), then what is the benefit of doing this reconfiguration?

@jcyannotty

Taweret is now a pure Python package.  Therefore, when you run python -m build, it creates a source distribution as usual as well as a universal binary wheel that just contains the Python code and should work on any system that has a compatible version of Python 3.  If I bring in the test folder, they both also contain the test data.  My understanding is that for pure Python packages, the two are essentially the same.  However, the wheel has gone through some extra processing that makes it ready for immediate installation.  I doubt that any one would notice a difference when installing the two.  Python seems to prefer wheels in all cases for some reason.
Just the Taweret folder.  Although some of the annoying intermediate folders (e.g., egg) get written there too.  It has made it easier to build binary wheels and with less information in the pyproject.toml because setuptools is able to find everything it needs in this layout.  They also say in the documentation that there are less chances for errors.  I believe that be default "." is in the PYTHONPATH.  Therefore, if you are in the root of the repository with a flat layout, the code in your clone is found and used automatically if you run python or any of its tools (e.g., pydoc) there.  It even overrides the use of the installed version of the package if you have already pip installed it.  This can cause issues and surprises sometimes.  In the source layout, this only happens if you are in the src folder, where you normally wouldn't be.

I've been playing around with it so far on my branch.  Feel free to poke around and let me know if you have more questions.
https://github.com/bandframework/Taweret/tree/85_FixCI

I like the combining of the Taweret module code and test code. For one, this will included the test in the code report as well.
@jcyannotty wheels are binary objects. That means that they are smaller in size (faster to download) and ready to use (shorter to costumer). The user's computer would have to build the source distribution (which could potentially take very long), as it really is just  snapshot of the source tree.
As an example: the Windows's source code is around 300 GB in size with ~3.5 million files, while the operating system on your computer is ~30 GB

This is all good with me as well. I don't see any issues with the source format (at least at present), and it would be great to be able to test the packaging and not just the local clone.

The work done on 85_FixCI was brought into develop and then main.  We have not had any issues with CI recently and the current set of actions will be reassessed as part of the upcoming release.  Closed.


[FX-4602] Migrate Tabs

FX-4602
Description
Migrate Tabs to TailwindCSS

indicator animation is changed
we don't have scroll buttons anymore, for now I'm using native browser scrolling. Might be adjusted in different PR.

How to test

Temploy
FIXME: Add the steps describing how to verify your changes

Screenshots
Development checks

[x] Add changeset according to guidelines (if needed)
Read CONTRIBUTING.md and Component API principles
[x] Make sure that additions and changes on the design follow Toptal's BASE design, and it's been already discussed with designers at #-base-core
Annotate all props in component with documentation
Create examples for component
[x] Ensure that deployed demo has expected results and good examples
Ensure the changed/created components have not caused accessibility issues. How to use accessibility plugin in storybook.
[x] Self reviewed
Covered with tests (visual tests included)

Breaking change

codemod is created and showcased in the changeset
test alpha package of Picasso in StaffPortal

All development checks should be done and set checked to pass the
GitHub Bot: TODOLess action

PR commands

List of available commands:

@toptal-bot run package:alpha-release - Release alpha version
@toptal-anvil ping reviewers - Ping FX team for review

PR Review Guidelines

When to approve? ✅
You are OK with merging this PR and

You have no extra requests.
You have optional requests.

Add nit: to your comment. (ex. nit: I'd rename this variable from makeCircle to getCircle)

When to request changes? ❌
You are not OK with merging this PR because

Something is broken after the changes.
Acceptance criteria is not reached.
Code is dirty.

When to comment (neither ✅ nor ❌)
You want your comments to be addressed before merging this PR in cases like:

There are leftovers like unnecessary logs, comments, etc.
You have an opinionated comment regarding the code that requires a discussion.
You have questions.

How to handle the comments?

An owner of a comment is the only one who can resolve it.
An owner of a comment must resolve it when it's addressed.
A PR owner must reply with ✅ when a comment is addressed.

@toptal-anvil ping reviewers


[Purview - Data Quality] API Review

PR: https://github.com/Azure/azure-rest-api-specs/pull/20925

API Stewardship Board Review: 1-Dec-22
the "rules" concept is also reflected in the scanning service

Scanning: /classificationsrules/
DataQuality: /accounts/{accountId}/assets/{assetId}/rules
Recommendation: Change the path to /dataquality/assets/

asset - This is a Purview wide concept.
British spelling favourite.  In general, if we have multiple regional spellings I prefer the shorter form which would be favorite in this case.
POST - These are not idempotent by default. The recommended approach of using PUT or PATCH (with upsert).

@Souvik-Microsoft the PR linked to this review request has been closed due to inactivity. Are you still hoping to move forward with these changes or has there been a plan change?


Profile Folders

Description
I have a lot of Distros installed with WSL, so I have a lot of terminal profiles for each distro, and some with custom settings for some distros. So, folders can make the profile dropdown less cluttered and easier to navigate.
Checklist

[ ] Add the ability to create folders and add profiles inside folders
[ ] Add the ability to put folders inside folders
[ ] Add the ability to remove folders and make profiles that were inside the deleted folder move back into the dropdown
// If the deleted folder is inside another folder, move profiles inside the deleted folder up one folder
[ ] Add the ability to rename folders

Thanks for the suggestion! This is actually already being tracked by another issue on our repo - please refer to #1571 for more discussion.
/dup #1571


Add multiline strings

I was wondering about this feature today. Did this get added or did you decide against it?
It would be really useful for stuff like email templates, HTML templates, madlibs, maybe even embedding C/C++ directly in LDPL like https://github.com/JuliaInterop/Cxx.jl.

I decided against it just because I think it would be too hard to implement with little benefit. LDPL lines are all split when loading the file, so some shenanigans would have to be done to accept multiline strings.

(I mean, if you want to implement them, I woun't oppose, of course!)

Okay makes sense thanks!


WSL 2 update error 0x80070643, WSL 2 cannot be deleted

Windows Build Number
Microsoft Windows [Version 10.0.19044.1151]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
5.4.72
Distro Version
Any Distro
Other Software
No response
Repro Steps
Try to update wsl 2 by any way, either by Windows Update (In that case you will got error (0x80070643)) or by manual installation (In that case you will face pop-up window saying that wsl installation file cannot be found and ask to show msi file location even if the file location is in separate folder)
Expected Behavior
I expected to see successful windows update in windows update center or at least be able to succesfull update wsl manualy.
Actual Behavior
So small story before the problem.
I am using Win 10 Insider version Release Preview Version and everything worked fine.
Than I tried Win 11 dev channel (experience was bad), and got used system option (in update center win 11) to restore back system to the time before win11 and dev channel and I did it without any problem.
Updates keeps coming everithing worked just fine as before.
Than suddenly I got  0x80070643 error message. I pressed update again button and saw Windows update installing: Windows Subsystem for Linux Update - 5.10.16
And in like 40-60% of completion the  0x80070643 error pop up.
At first, I thought It is just my problem and tried to google solution for this error and did some steps like running sfc /scannow (it actualy found some minor bugs nothing about windows update and auto fixed it), problem was not fixed, that I tried those commands:
Dism /Online /Cleanup-Image /CheckHealth
Dism /Online /Cleanup-Image /ScanHealth
Everithing is ok.
Dism /Online /Cleanup-Image /RestoreHealth  (just ot be sure)
That is strange, cause error 0x80070643 must be fixed by those steps already.
So I tried manual installation got wsl_update_x64.msi as from here from wsl documentation link :https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi
As from https://www.catalog.update.microsoft.com/
During manual installation I got pop-up window with OK Cancel and Brouse Source buttons telling me that :
The needed file is on the net source that is not available.
Press OK to try again or show another location to the folder consisting install package
"wsl_update_x64.msi"
Than I use Brouse button to show the location of this msi and got another error pop-up:
! File "C:\Users....\wsl_update_x64.msi" not the right package for instalation Windows Subsystem for Linux Update. Try to find package "wsl_update_x64.msi" in the folder from which the installation of Windows Subsystem for Linux Update is perfoming.
If close that:
Old version Windows Subsystem for Linux Update cannot be deleted please call tech support.
I've tried many folders in different locations but those didn't help.
I got administrator privileges on the computer.
Sorry for not adding screenshots. My system is in another language, so I do not want to bother everyone with the translation, so I just typed all translated text here.
Sorry, If I post this problem not in the right place.
I just cannot solve this by myself.
Thank you for the understanding.
Diagnostic Logs
No response

If I understand correctly, you upgrade windows 10 to 11, then rollback to 10. and finally run into problem on Windows 10 and you have problem to update windows kernel.
If yes, I'm wondering if you are already using an newer kernel which stops the update.
You can check your current kernel version with wsl --status, and you may see
D:\repo\>wsl --status
Kernel version: 5.10.43

or check from Check version number of apps & programs in Settings
You can only update to 5.10.16 if it's less than  5.10.16

First of all, thank you, sir, for trying to help me.
You got me right, and I should specify that this update problem that occured on Win 10 wasn't day one after restore. I got several updates (so after restore to win10 system worked fine) and only than this problem occured.
I've checked kernel version (wsl --status) again and it still shows 5.4.72 version.
But manual installation working very strange, always asking me to show the proper wsl msi installation directory. Like an infinite loop msi file asks me to direct it to itself and after that telling me that installation file is not the right one.
I've been almost sure that it is just an error with Windows Update but due to the fact the problem stayed even after some procedures I've listed above I started thinking into wsl direction. I think maybe I got something wrong with my WSL2. (I got fedora remix for WSL and two Ubuntu versions, everything installed from Microsoft Store). Maybe I should try to delete wsl 2 manually and than install fresh version if there are any proper way to do this.  Maybe use some commands to do this in pwsh.
Anyway, thanks for trying to help me!

Before re-install, you may try this:

backup the Linux kernel file:  %SystemRoot%\system32\lxss\tools\kernel
uninstall Windows Subsystem for Linux Update from apps & programs in settings
run wsl --update or install wsl_update_x64.msi directly.
This should enable you to install the latest kernel update correctly. If not, copy kernel back to %SystemRoot%\system32\lxss\tools\kernel

I got the problem the day before update to win11.
PS C:\Users\${MyUserName}> wsl --status
默认分发：Ubuntu
默认版本：2

适用于 Linux 的 Windows 子系统最后更新于 2021/2/20
WSL 自动更新启用。

内核版本： 5.4.72

I have tried to delete WSL but got same issue. Pop - up window asking me to show direction to the proper wsl x64 msi file location and when i do so telling me that this msi file is not the right one.
I literally cannot delete WSL.
Moreover, I got new updates in Microsoft update center and coputer installed them without any problems but 0x80070643 error still persists. I think this is the confirmation that the problem with the deleting old wls version in order to install new one.

Before re-install, you may try this:

backup the Linux kernel file:  %SystemRoot%\system32\lxss\tools\kernel
uninstall Windows Subsystem for Linux Update from apps & programs in settings
run wsl --update or install wsl_update_x64.msi directly.
This should enable you to install the latest kernel update correctly. If not, copy kernel back to %SystemRoot%\system32\lxss\tools\kernel

Before re-install, you may try this:

backup the Linux kernel file:  %SystemRoot%\system32\lxss\tools\kernel
uninstall Windows Subsystem for Linux Update from apps & programs in settings
run wsl --update or install wsl_update_x64.msi directly.
This should enable you to install the latest kernel update correctly. If not, copy kernel back to %SystemRoot%\system32\lxss\tools\kernel

When I tried to run wsl --update,I got this pop-up

I used Fix problems that block programs from being installed or removed troubleshouter to remote WSL 2 completely from my system and did a "Retry" on windows update. Worked for me

Worked for me too. Many thanks!


Curated ABIs from Colorful Notion

Notes:

the Keccak-256 is the hash of the underlying bytecode, not the string of the bytecode (whether 0x prefixed or not)
This is an empirically opinionated dataset -- only functions/events that have been observed on-chain have been included with known signatures from openchain + 4byte
Concerning proxies that have an underlying implementation, the ABI of the proxy contract is left as is and does not incorporate any of the ABI elements of the implementation.   For example, the USDC contract address of 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
has bytecode hash of 0xd80d4b7c890cb9d6a4893e6b52bc34b56b25335cb13716e0d1d31383e6b41505

The ABI of 0xd80... is represented in the file:
d8.tsv:0xd80d4b7c890cb9d6a4893e6b52bc34b56b25335cb13716e0d1d31383e6b41505	[{"constant":false,"inputs":[{"internalType":"address","name":"_newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"impl","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[{"internalType":"address","name":"logic","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"impl","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

But critically, the above ABI does NOT have Transfer, Approve, etc.  Instead, the underlying implementation of contract address 0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48 is at 0xa2327a938febf5fec13bacfb16ae10ecbc4cbdcf which has bytecode hash of 0x10d68f9bb2ba9f5e9163cadc4a3446be0c6b2ab8b1b65079e79dcd94a6dc329c
and DOES have all the expected ERC20 functions/events:
10.tsv:0x10d68f9bb2ba9f5e9163cadc4a3446be0c6b2ab8b1b65079e79dcd94a6dc329c	[{"inputs":[],"name":"currency","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Mint","type":"event"},{"constant":true,"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"minterAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"name":"pauser","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name...```


Control Center Configuration Process Testing

@Edoardo333 can you please add what is being done on this ticket?

All the test ran successfully!


Fix #510 - Shutdown camera after taking a selfie

For now, I think we should stick to this fix and we can change the rest of the code to use mediaDevices.getUserMedia later on once the MediaStreaming API stabilizes.
One thing that I'm waiting on before we can move forward with this is to test it on older versions of Chrome and Firefox. Just waiting on acquiring the resources to do so.

@humphd r?

r=me with this extra safety included.


[FEATURE] @Delegate - automatic detection of already implemented methods

Describe the feature
@Delegate could detect already implemented methods and simply ignore them (as it does with getters)
Describe the target audience
Users of @Delegate who want to delegate all methods but some.

@rzwitserloot if there's no strict deadlines on this, I could give it a shot, doesn't seem that difficult

I also want this feature.

Great idea, going to have a good at implementing this

Update: Still working on this when I can, delay is getting the ECJ side working as this seems quite involved when compared with the javac side.

Any update on this?

I have almost finished this one and will create a pull request soon.

Can someone verify the fix using the edge release?


theharvester: 4.2.0 -> 4.3.0

Diff: https://github.com/laramies/theharvester/compare/4.2.0...4.3.0
Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

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

2 packages built:

theharvester
theharvester.dist


Twister/build failure for os.mgmt.info_bt

Twister fails on this pull request (https://github.com/zephyrproject-rtos/zephyr/pull/55768).  Last rebase was on ccd88a4b611ca4dfe3985709d3cd36021910a6c2.
I don't think it failed previously, but I didn't keep track of the starting SHA.
I get the same error on Linux with zephyr-sdk-0.15.2 with other boards.
west build -p -b nrf5340dk_nrf5340_cpunet -T /tests/subsys/mgmt/mcumgr/os_mgmt_info/os.mgmt.info_bt
west build -p -b nrf52dk_nrf52832 -T zephyr/tests/subsys/mgmt/mcumgr/os_mgmt_info/os.mgmt.info_bt
build/zephyr/misc/generated/extra_kconfig_options.conf:3: warning: malformed string literal in assignment to BT_DEVICE_NAME (defined at subsys/bluetooth/host/Kconfig:758). Assignment ignored.
Parsing /home/arbol/z1/zephyr/tests/subsys/mgmt/mcumgr/os_mgmt_info/Kconfig
Loaded configuration 'zephyr/boards/arm/nrf5340dk_nrf5340/nrf5340dk_nrf5340_cpunet_defconfig'

error: Aborting due to Kconfig warnings

Please use our bug template when reporting bugs. You need to edit this issue to include the needed information from https://github.com/zephyrproject-rtos/zephyr/blob/main/.github/ISSUE_TEMPLATE/bug_report.md

@mbolivar-nordic @PerMac sounds like a west bug? Above tests work fine when using twister but when using west it is not copying the quotes from the .yml file:
    extra_configs:
      - CONFIG_BT=y
      - CONFIG_BT_DEVICE_NAME="a_bt_name"

But build/zephyr/misc/generated/extra_kconfig_options.conf has:
CONFIG_BT=y
CONFIG_BT_DEVICE_NAME=a_bt_name

sounds like a west bug? Above tests work fine when using twister but when using west it is not copying the quotes from the .yml file:

probably; @nashif any idea what's going on here in the west build -T handling?


Assembly strong name Linux compatibility

Fixes #365
Fix a little bit dirty - it uses private class from cecil through reflection.

@KirillOsenkov, any plans on releasing a version that will include it? It will allow me start using latest IlRepack instead of very outdated custom fork.

Apologies I forgot about this.
Published:

https://www.nuget.org/packages/ILRepack/2.0.35
https://www.nuget.org/packages/ILRepack.Lib/2.0.35
https://www.nuget.org/packages/dotnet-ilrepack/1.0.1


Aria-controls contains wrong ID

Thanks for this plugin, it's very useful to me and my project. However, there is one accessibility issue that caught my attention, and it's that the 'aria-controls' attribute in Tabs.vue contains the wrong value.  Currently, it contains the same value as the href field: a value prepended with a # sign (computed in Tab.vue).  However, according to the spec, the aria-controls attribute should contain the id of the element it controls (and not the selector in this case).  It would be very helpful if this would get fixed.
Thanks!

Thank you for the heads up & the contribution.
Version 1.2.1 has been released which contains the fix.


⚠ ClamAV has degraded performance

In c8aa964, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 69 ms

Resolved: ClamAV performance has improved in 81bb715.


Update dependabot/fetch-metadata refs to v2

Why:
v2 of dependabot/fetch-metadata was released 3 weeks ago, the documentation should reflect the new tracking version, imo. Node16 is also EOL.
What's being changed:
Just dependabot/fetch-metadata@v1 -> v2
None of these workflow examples are breaking from the node16 to node20 upgrade.
Check off the following:

[x] I have reviewed my changes in staging, available via the View deployment link in this PR's timeline.

For content changes, you will also see an automatically generated comment with links directly to pages you've modified. The comment won't appear if your PR only edits files in the data directory.

[x] For content changes, I have completed the self-review checklist.

@Kai-Richardson Thanks so much for opening a PR! I'll get this triaged for review ✨


Update to 27.2

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Closes https://github.com/conda-forge/emacs-feedstock/pull/51

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Selectors are suggested to take a <two spaces>#<one space>[<expression>] form. See lines [13, 14, 15, 16, 17]

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

I think this can be merged @asmeurer @msarahan @notestaff , basically I just dropped patches that were already applied or fixed upstream.

I think the Apple silicon stuff has to be tested manually. CC @erykoff

Thanks for the ping.  I tested this and sadly it fails.  The problem is that the upstream patch checks for arm-apple-darwin but should check for arm64-apple-darwin.  This replacement for 0002-apple-silicon-resign-binary.patch does work, I hope you can put it in on your fork:
--- src/Makefile.in.orig	2021-05-05 14:21:56.000000000 -0700
+++ src/Makefile.in	2021-05-05 14:21:59.000000000 -0700
@@ -339,7 +339,7 @@

 ## ARM Macs require that all code have a valid signature.  Since pump
 ## invalidates the signature, we must re-sign to fix it.
-DO_CODESIGN=$(patsubst arm-apple-darwin%,yes,@configuration@)
+DO_CODESIGN=$(patsubst arm64-apple-darwin%,yes,@configuration@)

 # 'make' verbosity.
 AM_DEFAULT_VERBOSITY = @AM_DEFAULT_VERBOSITY@

Thanks @asmeurer and I replaced 0002-apple-silicon-resign-binary.patch with the new one from @erykoff and and all the tests pass. @erykoff do you need to test this again?

Looks good to me.


Fail Bulk(R):LIBUSB_ERROR_TIMEOUT(2.009s)

Based on some other issues reported here #334 ,
I did a simple test to reproduce a LIBUSB_ERROR_TIMEOUT problem that I have on a board:

SDP: boot -f imx-boot-dhunx-sd.bin-flash_evk
SDPV: delay 1000
SDPV: write -f imx-boot-dhunx-sd.bin-flash_evk -skipspl
SDPV: jump
FB[-t 15000]: ucmd sleep 3

The problem here is that I always get Fail Bulk(R):LIBUSB_ERROR_TIMEOUT during the sleep operation.
Is this a bug in uuu or is there some parameters I can change to avoid the error message?

After some more investigations and testing, I have found that if I increase the m_Timeout to something big in trans.cpp:: BulkTrans:Read function, I do not get the LIB_ERROR_TIMEOUT message in my test above.
ret = libusb_bulk_transfer( 	(libusb_device_handle *)m_devhandle, 	m_ep_in.addr, 	p, 	size, 	&actual_length, 	100000 );
Is there any reason for having it at 2000?

uboot command is sync.  Default 2s to run it.  BulkTrans:read try to get ucmd's running result. If exceed 2s, it will be timeout.


Not work on my latitude 5175 RTS525A

I tried to use it on my Latitude 5175 running MacOS 12 with both kexts injected, it recognizes the SD Card reader, but no SD Card shows up on Disk Utility or anything.
If someone can help..
The installed test shows the drive seems to  been installed.
but when I insert tf card ,it do not response at all.
the kernel log as follow
rtsx.log
Really appreciated if someone could help me.
Thx a lot!

Please identify your card. e.g., Brand, Type (SDSC/HC/XC?), Speed Class.
Your kernel log shows that your card does not respond to CMD8 and the initial ACMD41 (which triggers the card initialization sequence). Try to add the boot argument rtsxdssc=30 to see whether the card initialization sequence still fails.

Appreciated a lot for your soon respond! info as follow,
Sandisk sdxc speed class  least 10, whose label has v30
I wil test the argument you recommended, may reply in minutes. Thx a lot again!

Dear Wolf,
The new log implies the initialization remains failed after I added the argument you suggested. Wonder is there any ways I can try to make it work.
Best wishes! Thanks a lot!
The new log as follow,
rtsx.log

Maybe I should  test a lower speed grade tf card?

The new log implies the initialization remains failed after I added the argument you suggested.

Indeed, your card still does not respond to CMD8 and ACMD41.

Maybe I should test a lower speed grade tf card?

If possible, please do so, because I am not sure whether this is a card-specific issue or a bug in the driver at this moment.

I tried just on my sdhc class4 grade, still failed. Thought it could not be a card-specific issue.  Trying another middle grade card now, upgrading in minutes.
Appreciated for you help!

Intersetingly, according drive in the system info in PCIE and SD reader panels is missing after I insert the class4 tf before power on. Which is normally informed before.

Please insert those SD cards after you can see your desktop.

OK>>>>....
It seems all grade kinds tf are not work after the third test, the result may mean that the drive could be incompatible with my laptop.

Please insert those SD cards after you can see your desktop.
Got it, I try it again now

Yeah>>>....
After boot insert is not work either, and drive in the system info is gone after insert.

Dear Wolf
The latest log is followed, it would be so grateful if you got any adivce to me.
rtsx.log

Dear Wolf
Sincerely thanks for you help,  looking forward to your updating news or new version of this sd card drive.
By Einstonoy


Issue para añadir contribuidor

@all-contributors please add @leynier for code, maintenance and fix

@all-contributors please add @leynier for code, maintenance, and fix

@all-contributors please add @leynier for test and bug

@all-contributors please add @dany2709 for bug

@all-contributors please add @kenriortega for code

@all-contributors please add @alejandrogiubel for code


Store binary checksums alongside with files being released

downloads.getmonero.org holds historical releases for some reasons, but canonical PGP-singed checksums https://getmonero.org/downloads/hashes.txt are for the last one release (tough it mentioned on every release note on github for all versions the same).
If previous releases are need to be available they must be provided with signed hashes files for every single version.
It would be convenient to have them at the same resource as a binaries are.

The old release are not removed from the website, but they are not available through any link on downloads.getmonero.org.
So, i do not believe we should offer the pgp hash from the website itself. Perhaps should we remove the old binaries.

Note that you can check the git history of hashes.txt for any past version. On github it's at https://github.com/monero-project/monero-site/commits/master/downloads/hashes.txt

Note that you can check the git history of hashes.txt for any past version.

Yeap. That is exactly what I am doing for instance to verify hashes of recent releases
  set -exu; \
  xmrArch="monero-linux-x64-v${XMR_VERSION}.tar.bz2"; \
  curl -SLO https://downloads.getmonero.org/cli/$xmrArch; \
# scan canonical downloads/hashes.txt for latest signed checksum
  curl -sSL "https://github.com/monero-project/monero-site/commits/master/downloads/hashes.txt" | \
    sed -nE 's;^.*href="/monero-project/monero-site/commit/([a-f0-9]{40})#diff-.*$;\1;p' | \
      while read _COMMIT; do \
        hashes=$(curl -sS "https://raw.githubusercontent.com/monero-project/monero-site/$_COMMIT/downloads/hashes.txt"); \
        if echo "$hashes" | grep -qE "^($xmrArch,\s+[a-f0-9]{64}|[a-f0-9]{64}\s+\*?$xmrArch)$"; then \
          echo "$hashes" > hashes.txt && break; \
        fi; \
      done; \
  gpg --no-tty --batch --verify hashes.txt; \
  test "$(grep "$xmrArch" hashes.txt | grep -oE "[a-f0-9]{64}")" = "$(sha256sum -b $xmrArch | cut -d" " -f1)"; \
  tar --transform 's:.*/::g' -xaf *.tar.bz2 -C /usr/local/bin; \

This ugly workaround could be reduced significantly if signed hashes.txt will be available on downloads.getmonero.org for every binaries version.

@KunNw0n what about we add a second file old-hashes.txt that contains a forever expending list of all hashes for all versions? (hashes.txt would keep having only last version, no change from now).
My concern with your proposal of one hashes.txt per version is that newbies and users that are not too technical will be totally lost. It's already a challenge to have them check the hashes at all.

@binaryFate

what about we add a second file old-hashes.txt that contains a forever expending list of all hashes for all versions?

Totally fine as long as it has actual PGP signature (means it should be signed every time after update).
I'd better to back up previous hashes.txt to a hashes-v.X.Y.Z.txt during release of the new version. Then it will keep not only the hashes but the signature as well.

My concern with your proposal of one hashes.txt per version is that newbies and users that are not too technical will be totally lost.

Having single version tagged file per release version (i.e. hashes-v.X.Y.Z.txt) is not harder to deal with while one chooses proper binary archive monero-linux-x64-vX.Y.Z.tar.bz2, IMHO.
Newbies ~and muggles~ are out of scope of this issue - they should always use the latest one release.

Having single version tagged file per release version (i.e. hashes-v.X.Y.Z.txt)

I'm fine with this. (And indeed, as long as it does not change anything to the current simple enough workflow for most users and does not add any confusion to what they can read or do, it's ok).
Let's see if anyone has more comments.

Ok for me too.

Having single version tagged file per release version (i.e. hashes-v.X.Y.Z.txt)

Indeed, it is the solution I was expecting to see.

ping myself @binaryFate discussed on IRC again and todo


Pakage.json updated

new script added in the pakage.json for watching the change in .ts files

Please remove the .DS_Store file / maybe even add it to the gitignore.
Make sure, you don't downgrade the case-editor-lib, that would break the code.
Would it be possible to add "onchange" as a dev dependency rather?


Tensorflow won't let pytorch import

Click to expand!
Issue Type
Bug
Have you reproduced the bug with TF nightly?
No
Source
source
Tensorflow Version
2.12.0
Custom Code
Yes
OS Platform and Distribution
Docker image ubuntu:20.04 and above
Mobile device
No response
Python version
No response
Bazel version
No response
GCC/Compiler version
No response
CUDA/cuDNN version
No response
GPU model and memory
No response
Current Behaviour?
Tensorflow 2.12.0 won't let torch import, causes some sort of deadlock, if tensorflow is imported first
Standalone code to reproduce the issue
Code to reproduce the error:

docker run --rm -it ubuntu:22.04
// once inside
apt-get update && apt-get install python3
apt-get install pip
pip install tensorflow -y
pip install torch --extra-index-url https://download.pytorch.org/whl/cu118 -y
python3
import tensorflow
import torch

Note: the issue will persist even if you install torch-cpu, also on any Ubuntu:20.04 and above

### Relevant log output

_No response_</details>

Related to https://github.com/tensorflow/tensorflow/issues/60109
May be you want to follow-up on that Issue?

Yeah, it's a duplicate of #60109

@RickSanchezStoic,
This is a duplicate of the issue #60109. Could you please close this issue, since it is already being tracked there? Thank you!

Closing duplicate issue, no need to wait for stale bot


Noise not working in built executable

I have this line in a compute shader:
#include "Packages/jp.keijiro.noiseshader/Shader/ClassicNoise3D.hlsl"
// ...
// cnoise have range [-1, 1], but noise should be in range [0, 1]
float noise = (cnoise(float3(tilePos * NoiseScale, Seed)) + 1) * 0.5;
set = noise >= SetThreshold;

I get the following when running in the editor:

When attempting to build and run a standalone executable I get the following:

Same story with the i.e snoise

Same story with the i.e snoise

Could you provide a minimal project that reproduces the issue?

Could you provide a minimal project that reproduces the issue?

Could you provide a minimal project that reproduces the issue?

Sure 👍

Could you provide a minimal project that reproduces the issue?

Sure 👍

After some investigation and failing to recreate a minimal project to reproduce the bug I discovered that the bug must be in our project code. Changing our line float noise = (snoise(seed) + 1) * 0.5; to float noise = 0 still results in the  texture being filled with set pixels in the build.
My apologies. Should have been less trigger happy with reporting this issue 😞

After some investigation and failing to recreate a minimal project to reproduce the bug I discovered that the bug must be in our project code. Changing our line float noise = (snoise(seed) + 1) * 0.5; to float noise = 0 still results in the  texture being filled with set pixels in the build.
My apologies. Should have been less trigger happy with reporting this issue 😞

For anyone curious, the problem was caused by only sending some shader values in OnValidate

For anyone curious, the problem was caused by only sending some shader values in OnValidate


Plot Not Updating

@matmarti When I try to plot the mass parabola, it seems to gather the data and attempt to plot it, however the image shown is still the nuclear chart...

@kgleach That was an issue I found over the weekend. That has been fixed on the branch labelled Matt_Filenamebool_Fix and will be pushed to master at some point today

Just pushed the branch with the fix to the master


Could you please provide the checkpoint again?

Hi, author!
Sorry to bother you, but I found that the checkpoint link has expired. Can you provide it again?

Link here: https://drive.google.com/drive/folders/0ByEqy07XKNXbfnJQZ2FLLXVfMWNlYjkwRGpqbzVOc2V3Yi1sVzBXRTBfQXhyVmZVMGZiX1E?resourcekey=0-4A_fOWlLLGhoxJqO8k8DoQ&usp=sharing


Network errors - bad connection to IoTHub

Context

OS and version used: Raspian Buster
Python version: 3.5.3
pip version: 9.0.1
list of installed packages:
aniso8601 (8.0.0)
azure-iot-device (2.1.3)
certifi (2<IP_ADDRESS>)
chardet (3.0.4)
click (7.1.2)
dnspython (1.16.0)
Flask (1.1.2)
Flask-RESTful (0.3.8)
idna (2.9)
itsdangerous (1.1.0)
janus (0.4.0)
Jinja2 (2.11.2)
MarkupSafe (1.1.1)
numpy (1.12.1)
paho-mqtt (1.5.0)
pip (9.0.1)
pygame (1.9.6)
pymongo (3.10.1)
PySocks (1.7.1)
pytz (2020.1)
requests (2.23.0)
requests-unixsocket (0.2.0)
setuptools (33.1.1)
six (1.15.0)
urllib3 (1.25.9)
Werkzeug (1.0.1)
cloned repo: NA

Description of the issue
When running this python IoTEdge module, the connection to the IoTHub fails, and fills the logs with errors.
Code sample exhibiting the issue
Not sure which part of the code has the problem.
Console log of the issue
MQTTPublishOperation: completing with error ConnectionDroppedError('The client is not currently connected.',)
ConnectOperation: completing with error ConnectionDroppedError('Paho returned rc==1',)
ConnectionLockStage(ConnectOperation): op failed.  Unblocking queue with error: ConnectionDroppedError('Paho returned rc==1',)
ConnectionLockStage(ConnectOperation): failing ConnectOperation op because of error
ConnectOperation: completing with error ConnectionDroppedError('Paho returned rc==1',)
ConnectionLockStage(ConnectOperation): failing ConnectOperation op because of error
ConnectOperation: completing with error ConnectionDroppedError('Paho returned rc==1',)
ConnectionLockStage(ConnectOperation): failing ConnectOperation op because of error
ConnectOperation: completing with error ConnectionDroppedError('Paho returned rc==1',)
failed to receive on socket: [Errno 32] Broken pipe
failed to receive on socket: [Errno 32] Broken pipe
failed to receive on socket: [Errno 32] Broken pipe
failed to receive on socket: [Errno 32] Broken pipe
failed to receive on socket: [Errno 32] Broken pipe
Unexpected error in <azure.iot.device.common.pipeline.pipeline_stages_mqtt.MQTTTransportStage object at 0xb1ff5b30>._run_op() call
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/azure/iot/device/common/pipeline/pipeline_stages_base.py", line 102, in run_op
    self._run_op(op)
  File "/usr/local/lib/python3.5/dist-packages/azure/iot/device/common/pipeline/pipeline_thread.py", line 198, in wrapper
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.5/dist-packages/azure/iot/device/common/pipeline/pipeline_stages_mqtt.py", line 218, in _run_op
    self.transport.publish(topic=op.topic, payload=op.payload, callback=on_published)
  File "/usr/local/lib/python3.5/dist-packages/azure/iot/device/common/mqtt_transport.py", line 549, in publish
    raise _create_error_from_rc_code(rc)
azure.iot.device.common.transport_exceptions.ConnectionDroppedError: ConnectionDroppedError('The client is not currently connected.',)

MQTTPublishOperation: completing with error ConnectionDroppedError('The client is not currently connected.',)
ConnectOperation: completing with error ConnectionDroppedError('Paho returned rc==1',)
ConnectionLockStage(ConnectOperation): op failed.  Unblocking queue with error: ConnectionDroppedError('Paho returned rc==1',)
failed to receive on socket: [Errno 32] Broken pipe

AB#7495927

I forgot to say, this module is working fine on another device, which is running an older Raspian Stretch.

In my investigation I have done an "sudo iotedge check":
Connectivity checks
-------------------
√ host can connect to and perform TLS handshake with IoT Hub AMQP port - OK
√ host can connect to and perform TLS handshake with IoT Hub HTTPS / WebSockets port - OK
√ host can connect to and perform TLS handshake with IoT Hub MQTT port - OK
√ container on the default network can connect to IoT Hub AMQP port - OK
√ container on the default network can connect to IoT Hub HTTPS / WebSockets port - OK
√ container on the default network can connect to IoT Hub MQTT port - OK
√ container on the IoT Edge module network can connect to IoT Hub AMQP port - OK
√ container on the IoT Edge module network can connect to IoT Hub HTTPS / WebSockets port - OK
√ container on the IoT Edge module network can connect to IoT Hub MQTT port - OK

I have isolated the problem to my routine that listens for twin-updates, which is running in a seperate thread. This code is resulting in lots of broken pipe and disconnect error messages - see above. The timeout is to make sure its still active.
def twin_update_listener():

    global SoundGroup
    global module_client
    app.logger.info("Logger: Twin update listener start.")

    while True:
        try:
            app.logger.info("Twin-update-listener waiting.")
            while True:
                twin = module_client.receive_twin_desired_properties_patch(block=True, timeout=600)
                app.logger.info("Twin-update-listener exit from blocked call")
                if twin != None:
                    break

            app.logger.info("Twin-update-listener received a patch.")
            app.logger.info(twin)

            try:
                app.logger.info("Reading keys")
                # Code removed for reading the keys removed for testing...

            except KeyError:
                app.logger.info("KeyError Exception")
                exit()

        except Exception as e:
            app.logger.info("Exception %s", e)
            app.logger.info("Exception in twinlistener... reconnecting")
            print("Exception in twinlistener...")
            module_client.connect()
            pass

Same issue on Python 3.6.8, azure-iot-device SDK 2.0.1 version, app running in docker, image based on Ubuntu 18.04
Logs:
Unexpected error in <azure.iot.device.common.pipeline.pipeline_stages_mqtt.MQTTTransportStage object at 0x7fb9a413fa90>._run_op() call Traceback (most recent call last):   File "/root/.local/share/virtualenvs/app-4PlAip0Q/lib/python3.6/site-packages/azure/iot/device/common/pipeline/pipeline_stages_base.py", line 101, in run_op     self._run_op(op)   File "/root/.local/share/virtualenvs/app-4PlAip0Q/lib/python3.6/site-packages/azure/iot/device/common/pipeline/pipeline_thread.py", line 198, in wrapper     return func(*args, **kwargs)   File "/root/.local/share/virtualenvs/app-4PlAip0Q/lib/python3.6/site-packages/azure/iot/device/common/pipeline/pipeline_stages_mqtt.py", line 157, in _run_op     self.transport.publish(topic=op.topic, payload=op.payload, callback=on_published)   File "/root/.local/share/virtualenvs/app-4PlAip0Q/lib/python3.6/site-packages/azure/iot/device/common/mqtt_transport.py", line 497, in publish     raise _create_error_from_rc_code(rc) azure.iot.device.common.transport_exceptions.ConnectionDroppedError: The client is not currently connected. caused by None MQTTPublishOperation: completing with error The client is not currently connected. caused by None RetryStage(MQTTPublishOperation): Op needs retry with interval 20 because of The client is not currently connected. caused by None.  Setting timer.

Did you try the latest the azure-iot-device to see if this problem still persists ?

I have upgraded to 2.1.4 and see no improvements. Code works fine for a while, looses connection with hub, and never recovers. I am considering other options using classic rest apis, and looking for feasible work-arounds.
Any tips to re-connect to the hub or create stable direct-method setups will be appreciated.

can you please provide your entire log by enabling logging set to DEBUG ?

can you please provide your entire log by enabling logging set to DEBUG ?
it will be easier if you can save the log in a file as well
Also please also enable logging for this specific library
logging.getLogger("paho").setLevel(level=logging.DEBUG)

Log-levels verified, and log-files sent to @olivakar ! Code can be sent on request.
It seems that the inconsistent twin-operations has very similar problems, code works on-off for some time.
I have tried putting other processing intensive tasks in seperate process instead of using threading, as I am suspecting some blocking might happen. Most of the time I get the time-out reply from the call.

I have looked at the logs.  I have not found a direct reference to ConnectionDroppedError. But these are the interesting lines from the edge hub log.
[EdgeHub] - Closing connection for device: an0003/motion-detection, Microsoft.Azure.Devices.Edge.Hub.Core.MultipleConnectionsException: Multiple connections detected for device an0003/motion-detection

AND
[EdgeHub] - Closing connection for device: an0003/anicositemasterpy, Microsoft.Azure.Devices.Edge.Hub.Core.MultipleConnectionsException: Multiple connections detected for device an0003/anicositemasterpy

ConnectionDroppedError may occur if t you have multiple connections for your modules having same identity.

Thanks for looking into this. I am considering the combination of Flask and these blocking threads to be an impossible combination. Searching around, it seems that threading becomes unstable, and the blocking call that waits for the method-call is never unblocked, and the call fails.
I tried the asyncio sample for the direct method calls, and that one runs seamlessly.
To me this is a very annoying case, and I am now forced to ugly workarounds, creating routing and hub-modules to have simple method calls work.
If anyone has experience with Flash and direct-method calls to a module on an azure edge device I would love to hear from them.

I have looked at the logs. I have not found a direct reference to ConnectionDroppedError. But these are the interesting lines from the edge hub log.
ConnectionDroppedError may occur if t you have multiple connections for your modules having same identity.

I only have one module_client.connect() call in the init of the module, and I am not sure I understand you point?

Please zip your code at this point coz it will be difficult for me to say otherwise from where it is occurring.
Direct methods mean this API receive_method_request? But the cause of the problem isolated and shown here in code snippet seems to be receive_twin_desired_properties_patch which is another API.

Please zip your code at this point coz it will be difficult for me to say otherwise from where it is occurring.

Its on its way to you. :)

Direct methods mean this API receive_method_request. But the cause of the problem isolated and shown here in code snippet seems to be receive_twin_desired_properties_patch which is another API.

Both calls behave in similar way, and are used in similar ways from the code.

I have refactored the whole module to use aiohttp instead of Flask, and are using the asyncio calls for the direct methods and twin-updates instead of the blocking calls that are too fragile.
This works like a charm and this issue does not matter to me anymore. Thanks for trying to help me.
I will not close this issue myself, as it might be important to others.
@olivakar You can stop investigating my code.

@njbuch, @SampleText2k77, thank you for your contribution to our open-sourced project! Please help us improve by filling out this 2-minute customer satisfaction survey


add usil

Add Universidad San Ignacio De Loyola

@oliverUsil First stage of verification passed, official domain is usil.edu.pe as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@oliverUsil Pull request merged. Thank you.


fmt --check return nonsense errors on github action

forge fmt --check doesn't return any error on my machine. But when it comes to github action these errors are generated and the action fails

It's our github action
https://github.com/Giveth/givpower/blob/4a606264587fb1a84686c95e51341c08ad712970/.github/workflows/lint.yml

I updated my forge and problem solved


Upload model to replicate

Please consider uploading the model to https://replicate.com/ so is more easier to use it

Uploaded https://replicate.com/stability-ai/stablelm-tuned-alpha-7b


idToken is not refreshing

Steps to Reproduce

I need to generate a fresh jwt token that is issued in the previous 60 seconds to send into a third party system, but I cannot force refresh or regenerate the token

Sign in with Google on an Android Device that has previously signed in.
The token (googleAuth?.idToken) is the same for an hour, even if I have signed out, or use await googleSignIn.signInSilently(reAuthenticate: true);

My code:
```
final googleSignIn = GoogleSignIn();
await googleSignIn.signOut();

// Trigger the authentication flow
final GoogleSignInAccount? googleUser = await googleSignIn.signIn();

// Obtain the auth details from the request
final GoogleSignInAuthentication? googleAuth = await googleUser?.authentication;

// Create a new credential
final OAuthCredential oauthCredential = GoogleAuthProvider.credential(
  accessToken: googleAuth?.accessToken,
  idToken: googleAuth?.idToken,
);

print(googleAuth?.idToken); //This is the same until it expires after an hour. I need a way to make sure its a new token everytime I run the methods above.

Flutter Doctor:

[✓] Flutter (Channel stable, 2.10.5, on macOS 12.3.1 21E258 darwin-arm, locale en-GB)
    • Flutter version 2.10.5 at /Users/jacobokoenig/Developer/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 5464c5bac7 (4 days ago), 2022-04-18 09:55:37 -0700
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/jacobokoenig/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.66.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.38.1

[✓] Connected device (3 available)
    • TA 1053 (mobile)   • D1AGAD5860603378                     • android-arm64  • Android 9 (API 28)
    • iPhone 13 (mobile) • F5870F3E-1FC1-4836-8FE3-7D85D764FFA1 • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4
      (simulator)
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 100.0.4896.127

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

@jacobokoenig
Can you try something like below and see if it helps ?
Future<String> refreshToken() async {
    print("Token Refresh");
    final GoogleSignInAccount googleSignInAccount =
        await googleSignIn.signInSilently();
    final GoogleSignInAuthentication googleSignInAuthentication =
        await googleSignInAccount.authentication;

    final AuthCredential credential = GoogleAuthProvider.getCredential(
      accessToken: googleSignInAuthentication.accessToken,
      idToken: googleSignInAuthentication.idToken,
    );
    final AuthResult authResult = await auth.signInWithCredential(credential);

    return googleSignInAuthentication.accessToken; // New refreshed token
  }

@darshankawar I did try this, even with the parameter "refreshToken" in signInSilently 🤔


Cython build issues in combination with generated sources

There's multiple places where we can't express dependencies correctly, or we can but they go missing. I filed one issue upstream: https://github.com/mesonbuild/meson/issues/8961.
Extensions that have problems:
scipy.special._ufuncs
[1/539] Compiling Cython source scipy/special/_ufuncs.pyx
FAILED: scipy/special/_ufuncs.cpython-39-x86_64-linux-gnu.so.p/scipy/special/_ufuncs.pyx.c
cython --fast-fail -3 -o scipy/special/_ufuncs.cpython-39-x86_64-linux-gnu.so.p/scipy/special/_ufuncs.pyx.c scipy/special/_ufuncs.pyx

Error compiling Cython file:
------------------------------------------------------------
...
# This file is automatically generated by _generate_pyx.py.
# Do not edit manually!

include "_ufuncs_extra_code_common.pxi"
^

scipy.linalg._decomp_update
If we build without expressing the dependency on cython_blas.pxd:
TypeError: C function scipy.linalg.cython_blas.daxpy has wrong signature (expected void (int *, __pyx_t_5scipy_6linalg_11cython_blas_d *, __pyx_t_5scipy_6linalg_11cython_blas_d *, int *, __pyx_t_5scipy_6linalg_11cython_blas_d *, int *), got void (int *, __pyx_t_11cython_blas_d *, __pyx_t_11cython_blas_d *, int *, __pyx_t_11cython_blas_d *, int *))

And if we add it, that doesn't seem supported:
Found ninja-1.10.2 at /home/rgommers/anaconda3/envs/scipy-meson/bin/ninja
Traceback (most recent call last):
  File "/home/rgommers/anaconda3/envs/scipy-meson/lib/python3.9/site-packages/mesonbuild/mesonmain.py", line 223, in run
    return options.run_func(options)
  File "/home/rgommers/anaconda3/envs/scipy-meson/lib/python3.9/site-packages/mesonbuild/msetup.py", line 281, in run
    app.generate()
  File "/home/rgommers/anaconda3/envs/scipy-meson/lib/python3.9/site-packages/mesonbuild/msetup.py", line 184, in generate
    self._generate(env)
  File "/home/rgommers/anaconda3/envs/scipy-meson/lib/python3.9/site-packages/mesonbuild/msetup.py", line 246, in _generate
    intr.backend.generate()
  File "/home/rgommers/anaconda3/envs/scipy-meson/lib/python3.9/site-packages/mesonbuild/backend/ninjabackend.py", line 544, in generate
    self.generate_target(t)
  File "/home/rgommers/anaconda3/envs/scipy-meson/lib/python3.9/site-packages/mesonbuild/backend/ninjabackend.py", line 753, in generate_target
    transpiled_sources = self.generate_cython_transpile(target)
  File "/home/rgommers/anaconda3/envs/scipy-meson/lib/python3.9/site-packages/mesonbuild/backend/ninjabackend.py", line 1601, in generate_cython_transpile
    generated_sources[ssrc] = mesonlib.File.from_built_file(gen.subdir, ssrc)
AttributeError: 'CustomTargetIndex' object has no attribute 'subdir'
FAILED: build.ninja

If we add all of _generate_cy as a dependency, then we rebuild cython_blas.pyx and cython_lapack.pyx which isn't right.
optimize._lsq.givens_elimination
Not built yet, but also depends on cython_lapack.pxd

The problem in both cases is missing files in the build/ directory. A workaround is to copy them over manually, then re-run the build. Once the build works once, it will keep working until you do git clean -xdf.
So:
cp scipy/special/*.pxi build/scipy/special/
cp scipy/special/*.pxd build/scipy/special/
cp scipy/special/__init__.py build/scipy/special/

python scipy/linalg/_generate_pyx.py
cp scipy/linalg/__init__.py build/scipy/linalg/

@Smit-create maybe one of these was your problem? If so, the workaround should help.

I had the following error:
$ meson setup build --prefix=$PWD/installdir
The Meson build system
Version: 0.58.1
Source dir: /home/smit/Smitlunagariya/scipy
Build dir: /home/smit/Smitlunagariya/scipy/build
Build type: native build
Project name: SciPy
Project version: 1.7.0.dev0+ababababab
Fortran compiler for the host machine: /home/smit/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-

gfortran (gcc 9.3.0 "GNU Fortran (crosstool-NG <IP_ADDRESS>_b0863d8_dirty) 9.3.0")
Fortran linker for the host machine: /home/smit/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-gf
ortran ld.bfd 2.36.1
C compiler for the host machine: /home/smit/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-cc (gc
c 9.3.0 "x86_64-conda-linux-gnu-cc (crosstool-NG <IP_ADDRESS>_b0863d8_dirty) 9.3.0")
C linker for the host machine: /home/smit/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-cc ld.bf
d 2.36.1
C++ compiler for the host machine: /home/smit/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-c++
(gcc 9.3.0 "x86_64-conda-linux-gnu-c++ (crosstool-NG <IP_ADDRESS>_b0863d8_dirty) 9.3.0")
C++ linker for the host machine: /home/smit/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-c++ ld
.bfd 2.36.1

meson.build:1:0: ERROR: Tried to use unknown language "cython".

When, I removed cython as the 1st language just to check whether it works without it, I get:
$ meson setup build --prefix=$PWD/installdir
The Meson build system
Version: 0.58.1
Source dir: /home/smit/Smitlunagariya/scipy
Build dir: /home/smit/Smitlunagariya/scipy/build
Build type: native build
Project name: SciPy
Project version: 1.7.0.dev0+ababababab
Fortran compiler for the host machine: /home/smit/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-
gfortran (gcc 9.3.0 "GNU Fortran (crosstool-NG <IP_ADDRESS>_b0863d8_dirty) 9.3.0")
Fortran linker for the host machine: /home/smit/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-gf
ortran ld.bfd 2.36.1

C compiler for the host machine: /home/smit/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-cc (gc
c 9.3.0 "x86_64-conda-linux-gnu-cc (crosstool-NG <IP_ADDRESS>_b0863d8_dirty) 9.3.0")
C linker for the host machine: /home/smit/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-cc ld.bf
d 2.36.1
C++ compiler for the host machine: /home/smit/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-c++
(gcc 9.3.0 "x86_64-conda-linux-gnu-c++ (crosstool-NG <IP_ADDRESS>_b0863d8_dirty) 9.3.0")
C++ linker for the host machine: /home/smit/anaconda3/envs/scipy-dev/bin/x86_64-conda-linux-gnu-c++ ld
.bfd 2.36.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program cython found: YES (/home/smit/anaconda3/envs/scipy-dev/bin/cython)
Program pythran found: YES (/home/smit/anaconda3/envs/scipy-dev/bin/pythran)
Program python3 found: YES (/home/smit/anaconda3/envs/scipy-dev/bin/python)
Found pkg-config: /home/smit/anaconda3/envs/scipy-dev/bin/pkg-config (0.29.2)
Dependency python found: YES (pkgconfig)
Library npymath found: YES
Library npyrandom found: YES
Run-time dependency openblas found: YES 0.3.15
Dependency openblas found: YES 0.3.15 (cached)
Program cp found: YES (/bin/cp)
Program cp found: YES (/bin/cp)
Program cp found: YES (/bin/cp)
Run-time dependency threads found: YES
Program cp found: YES (/bin/cp)
Checking for size of "void*" : 8
Dependency threads found: YES unknown (cached)

Checking for function "open_memstream" : NO
Configuring messagestream_config.h using configuration
Compiler for C++ supports arguments -fvisibility=hidden: YES
Program cp found: YES (/bin/cp)
Program cp found: YES (/bin/cp)
Program cp found: YES (/bin/cp)
Compiler for C++ supports arguments -fvisibility=hidden: YES (cached)
Program cp found: YES (/bin/cp)
Dependency openblas found: YES 0.3.15 (cached)
Program cp found: YES (/bin/cp)
Build targets in project: 145

Found ninja-1.8.2 at /usr/bin/ninja

ERROR: No specified compiler can handle file scipy/sparse/csgraph/_flow.pyx

Ah, that does mean you have an old version, it says you're using meson 0.58.1. If you had installed from the master branch, you'd be at 0.58.999 (it is what I have locally, and it is the version number at https://github.com/mesonbuild/meson/blob/master/mesonbuild/coredata.py#L46). You can either use:
python -m pip install git+https://github.com/mesonbuild/meson.git@master

or you can just clone the repo and locally run pip install . in the root of the repo.

This is starting to be urgent to fix. It continues to fail on the macOS CI job, and on Windows it needs -j 128 to work around it.
Here is a simple explanation of the issue: https://github.com/scipy/scipy/pull/14847#issuecomment-1001477916
And a potential solution in Cython that I hadn't considered before: https://github.com/scipy/scipy/pull/14847#issuecomment-1001483114.

Cython finds the module name from the path in a package here: https://github.com/cython/cython/blob/f372c5ab67c73a4c28e68e2aa8bee16a2ec0e4e1/Cython/Compiler/Main.py#L381
full_module_name is passed through a whole chain of functions, because it may be auto-determined by extract_module_name, or for files outside a package it's the filename, or it can be specified by the user in the Extension module (setuptools-specific). Related: exporting module names can be skipped with CYTHON_NO_PYINIT_EXPORT. Where the chain starts:

calling cython .... somefile.pyx on the command line calls main()
main() basically does options, sources = parse_command_line(args) followed by compile(sources, options)
compile() has a full_module_name=None parameter, but this cannot be used from the command line, only from Extension or another Python interface.

Generated C code will end up in a build dir, like at: build/scipy/special/_ufuncs.cpython-39-x86_64-linux-gnu.so.p/scipy/special/_ufuncs.pyx.c
The generated C code will contain the module name, like so:
#define __Pyx_MODULE_NAME "scipy.special._ufuncs"

If something goes wrong related to this issue, that name changes:
#define __Pyx_MODULE_NAME "_ufuncs"

A decent design would be to allow using cython ... --name scipy.special._ufuncs _ufuncs.pyx. This doesn't look too difficult to implement, and would get rid of all the .py file copying. And it's just bringing feature parity between the command line interface and Extension.

@rgommers - I'm happy to have a go at that - let me know?

That would be great, thanks @matthew-brett. I had just started looking into it, but I'm really short on time so would be great if you wanted to drive this one.
Here's the full extent of my WIP patch, to save you about 5 minutes:
$ git diff
diff --git a/Cython/Compiler/CmdLine.py b/Cython/Compiler/CmdLine.py
index ffff6a61c..6126ea3e2 100644
--- a/Cython/Compiler/CmdLine.py
+++ b/Cython/Compiler/CmdLine.py
@@ -145,6 +145,10 @@ def create_cython_argparser():
                       dest='compile_time_env', type=str,
                       action=ParseCompileTimeEnvAction,
                       help='Provides compile time env like DEF would do.')
+    parser.add_argument("--name", dest='name', type=str, nargs=1, action='store',
+                      help='Fully qualified module name. If not given, is '
+                           'deduced from the import path if source file is in '
+                           'a package, or equals the filename otherwise.')
     parser.add_argument('sources', nargs='*', default=[])

     # TODO: add help

Thanks - will have a go at this tomorrow.

That looks neat. Since meson knows what the fully qualified module name is supposed to be -- using py_installation.extension_module('_ufuncs', sources, subdir: 'scipy/special') it knows it will install scipy/special/_ufuncs.cpython-310-x86_64-linux-gnu.so which is also the above mentioned module name -- it should be easy to automatically handle in meson without requiring any options (just like setuptools does by taking advantage of the same logic and using cython as a python module instead of a command line program).
I will look forward to the opportunity to plug that prospective support into meson.

Sketch at https://github.com/cython/cython/pull/4548

I think this allows us to do something neat like https://github.com/matthew-brett/cyext/blob/main/meson.build .

I think this allows us to do something neat like https://github.com/matthew-brett/cyext/blob/main/meson.build .

That'll be a very temporary thing right? We want support in Meson, and then cython will be invoked by ninja. Or maybe I'm missing what is neat here?

Hmm - I hadn't registered how complex the Cython build was.  Just for my reference, there are two issues for the source / build tree and Cython:

Finding the correct module name (can be solved by the --module-name argument);
Making sure needed generated .pyx files are cimportable at build time (not solved by new argument).

Here's a first sketch at respecifying a dependency.  I believe it also correctly adds a cimport dependency (on cython_blas.pyx):
https://github.com/matthew-brett/scipy/commit/7b33fcea5ab49a6681fd2eb4eeb7f7d3675e3542

Making sure needed generated .pyx files are cimportable at build time (not solved by new argument).

I don't think I understand this. You cannot cimport a .pyx file normally, this is what .pxd files are for. It looks like Cython has an option to allow cimporting  .pyx file, but it's disabled by default and I have never seen it used: https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#Cython.Compiler.Options.cimport_from_pyx
I suspect what you're seeing is that a .pxd file that is still needed in the build directory got copied there too late.

Sorry - typing too quickly, and too late - I meant .pxd files - I'll edit in the original comment.  In particular, I was working (above) on build for a file that cimports the generated cython_blas (cython_blas.pxd).   The point I was reminding myself of was that our current need for copies of the import tree during Cython compilation comes both from the need for correct module name discovery (removed by the cython --module-name arg), and the need for cimport to work when referencing generated .pxd files.
It is somewhat unrelated to that point, but yes, in testing, it turned out that the _bglu_dense extension did not declare its dependence on cython_blas.pxd, so it was possible for the build to fail, if it got out of order.

What about splitting out the .pyx to .c compilation steps, until we do have a good solution to the problem as defined in https://github.com/mesonbuild/meson/issues/8961 ?  It's a bit of work, but probably only a few hours, it wouldn't take long to reverse when we do have a solution.

That should be fine. It won't solve everything, but it will solve this particular issue I suspect.

I've done the split in #15407 . I don't get any out-of-order errors now.  I think I caught all the dependencies, but please do review.

Since this should now be fixed, I'll close it. I will add the upstream Meson issue to our tracking issue (gh-22), because we do want to get that fixed at some point, so we can simplify our meson.build files.


Vnet sdk private branch

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
All SDK Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

Private branch .. Need it for creating whl file and use for test and private preview.


not working both android & ios

Im using react native 0.41, I've tried test on android and ios but it doest work.
On ios, after run Twilio.connect, app is crashed but my iphone is still ring.
On android, app didnot crash but nothing run.
Please check on new RN and fix them asap.
Thank

nevermind, I've found solution by updated Twilio SDK to latest version.


Use register reads to delay peripheral interrupt clearing

If the interrupt pending flag is set quickly multiple times it could be set after the pending flag is cleared but before the clear could be read by the busy wait loop, causing it to loop forever waiting for the pending flag to be cleared again.

Ok, I see this is a problematic edge-case. Perhaps the original issue (#190) can still be fixed by converting
while xxx.isr.read().yyy().bit_is_set() {}

to
let _ = xxx.isr.read(); // At least one cycle of peripheral clock
let _ = xxx.isr.read(); // At least one cycle of peripheral clock

The idea is that this still gives the peripheral enough cycles to process the Interrupt Clear write before the ISR exits.

bors r+


fix: issue in inventory service

The changes are ready to be reviewed via fix.demo.apps.cluster-qqgjd.qqgjd.sandbox474.opentlc.com


Release/v0.9.1

https://github.com/tendermint/iavl/blob/0b6f4eb579cf46ab1ea861abddca25b81cc0d94c/CHANGELOG.md#091-july-1-2018

If you want to create a new release @ebuchman, merge this first.


External dependencies on aws removed

Hi Fabio,
This patch remove all external dependencies so we do not rely on a on a specific aws sdk version.
I removed

AWS SDK for Java,
Apache Commons Codec,
Joda-Time libraries.

Not sure if you need it but I wanted to share with you the update I made.
Thanks!

Hey Arnaud,
Thanks a million for your work! Although I am not sure - what is the point of removing links to libraries and implement things yourself, like the Hex stuff or the AWSCredentials thing?

I just prefer to limit the number of external dependencies.
It can create conflicts with different version of aws jar in this case for example.
So by just writing the class AWSCredentials we save to not import AWS SDK for Java.
then I just use Java 8 time as we do not need Joda-Time anymore.
For Apache Commons Codec, I could have linked the library but we needed just few methods.
I much prefer when external dependencies depends on the minimum of other libraries.
It make it easier to follow the dependency-graph and control what version I want.
Hope it make sense!
Thanks.

Hey Arnaud,
I see your points of avoiding conflicts. But I also think that the SDK
should be kept in line with Amazon - they might deprecate or change things.
In general I am not in favour of copy/pasting or rewriting things.
At the same time I would love to integrate your changes with Java8 time. Do
you think you could make a smaller pull request with only the Java8 time
substitution?
Thank you very much for your efforts!
Fabio
On 11 August 2016 at 13:01, Arnaud<EMAIL_ADDRESS>wrote:

I just prefer to limit the number of external dependencies.
It can create conflicts with different version of aws jar in this case for
example.
So by just writing the class AWSCredentials we save to not import AWS SDK
for Java.
then I just use Java 8 time as we do not need Joda-Time anymore.
For Apache Commons Codec, I could have linked the library but we needed
just few methods.
I much prefer when external dependencies depends on the minimum of other
libraries.
It make it easier to follow the dependency-graph and control what version
I want.
Hope it make sense!
Thanks.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ticofab/aws-request-signer/pull/2#issuecomment-239130938,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtblYfAMLf_DZWlf8RwQE9x65ZI6q1_ks5qewElgaJpZM4JgGjp
.

--
http://ticofab.io
http://famsterdamlife.com

Sure no problem.
https://github.com/ticofab/aws-request-signer/pull/3
Arnaud.


Updated the README.md

I have updated the README.md. Now the community will be able to see the number of hits to this repository.

Thanks @badarshahzad 👍


Make .pkg-nav position fixed

Convenient to have the nav follow window.

It's not always correct to have position: fixed;. Because list of docs can be long so you will not be able to see the bottom part.

@akoppela
I have suspected that but decided to throw this out. Could you give me an example so I can find a better solution?


Allow offline level import/export

Hello. Suppose there are two android devices. One has internet access and other doesn't. It would be nice to have a way to load the levels into the device without internet. For that I see two options:
a) The online device has RoboZZle-Droid saved the level data somewhere. So it could be copied and then transferred by bluetooth or via USB-otg flash or whatever. This scenario would work if I knew where the data is stored. I get a feeling that it's in a hidden partition which is inaccessible without root. Or at least it's not obvious.
b) There is some URL allowing to download all the levels directly and then import it offline.
So can you please implement offline level importing, or point out how it's performed if it's already doable?

This is a very niche feature request. I don't think I will be implementing that feature.
I suppose your best bet is to use one of the Android backup apps, back up RoboZZle-Droid on the device with the puzzles and restore on the device without.
If you want to try your luck with code, you should start with https://github.com/lostmsu/RoboZZle-Droid/blob/master/src/com/team242/robozzle/RobozzleOffline.java , which implements the SQLite database IO. A PR would be welcome.

@lostmsu
I am thinking, would it be possible to export/import the program at least? In the browser version it's done by copying a piece of URL after program= part. Sometimes after I have done a solution, I want to try a completely different approach, but I do not want to lose the progress if it doesn't work.


[#16][Chore] Add Unit and UI Test for Login module

#16
What happened

Add Unit Tests for Login Screen.
Add UI Tests for Login Flow.

Insight

Both Unit tests and UI Tests using Quick & Nimble framework.
Unit Test covers:

LoginViewModel
LoginUseCase
LoginView
StoreTokenUseCase

Note: - HomeView created in order to fulfill the meaning of the login flow spec in UITest,
Proof Of Work
Xcode:

fastlane:

Thanks for your reviewing 🙌 , I fixed all comments and related errors at https://github.com/nkhanh44/ic-survey-ios/pull/17/commits/bae6e2465d17d5651c8925f405c0820074e5bd44, please help me review this again 🙏


Easy way to customize confirmation question

ToDo:
~ Create a function to easily customize the confirmation question

confirm(onconfirm, ondeny, confirmation_question, confirm_btn_text, deny_btn_text)
Just adding parameters to the confirm method should satisfy this.

I don't think this works at all. Tried using confirm() and $jAlert with the confirmQuestion parameter, doesn't work, it always keeps 'Are you sure?'.

Well, this issue is still open because I never added the question to the confirm method. That was just an example of how it could be modified to satisfy his request.
Using $.jAlert({ type: "confirm", confirmQuestion: "Whatever" }); does work.

FYI, I recommend you use my jConfirm plugin. It pops up a tooltip right by the trigger element. Much faster for someone to use. https://github.com/HTMLGuyLLC/jConfirm

Added confirm question as the third param for the confirm method in the latest release.
example:
confirm(function(){ alert('Confirmed'); }, function(){ alert('Not Confirmed'); }, 'What's up doc?');


Allow changing scrollback history size at runtime

It should be possible to use live-config-reload to change the scrollback history size at runtime. This should allow both shrinking and growing the number of  scrollback lines available.
I can't quite estimate how complex this change would be because it's possible that a lot of structs would need to be updated. Maybe @jwilm knows if this should be easy to implement?
If this is easy to implement it could be added to the scrollback project, otherwise it's probably fine to do this after scrollback has been merged because it should not be relevant for most users.

:fireworks:


Fetch retracted status from Retraction Watch and display information

This PR adds retraction information from Retraction Watch to CIViC Sources. Sources identified from the Retraction Watch CSV are marked as retracted in the database. We also save the retraction reasons, date, and nature. EIDs using these sources are flagged by CIViCbot as part of the job that pulls this information. The Retracted Nature is displayed as a tag next to the PubMed ID, with a red error tag format for Retractions and yellow warning format for all other retraction nature types (Expression of concern, Reinstatement, Correction). The retraction tag popover displays the retraction date and reasons as well as linkouts to Retraction Watch.
Sources without a retracted status are displayed as usual.
Example of Retraction status tag next to PubMed ID:

Popover for Retraction Status:

Example of Correction tag:

Example of Reinstatement tag:

Some thoughts on additional improvements:

prevent retracted sources (as marked in our database) from being used for new EIDs. Q: Should this apply to all retracted sources or only the ones of the Retraction type (i.e. not Expression of concern, Reinstatement, or Correction)
format source tags differently for retracted sources. Q: Should this also include Expression of concern, Reinstatement, or Correction types? Should they be displayed a third way?

Decisions from today's meeting:

Only sources with retraction_nature "Retraction" have their EID flags
Source tags with retraction_nature "Retraction" will be displayed in grey (similar to deprecated Variants)
Sources with retraction_nature "Retraction" will not show up in the source typeahead and will throw a server error if used in an EID
Source retraction info will be updated


Fixed crash in Editor Settings shortcuts UI

Closes #48417
CC @qarmin I was not getting that crash for some reason... How did you get it? It doesnt seem it would be a platform thing (im on Windows)

I'm using Linux and also I used address sanitizer(it is available also in Visual Studio 2019)

Thanks!


Show shared access policy in volume details - 2

Updated version of PR #4405
Closes #4402
This PR adds the shared access policy entry in the volume details view for Kubernetes.
Any suggestions and advice are welcome!
Thank you!

/azp run

/azp run

LGTM! Great work on this @DarkAEther 🎉

LGTM! Great work on this @DarkAEther 🎉