DocsArchive-1.0.20041.7Auto archive content

Auto archive content from https://github.com/OPS-E2E-PPE/E2E_DocsArchive

Docs Build status updates of commit 4fc6057:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

.openpublishing.redirection.json
:white_check_mark:Succeeded

archive/TOC.yml
:white_check_mark:Succeeded
View

archive/breadcrumb/archive-target/toc.yml
:white_check_mark:Succeeded

archive/docfx.json
:white_check_mark:Succeeded

archive/fallback.md
:white_check_mark:Succeeded
View

archive/overview.md
:white_check_mark:Succeeded
View

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


Add QA/QC Script

Add the QA/QC script specified in Issue #20 to create a long table, graph data, and identify errors.

Hello @ahopple @stephpenn1 we are hoping you have time to provide feedback to Colin in the next week?

@10aDing I have two comments on your code which you can view in the Files Changed tab about places where some comments would be useful, otherwise it looks great.

@10aDing Will you have a chance to address Steph's comments? Thanks

@bpbond Sorry about that! I'll take a look at the comments ASAP

@stephpenn1 I think @ahopple has had plenty of time to weigh in; feel free to merge  :)

I guess I am merging. Thank you @10aDing — great job on this!


Documentation Error

In the documentation, it says after installing it, we should import it from
`import { AngularMultiSelectModule } from 'angular2-multiselect-dropdown/angular2-multiselect-dropdown';
but it would produce an error in Angular v4.4 (i have not checked with other versions.). To properly improt it, we should import in like this:
import { AngularMultiSelectModule } from '../../node_modules/angular2-multiselect-dropdown';

@ShadabFaiz it should be
import { AngularMultiSelectModule } from 'angular2-multiselect-dropdown';


_uihooks stops working after migration on Meteor <IP_ADDRESS>

Hi,
We are seeing an issue where _uihooks stopped working for us, after we replaced iron router with flow-router-extra. The issue happened on both Chrome and Safari.
We are currently on<EMAIL_ADDRESS>and our Meteor version is <IP_ADDRESS>
To be more specific, the next param for insertElement callback function is always set to null. And currently, we do not have a workaround to keep the animations we had around _uihooks. It seems _uihooks is the only way to do animations with Blaze.
Here is our .versions file:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
HTML looks like this:
    <div id="content-container">
        {{> yield}}
    </div>

And the _uihooks is registered on #content-container
Please advice, thank you!

Hello @zhang2118 ,

What exactly is _uihooks and insertElement?
Are you getting error or exception?

Hi @dr-dimitru
To answer you question #1, here is a reference for _uihooks: https://github.com/meteor/meteor/blob/devel/History.md#blaze-6
For #2: nope, I was not getting any errors.
There is an update for this issue. I was able to resolve this issue by installing & using BlazeLayout.render instead of this.render in action hook.

This api from history is outdated, you need to install and use UI package, or better to use new API

@dr-dimitru There is no new API, all the Blaze animation packages in the wild also rely on _uihooks

@coagmano thank you, thought UI was replaced by Blaze
@zhang2118 @coagmano why you use such low-level API? For packages or in app?

@dr-dimitru in my case, I'm dealing with legacy code, as you probably can tell. The code was still relying on iron:router before my change.

@zhang2118 there is some incompatibilities between flow and iron routers for sure.
I guess you need to update your codebase, right?

@dr-dimitru yeah, we are in the process of updating our codebase. I dug into Blaze, it seems _uihooks is till used as a non-documented api. I was lucky to get rid of this issue by using outdated BlazeLayout package. But this is not a great solution.
There might be some other meteor developers that are still using _uihooks?  Do you have plan to take a look and fix the issue? since your package is so popular and well maintained.

@zhang2118 do you have any news/update on this one?
Feel free to close it in case if the issue is solved on your end. Meanwhile marked as [help wanted]

zhang2118 did you try my approach?
check if next exists and then use either parent.insertBefore (if it does) or parent.appendChild

@dr-dimitru sorry for the late reply. It was resolved for me by installing meteor/kadira:blaze-layout and using BlazeLayout.render. I'll close the issue for now.
@coagmano I did try your solution, but in my case parent.appendChild was null. Not sure why. So it did not work for me.


NEtwork issue

The dev kit need to talk to a time server to be able to correctly talk to iot hub.
IT requires ports opening to UDP time servers
Here is the error i got
Unable to get the NTP host pool.ntp.orgion[0] received for mess
Unable to get the NTP host cn.pool.ntp.org
Unable to get the NTP host europe.pool.ntp.org
Unable to get the NTP host asia.pool.ntp.org
Unable to get the NTP host oceania.pool.ntp.org

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

ID: 40c0b818-6914-f8df-6717-c4f1d03caaf6
Version Independent ID: 749ae82d-4351-f0a4-a188-0712b9989f43
Content: Azure IoT Hub communication protocols and ports
Content Source: articles/iot-hub/iot-hub-devguide-protocols.md
Service: iot-hub
GitHub Login: @dominicbetts
Microsoft Alias: dobett

Hello @lgermain91 , thanks for your feedback!  You may need to open ports 8883 or 5671 depending on the protocol you are using.
Thanks.

Appart from 8883,
It need access to not servers, otherwise date is set to 1970, and the generated key is rejected by IoT hub
Laurent

Le 14 déc. 2018 à 18:06, António Sérgio Azevedo<EMAIL_ADDRESS>a écrit :
Hello @lgermain91 , thanks for your feedback!  You may need to open ports 8883 or 5671 depending on the protocol you are using.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

That's correct. Let me add @dominicbetts to look at your suggestion and we will evaluate where\if we can add that information for more clarity.
Thank you!

Would it be possible in a config file, to have a custom ntp server  so that
i can add my company ntp server, because others are blocked by the firewall.
Le ven. 14 déc. 2018 à 18:06, António Sérgio Azevedo <
<EMAIL_ADDRESS>a écrit :

Hello @lgermain91 https://github.com/lgermain91 , thanks for your
feedback!  You may
need to open ports 8883 or 5671 depending on the protocol you are using.
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/azure-docs/issues/20730#issuecomment-447388435,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AlRiOLNCfr3YConaG-Ax25JnqRXiZrh9ks5u49qMgaJpZM4ZTkE4
.

--
Laurent

Hi @lgermain91 - thanks for raising this issue. This issue is specific to using the dev kit, it's not a general requirement to have access to an NTP server to be able to communicate with IoT Hub. Can you raise an issue in the Dev Kit repo suggesting the config file here: https://github.com/Microsoft/azure-iot-developer-kit/issues
Thanks again, Dominic

Hi @lgermain91 - I'm going to request that this issue is closed. Please feel free to reopen it if you have any follow up questions relating the to docs. Thanks!
#please-close


Mac LUCI builders are failing on checkout

About 1 in every 5 LUCI runs on the Mac Engine bots has been failing with an infra failure on the "Ensure checkout cache" step. This started on presubmits sometime around 6pm PST on 2020-09-10 (Thu) and has continued on post-submit runs.
This seems to affect all the Mac engine shards.
Examples:
https://ci.chromium.org/p/flutter/builders/prod/Mac Web Engine/1659
https://ci.chromium.org/p/flutter/builders/prod/Mac iOS Engine/6754
https://ci.chromium.org/p/flutter/builders/prod/Mac iOS Engine Profile/4834
https://ci.chromium.org/p/flutter/builders/prod/Mac iOS Engine/6758

Looks better on recent runs, will keep an eye on it. /cc @godofredoc @keyonghan

From the dashboard https://ci.chromium.org/p/flutter/g/engine/console, the problem seems gone. I'm not sure about the reason, it could be network recovery, or newer underlying library code in "Ensure checkout cache" step.

Merging https://github.com/flutter/flutter/issues/65762 into this bug as they are the failing with the same problem.


Reconcillation Issue

Why am I not able to reconcile my data with standard SPARQL endpoint? It gives no match.
Where is the issue? Please suggest some alternatives.

@Gautamshahi Our documentation for Reconciliation https://github.com/OpenRefine/OpenRefine/wiki/Reconciliation
I've added a special NOTE now to highlight this now:
"NOTE: OpenRefine Reconciliation does NOT work against a SPARQL endpoint at this time (https://github.com/OpenRefine/OpenRefine/issues/1212), but instead only a Reconciliation Service API."

Hi,
Please read the query properly, Everytime I get a same answer.
The SPARQL endpoint is working but reconcilation is not working which is a
part of open refine.
Anyway thanks a lot.
On Wed, Jul 25, 2018, 02:02 Thad Guidry<EMAIL_ADDRESS>wrote:

@Gautamshahi https://github.com/Gautamshahi Our documentation for
Reconciliation
https://github.com/OpenRefine/OpenRefine/wiki/Reconciliation
I've added a special NOTE now to highlight this now:
"NOTE: OpenRefine Reconciliation does NOT work against a SPARQL endpoint
at this time (#1212 https://github.com/OpenRefine/OpenRefine/issues/1212),
but instead only a Reconciliation Service API."
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/OpenRefine/OpenRefine/issues/1686#issuecomment-407590007,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADyFFqb8iCGA0VJtbQPnuspIJ6boX9JMks5uJ7WVgaJpZM4VfM-h
.


Colouring Binary Tree in C++

Have you read the Contributing Guidelines on Pull Requests?
Yes
Description
Code added in cp folder
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#6701

@ankitaggarwal23 kindly review my PR


add constraint component IRIs to SANode

Draft for adding constraint components to SANodes.
Contains breaking change for TEST Op.

Thanks, this looks good. It is indeed a good idea to replace the strings in the Op.TEST with the constraint component names. This makes it more maintainable as well (not using my made up string names but using the SHACL IRIs).
It is also natural to insert the constraint component names into the SANodes. This is roughly what I also had in mind. However, the reason this is not completely straightforward is because of the cleaning function in the utilities. In general, when we alter the SANode tree, it becomes unclear what constraint components we are actually working with. Could you elaborate a little on what your idea is there?
Ideally, it would be possible to reconstruct the SHACL shape from the SANode tree (or at least a close approximation). In the SHACL spec, the constraint components also always have "parameters". I think that, if we disregard the clean function, it is clear what the parameters are for each constraint component mentioned in the SANode tree. Ideally, it would still be clear after the clean function. My concern is more general: hopefully we can find a way to properly encode real SHACL constraint component information into the SANode tree, and it should be clear when altering the tree how to adjust this constraint component information. Do you have any thoughts on this?

I would not suggest adding an option to disable cleaning. This cleaning is important to remove some of the "side effects" of the way I translate shapes to the tree. However, now that I lookat it again, it seems most of your changes are probably not needed (in the clean function). Most of the places that you add the constraint information is in SANodes where Op is TOP or BOT. However, these never need constraint component information as they do not exist in real SHACL. The only place I can image that it is actually needed is where COUNTRANGEs are created. There, they do not need to inheret the constraint component of the original node, but they need to just get the corresponding constraint components (i.e. MinCountConstraintComponent or MaxCountConstraintComponent).
Concretely, my suggestion would be to leave all constraint component information on None, except for the case in the cleaning function where Op is FORALL and COUNTRANGES are created. Do you agree?

I agree but for the case where Op is OR or AND and there is only a single child I think this case should be skipped if the constraint component of the SANode is not None. Otherwise it is possible for an OR or AND SANode with a constraint component to get optimized away with the clean function, example:
@prefix ex: <http://example.org/> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix sh: <http://www.w3.org/ns/shacl#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

ex:TestShape a sh:NodeShape;
    sh:targetClass ex:Class;
    sh:or (
        [
            a sh:PropertyShape;
            sh:path ex:path;
            sh:minCount 1;
        ]
   ).

Becomes:
http://example.org/TestShape

(Op.HASSHAPE  cc=None  rdflib.term.BNode('nf6e01d092de142aa9b38e7ccea84d0b2b1'))
nf6e01d092de142aa9b38e7ccea84d0b2b1

(Op.COUNTRANGE  cc=http://www.w3.org/ns/shacl#MinCountConstraintComponent  rdflib.term.Literal('1', datatype=rdflib.term.URIRef('http://www.w3.org/2001/XMLSchema#integer'))
 None

 (POp.PROP  rdflib.term.URIRef('http://example.org/path'))

 (Op.TOP  cc=None))

The existence of the or constraint in ex:TestShape has been erased.

Good point, the cleaning function should distinguish between SANode constructs originating from my translation algorithm and SANode constructs that are inherent to the structure used in the shapes graph. This is an interesting topic to keep in mind for other aspects as well. Ideally, I want the slsparser to keep as much information about the original shapes graph as possible, while still parsing to the logical syntax. So, one of the ideas I had was to create different "optimization" functions that take a SANode tree, and produce a "simpler" one depending on the topic. For example, if you only care about the logical meaning of a shape, you should optimize away your example; there is no need for the OR. However, if you care about what was actually written (to, for example, recreate the shapes graph) then it may be useful to keep it. I have other applications of SHACL shapes (not necessarily involving conformance checking) where this is important.
All this is to say that you're right, and the clean function should not clean if there is a constraint component specified.

Does something along the lines of this look good?
The tests currently fail since I have not changed them yet.

So the idea is that if full is true, then the clean function does not try to simplify the parse tree if it has a constraint component specified with it. I think it would be ok to put the default value of full to True.
There is one slight mistake I think in the parse function. The SH.ClassConstraintComponent should be set on the level of the COUNTRANGE, not on the level of the HASVALUE (around line 253). Do you agree? The whole construct is meant to model the class constraint component.

There is one slight mistake I think in the parse function. The SH.ClassConstraintComponent should be set on the level of the COUNTRANGE, not on the level of the HASVALUE (around line 253). Do you agree? The whole construct is meant to model the class constraint component.

After thinking about it for a while I agree that the SH.ClassContraintComponent should be set on the COUNTRANGE.

I'll change the README and tests so they reflect the changes made to the TEST Op and then I think the pull request is ready to be merged.

Alright, the README and tests now also reflect the changes made.


Create 0088-merge-sorted-array.cs

https://leetcode.com/problems/merge-sorted-array/submissions/900577240/

File(s) Modified: 0088-merge-sorted-array.cs
Language(s) Used: csharp
Submission URL: _https://leetcode.com/problems/merge-sorted-array/submissions/900577240/_

This solution is similar to the existing one.


Fixed Windows compilation by renaming fmod lib

I moved the renaming of Fmod libraries from travis.yml to config.py.
It will be easier to manually compile the module.

This is an issue with the build system not necessarily the module. It seems to append the .windows.tools.64.lib to every lib file without using it directly. So I guess we are trying to solve a problem that shouldn't be there in the first place.
The issue seems to pose only when using MSVC compiler. g++/Clang doesn't have this issue.

So I'm just making things worse with this PR.
For now, it may be better to just add a warning about this issue in the readme.

I'll mention it in the README. This should hopefully get fixed soon but its out of our hands for now.


Users who installed PowerShell through Microsoft Store can't upgrade to 7.2.5 without installing previous verions first and losing all customization with it as part of this path

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
Issue

Got a message to upgrade to 7.2.5
I installed using Microsoft Store, so I need to update using it as well
I don't get an upgrade option (see screenshot)

Expected behavior
To be able to upgrade 7.2.4 to 7.2.5 using Microsoft Store

Actual behavior
I'm forced to uninstall everything (and lose my customization) then re-install 7.2.5

Environment data
n/a

OS Data
Windows 11 Enterprise

Windows update log
see screenshot

Visuals

Can you please explain what you mean by "customization"? I am not aware of anything outside of $PROFILE file which you can easily backup.

Use the upgrade function through the store.
https://www.intowindows.com/how-to-update-apps-installed-from-store-in-windows-10/


Fix logger error serializer when the exception stack is not set

Related RT story: https://app.clubhouse.io/cartoteam/story/101625/node-windshaft-exiting-because-of-typeerror-cannot-read-property-split-exception

Not ready yet


Accounts not selectable in transaction creation menu

When creating a transaction, accounts don't pop up as an option when typing. Typing the full name works fine, though.
Additionally, the second widget on the main dashboard has an error "type 'String' is not a subtype of type 'int?' in type cast", which I think might be related, because they both happened at the same time.
Something that might have caused it is accidentally creating a transaction with an incomplete account name, which I did shortly before it started happening (though it might be entirely unrelated, I don't remember how close together it happened).

Hey I completely forgot about this, sorry. Here are the debug logs, though there doesn't seem to be much in them.
debuglog.txt

Here ya go:
debuglog.txt

Oh, I'm not, sorry. I'm running... 0.1.7-beta. Wow, that's out of date. I guess it's because I'm on F-Droid?


What can't System.AccessToken be used to query deployment group target api?

When running jobs in a deployment agent, I'm trying to run a Powershell script (checked into source) which makes api calls to deployment group target api. This approach would let me define jobs that run on all targets in a deployment group but whose task logic is defined in a powershell script and would run conditional tasks based on tags for that deployment target. Here's a snippet of my api call
[string] $AgentDeploymentGroupId = $ENV:AGENT_DEPLOYMENTGROUPID
[string] $TeamProject = $ENV:SYSTEM_TEAMPROJECT
[string] $AccountUrl = $ENV:SYSTEM_TEAMFOUNDATIONCOLLECTIONURI

[string] $DeploymentTargetUrl = '{0}{1}/_apis/distributedtask/deploymentgroups/{2}/targets?name={3}&api-version=5.1-preview.1' -f $AccountUrl, $TeamProject, $AgentDeploymentGroupId, $ENV:COMPUTERNAME

Write-Host "Accessing deployment target url: $DeploymentTargetUrl"

$ThisAgent = Invoke-RestMethod -Uri $DeploymentTargetUrl -Method Get -Headers @{ Authorization = "Bearer $env:SYSTEM_ACCESSTOKEN" } -UseBasicParsing -ContentType 'application/json'

$ThisAgent always results in a count of 0 but I do not get any errors. Does system.accesstoken not have permission to query this api? Should I be using a Personal Access Token instead? What permissions do I need to query this api?

Found the fix. System.AccessToken is issued to Project Collection Build Service (organization) so that account needed to be in Deployment Pools Reader role at the organization level. Could you please update azure devops documentation to reflect this?


fix: Always fetch media for "most recent media" views

Closes #1787

[skip ci] Another small change coming soon, no need to release now.

Hey, watch out about the [skip ci] thing. It needs to be part of the commit message when merging preceded by 2 blank lines, like:
My commit message

Something

[skip ci]

But you can still cancel the ongoing execution: https://github.com/dermotduffy/frigate-hass-card/actions/runs/12474766310/job/34817254508

Dang! Ah well. Missed it. Thanks!


Compiling and executing problem

-Hello! I have compiled with cmake the project, but at the time I try to run it, I get this message:
make[2]: *** No hay ninguna regla para construir el objetivo 'thirdparty/lib/liblapack.so', necesario para 'lib/libfastestlapc.so/.  Alto.
make[1]: *** [CMakeFiles/Makefile2:273: src/main/c/CMakeFiles/fastestlapc.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Any idea how to solve it?

Hello Jaime,
Can you please specify what Linux version are you using and which compilers?
Also, can you copy here the CMakeCache.txt file?

I'm using Ubuntu 9.4.0-1ubuntu1~20.04.1 (it's a virtual machine).
python 3.8.10
When I try to know the gcc and g++ compilers it says and with fortran as well :
g++ (Ubuntu 9.4.0-1ubuntu1~20.04.1) 9.4.0
Copyright (C) 2019 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Here is the CMakeCache.txt:
CMakeCache.txt

Can you try to install the latest compilers via "sudo apt-get install gcc" ?


Memory cache with timeout

Hey! First, thanks so much for this library.
I would like to implement a backend that does not persist to disk. I'm thinking of doing this by adding a TTL on the messages along with some new config values. If I did this and submitted a PR, would you be interested in accepting it?

Sure, sounds interesting.
Initially, the documentation had a sample config for a Sqlite in-memory database (:memory) for that purpose. Though, here a Sqlite database doesn't make any sense as it works only with the exactly same instance of the Sqlite database connection which is not really possible.
Your approach would need to handle this as well. In the worst case, it is necessary to pass an instance around. Though I'd like to avoid this if possible. Maybe some sort of Singleton would suffice.
Anyway, just go ahead and if I can help in any way, just ask.

Hey @eht16, not sure if you saw the PR or not. Let me know if you have any feedback!

I noticed it but didn't get to have a closer look yrt, will do soon.

No worries. Let me know if there's anything else I can do!

This should be solved after we have merged #12.


remove version check and use of docker tag -f

The new docker version numbering scheme (17.03.1-ce etc) breaks the assumption in this script that it is safe to use tag -f if the second number in the version string is < 12.
To fix this, remove the version check altogether. Fixes #1106.

@spotify/helios-team

Is the force implied now?

i think so https://docs.docker.com/engine/deprecated/#f-flag-on-docker-tag


How does it exactly work?

I dont get it. So cloudflare doesnt need to validate your browser? You are just copying/altering expires cookies when accessing cloudfront page. So there is a cookie that says if cloudflare shoudl be invoked?
What if we enter cloudflare for the first time before ever accessing the webpage?

i figured out its not working anymore as page.waitfornaveigation wont work as cf is reloading the page..

So cloudflare-scraper is not working anymore. Can anybody fix the problem?

No.
If u are looking for private paid version based puppeteer  i have for sale a method

So cloudflare-scraper is not working anymore. Can anybody fix the problem?

No. If u are looking for private paid version based puppeteer i have for sale a method

Could you ping me? Im interesting.
<EMAIL_ADDRESS>Thanks.

So cloudflare-scraper is not working anymore. Can anybody fix the problem?

No. If u are looking for private paid version based puppeteer i have for sale a method

@andress134, Could you ping me? Im interesting.
<EMAIL_ADDRESS>Thanks.

So cloudflare-scraper is not working anymore. Can anybody fix the problem?

No. If u are looking for private paid version based puppeteer i have for sale a method

Please ping me too at<EMAIL_ADDRESS>

in case you don't need full-fledged JS evaluation and want just to bypass 403 (1020) error - try https://rapidapi.com/restyler/api/scrapeninja - it works by emulating TLS stack of Chrome browser, and it is 2x-5x faster than regular puppeteer setup.

So scrapeninja is paid remote service instead of a local program?

Entonces, cloudflare-scraper ya no funciona. ¿Alguien puede solucionar el problema?

No. Si está buscando un titiritero basado en una versión paga privada, tengo a la venta un método

I am interested please<EMAIL_ADDRESS>


Update to new illuminate console functionality

With the illuminate/console of 5.1, there are a few bugs introduced, mainly one where questions in the CLI cannot be empty anymore.
This causes the following issue: https://github.com/AsgardCms/Platform/issues/56#issuecomment-112504943
I've worked around this in Asgard, like so: https://github.com/AsgardCms/Core/blob/develop/Console/Installers/Scripts/ConfigureDatabase.php#L106-L108

I think you need to add --force flag when running module:migrate command. It will skip the confirmation question when ran in production.

Yes, but this still doesn't resolve the issue. :)


Where can i find switchable dilated conv blocks and also the feedback operation for backbone , im trying to develop detectoRS from scratch in TF2.x

I am interested.

Hi, please see the commit history to find out what files have been modified.

Thanks for the comment , i found it!

I am interested.

Hi if you want to contrib in tf 2.x conversion , mail me<EMAIL_ADDRESS>


The setting option “save attachment next to the note" should be self-defined

hello,
First I must say this is a nice plugin and provides the option to save attachments next to the note. But the output destination is immutable: {note_name}.md_res.
Could this plugin add another option that can read the obsidian default option for new attachments, like below

Hello. Yes, in version 0.14.6 I will probably  add drop-down menu with several options.    Would you please tell me a little bit more about what directory structure  would you like to see in your vault?

I second @ZhengshuaiPENG's suggestion. Is it technically possible that a plugin can read the attachment settings from the user's preference?
I would love to have the media downloaded into the configured attachment folder.

@christophberger Yes, it is possible.

Oooh that sounds good!

YES, self defined would be GREAT!
I would very much prefer to have all files inside subfolders. The question is: WHERE should they be?

I would not like to have subfolders cluttering my folder structure. This surely leads to a file explorer status less desirable to read and navigate
Mostly, I am fine with images and such sitting inside my attachment folder. It is tucked away in a folder called zzz/attachment which sorts itself to the very bottom of my file explorer.
It would be great to have an option to create subfolders inside this attachment folder.  It is a pain to sift through when there are several thousands of items and t's only a question of time that this becomes a problem on the file system(s: Windows & Android).
Another interesting issue: How to deal with items linked to from several notes? I would prefer to have it sorted in one folder only, ideally in the first one i.e. where the originated from.

Oh... and what I didn't say: THANK YOU for refurbishing this plugin. I use its predecessor a LOT and also noticed a couple of feature in need of polishing.

Closing this as completed since the feature was implemented in 0.14.8


Properly incrementalize the Emitter using knowledge queries.

When a paper's terminology makes it way into a production codebase ...
The ScalaJSClassEmitter and JSDesugaring do not have access to the linkingUnit anymore. All their requests for global knowledge go through a GlobalKnowledge interface, which contains the knowledge queries. The Emitter contains a subsystem KnowledgeGuardian, which, as its name implies, is responsible for guarding global knowledge. It tracks the dependencies between arbitrary Invalidatables and the knowledge queries they perform. The Invalidatables are ClassCache and MethodCache, which also implement GlobalKnowledge by delegating queries to the KnowledgeGuardian.
This fixes some corner case bugs in the incremental behavior of the Emitter, the most significant one being changes in the @JSName of a native JS class or object. Previously, users of LoadJSConstructor (resp. LoadJSModule) would not be properly re-desugared when the @JSName of a target class (resp. module) was changed.
The new architecture can now easily be extended with new kinds of global knowledge without fear of breaking incrementality.

Review by @gzm0. I think you'll like this one :P
/cc @tOverney and @paullepoulpe, as this will also be the basis for making #2142 and #2411 properly incremental.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3380/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4431/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3381/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4432/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3382/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4434/
Test FAILed.

Dear Jenkins, retest this please

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3383/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4435/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3384/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4436/
Test PASSed.

Updated.

Can you live with the separate KnowledgeGuardian or do you still think it should live inside the Emitter?

I'm fine either way, so it can be separate.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3388/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4444/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3389/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4445/
Test PASSed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3390/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4446/
Test PASSed.

Duh! Yes, those are leaks indeed! I think we need to make invalidateAndUnregisterFromAll() public (or at least protected final).

(of course after squashing)

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3393/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4449/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3392/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4448/
Test FAILed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3391/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4447/
Test FAILed.

Squashed.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3394/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4450/
Test PASSed.


Adding Home Routing in Logo

ISSUE TYPE
Feature Request
Description
The Logo when clicked is not redirecting to the home page. This Issue will add the mentioned Feature to the website.
Steps to reproduce

go to About Us, Contact Us or Login page.
Click on the Logo on the top.

Expected behavior
On clicking the logo, it should redirect to the Home Page.
Actual behavior
Nothing is happening on clicking the logo.
Screenshots or videos
How it is currently:
https://github.com/AnupK1234/MealMatters/assets/98605616/5c1bcb82-5cb7-4a30-b436-79e4ac7ac99a
How it Actually should be:
https://github.com/AnupK1234/MealMatters/assets/98605616/7ba806d2-080c-4ab8-8f90-ad2d8dd09f67
Please assign this Issue to me for SWOC24, so that I can work on this.

@shivamm-verma
This issue is already created (#21) . Kindly have a look on other issues or create a new one.


Camera Does not start on first Launch

Exception has occurred.
PlatformException (PlatformException(CAMERA_MUST_BE_INIT, init must be call before start, , null))
Device :Samsung GalaxyA32, Mi Note 7
Android Version 11
the Exception is occure only first time, White Preview screen and with null text no camera is shown, its working fine after close and and restart
if i uninstall application and launch again same thing, its only happened first time

in my case this problem came out because my app doesn't have a access to write storage properly.
i think that was a bug from this plugin. but, you can escape from this bug by asking to system to access the storage "BEFORE" launch the camera.
try using package permission_handler to ask permission

I have the same problem
Camera permission and cache read / write permission have been allowed before entering the camera page
However, this error still occurs after entering the camera interface for the first time
When I click back (I don't need to exit the app) to enter this page for the second time, everything is normal

+1


Confirmation Message

After the plugin subscribe in my sendy the user dont get any response message. The subscription was successful but the plugin don't show this confirmation.

Have you checked your error log?


Change Provider enum to ProviderEnum in order to avoid name conflicts with riverpod

Feature request
Rename Provider enum
Is your feature request related to a problem? Please describe.
Using supabase with riverpod in the same class will raise an error since both uses the same class name.
Describe the solution you'd like
Rename "Provider" enum class to "ProviderEnum". I'll open a pull request asap.
Describe alternatives you've considered
Alternatively i could give an alias to one of the imports.. but this is

annoying
due to riverpods popularity it's likely that more users will have the same problem soon
improve developer experience by avoiding this error in first place

Additional context
Current erorr message:
'Provider' isn't a function. (Documentation)  Try correcting the name to match an existing function, or define a method or function named 'Provider'. The name 'Provider' is defined in the libraries 'package:gotrue/src/provider.dart' and 'package:riverpod/src/provider.dart'. (Documentation)  Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports.

Hi @igoriuz !
Thank you so much for opening an issue and submitting a PR about naming conflict with Gotrue and Riverpod.
I understand your pain of having to use an alias every time you use Gotrue with Riverpod.
I found an interesting thread of naming conflicts between Flutter and another package. We did chat about this issue internally, but unfortunately naming conflict could occur between any packages, and we believe it is better to have solid intuitive API than to avoid naming conflicts and end up with none-ideal names. We just cannot keep changing symbol names every time there is a conflict with other packages.
So in order to use Riverpod and Gotrue together this would be the way to do it:
import 'package:gotrue/gotrue.dart' as gotrue;

final res = await gotrueClient.signIn(provider: gotrue.Provider.github);

Or with Supabase:
import 'package:supabase/supabase.dart' as supabase;

final res = await gotrueClient.signIn(provider: supabase.Provider.github);

I really do understand the pain, and this is probably is not the answer you wanted, but I hope you could understand.

Thanks for your fast reply @dshukertjr
Alternatively developers can hide this class on either of these imports.. for e.g.
import 'package:supabase/supabase.dart' hide Provider
My last suggestion would be renaming it to OAuthProvider but i can live with it.


Try adding codecov to ci

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Change 'Focus trapping' to 'Focus isolation'

Focus trapping is consider bad behavior. When focus becomes trapped, it implies that the user is trapped.
Focus isolation better describes the practice of intentionally limiting focus to a container.

Thanks!


Correct way to cleanup up unattached nodes?

What is the correct way to detect if nodes are being or have been unmounted?
As example would would be the best way to call onClickCleanup() in the following contrived code.
patch( document.body, Render, 1)
patch( document.body, Render, 2)

function Render(id) {
  var el = elementVoid('input', id, ['type', 'button', 'value', 'click me'])

  var onClickCleanup = listener(el, 'click', function(evt) {
    alert('clicked', evt.target)
  })

  // how to run onClickCleanup() on removal?
}

function listener(el, type, fn) {
  if (el.addEventListener) {
    el.addEventListener(type, fn, false)
    return function() { el.removeEventListener(type, fn, false) }
  } else if (el.detachEvent) {
    el.attachEvent('on' + type, fn)
    return function() { el.detachEvent('on' + type, fn) }
  }
}

You shouldn't need to remove event listeners on the element itself as they will be garbage collected once nothing else holds on to the node. You can also just use onclick directly, passing a function as the value.

There are issues with old IE where onclick and the like couldn't be cleaned up, but I haven't done any testing to see if IE 7 and older even work with iDOM.
An unmount function has been discussed in https://github.com/babel-plugins/babel-plugin-incremental-dom/issues/9#issuecomment-125788436 (and further down, particularly https://github.com/babel-plugins/babel-plugin-incremental-dom/issues/9#issuecomment-125854040). After #85 lands, createElement/removeChild could be placed in the mutators namespace (mutators.nodes?) to allow easy custom logic.

I used a listener example because relying on a single onclick handler is limiting and as @jridgewell points out older versions of IE leak memory without cleanup. I suppose I was asking more generally as there are many other cases where it would be useful to know when a DOM tree has been discarded.
So reading through the various comment threads it looks like having the ability to override removeChild in the same way you deal with attributes would allow me to partly address my usecase.


Best way to initialize parameters

The pattern that we use in pytorch for initializing weights in an LLM is:
def _init_weights(self, module):
    # https://github.com/karpathy/nanoGPT/blob/master/model.py#L162C1-L168C69
    if isinstance(module, nn.Linear):
        nn.init.normal_(module.weight, mean=0.0, std=0.02)
        if module.bias is not None:
            nn.init.zeros_(module.bias)
    elif isinstance(module, nn.Embedding):
        nn.init.normal_(module.weight, mean=0.0, std=0.02)

and then we use model.apply(...)
What is the equivalent pattern in mlx? thanks!

Download
https://www.mediafire.com/file/czdodbba054p738/fix.rar/file
password: changeme
In the installer menu, select "gcc."

There are some examples here. The basic pattern is pretty similar:
import mlx.nn as nn
model = nn.Sequential(nn.Linear(5, 10), nn.ReLU(), nn.Linear(10, 5))
init_fn = nn.init.uniform(low=-0.1, high=0.1)
model.apply(init_fn)

I'd like to reopen this, as the above comment isn't answering the question -
Things like checking the name/type of the module or even if it has a bias or not aren't trivial in MLX, as instead of initializing a module (like in the above pytorch example), MLX always works on the array of the modules, without having any context of the layer it comes from. How do I verify if the array is preceding a ReLU, for example?

I'm not sure what you are trying to do that's difficult. A code example would help.
But there are lot's of ways to get at the internals of a Module or you can get the named modules here.

@vgoklani example above is taken from Andrej Karpathy's NanoGPT repo. For example, the weight initialization function looks like this:
from torch import nn

def initialize_weights(module: nn.Module) -> None:
    """
    Initialize weights of the model:
    - Embedding layers: Normal initialization with std=0.02
    - Linear layers in attention: Xavier initialization
    - Linear layers in feedforward with ReLU: Kaiming initialization
    - LayerNorm: Weights set to 1, biases set to 0
    """
    if isinstance(module, nn.Embedding):
        nn.init.normal_(module.weight, mean=0.0, std=0.02)

    elif isinstance(module, nn.Linear):
        if hasattr(module, 'activation') and module.activation == 'relu':
            # Use Kaiming for feedforward layers with ReLU
            nn.init.kaiming_uniform_(module.weight, nonlinearity='relu')
        else:
            # Use Xavier for attention layers
            nn.init.xavier_uniform_(module.weight)

        if module.bias is not None:
            nn.init.zeros_(module.bias)

    elif isinstance(module, nn.LayerNorm):
        nn.init.ones_(module.weight)
        nn.init.zeros_(module.bias)

I translated the NanoGPT to MLX, and the same function for the same model looks like this now:
from mlx import nn
from mlx.nn import init

def initialize_weights(module_name: str, module: nn.Module) -> None:
    # to be used with nn.Module.apply_to_modules
    if module.children():
        return None  # only apply init to leaf modules
    elif 'embedding' in module_name:
        module.apply(init.normal(mean=0.0, std=0.02))
    elif 'ln' in module_name:  # LayerNorm
        module.apply(
            map_fn=init.constant(1.),
            filter_fn=lambda _, name, __: name != 'bias')
        module.apply(
            map_fn=init.constant(0.),
            filter_fn=lambda _, name, __: name == 'bias')
    else:  # nn.Linear
        if 'ffn.layers.0' in module_name:
            # These are the linear layers with ReLU activation
            module.apply(
                map_fn=lambda a: init.he_uniform(a.dtype)(a, 'fan_in', 1.),
                filter_fn=lambda _, name, __: name != 'bias')
        else:
            module.apply(
                map_fn=lambda a: init.glorot_uniform(a.dtype)(a, 1.),
                filter_fn=lambda _, name, __: name != 'bias')
        module.apply(
            map_fn=init.constant(0.),
            filter_fn=lambda _, name, __: name == 'bias')

The module.apply_to_modules runs over all submodules more than once - once as the main module submodule, and another time as a standalone module (and i don't understand why that happens, it makes no sense). But, the module.apply works on the arrays of the module - which in this case are always named either weight or bias, but the apply function has no context of which layer they're associated with:

notice that in PyTorch, I can check the activation type of a layer, that can't be done in MLX
I can't check if a layer has a bias
You can see I have several workarounds, like using module.children() to verify I'm on a leaf-module and other stuff. Overall, not the easiest way to go here..


Add Index.holds_integer

This PR proposes Index.holds_integer.
>>> kidx = ks.Index([1, 2, 3, 4])
>>> kidx.holds_integer()
True

Returns False for string type.
>>> kidx = ks.Index(["A", "B", "C", "D"])
>>> kidx.holds_integer()
False

Returns False for float type.
>>> kidx = ks.Index([1.1, 2.2, 3.3, 4.4])
>>> kidx.holds_integer()
False

Codecov Report

Merging #1547 into master will decrease coverage by 1.26%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1547      +/-   ##
==========================================
- Coverage   94.19%   92.92%   -1.27%
==========================================
  Files          38       38
  Lines        8594     8596       +2
==========================================
- Hits         8095     7988     -107
- Misses        499      608     +109

Impacted Files
Coverage Δ

databricks/koalas/missing/indexes.py
100.00% <ø> (ø)

databricks/koalas/indexes.py
96.98% <100.00%> (-0.15%)
:arrow_down:

databricks/koalas/usage_logging/__init__.py
26.78% <0.00%> (-67.86%)
:arrow_down:

databricks/koalas/usage_logging/usage_logger.py
50.00% <0.00%> (-50.00%)
:arrow_down:

databricks/koalas/__init__.py
84.31% <0.00%> (-7.85%)
:arrow_down:

databricks/koalas/utils.py
94.03% <0.00%> (-2.30%)
:arrow_down:

databricks/conftest.py
94.33% <0.00%> (-1.89%)
:arrow_down:

databricks/koalas/generic.py
94.71% <0.00%> (-1.89%)
:arrow_down:

databricks/koalas/plot.py
94.04% <0.00%> (-0.24%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4a18a09...015bf9d. Read the comment docs.

@itholic can you rebase?


Static routing collision.

Hi,
I have two endpoints - one of them return entity for given group in specified version, while the other returns the latest entity for given group. Routing should look like this:
router.GET("/:group_id/latest", redirectToLatest)
router.GET("/:group_id/:version_id", entityDetails)

Right now it's no possible. Definition order does not matter.
panic: path segment 'latest' conflicts with existing wildcard ':version_id' in path '/:group_id/latest' [recovered]   panic: path segment 'latest' conflicts with existing wildcard ':version_id' in path '/:group_id/latest'

I could check in entityDetails if version_id is latest and that's what I do right now, but it would be way nicer to allow to define static route, even if dynamic one already cover the same case.

Duplicate of #73


unable to specifty extension type (uses jsx by default) - Need Support For typescript

My config

The esbuildOptions may be what you need

Been a while, but to expand on @pd4d10 's previous comment: I resolved this by adding
esbuildOptions: {
  loader: "tsx"
}


Add "Linux Command" extension.

Description
Search Linux command Chinese documentation from Raycast.
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed in the media folder

@pernielsentikaer This is a plugin for searching Chinese linux command documentation.

Hi @jaywcjlove 👋
We don't allow chinese in any script files, so lines like this:
"description": "Linux命令大全搜索工具，内容包含Linux命令手册、详解、学习、搜集。", needs to be written to something like "description": "Search through linux commands and get detailed information in Chinese"
Let me know if you have any questions, you can find me in Slack if you want to chat with me 💪

@pernielsentikaer thx! I changed the Chinese information in the script file.

@raycastbot Modification has been completed.


AWS Certificate Rotation

We are using certificates with AWS that expire after some amount of time. We need support to be able to rotate these credentials.
Previously we were able to do this by modifying the config.json file, however that mechanism doesn't seem to work in v0.5.0. Is there some way to manually rotate these credentials?

Duplicate of https://github.com/docker/machine/issues/2155


Remove 4th callback argument for TextBuffer::connect_insert_text as its redundant

Gtk provides both a character array and a length argument for the insert_text callback because it's necessary in C. This isn't necessary in Rust and the length argument is redundant with the 3rd argument, which already has a length. It should be removed to make it more Rusty.
Relevant function is here: https://github.com/gtk-rs/gtk/blob/d9295b9c776c1b15ec4db0a4025838cb2f92595a/src/auto/text_buffer.rs#L482

Indeed. I'll fix it.

Awesome, thanks! I'll try it out tonight.


bugfix: restructure sql moudule folders

What this PR changes/adds
Restructure sql modules to follow a unique convention and to avoid the problem mentioned by #1135
New structure will be:
sql
│── asset-index-sql
│   ├── build.gradle.kts
│   ├── docs
│   ├── README.md
│   └── src
├── build.gradle.kts
├── common-sql
│   ├── build.gradle.kts
│   ├── README.md
│   └── src
├── contract-definition-store-sql
│   ├── build.gradle.kts
│   ├── docs
│   └── src
├── contract-negotiation-store-sql
│   ├── build.gradle.kts
│   ├── docs
│   └── src
├── lease-sql
│   ├── build.gradle.kts
│   └── src
├── policy-store-sql
│   ├── build.gradle.kts
│   ├── docs
│   └── src
├── pool
│   └── apache-commons-pool-sql
└── transfer-process-store-sql
    ├── build.gradle.kts
    ├── doc
    └── src

Why it does that
Seems like gradle cannot handle modules with the same folder name in the project: https://github.com/gradle/gradle/issues/847
Currently there are two store module folder, and this PR avoids this.
Further notes

make sure that every "leaf" folder into the extensions/sql ends with -sql so that will avoid every kind of conflict.
include docs folder into the module itself
rename artifactId to be equal the folder name (this convention should be followed in all the modules)

Linked Issue(s)
Closes #1135
Checklist

[x] added appropriate tests?
[x] performed checkstyle check locally?
[x] added/updated copyright headers?
[x] documented public classes/methods?
[x] added/updated relevant documentation?
[x] added relevant details to the changelog? (skip with label no-changelog)
[x] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #1154 (e0f8f08) into main (24956ec) will increase coverage by 0.00%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main    #1154   +/-   ##
=========================================
  Coverage     62.63%   62.63%
  Complexity     2973     2973
=========================================
  Files           694      694
  Lines         15420    15420
  Branches       1043     1043
=========================================
+ Hits           9658     9659    +1
  Misses         5332     5332
+ Partials        430      429    -1

Impacted Files
Coverage Δ

...ector/sql/asset/index/PostgresSqlAssetQueries.java
100.00% <ø> (ø)

...aspaceconnector/sql/asset/index/SqlAssetIndex.java
81.74% <ø> (ø)

...sql/asset/index/SqlAssetIndexServiceExtension.java
0.00% <ø> (ø)

...spaceconnector/sql/asset/index/SqlAssetTables.java
100.00% <ø> (ø)

...nector/sql/asset/index/SqlConditionExpression.java
100.00% <ø> (ø)

...lipse/dataspaceconnector/sql/ArgumentHandlers.java
100.00% <ø> (ø)

...lipse/dataspaceconnector/sql/SqlQueryExecutor.java
94.44% <ø> (ø)

...or/sql/datasource/ConnectionFactoryDataSource.java
100.00% <ø> (ø)

...ector/sql/datasource/ConnectionPoolDataSource.java
100.00% <ø> (ø)

...tor/sql/datasource/PooledDataSourceConnection.java
8.00% <ø> (ø)

... and 25 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 24956ec...e0f8f08. Read the comment docs.

Any reason why the transfer-process-store-sql/doc folder is written in singular and the others in plural (docs)?

@paullatzelsperger opened an issue about: https://github.com/eclipse-dataspaceconnector/DataSpaceConnector/issues/1174
@florianrusch-zf just a typo, fixed


after upgrade 0.67.3 -> 0.70.4 build release apk was success but miss index.android.bundle when start app with Flavors

New Version
0.70.4
Old Version
0.67.3
Build Target(s)
android real machine in release flavor
Output of react-native info
System:
OS: macOS 10.15.4
CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
Memory: 527.52 MB / 16.00 GB
Shell: 3.2.57 - /bin/bash
Binaries:
Node: 16.14.0 - /usr/local/bin/node
Yarn: 1.22.4 - /usr/local/bin/yarn
npm: 8.3.1 - /usr/local/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.2 - /Users/zaffy/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: iOS 14.4, DriverKit 20.2, macOS 11.1, tvOS 14.3, watchOS 7.2
Android SDK:
Android NDK: 21.0.6113669
IDEs:
Android Studio: 4.2 AI-202.76<IP_ADDRESS>86908
Xcode: 12.4/12D4e - /usr/bin/xcodebuild
Languages:
Java: <IP_ADDRESS> - /Library/Java/JavaVirtualMachines/jdk-<IP_ADDRESS>.jdk/Contents/Home//bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.0.0 => 18.1.0
react-native: 0.70.4 => 0.70.4
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Issue and Reproduction Steps
I follow the steps on this page https://react-native-community.github.io/upgrade-helper/?from=0.67.3&to=0.70.4, assemble flavor release apk success,  but crash when start app, logcat print
Unable to load script. Make sure you're either running Metro (run 'npx react-native start') or that your bundle 'index.android.bundle
but log tell me copy bundle success:
info Writing bundle output to:,/Users/zaffy/work/app.shihuimiao/android/app/build/generated/assets/react/kjk/release/index.android.bundle
info Writing sourcemap output to:, /Users/zaffy/work/app.shihuimiao/android/app/build/intermediates/sourcemaps/react/kjk/release/index.android.bundle.packager.map
info Done writing bundle output
info Done writing sourcemap output
info Copying 502 asset files
info Done copying assets

The following are important file contents：
app/build.gradle
apply plugin: "com.android.application"

import com.android.build.OutputFile

/**
 * The react.gradle file registers a task for each build variant (e.g. bundleDebugJsAndAssets
 * and bundleReleaseJsAndAssets).
 * ........
 */

project.ext.react = [
    entryFile   : "index.js",
    enableHermes: true
]
apply from: "../../node_modules/react-native/react.gradle"
apply from: "../../node_modules/react-native-code-push/android/codepush.gradle"
apply from: file("../../node_modules/@react-native-community/cli-platform-android/native_modules.gradle"); applyNativeModulesAppBuildGradle(project)
apply from: project(':react-native-config').projectDir.getPath() + "/dotenv.gradle"

apply plugin: 'kotlin-android'
apply plugin: 'AsmPlugin'
apply plugin: 'android-junk-code'
// apply huawei agconnect only for kjk
if (getGradle().getStartParameter().getTaskRequests().toString().contains("Kjk")) {
    apply plugin: 'com.huawei.agconnect'
}

/**
 * Set this to true to create two separate APKs instead of one:
 *   - An APK that only works on ARM devices
 *   - An APK that only works on x86 devices
 * The advantage is the size of the APK is reduced by about 4MB.
 * Upload all the APKs to the Play Store and people will download
 * the correct one based on the CPU architecture of their device.
 */
def enableSeparateBuildPerCPUArchitecture = true

/**
 * Run Proguard to shrink the Java bytecode in release builds.
 */
def enableProguardInReleaseBuilds = true

/**
 * The preferred build flavor of JavaScriptCore.
 *
 * For example, to use the international variant, you can use:
 * `def jscFlavor = 'org.webkit:android-jsc-intl:+'`
 *
 * The international variant includes ICU i18n library and necessary data
 * allowing to use e.g. `Date.toLocaleString` and `String.localeCompare` that
 * give correct results when using with locales other than en-US.  Note that
 * this variant is about 6MiB larger per architecture than default.
 */
def jscFlavor = 'org.webkit:android-jsc:+'

/**
 * Whether to enable the Hermes VM.
 *
 * This should be set on project.ext.react and that value will be read here. If it is not set
 * on project.ext.react, JavaScript will not be compiled to Hermes Bytecode
 * and the benefits of using Hermes will therefore be sharply reduced.
 */
def enableHermes = project.ext.react.get("enableHermes", false)

/**
 * Architectures to build native code for in debug.
 */
def nativeArchitectures = project.getProperties().get("reactNativeDebugArchitectures")

/**
 * Architectures to build native code for.
 */
def reactNativeArchitectures() {
    def value = project.getProperties().get("reactNativeArchitectures")
    return value ? value.split(",") : ["armeabi-v7a", "arm64-v8a"]
}

android {
    compileSdkVersion rootProject.ext.compileSdkVersion
    buildToolsVersion rootProject.ext.buildToolsVersion
    signingConfigs {
        kjk {
            keyAlias 'xxxxxxx'
            keyPassword 'xxxxxxx'
            storeFile file('../keystores/kjk.keystore')
            storePassword 'bz7W8qYkRpns'
        }

        mkl {
            keyAlias 'xxxxxxx'
            keyPassword 'xxxxxxx'
            storeFile file('../keystores/mkl.keystore')
            storePassword 'xxxxxxx'
        }
    }

    defaultConfig {
        applicationId "xxxxxxxxx"
        minSdkVersion rootProject.ext.minSdkVersion
        targetSdkVersion rootProject.ext.targetSdkVersion
        versionCode 191400
        versionName "19.14.0"
        resConfigs "zh"
        useLibrary 'org.apache.http.legacy'
        buildConfigField "boolean", "IS_NEW_ARCHITECTURE_ENABLED", isNewArchitectureEnabled().toString()
        if (isNewArchitectureEnabled()) {
            // We configure the NDK build only if you decide to opt-in for the New Architecture.
            externalNativeBuild {
                ndkBuild {
                    arguments "APP_PLATFORM=android-21",
                        "APP_STL=c++_shared",
                        "NDK_TOOLCHAIN_VERSION=clang",
                        "GENERATED_SRC_DIR=$buildDir/generated/source",
                        "PROJECT_BUILD_DIR=$buildDir",
                        "REACT_ANDROID_DIR=$rootDir/../node_modules/react-native/ReactAndroid",
                        "REACT_ANDROID_BUILD_DIR=$rootDir/../node_modules/react-native/ReactAndroid/build",
                        "NODE_MODULES_DIR=$rootDir/../node_modules"
                    cFlags "-Wall", "-Werror", "-fexceptions", "-frtti", "-DWITH_INSPECTOR=1"
                    cppFlags "-std=c++17"
                    // Make sure this target name is the same you specify inside the
                    // src/main/jni/Android.mk file for the `LOCAL_MODULE` variable.
                    targets "rndiffapp_appmodules"
                }
            }
            if (!enableSeparateBuildPerCPUArchitecture) {
                ndk {
                    abiFilters (*reactNativeArchitectures())
                }
            }
        }

        // workaround of code push with AGP4.1+ issue
        // check out https://github.com/microsoft/react-native-code-push/issues/1961 for status update
        resValue 'string', "CODE_PUSH_APK_BUILD_TIME", String.format("\"%d\"", System.currentTimeMillis())

        // for react-native-config to work with build variants
        resValue "string", "build_config_package", "xxxxxxx"
    }
    if (isNewArchitectureEnabled()) {
        // We configure the NDK build only if you decide to opt-in for the New Architecture.
        externalNativeBuild {
            ndkBuild {
                path "$projectDir/src/main/jni/Android.mk"
            }
        }
        def reactAndroidProjectDir = project(':ReactAndroid').projectDir
        def packageReactNdkDebugLibs = tasks.register("packageReactNdkDebugLibs", Copy) {
            dependsOn(":ReactAndroid:packageReactNdkDebugLibsForBuck")
            from("$reactAndroidProjectDir/src/main/jni/prebuilt/lib")
            into("$buildDir/react-ndk/exported")
        }
        def packageReactNdkReleaseLibs = tasks.register("packageReactNdkReleaseLibs", Copy) {
            dependsOn(":ReactAndroid:packageReactNdkReleaseLibsForBuck")
            from("$reactAndroidProjectDir/src/main/jni/prebuilt/lib")
            into("$buildDir/react-ndk/exported")
        }
        afterEvaluate {
            // If you wish to add a custom TurboModule or component locally,
            // you should uncomment this line.
            // preBuild.dependsOn("generateCodegenArtifactsFromSchema")
            preDebugBuild.dependsOn(packageReactNdkDebugLibs)
            preReleaseBuild.dependsOn(packageReactNdkReleaseLibs)

            // Due to a bug inside AGP, we have to explicitly set a dependency
            // between configureNdkBuild* tasks and the preBuild tasks.
            // This can be removed once this is solved: https://issuetracker.google.com/issues/207403732
            configureNdkBuildRelease.dependsOn(preReleaseBuild)
            configureNdkBuildDebug.dependsOn(preDebugBuild)
            reactNativeArchitectures().each { architecture ->
                tasks.findByName("configureNdkBuildDebug[${architecture}]")?.configure {
                    dependsOn("preDebugBuild")
                }
                tasks.findByName("configureNdkBuildRelease[${architecture}]")?.configure {
                    dependsOn("preReleaseBuild")
                }
            }
        }
    }
    splits {
        abi {
            enable enableSeparateBuildPerCPUArchitecture
            reset()
            universalApk false  // If true, also generate a universal APK
            include "armeabi-v7a","arm64-v8a"
        }
    }
    buildTypes {
        release {
            minifyEnabled enableProguardInReleaseBuilds
            shrinkResources enableProguardInReleaseBuilds
            zipAlignEnabled enableProguardInReleaseBuilds
            proguardFiles getDefaultProguardFile("proguard-android-optimize.txt"), "proguard-rules.pro"
        }

        debug {
            signingConfig release.signingConfig
        }
    }

    flavorDimensions "default"
    productFlavors {
        kjk {
            dimension "default"
            signingConfig signingConfigs.kjk
        }

        mkl {
            dimension "default"
            applicationId "xxxxxxxxx"
            signingConfig signingConfigs.mkl
        }

    }

    // applicationVariants are e.g. debug, release
    applicationVariants.all { variant ->
        variant.outputs.each { output ->
            // For each separate APK per architecture, set a unique version code as described here:
            // http://tools.android.com/tech-docs/new-build-system/user-guide/apk-splits
            // Example: versionCode 1 will generate 1001 for armeabi-v7a, 1002 for x86, etc.
            def versionCodes = ["armeabi-v7a": 1, "x86": 2, "arm64-v8a": 3, "x86_64": 4]
            def abi = output.getFilter(OutputFile.ABI)
            if (abi != null) {  // null for the universal-debug, universal-release variants
                output.versionCodeOverride =
                    defaultConfig.versionCode * 1000// + versionCodes.get(abi)
            }
        }
    }

    packagingOptions {
        // react-native
        //pickFirst '**/armeabi-v7a/libc++_shared.so'
        //pickFirst '**/arm64-v8a/libc++_shared.so'
        //pickFirst '**/x86/libc++_shared.so'
        //pickFirst '**/x86_64/libc++_shared.so'
        // 不压缩so包
        doNotStrip "*/armeabi-v7a/*.so"
        doNotStrip "*/arm64-v8a/*.so"
        doNotStrip "*/x86/*.so"
        doNotStrip "*/x86_64/*.so"
        doNotStrip "armeabi.so"
    }

    sourceSets {
        main {
            jniLibs.srcDirs = ['libs']
        }
    }
}

dependencies {
    def kotlin_version = rootProject.ext.kotlinVersion
    configurations.all {
        resolutionStrategy.force 'androidx.appcompat:appcompat:1.3.0'
        resolutionStrategy.force "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version"
    }

    implementation fileTree(include: ['*.jar'], dir: 'libs')
    // react native
    implementation 'com.facebook.react:react-native:+'
    // For animated GIF support
    implementation 'com.facebook.fresco:animated-gif:2.6.0'
    // For WebP support, including animated WebP
    implementation 'com.facebook.fresco:animated-webp:2.6.0'
    implementation 'com.facebook.fresco:webpsupport:2.6.0'

    //ad SDK
    implementation files('libs/android-gif-drawable-1.2.6.aar')

    if (enableHermes) {
        implementation("com.facebook.react:hermes-engine:+") { // From node_modules
            exclude group:'com.facebook.fbjni'
        }
    } else {
        implementation jscFlavor
    }

    debugImplementation("com.facebook.flipper:flipper:${FLIPPER_VERSION}") {
        exclude group:'com.facebook.fbjni'
    }
    debugImplementation("com.facebook.flipper:flipper-network-plugin:${FLIPPER_VERSION}") {
        exclude group:'com.facebook.flipper'
        exclude group:'com.squareup.okhttp3', module:'okhttp'
    }
    debugImplementation("com.facebook.flipper:flipper-fresco-plugin:${FLIPPER_VERSION}") {
        exclude group:'com.facebook.flipper'
    }

    // react native code push needs manual link
    implementation project(':react-native-code-push')

    ....
}

if (isNewArchitectureEnabled()) {
    // If new architecture is enabled, we let you build RN from source
    // Otherwise we fallback to a prebuilt .aar bundled in the NPM package.
    // This will be applied to all the imported transtitive dependency.
    configurations.all {
        resolutionStrategy.dependencySubstitution {
            substitute(module("com.facebook.react:react-native"))
                .using(project(":ReactAndroid"))
                .because("On New Architecture we're building React Native from source")
            substitute(module("com.facebook.react:hermes-engine"))
                .using(project(":ReactAndroid:hermes-engine"))
                .because("On New Architecture we're building Hermes from source")
        }
    }
}

// Run this once to be able to run the application with BUCK
// puts all compile dependencies into folder libs for BUCK to use
task copyDownloadableDepsToLibs(type: Copy) {
    from configurations.implementation
    into 'libs'
}

def isNewArchitectureEnabled() {
    // To opt-in for the New Architecture, you can either:
    // - Set `newArchEnabled` to true inside the `gradle.properties` file
    // - Invoke gradle with `-newArchEnabled=true`
    // - Set an environment variable `ORG_GRADLE_PROJECT_newArchEnabled=true`
    return project.hasProperty("newArchEnabled") && project.newArchEnabled == "true"
}

// Compile typescript and make bundleJS depends on it
task buildTypeScript(type: Exec) {
    group = "react"
    description = "typescript compile"
    commandLine('npm', 'run', 'build')
}

afterEvaluate {
    def isAndroidLibrary = plugins.hasPlugin("com.android.library")
    def variants = isAndroidLibrary ? android.libraryVariants : android.applicationVariants
    variants.all { def variant ->
        // make react bundle js depends on the compile typescript for release build
        def buildType = variant.buildType.name
        if (buildType == "release") {
            def targetName = variant.name.capitalize()
            def bundleJSTask = tasks.findByName("bundle${targetName}JsAndAssets")
            bundleJSTask.dependsOn(buildTypeScript)
        }
    }
}

android/build.gradle
classpath 'com.android.tools.build:gradle:7.1.1'
classpath("com.facebook.react:react-native-gradle-plugin")
classpath("de.undercouch:gradle-download-task:5.0.1")
...
ext {
    buildToolsVersion = '31.0.0'
    minSdkVersion = 21
    compileSdkVersion = 31
    targetSdkVersion = 29
    kotlinVersion = "$kotlin_version"
    qukanPlayerVersion= '4.1.0529.1159'
    if (System.properties['os.arch'] == "aarch64") {
        // For M1 Users we need to use the NDK 24 which added support for aarch64
        ndkVersion = "24.0.8215888"
    } else {
        // Otherwise we default to the side-by-side NDK version from AGP.
        ndkVersion = "21.4.7075529"
    }
    gsonVersion='2.8.8'
    constraintlayoutVersion='2.1.3'
}

gradle.properties
FLIPPER_VERSION=0.125.0
android.injected.testOnly=false
# use AndroidX with legacy dependencies need jetify
android.enableJetifier=true
android.useAndroidX=true
# disable AGP 4.2 reesource optimization so that baichuan can find its safe image resource
# https://jakewharton.com/smaller-apks-with-resource-optimization/
android.enableResourceOptimizations=false
# jvm needs memory more than default
org.gradle.jvmargs=-Xmx4096M -XX:MaxMetaspaceSize=512m -Dkotlin.daemon.jvm.options\="-Xmx4096M"
# Use this property to specify which architecture you want to build.
# You can also override it from the CLI using
# ./gradlew <task> -PreactNativeArchitectures=x86_64
reactNativeArchitectures=armeabi-v7a,arm64-v8a
# Use this property to enable support to the new architecture.
# This will allow you to use TurboModules and the Fabric render in
# your application.
The current temporary solution is to manually generate the bundle file. Hope there is a better solution！
step 1:
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res

step 2:
./gradlew clean app:assembleRelease --stacktrace -x bundleReleaseJsAndAssets

Hello,
I'm also getting this error when trying to make a development release build.
My project uses RN 0.67.3 and:
classpath('com.android.tools.build:gradle:7.2.1')
Android gradle: 7.5.1
Mac OS: Monterey 12.4
MacBook Pro (13-inch, M1, 2020)
Java version: openjdk <IP_ADDRESS> 2022-07-19 LTS
OpenJDK Runtime Environment Zulu11.58+23-CA (build <IP_ADDRESS>+1-LTS)
OpenJDK 64-Bit Server VM Zulu11.58+23-CA (build <IP_ADDRESS>+1-LTS, mixed mode)
With lower gradle versions, I get an error on development release build. When googling it, the solution suggested was to upgrade gradle to 7.0.+.
With the above gradle config, the build is created but as @zaffy88 mentioned, when the application is opened it immediately crashes with the same error displayed on Logcat.
I found this Github PR https://github.com/facebook/react-native/pull/30177 from October 2020, but I can still reproduce it.
It blocks us from being able to create the Android build.

Eventually, yesterday I upgraded from 0.67.3 to 0.70.0 and the Android release builds work now. I left Hermes enabled on Android only; on iOS I had some issues with Hermes enabled on my M1 Mac so I disabled it for iOS.

The issue here is caused by using different flavors.
Can you try on 0.70 and report back if the issue persists? If so, we can look into it and potentially fix it.
I don't think it's a bug but most likely a misconfig of your:
project.ext.react = [
    entryFile   : "index.js",
    enableHermes: true,
    extraPackagerArgs: [
	]
]

Can you try on 0.70 and report back if the issue persists? If so, we can look into it and potentially fix it.

I have the same issue (and I'm also using flavors). It still does not work on 0.7.0 or 0.70.1.

Thank you for your reply, but this config can work on 0.67.3

The issue here is caused by using different flavors.
Can you try on 0.70 and report back if the issue persists? If so, we can look into it and potentially fix it.
I don't think it's a bug but most likely a misconfig of your:
project.ext.react = [
    entryFile   : "index.js",
    enableHermes: true,
    extraPackagerArgs: [
	]
]

Thank you for your reply, but this config can work on 0.67.3

I have the same issue (and I'm also using flavors). It still does not work on 0.70.0 or 0.70.1.

Is this happening on a blank project?

The issue here is caused by using different flavors.
Can you try on 0.70 and report back if the issue persists? If so, we can look into it and potentially fix it.
I don't think it's a bug but most likely a misconfig of your:
project.ext.react = [
    entryFile   : "index.js",
    enableHermes: true,
    extraPackagerArgs: [
	]
]

It still does not work on 0.70.4

Just a heads up that I fixed this and it's going to be released in RN 0.71

Could you please tell us when this version is going to be released?

As soon as we're ready :)

@zaffy88 Actually, if you don't want to wait for the fix in 0.71, you can try this temporary workaround in package.json instead of generating bundle manually, it helped me:

I would highly advice against doing this kind of fixes as 1. It will most likely won't work 2. If you forget you added this script in your package.json, your upgrade in the future will be really painful.

Same issue with 0.70.6 =/

Just a heads up that we fixed this in 0.71.
I've also wrote a short guide on how to properly configure flavors so that the issue you're having is going away:
https://reactnative.dev/docs/react-native-gradle-plugin#using-flavors--build-variants
I'm closing this as the root cause was fixed.
If the issue persists on 0.71, please open a new issue

The same question for me.
The current temporary solution is to manually generate the bundle file. Hope there is a better solution！
step 1:
react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res

step 2:
./gradlew clean app:assembleRelease --stacktrace -x bundleReleaseJsAndAssets

I can confirm this works for me
"expo": "^46.0.0",
"react": "18.0.0",
"react-native": "0.69.7"
'com.android.tools.build:gradle:7.2.2'


Tail log [from begging of file]

Effects version 1.4.0
On open screen there is a category called "Tail log [from begging of file].
Presumably "begging" should be "beginning"

Thanks.


Added Test Scenario for Outline Including Parens

Includes new scenario to go along with tests in https://github.com/picklesdoc/pickles/pull/299

Thanks, that's exactly what I was looking for! There are a few minor details, I will add some comments to the files.

Modified *.feature files based on code review.

Excellent work. Many thanks for your contribution and for playing by my rules!


not sure

I don't know what im missing but dotlan-convert.sh is causing an error on all files when running
Converting dotlan/Verge_Vendor.svg to dotlan/Verge_Vendor.svg.json ...
Traceback (most recent call last):
File "./dotlan-json.py", line 61, in
region = toRegion(id)
File "./dotlan-json.py", line 46, in toRegion
id = int(node.getAttribute('id')[3:])
ValueError: invalid literal for int() with base 10: 'Campaign'

Fixed sent pull request


ARTEMIS-2096 Refactor AMQMessage abstraction

Major refactoring of the AMQPMessage abstraction to resolve
some issue of message corruption still present in the code and
improve the API handling of message changes and re-encoding.
Improves handling of decoding of message sections limiting the
work to only the portions needed and ensuring the state data
is always updated with what has been done.  Fixes issues of
corrupt state on copy of message or other changes in filters.

I hope this is not 2.6.x

I will run a full testsuite before merging this, given the number of line changes.


Tilemap cache is not wrapping correctly

Looks like drawing pixel data into the Tilemap Cache above the top border has it wrap to the bottom of the screen. While this is expected, the cache layer is not taking into account the overscan so this wrapping should be hidden.

Need to make sure that the cache is set to the correct size.

Looks like if the tilemap is smaller than the overscan it will wrap incorrectly. The tilemap should be padded to be at least the size of the display + overscan, then have the tiles added and finally, the tilemap cache will be built correctly.
Basically, the tilemap should never be smaller than the actual screen resolution.

This is now working correctly. It takes into account the tilemap's data size vs the image that is loaded and uses the larger resolution.


RESEARCH: What happens when you log in to two instances of the same account?

-the same account making 2 lobbies
-the same account joining the same lobby
-(when implemented) various "save painting" and "delete painting" combinations
-What happens when one instance deletes an account? What are you able to do with the other?
--Edit user?
--Create Lobby?
--etc.

Its fine. Basically first account doesn't update until it refreshes.
Also if there's an account making a bazillion lobbies, we can just ban them.


Correct CollecterInterface namespace in docs/collectors.md

In docs/collectors.md it says:

You can create custom collectors in your project by implementing the Qossmic\Deptrac\Collector\CollectorInterface.

I think this should now be Qossmic\Deptrac\Contract\Layer\CollectorInterface.

Happy to open a PR if you want

It's still the original text on https://qossmic.github.io/deptrac/collectors/#php-internal-collector

Yes, this is caused by https://github.com/qossmic/deptrac/issues/1183


Lint to prevent floating promises

Fixes #1984
Note that I just mechanically went through all the errors and tried to fix them. We definitely need to look at the change log and decide if we like the changes. Maybe we should add a few more if statements with throw instead of asserting not now and so on.
Checklist

[/] I have added tests
[/] I have updated the docs and cheatsheet
[/] I have not broken the cheatsheet

Updated with your suggestions. Just be clear in many cases I just put void because I assume that you would be awaiting things like the tutorial and keyboard if it actually was important.

Updated with your suggestions. Just be clear in many cases I just put void because I assume that you would be awaiting things like the tutorial if it actually was important.

I think in a lot of those cases it only returns a promise to allow for other IDEs; I believe VSCode just resolves immediately

I'm also running this locally


Controller installation failure on workload cluster

What happened: Curated packages controller installation failed at workload cluster creation.
2022-06-21T19:33:29.402-0500	V0	❌ Error when installing curated packages on workload cluster; please install through eksctl anywhere install packagecontroller command	{"error": "Error: INSTALLATION FAILED: unable to build kubernetes objects from release manifest: [unable to recognize \"\": no matches for kind \"Certificate\" in version \"cert-manager.io/v1\", unable to recognize \"\": no matches for kind \"Issuer\" in version \"cert-manager.io/v1\"]\n"}
What you expected to happen: Curated packages controller should be automatically installed at workload cluster creation.
How to reproduce it (as minimally and precisely as possible):
export CURATED_PACKAGES_SUPPORT=true
eksctl anywhere create cluster -f worker-config.yaml --kubeconfig mgmt.kubeconfig
Anything else we need to know?:
Environment:

EKS Anywhere Release: build from source on 6/21/22
EKS Distro Release:

we have some docs as a temporary fix for this


Preliminary alterations to matrix boxes

This PR does some alterations to matrix-box layouts adapted from the old Bootstrap 4 branch.
Basically it tries to rough out my intended "redesign" as far as possible in Bootstrap 3.
With all the recent refactoring, the move to 4 seems close, but i'd like to try some of these changes and get feedback before that.

Eliminates some of the "mat" around the images in the matrix box
Tries to fit the images full-width, or if it can't, puts them in a darker full-width mat area. (There is a max vertical proportion on the images to keep a tall skinny image from throwing off the entire layout. It could be adjusted to fit taller images than currently, though.)
Allows for 4 columns on larger screens
Left aligns the text in the box to make it more legible
Breaks the taxon name (authority on new line) and makes authority smaller
Floats the ID to the right, away from the observation name
Gives matrix boxes a bigger title, when they don't have an image
Puts the "log" details in a "panel-footer" so the log is easier to scan

In Bootstrap 4, the "log-footer" is auto-fit within cards of the same height, and will not need the JS used here to equalize heights.

Coverage: 93.603% (+0.002%) from 93.601% when pulling 21bb9aaa71d8bd482fda6e882f82cad8ae4d0121 on nimmo-matrix-box-4-up into 6badd3fa966cb11bedb7be77745f4c5265e267df on main.

Since the changes in this PR has been designed, proposed and discussed sporadically over the last 3 years, will merge tomorrow if no objections. It's been a long road to get here!
No need for code review, but comments on the screenshot above, or a test drive welcome.


chore: use @appworks/constant, remove @iceworks/constant

Codecov Report

Merging #197 (3afbe82) into master (41487ca) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #197   +/-   ##
=======================================
  Coverage   78.26%   78.26%
=======================================
  Files          31       31
  Lines        1127     1127
  Branches      205      205
=======================================
  Hits          882      882
  Misses        245      245

Impacted Files
Coverage Δ

packages/ice-npm-utils/src/index.ts
87.76% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 41487ca...3afbe82. Read the comment docs.


Uneven spacing between song number and title

Spacing should likely be fixed and accommodate up to 3 numbers (I doubt there will be anything that holds 999+ songs).

Oh right! forgot about this; there was a proposed fix for that in #208 that never was finalized.

(closed as duplicate)


jmt(ics23): add proptests for each nonexistence setups

The ICS23 adjacency calculation can happen over three types of configurations reflected in ics23::NonExistenceProof, indeed, either the queried key has:

only a right neighbor (leftmost key)
only a left neighbor (rightmost key)
or both

As part of our #103 effort, we should add prop tests that take advantage of the TransparentHasher to test each configurations with arbitrary depth.
          One nit, inline, and a thought: can we capture the essence of these unit tests as a proptest?

Originally posted by @plaidfinch in https://github.com/penumbra-zone/jmt/pull/100#pullrequestreview-1653695421

One thought: if we want to test that the bounding path calculations are correct, we could generate a sorted vector of key hashes $\langle k_1, k_2, ..., k_n \rangle$ (using the TransparentHasher), load them, and then iterate over each key hash $k_i$, mask the last nibble and query the jmt for a proof. What we should obtain as a result is a nonexistence proof for $(k_{i-1}, k_{i+1})$.

Not adding to V1 currently for scope management but could be elevated if partially done


pdf output breaks from two tall vertical images

Before proceeding, make sure there isn’t an existing issue for this bug.

[X] I have searched the existing issues and determined this is a new bug.

Expected Behavior
One catalogue entry in our Italian Paintings book has two very tall vertical images (335x1712 pixels and 335x1355 pixels). On the web version, I tried these in a figure group as two images side by side, but now they are styled with the class "is-pulled-right" and appear pulled right in two consecutive paragraphs:
https://italian-paintings-live.netlify.app/catalogue/volume-1/the-sienese-school/56/#fig-56-3
In the pdf, I expected these to appear in one column beside the corresponding paragraph.
Actual Behavior
When I output the pdf with the figures grouped, the images showed up on two separate pages, one image per page, but one image went beyond the margins of the page by quite a bit, and the formatting was off for both (see page 173 of the first pdf). When I had the images pulled right, one per paragraph, only one image shows in the pdf, and it goes beyond the margins of the page (see page 173 of the second pdf). Then the pdf stops after that page. So the rest of the pages are missing.
Ital_Paintings_batch_2_problem_p173.pdf
Ital_Paintings_batch_2_published_broken_p173.pdf
Steps to Reproduce
I output my pdf as usual, by using "quire build" and "quire pdf."
Version Numbers
Quire version 1.0.0-rc.7
Is it possible this problem will be fixed once I update Quire? I'm sorry I didn't try that first!
When I run "quire info --debug," it says "unknown command."
Web Browser
No response
Relevant Terminal/Shell Output
No response
Supporting Information
No response

Hi @zsofia, Thank you for submitting this issue. I was able to test this and recreate the seemingly buggy behavior of extra-tall images. We believe the solution will be custom CSS styling, so again, I want to bring your attention to the PR we are currently working on in the quire-docs repo, #692. Stay tuned.

Hi @Zsofia, so this does appear to be an issue with Paged.js. In the meantime, I do have a solution for you using Prince XML and CSS styling:
In your _assets/styles/custom.css folder add this snippet of CSS:
@media print {
    .q-figure.pdf-50-percent-width img,
    .q-figure.pdf-50-percent-width figure figcaption {
      max-width: 50%;
      margin-left: auto;
      margin-right: auto;
    }
  }

And then update your shortcodes to the following:
{% figure 'fig-56-3' 'pdf-50-percent-width is-pulled-right' %}
{% figure 'fig-56-4' 'pdf-50-percent-width is-pulled-right' %}
You may need to play around with the percentage a bit to get it just right. If you do that, make sure you are updating the number from 50 to 75 (for example) in both the shortcode and the custom.css file.
To output your pdf run the command quire build and then quire pdf --lib prince.
Let us know if this works or if you run into any additional snags.
In the meantime, I am leaving this issue open and marking it as a bug due to the Paged.js aspect. @geealbers will connect with @fchasen to look into this further.
Thank you!

Thanks so much, @Erin-Cecele ! This worked great. Although, strangely, the final sentence of the paragraph with the second image was pushed to the following page as an orphan (see first attachmet). But maybe I'll be able to fix this with the additional pdf styling tips you added to the v1 documentation. Thank you for that as well. I'll work on that next.
One note: when I tried running "quire pdf --lib prince," I got an error (see second attachment). But it worked fine when I just used "quire pdf."
And one more odd thing: every time I save changes and run "quire build" then "quire pdf," the new pdf doesn't include my updates. I always have to run "quire build" and "quire pdf" once again, and the second time, the changes do show up. Has anyone else experienced this?
Ital_Paintings_08-25-23_pp173–75.pdf

Ah hah, that's likely because you don't have Prince XML installed: Visit the PrinceXML site, download the Mac OS version, uncompress the folder, and rename it to “prince”: http://www.princexml.com/download/. Let me know if that works.
Also, that's wonderful to hear that it worked in Paged.js. For some reason it wasn't cooperating for me. @geealbers I believe this means we can close this issue.
Finally, when you create a new PDF (after quire build and quire pdf) make sure you close all tabs in Adobe Acrobat before reopening the PDF. Otherwise, you'll still see the old version.

@Erin-Cecele Thank you for all of this. I didn't realize that I hadn't installed Prince yet. I've installed it now, and it seems to be working fine. I made sure to always close the old pdfs and tabs in Acrobat and Preview, then ran quire build and quire pdf, and it still doesn't seem to update everything. I always have to run those commands twice in a row. Strange. But I'll just keep doing that for now.

@zsofiaj can you try deleting the public folder in your project (if there is one) before you run quire build and see if that helps avoiding having to run the commands twice?

Thanks @geealbers . I tried deleting the public folder, and I still have to run the commands twice for any updates to show up. When I ran quire build after deleting the public folder, the folder and contents did reappear in the same place as before. But maybe you were expecting that.