multiple devices for mtd, separate (factory) calibration storage

extends support for mtd to multiple devices
extend param_import & param_export API's
enables the EEPROM on the v5x IMU board and uses it as secondary storage (under /fs/mtd_caldata)
if the device is enabled, parameters are loaded from that before the general parameters. This allows to store factory calibration parameters in /fs/mtd_caldata, allowing users to recalibrate and reset to factory.
A parameter (SYS_FAC_CAL_MODE) is used to determine where to store the params after calibration. This could alternatively be done via a vehicle command or just an nsh command.

Workflow

enable SYS_FAC_CAL_MODE
do sensor calibrations
disable SYS_FAC_CAL_MODE

For later we can use separate parameter names for factory defaults.

I am a little confused by the term Factory calibration that a user can change.
I am use to a system where:
The system DB is initialized with the Read Only factory data.  The user can update the default and they are persisted, and that overrides the the factory setting. A reset to factory returns the persisted DB to the RO values of the factory calibration.
[RO]--init---------->DB
[FS]---selective overwrite--->DB
Then reset to factory will reset the selected DB from the [ROM].
How is this working?

Looks good, I just have a couple questions.
Instead of mtd did you consider using the NuttX driver directly and simply starting it in the board init?
Does it need to be a little harder for a user to overwrite this? Playing with SYS_FAC_CAL_MODE might be too tempting for some.
Do you see any fundamental conflict (not trivial merge conflicts) with https://github.com/PX4/Firmware/pull/14363 where we'll be able to change the default value of a parameter?

The system DB is initialized with the Read Only factory data. The user can update the default and they are persisted, and that overrides the the factory setting. A reset to factory returns the persisted DB to the RO values of the factory calibration.

Yes that's pretty much how it works. To initialize, you have different options: you could use a special factory firmware, a param as done here, or one of the alternatives mentioned above.

Instead of mtd did you consider using the NuttX driver directly and simply starting it in the board init?

That would be possible too. I went for mtd, as we have most things already in place there, with some added functionality (e.g. erase, which was useful for testing - could be done differently though as well).

Does it need to be a little harder for a user to overwrite this? Playing with SYS_FAC_CAL_MODE might be too tempting for some.

I was considering a vehicle command with nsh cli, but then went for the param, thinking it's about on the same level as changing PID gains.

Do you see any fundamental conflict (not trivial merge conflicts) with #14363 where we'll be able to change the default value of a parameter?

No, I think that should go alongside each other, without having checked in detail though. More difficult will be name (or ID) changes for calibration params.

Instead of mtd did you consider using the NuttX driver directly and simply starting it in the board init?

That would be possible too. I went for mtd, as we have most things already in place there, with some added functionality (e.g. erase, which was useful for testing - could be done differently though as well).

I don't really object to that, but there's something about our current mtd usage that I don't particularly like (effectively failing silently, etc).
To me it seems like we're missing a board level mechanism that ensures everything the board physically has is actually present and operating. Something that doesn't slip through silently if missing and still let you operate.


ConditionalRouter doesn't work as expect.

Here is my flow

When I input bye, it works fine.
But when I input hello in the playground, I got hi there and a error message, which is caused by build the 2nd Chat Output, which I think should not be build.

Flow File
Router Sample.json

@9n
The component received a fix in version 1.0.19.
Update your Langflow, and it should work.
I hope this helps.

thx it works when upgrade to 1.0.19


Unable to provide feedback on some pages

Please fix the pages in this section so that we can provide content feedback https://docs.microsoft.com/en-us/connectors/

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

ID: 70fbb1c8-1435-e762-8824-78cf96faed84
Version Independent ID: 062879b5-72cf-2353-63f2-d862fe1b40ba
Content: Microsoft Docs contributor guide overview - Contributor Guide
Content Source: Contribute/index.md
Product: non-product-specific
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

@DeanGross Good feedback!
The docs teams turn on feedback control in some areas, but in other areas the feedback is intentionally turned off. For example, one case is if there is machine generated content that will be overwritten by the system (Connector References appears to be auto-generated), and another is when the product engineering team opts to use forums for Q&A instead of github issues.
For those areas I recommend to use the forums for discussion.

https://powerusers.microsoft.com/t5/Microsoft-Flow-Community/ct-p/FlowCommunity
https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

Copying some key contributors for the Flow Connectors in case they know the history and for awareness:
CC: @divyaswarnkar @sunaysv @MSFTMan @mgblythe
Thanks, Jason

Thanks for the explanation. in those cases where it is turned off, would it be possible to add some links to the recommended forums?

@DeanGross I forwarded your request to the right folks. They don't have access to this repo, and I don't have access to theirs, so I've done all I can do for now. Feedback received. Thanks, Jason


cstore_doMaintenance Availability group check failing

Within the stored procedure there is a check to see if a database is part of an Always On availability group so that it doesn't execute on a read only secondary replica.
	IF exists (select *
					from sys.databases databases
					  INNER JOIN sys.availability_databases_cluster adc
						ON databases.group_database_id = adc.group_database_id
					  INNER JOIN sys.availability_groups ag
						ON adc.group_id = ag.group_id
					  WHERE databases.name = DB_NAME() )

	begin
		declare @replicaStatus int;
		select @replicaStatus = sys.fn_hadr_is_primary_replica ( DB_NAME() );
		SELECT @replicaStatus

		if @replicaStatus <> 1
		begin
			BEGIN
				SELECT 'Secondary Replica'
			end
		end
		return;
	end

This check is failing and stopping the rest of the procedure from running, even when the database is on a primary replica. I believe this is due to the IS NOT NULL check on the @replicaStatus, if this is removed it should then work.
	IF exists (select *
					from sys.databases databases
					  INNER JOIN sys.availability_databases_cluster adc
						ON databases.group_database_id = adc.group_database_id
					  INNER JOIN sys.availability_groups ag
						ON adc.group_id = ag.group_id
					  WHERE databases.name = DB_NAME() )

	begin
		declare @replicaStatus int;
		select @replicaStatus = sys.fn_hadr_is_primary_replica ( DB_NAME() );
		SELECT @replicaStatus

		if @replicaStatus <> 1
		begin
			BEGIN
				SELECT 'Secondary Replica'
			end
		end
		return;
	end

Also the return needs to be move into the begin...end block
	IF exists (select *
					from sys.databases databases
					  INNER JOIN sys.availability_databases_cluster adc
						ON databases.group_database_id = adc.group_database_id
					  INNER JOIN sys.availability_groups ag
						ON adc.group_id = ag.group_id
					  WHERE databases.name = DB_NAME() )

	begin
		declare @replicaStatus int;
		select @replicaStatus = sys.fn_hadr_is_primary_replica ( DB_NAME() );
		SELECT @replicaStatus

		if @replicaStatus <> 1
		begin
			BEGIN
				SELECT 'Secondary Replica'
			END
            return;
		end

	END
    SELECT 'primary'


fixing the 'Get it Now' button redirection.

Description
The button doesn't work currently .
This PR fixes #
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

🚀 Preview for commit 19381ad21352b59849feed44c3bc08b9f4423e19 at: https://633bade5f65733173fa24347--service-mesh-patterns.netlify.app

Fix the DCO

yes done


Reported as a virus by Avast Antivirus

I have Windows 10 Educational edition. I also have Avast Antivirus 19.6.2383 (build 19.6.4546.511).
I have downloaded the binary for TesserAct 5.0.0 alpha, the 64 bit version, but Avast report it as a Virus, "FileRepMalware"

Now it reports it as another virus: IDP.Generic.f8a169aa8c85.3.2

See #18

@stweil Maybe filing out this formular https://www.avast.com/de-de/false-positive-file-form.php would help for people with Avast.

I have filed a report there now and close this issue. @raffam, https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-v5.0.0-alpha.20190708.exe does not contain a virus (see the results from VirusTotal). Please check that your download was from our website, not from somewhere else.

Avast has just confirmed that they updated their database. It can take up to 24 hours until local scanners get the update.


PoC: Push SBOM to TPA in gitops PR pipeline

When a PR in a gitops repo updates the stage or prod image:

download the attestation for that image using cosign verify-attestation
find the SBOM_BLOB_URL in the attestation
download the blob from the registry
if the blob is a CycloneDX JSON SBOM:

convert it to the CycloneDX version supported by the Trustification instance
upload it to TPA with id=sha256:<pre-conversion-digest>

This is split into two separate tasks (plus a jq task to glue this stuff together).
download-sbom-from-url-in-attestation
Gets an array of images, downloads their attestations, downloads the SBOM blobs found in those attestations
upload-sbom-to-trustification
Gets a directory of SBOMs, uploads them to Trustification.
Requires the trustification-secret (see the task README).

PTAL @mmorhun @jduimovich. I don't like this at all. But it does work if we must have it (some fixes and a lot of polish needed).
Tested in https://github.com/acmiel-rhtap/rhtap-idk-gitops/pull/2 (failed on EC validation because I didn't set up ACS)

One more thing - there's probably nothing that would tie the SBOM uploaded to TPA with the user's container image or with their idea of a "product"

A solution could be to document that if user's want their SBOMs to be possible to find, they need to commit Syft configuration into their repo to give their product a name and version
source:
  name: foo
  version: "1.0"

I've cleaned this up as much as I could.
Managed to get rid of the jq task, so now the pipeline looks like this:
       gather-images -- download-sboms -- upload-sboms
      /
clone
      \
       gather-images -- verify-enterprise-contract

(the gather-images for SBOMS is called with different params to gather only the stage and prod images)

Script for creating tpa-secret (dropped the commit that adds it, but still useful for testing):
#!/bin/bash
set -o errexit -o nounset -o pipefail

secret_name=${secret_name:-'tpa_secret'}
private_env_path=${private_env_path:-'../rhtap-installer/private.env'}
tpa_namespace=${tpa_namespace:-'rhtap'}

source "$private_env_path"

oc create secret generic "$secret_name" \
    --from-literal bombastic_api_url="https://$(oc -n "$tpa_namespace" get route --selector app.kubernetes.io/name=bombastic-api -o jsonpath='{.items[].spec.host}')" \
    --from-literal oidc_issuer_url="https://$(oc -n "$tpa_namespace" get route --selector app.kubernetes.io/name=keycloak -o jsonpath='{.items[].spec.host}')/realms/chicken" \
    --from-literal oidc_client_id=walker \
    --from-literal oidc_client_secret="$TPA__OIDC__WALKER_CLIENT_SECRET" \
    --from-literal supported_cyclonedx_version=1.4

/retest


Changed Wrong Unit

Hey,
this is a trivial fix and the pull request serves mostly the purpose of me getting used to pull requests on github, in order to be able to contribute with more substantial things in the future.
Best

Thanks! Looking forward to your contributions.


make close work as an inline close instead of a asynchronous close

Context
Implements idea described here: https://github.com/propelinc/freshebt-vue/pull/346

@rammie What should I be merging against? I am very unclear where this should go


Refactoring suggestions

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

Project coverage is 53.09%. Comparing base (fe40fb4) to head (06532ac).

Files with missing lines
Patch %
Lines

src/cvsim/mechanisms.py
50.00%
23 Missing :warning:

Additional details and impacted files
@@                  Coverage Diff                  @@
##           fitting-functions      #14      +/-   ##
=====================================================
+ Coverage              49.47%   53.09%   +3.62%
=====================================================
  Files                      2        2
  Lines                    285      307      +22
=====================================================
+ Hits                     141      163      +22
  Misses                   144      144

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


Add listeners to gd.py's memory module

Not done
Summary

Checklist

[x] If code changes were made then they have been tested.

[x] I have updated the documentation to reflect the changes.

[ ] This PR fixes an issue.
[x] This PR adds something new (e.g. new class, method or parameters).
[ ] This PR is a breaking change (e.g. methods or parameters removed/renamed)
[ ] This PR is not a code change (e.g. documentation update, README, etc.)

Overall sounds like a good idea! Though, I think we should rather implement listeners via having daemon thread listening.

Good idea, im not sure how to do that, so maybe you can do that part.

That would require overall rewamp and rewrite of this code, to be honest.

Oh. Are there any benefits to doing that?

Threading will allow us to listen in non-blocking way, to start with.

I will start working on threading. (also, should I use threading or multithreading package)

threading is the builtin one.

I will use threading then, as it is one less dependency.

Closing this due to inactivity and lack of clear implementation.


NVIDIA cursor allow_dumb_copy and no_hardware_cursors have difference in size

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
Yes, No
System Info and Version
 System/Version info
<Paste the output of the command here>

Description
if i use allow_dumb_copy = true, it will have a bigger mouse then     no_hardware_cursors = true
How to reproduce

choose one

Crash reports, logs, images, videos
No response

no system info


New package: AppBundler v0.1.1

Registering package: AppBundler
Repository: https://github.com/PeaceFounder/AppBundler.jl
Created by: @JanisErdmanis
Version: v0.1.1
Commit: a6b91e055d1a00c12df1c008eceb9299cf65aae1
Reviewed by: @JanisErdmanis
Reference: https://github.com/PeaceFounder/AppBundler.jl/commit/a6b91e055d1a00c12df1c008eceb9299cf65aae1#commitcomment-133978929
Description: Bundle your Julia application

This pull request may not end well as AppBundler.jl with version 0.1.0 is already registered. Let's keep it safe.


The file icons in the open folder don't change according to the file extension.
You can't run any files from the built-in terminal.

@codespearhead there might be a mistake. I didn't report the bug, @Oluwatobi04 did.

Hey @sandy081, this issue might need further attention.
@Oluwatobi04, you can help us out by closing this issue if the problem no longer exists, or adding more information.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Problem in the flow context when using auxiliary variables.

What are the steps to reproduce?
Flow included in description
What happens?
There are two variables A and B.
A is an auxiliary variable, the information stored in A is later stored in a position of B (B is an array).
When information is written in different positions of the array B, it is observed that all of them have the same information.
If you disable the node that takes the information from A to write it later in B. B continues taking the values stored in A. (With the nodes disabled).
What do you expect to happen?
A is an auxiliary variable and the values will be changing to store them in B, therefore B should have different information. (But all the positions are written with the last state of the variable A).
This continues to happen even when the function node that performs the change of information is deactivated or even when it is deleted.
Please tell us about your environment:

[x] Node-RED version: 1.3.5
[x] Node.js version: 12.22.1
[x] npm version: 6.14.12
[x] Platform/OS: Raspberry Pi/Raspbian
[x] Browser: Chromium

[{"id":"b8da2bc4.d09ff8","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"5d3a6d1e.f36e64","type":"ui_switch","z":"b8da2bc4.d09ff8","name":"","label":"Disponible","tooltip":"","group":"c5f05af1.a4c158","order":6,"width":"6","height":"1","passthru":true,"decouple":"false","topic":"topic","style":"","onvalue":"true","onvalueType":"bool","onicon":"","oncolor":"","offvalue":"false","offvalueType":"bool","officon":"","offcolor":"","x":240,"y":310,"wires":[["ca8542a4.5ca1d"]]},{"id":"a5204587.b883d8","type":"ui_text_input","z":"b8da2bc4.d09ff8","name":"","label":"Nombre del pozo","tooltip":"","group":"c5f05af1.a4c158","order":2,"width":0,"height":0,"passthru":false,"mode":"text","delay":300,"topic":"topic","x":220,"y":110,"wires":[["f4be3cec.c935f"]]},{"id":"120f2cfa.456e63","type":"ui_dropdown","z":"b8da2bc4.d09ff8","name":"Posición cluster","label":"","tooltip":"","place":"Seleccione una posición","group":"c5f05af1.a4c158","order":1,"width":0,"height":0,"passthru":true,"multiple":false,"options":[{"label":"Slot 1","value":0,"type":"num"},{"label":"Slot 2","value":1,"type":"num"},{"label":"Slot 3","value":2,"type":"num"},{"label":"Slot 4","value":3,"type":"num"},{"label":"Slot 5","value":4,"type":"num"},{"label":"Slot 6","value":5,"type":"num"},{"label":"Slot 7","value":6,"type":"num"},{"label":"Slot 8","value":7,"type":"num"},{"label":"Slot 9","value":8,"type":"num"},{"label":"Slot 10","value":9,"type":"num"},{"label":"Slot 11","value":10,"type":"num"},{"label":"Slot 12","value":11,"type":"num"}],"payload":"","topic":"","x":230,"y":60,"wires":[["c842b748.2bafd8"]]},{"id":"7522f5b8.a4638c","type":"ui_dropdown","z":"b8da2bc4.d09ff8","name":"Levantamiento","label":"","tooltip":"","place":"Tipo ALS","group":"c5f05af1.a4c158","order":3,"width":0,"height":0,"passthru":false,"multiple":false,"options":[{"label":"ESP","value":"ESP","type":"str"},{"label":"PCP","value":"PCP","type":"str"}],"payload":"","topic":"","x":230,"y":160,"wires":[["43505e5f.1b221"]]},{"id":"dd9f6ceb.ddbe7","type":"ui_dropdown","z":"b8da2bc4.d09ff8","name":"Marca Variador","label":"","tooltip":"","place":"Marca de variador","group":"c5f05af1.a4c158","order":4,"width":0,"height":0,"passthru":false,"multiple":false,"options":[{"label":"ABB","value":"ABB","type":"str"},{"label":"SLB Uniconn","value":"SLB_Uniconn","type":"str"},{"label":"CILA2S®","value":"CILA2S","type":"str"},{"label":"SIEMENS","value":"SIEMENS","type":"str"},{"label":"Centerlift","value":"Centerlift","type":"str"},{"label":"SMCFlex","value":"SMCFlex","type":"str"},{"label":"Variadores S.A","value":"VariadoresSA","type":"str"}],"payload":"","topic":"","x":230,"y":210,"wires":[["cfa9bf86.2a8a3"]]},{"id":"f8ac9870.c119d8","type":"ui_dropdown","z":"b8da2bc4.d09ff8","name":"Marca Sensor de fondo","label":"","tooltip":"","place":"Marca Sensor de fondo","group":"c5f05af1.a4c158","order":5,"width":0,"height":0,"passthru":false,"multiple":false,"options":[{"label":"SSU","value":"SSU","type":"str"},{"label":"Zenith","value":"Zenith","type":"str"},{"label":"Centinel","value":"Centinel","type":"str"},{"label":"Phoenix","value":"Phoenix","type":"str"},{"label":"Scout","value":"Scout","type":"str"}],"payload":"","topic":"","x":200,"y":260,"wires":[["3a0224.13cb4ddc"]]},{"id":"22860dee.e67e42","type":"ui_button","z":"b8da2bc4.d09ff8","name":"","group":"c5f05af1.a4c158","order":7,"width":"3","height":"1","passthru":false,"label":"Configurar","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":240,"y":360,"wires":[["bbcf7cf4.41f79"]]},{"id":"5517b73.bd02348","type":"ui_button","z":"b8da2bc4.d09ff8","name":"","group":"c5f05af1.a4c158","order":8,"width":"3","height":"1","passthru":false,"label":"Borrar","tooltip":"","color":"","bgcolor":"","icon":"","payload":"","payloadType":"str","topic":"","x":260,"y":400,"wires":[[]]},{"id":"f4be3cec.c935f","type":"change","z":"b8da2bc4.d09ff8","name":"","rules":[{"t":"set","p":"Pozo.Nombre","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":110,"wires":[[]]},{"id":"43505e5f.1b221","type":"change","z":"b8da2bc4.d09ff8","name":"","rules":[{"t":"set","p":"Pozo.ALS","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":420,"y":160,"wires":[[]]},{"id":"cfa9bf86.2a8a3","type":"change","z":"b8da2bc4.d09ff8","name":"","rules":[{"t":"set","p":"Pozo.Variador","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":210,"wires":[[]]},{"id":"3a0224.13cb4ddc","type":"change","z":"b8da2bc4.d09ff8","name":"","rules":[{"t":"set","p":"Pozo.Sensor","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":260,"wires":[[]]},{"id":"c842b748.2bafd8","type":"change","z":"b8da2bc4.d09ff8","name":"","rules":[{"t":"set","p":"Pozo.Posicion","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":60,"wires":[[]]},{"id":"ca8542a4.5ca1d","type":"change","z":"b8da2bc4.d09ff8","name":"","rules":[{"t":"set","p":"Pozo.Disponible","pt":"flow","to":"payload","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":440,"y":310,"wires":[[]]},{"id":"bbcf7cf4.41f79","type":"function","z":"b8da2bc4.d09ff8","name":"","func":"var Pozo        = flow.get("Pozo")||[];\nvar Cluster     = flow.get("Cluster")||[];\n\nData = Pozo;\nvar Pos         = Pozo.Posicion;\nCluster[Pos]    = Pozo;\nflow.set("Cluster",Cluster);\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":390,"y":360,"wires":[[]]},{"id":"c5f05af1.a4c158","type":"ui_group","name":"Slot1","tab":"dfe3c396.db089","order":1,"disp":false,"width":"6","collapse":false},{"id":"dfe3c396.db089","type":"ui_tab","name":"Configuración cluster","icon":"settings","order":7,"disabled":false,"hidden":false}]

Hi @JorgeAlberto91MS
when sharing flows, please format them as code blocks - otherwise they get formatted as markdown by github.
I've managed to import your flow by editing your issue comment to get the 'raw' flow. Unfortunately I don't know how the flow relates to your issue. There are multiple dashboard nodes and no indication as to what I should do to try to recreate the issue or where I should be looking. There are no variables called A and B.
I suspect this is caused by JavaScript's pass-by-reference nature.
If you put A 'inside' B, and continue to modify A, then you are still modifying the same object in memory.
If you want to break that connection, you'll need to clone the object to take a copy.

Hi @knolleary.
First, sorry for the poor description of the problem contained in the attached flow.
Second, thank you very much for the time spent in examining the situation.
Your assumption is correct and the problem is caused by "JavaScript's pass-by-reference nature". The object was cloned using the spread operator and the problem was solved.
The issue  was not caused by Node-Red environment.
Thank you so much.


vscode: add syntax tree inspection hovers and highlights

I implemented the reverse mapping (when you hover in the rust editor), but it seems overcomplicated, so I removed it
Related #3682

I implemented the reverse mapping (when you hover the in the editor), but it seems overcomplicated

@matklad
Shouldn't we use the unifrom disposables array for handles? Using ctx.subscriptions is the straightforward, but seems to  be the wrong way...

We can use existing thing, I see no reason not to use it.

Migrated to the existing thing, added docs.
Also, I should not on a caveat. This works only when you have a single rust file editor visible, otherwise, it may highlight the wrong file, but I don't this will be an issue since this is just a debugging convenience.

bors r+

This doesn't play nice with light themes :sweat_smile:. I was wondering why I don't see the border.

ggwp


Regarding multiple downloads

Is it possible to download multiple videos, under the same channel in ms teams using this tool?

Destreamer supports single video, a list of videos or groups. Nothing else for now.
Sorry for the late response


Auto-completion after "print definition"

Shouldn't there be an autocompletion after "print definition" just like there after "check"? Another thing that might be useful would be to allow to unfold definitions for a "print definition" command.

@soonhokong I submitted the following candidate fix.
@javra Could you check if it fixes the issue for you? It fixed for me.

@leodemoura, I think it's good. @javra, could you check?

I'm pretty sure it has been fixed, I'm closing it. There are too many issues.
@javra If it is still broken for you, add a comment, and we will reopen.


Invalid quoting of BenchmarkDotNet arguments when not self-contained

When launching a BenchmarkDotNet benchmark with crank with the selfContained option disabled, I realized that the job was failing due to an invalid path of the dotnet CLI. Indeed I was using a custom dotnet home with crank-agent. The problem seems to be about a lack of quoting.
How to reproduce
Launch crank-agent with the dotnet home option (with a space in the path, for example the default location of dotnet on Windows):
$ crank-agent --dotnethome 'C:\Program Files\dotnet\'

Launch crank on a BenchmarkDotNet benchmark and disable the selfContained option:
$ crank --config .\samples\micro\micro.benchmarks.yml --scenario Md5VsSha256 --profile local --application.selfContained false

BenchmarkDotNet fails to launch (see the crank-agent logs):
...
[10:44:37.900] Invoking executable: C:\Program Files\dotnet\dotnet.exe
[10:44:37.900]   Arguments: C:\Users\USERNAME\AppData\Local\Temp\benchmarks-agent\benchmarks-server-21944\pdxxfjiy.hbb\src\published\micro.dll --inProcess --cli C:\Program Files\dotnet\dotnet.exe --join --exporters briefjson markdown --job default --filter * --memory
[10:44:37.900]   Working directory: C:\Users\USERNAME\AppData\Local\Temp\benchmarks-agent\benchmarks-server-21944\pdxxfjiy.hbb\src
[10:44:37.902] Starting counters
[10:44:37.902] Starting event pipe session
[10:44:37.945] Event pipe session started
[10:44:37.945] Process started: 5084
[10:44:37.945] Waiting for event pipe session to stop (application:2)...
[10:44:38.060] The provided CliPath "C:\Program" does NOT exist.
...

This comes from the --cli option passed to the BDN executable produced earlier. The value of the path seems to not be quoted thus invalidating paths with spaces in them.

https://github.com/dotnet/crank/blob/35f6499fe58e631ecc7896a4ae577cf23757bfb2/src/Microsoft.Crank.Controller/Program.cs#L41
We should make some changes for DefaultBenchmarkDotNetArguments to solve the path with spaces.
Based on https://benchmarkdotnet.org/articles/configs/toolchains.html#custom-dotnet-cli-path, adding " to benchmarks-cli should work.
private const string DefaultBenchmarkDotNetArguments = "--inProcess --cli \"{{benchmarks-cli}}\" --join --exporters briefjson markdown";

Before

After

@catcherwong In your example, did you set your crank agent dotnet-home to c:\program files\dotnet?

yes!

I prefer to use a temp folder instead so crank doesn't alter the locally installed sdks and runtimes. Easier to clean too.

But I run most things with net8.0 nightly builds, so it accumulates. In your case you probably use public releases.

I prefer to use a temp folder instead so crank doesn't alter the locally installed sdks and runtimes. Easier to clean too.

Yes, temp folder is real a good idea here. But due to network or other reasons, the download speed may be very slow, which may take a lot of time. In this case, the locally installed sdks will be better.

I reuse the same folder ... just not Program Files, it's downloaded once then.

I reuse the same folder ... just not Program Files, it's downloaded once then.

Got it.


SQLAlchemy 2: add type compilation for all CamelCase types

Note to reviewers: This PR depends on https://github.com/databricks/databricks-sql-python/pull/237 and https://github.com/databricks/databricks-sql-python/pull/236 which is reflected in the commit history. Those changes should be reviewed separately. I advise looking at the most recent commits.
Background
As we move toward SQLAlchemy 2 compatibility, this pull request starts tackling the type compiler. The sqla documentation is not easy to work through since it's written toward users not dialect authors. For reviewers (and posterity) the key thing to understand about this PR is that we're currently only addressing type compilation, which is the way an instance of SQLAlchemy's TypeEngine is rendered as a string for inclusion in sql expressions (CREATE TABLE, CAST etc.)
This PR does not affect the way type mapping (also called binding) occurs. Mapping/binding is the process of converting the data received from Databricks to- and from- SQLAlchemy Python types. That will be addressed in a subsequent PR.
Description
SQLAlchemy's documentation tells users that they can expect every dialect to implement their generic CamelCase types. This PR makes sure that if a user creates a table with one of those types, the correct Databricks data type is rendered. For example, SQLAlchemy wants to write a DateTime() type as a DATETIME field (which is supported on other backends). But Databricks uses a TIMESTAMP type for this. So this PR confirms that when a user declares a table with a DateTime() field, the CREATE TABLE statement will print the correct column type.

I have confirmed that all existing e2e tests pass with this change. I have not run the SQLAlchemy dialect compliance tests yet as those will mostly be affected by updates to the type mapping rather than type compilation.


[FLINK-21108][rest-client] Add basic & digest auth support to rest client

Signed-off-by: Xiaoguang Sun<EMAIL_ADDRESS>
What is the purpose of the change
Implement Basic & Digest Auth scheme in rest-client so Flink rest-server can be protected behind a proxy with corresponding authentication enabled.
Brief change log

Restart request and resend request again with corresponding authorization responses on receiving authentication challenge.
Abstract different authentication scheme and implemented two of the most widely used authentication schemes which are Basic and Digest
Add a special exception type RestartableException to Flink runtime concurrent package so that a task that can be restarted immediately can be handled differently in FututeUtils.java
Add two new config options to rest client to specify username and password

Verifying this change
This change added tests and can be verified as follows:

TODO

Does this pull request potentially affect one of the following parts:
NA
Documentation

Flink rest client can be verified against a secured proxy sitting in front of real Job Manager and makes Job Manager available to users have valid credential only.

I'm working on unit tests recently, comments on design and implementation about this feature is welcome. Thanks


New Model added to config are not working in isolate when syncing

What happened?
Object type RealmCounter not configured in the current Realm's schema. Add type RealmCounter to your config before opening the Realm
Repro steps
create a project then do sync in isolate then after create new model add it, then add code to sync same model in isolate, it will complain that the model is not added into config yet it is added in main isolate
Version
3.19.3
What Atlas Services are you using?
Atlas Device Sync
What type of application is this?
Flutter Application
Client OS and version
Windows
Code snippets
  final config = Configuration.flexibleSync(
      user,
      [
        RealmCounter.schema,
      ],

Stacktrace of the exception/crash you're getting
[ERROR:flutter/runtime/dart_isolate.cc(1107)] Unhandled exception:
Realm error : Object type RealmCounter not configured in the current Realm's schema. Add type RealmCounter to your config before opening the Realm
#0      RealmMetadata.getByType (package:realm_dart/src/realm_class.dart:945:7)

Relevant log output
No response

Could you please create a small reproduction project of this?

I tried to reproduce same issue outside the project with no luck

something is wrong when attempt to sync the new model in isolate when there is existing model synced before

The root cause I believe lies within the fact that the first model added tothe config has encryption applied to them before thenew model is added I think??

How does the realmConfig function look like?

How does the realmConfig function look like?

It looks like
List<int> key = ProxyService.box.encryptionKey().toIntList();
    final config = Configuration.flexibleSync(
      user,
      [
        A.schema
        B.schema,
        C.schema, ---> This model was added later
      ],
      encryptionKey: key,
      path: path,
      clientResetHandler: RecoverUnsyncedChangesHandler(
        onBeforeReset: (beforeResetRealm) {
          log("reset requested here..");

          ///which the SDK invokes prior to the client reset.
          ///You can use this callback to notify the user before the reset begins.
        },
      ),
      shouldCompactCallback: ((totalSize, usedSize) {
        // Compact if the file is over 10MB in size and less than 50% 'used'
        const tenMB = 10 * 1048576;
        return (totalSize > tenMB) &&
            (usedSize.toDouble() / totalSize.toDouble()) < 0.5;
      }),
    );

Update on this @nirinchev @nielsenko ?

an update on this is highly appreciated.

Hey @richard457, it's Easter holidays here in Europe, which is why the eng team which monitors and responds to Github issues hasn't been available. We'll take a look next week when people come back, but if this is urgent and a blocker for you, you could file a support ticket which will be routed to the support team, which provides 24/7 coverage.

Hi @nirinchev Yes this has been a blocker for a month now, but I think we can wait until next week. Thank you.

Hi @nirinchev and the team update on this?

@richard457 No, no update yet. @nirinchev is currently on vacation, and neither @astigsen or @mpobrien are the right persons to contact for this.
I think we do a fairly good job at keeping up with the issues here on github, but if you have an urgent need it is always better to contact support. We don't have any SLA on github issues.
That said, I'll divert my attention to this issue now.

@richard457 I tried to re-create the steps you outlined, and ended up with:
import 'dart:isolate';
import 'dart:math';

import 'package:realm_dart/realm.dart';

part 'issue1596.realm.dart';

@RealmModel()
class _Point {
  @PrimaryKey()
  @MapTo('_id')
  late String id;
  late int x;
  late int y;
  // late int z; // uncomment to try to trigger the issue

  @override
  String toString() => 'Point($id, $x, $y)'; // , $z)';
}

const appId = String.fromEnvironment('APP_ID');
final encryptionKey = List.generate(64, (index) => index);

final initRealm = () async {
  var app = App.getById(appId);
  final first = app == null;
  app ??= App(AppConfiguration(appId));

  var user = app.currentUser;
  assert(user != null || first);
  user ??= await app.logIn(Credentials.anonymous());

  final realm = await Realm.open(Configuration.flexibleSync(
    user,
    [Point.schema],
    encryptionKey: encryptionKey,
  ));

  if (first) {
    realm.subscriptions.update((mutableSubscriptions) {
      mutableSubscriptions.add(realm.all<Point>());
    });
  }

  return realm;
}();

Future<void> main(List<String> arguments) async {
  Realm.logger.setLogLevel(LogLevel.trace);

  final realm = await initRealm; // intialize realm first in main isolate
  const max = 25;

  Isolate.run(() async {
    final realm = await initRealm;
    final rnd = Random();
    while (true) {
      realm.write(() {
        realm.add(
          Point(
            String.fromCharCode(rnd.nextInt(25) + 65),
            rnd.nextInt(max),
            rnd.nextInt(max),
            // rnd.nextInt(max), // uncomment on schema update
          ),
          update: true,
        );
      });
      await Future.delayed(Duration(seconds: 1));
    }
  });

  await for (final c in realm.all<Point>().changes) {
    print(c.results);
  }
}

But it works just as expected. Can you point to something I have missed?
BTW, Just to be absolutely sure, you did enable development mode on the backend? Otherwise the server will not allow schema updates from the clients.
If you did enable development mode. Are you certain that you don't have different clients competing on what the schema should be. Ie. one updated, and one not?

I also tried adding a new realm model instead of a new property.

I can see in isolate you are calling initRealm again and in my example I only got instance of realm in isolate using appId and another difference is that I am using APi key instead of anonymous but I don't know if it is rerevant ...

Notice that on the 2nd call, inside the spawned isolate I'm also using App.getById because at that point it will return non-null.
Authentication method shouldn't matter.
What about my question regarding dev mode?

final app = lia.App.getById(AppSecrets.appId);
user = app?.currentUser!;
lia.FlexibleSyncConfiguration config =
realmConfig(user, encryptionKey, dbPatch);
final realm = lia.Realm(config);


How to support camelCase strings?

Wherever I use a camel case string, config does not recognize it.
Both as key and as value.
How to add support for it?
Imagine my database name use camel case notation, shall I change database name in order to use config library?

Can you give us a test case to try? I think the problem is most likely something else.

Sorry there was a syntax error in my json file.


Document API

now that the API is a bit more stable. Adding rustdocs is beneficial at this point

rustdocs is addressed in #25

Closing with #25


Add zh-CN to supportedLocales

Signed-off-by: Sunbreak<EMAIL_ADDRESS>

I tried it with this language and the app is still in English:

I tried it with this language and the app is still in English:

I test again on both Mi 5 & Nexus 5, and both OK. Maybe you need set the location or local?

I test again on both Mi 5 & Nexus 5, and both OK. Maybe you need set the location or local?


change a config for listing pods to use ip

Issue 598
Changed NODE_NAME in the deployment manifest to NODE_IP
There is a case that host fails to resolve the IP of the node name and cannot connect to kubelet.

@husky-parul can you pick this up in the operator too? thanks

@husky-parul can you pick this up in the operator too? thanks

Yes. taken a note.


[mesheryctl][docs] mesheryctl perfUX improvements with context specific help

See mesheryctl Command Tracker for current status of commands.
Desired Behavior

While running perf --help

[ ] Change Performance Management & Benchmarking using Meshery CLI. to Performance Management & Benchmarking.

[ ] Remove the unnecessary indent in the examples:

[ ] Remove unnecessary capitalisations in subcommand descriptions:

While running perf apply

[ ] The usage shown does not mention that a profile name is needed.

[ ] Provide guide to how to get performance profile. (perf list)

[ ] Migrate to MeshKit style error code.

[ ] Remove unnecessary indent in examples.

[ ] Change the link to https://docs.meshery.io/reference/mesheryctl/perf/apply

[ ] Update the docs in https://docs.meshery.io/reference/mesheryctl/perf/apply

[ ] Flags: --profile Explain why it is required/optional. It should be either one of these and provide guide on when it is required.

While running perf view

[ ] Same as that of the 2nd point.

[ ] Be consistent with using profile names or ids. And mention that correctly in the examples.

[ ] Use MeshKit style errors

Environment

Host OS: Mac
Meshery Server Version: edge-latest
Meshery Client Version: edge-latest
Platform: Docker

Contributor Resources

mesheryctl Contributing Guide
Beginner's guide to contributing to Meshery and mesheryctl
mesheryctl Command Tracker
Meshery CLI Commands and Documentation
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

@piyushsingariya As you work on this, another important thing to consider that is not explicitly mentioned is to be consistent with the inbuilt CLI docs. Make sure that we are consistent in how we give examples, show usage, show flag description, the language used, capitalisation etc.
These are small items but it contributes significantly to the user experience.


compatibility with paradise inline/meta macros

The implementation should be compatible with inline/meta macros in paradise.

It would be great if we could:

Compile a new-style macro with scalac and then expand it with dotc.
(Vice versa) compile a new-style macro with dotc and then expand it with scalac.


Allow \r in parse_file_content

I've encountered these when migrating a site from v1, should these be allowed?

Files that were touched by the unclean hand of Windows?

You got this PR in the last second: https://github.com/comfy/comfortable-mexican-sofa/releases/tag/v2.0.13


rework custom jekyll plugin into rake task

This rake task will update the _config.yml with fresh stats,
commit afterwards and push back to repo.
Currently everything except the push is implemented, including some
debug output.
Let's see what travis has to say about this.

Wow, such branch. Very commit.
Any news? :)

let's just close this.


npx create-remix@latest error

What version of Remix are you using?
1.8.2
Steps to Reproduce
Just choose the following options after running "npx create-remix@latest"

Expected Behavior
No install error
Actual Behavior
Get erro "Error: Cannot find module '/home/dev/.npm/_npx/5164864a48bff686/node_modules/@remix-run/dev/dist/cli/migrate/migrations/convert-to-javascript/transform'" as screenshot above

I'm seeing the same issue: https://github.com/remix-run/indie-stack/issues/182 Thanks!

I've also got the same issue on Windows 11 and macOS Ventura Version 13.0.1 (Intel Core i9).

I had no problem before but now it has errors the same way as coreno-deng issue.
Im using M1 Pro Mac with macOS Ventura 13.1 which recently updated.

Confirmed on Node v16.14.0, running on macOS Ventura

Breakage probably happened in #4572 as 1.8.0 is the version where the error starts popping.

Breakage probably happened in #4572 as 1.8.0 is the version where the error starts popping.
Until this get fixed, you can use npx<EMAIL_ADDRESS>for JavaScript templates.

Oh!! npx<EMAIL_ADDRESS>does not create error. Thanks. For now I will use this.

Fixed by #4891

Im still getting this issue.

On M1 Mac OSX Ventura 13.0.1 - Node 16.13.2

@mcqua007 we haven't published a release since #4891 . Next release should have the fix.

@pcattori Oops my bad for some reason I thought it had been released. Thanks for your quick reply!


Start wake word - Rhasspy mobile app keeps stopping

I am using latest 1.7.0 on a Samsung Galaxy S9+ and Lenovo Yoga tab and upon configuring UDP, and selecting "Start wake word", the app immediately crashes.  The log located at com.example.rhasspy_mobile_app/files/log.txt only shows evidence that MQTT successfully connected, otherwise there is no stack trace.
The mobile app is set to
[fqdn]:[12333]
Rhasspy base:
{
    "dialogue": {
        "system": "rhasspy"
    },
    "intent": {
        "system": "fsticuffs"
    },
    "microphone": {
        "system": "pyaudio"
    },
    "mqtt": {
        "enabled": true,
        "host": "[fqdn]",
        "password": "[password]",
        "site_id": "rhasspy",
        "username": "[username]"
    },
    "sounds": {
        "system": "aplay"
    },
    "speech_to_text": {
        "system": "kaldi"
    },
    "text_to_speech": {
        "system": "nanotts"
    },
    "wake": {
        "porcupine": {
            "keyword_path": "",
            "sensitivity": "0.9",
            "udp_audio": "<IP_ADDRESS>:12333:rhasspy"
        },
        "system": "porcupine"
    }
}

Any thoughts on what might be misconfigured or how/where to identify the exception?

The app no longer crashes when setting [ip]:[port] vs [fqdn]:[port] ... a little unfamiliar with UDP, but shouldn't DNS still be honored?

DNS is still honored with UDP but the app doesn’t check if the supplied an FQDN but it assumes that it is a standard ip address. In the next release, I will make sure that the domain is resolved before sending the UDP packet.


python3Packages.pycfmodel: 0.13.0 -> 0.16.0

Motivation for this change
https://github.com/Skyscanner/pycfmodel/releases/tag/0.16.0
https://github.com/Skyscanner/pycfmodel/releases/tag/0.15.0
https://github.com/Skyscanner/pycfmodel/releases/tag/0.14.0
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

regression in downstream:
https://github.com/NixOS/nixpkgs/pull/158061

1 package failed to build:
cfripper

2 packages built:
python310Packages.pycfmodel python39Packages.pycfmodel

do you mind relaxing the downstream's version bounds?
       > ERROR: Could not find a version that satisfies the requirement pycfmodel==0.13.0 (from cfripper) (from versions: none)
       > ERROR: No matching distribution found for pycfmodel==0.13.0

pycfmodel>=0.13.0 breaks a lot of tests of cfripper. Would be best to wait for a new cfripper release.

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

3 packages built:

cfripper
python310Packages.pycfmodel
python39Packages.pycfmodel


better IO for eye

One reason I used CWM was just to avoid having to read rdf/xml when it was the fashion. Now it would help me to quickly read JSON-LD which is very helpful to get JSON folk to use rdf data, and to make extensible json schemas, but actually very difficult to read.
Currently, I take some json-ld, go to the json-ld playground, transform the json-ld to Nquads, then by hand I group statements with the same bnode  _:bx by enclosing them in a_:bx <https://example.org/ns/semantics#quotedGraph> {... }.
Then it would be lovely if eye could produce some nice readable n3 output (perhaps I could give it some namespaces? But I could not find out how to do that.
So the following would be really nice:

json-ld input
nice n3 output so that one can enter it into code examples in markdown

If anyone else has n3 JavaScript parsers from json-ld to n3 those should be added to the json-ld playground -- please!
I got this working using Jen3, with a bit of pain. For details see Jen3 issue1

For the moment you can pipe json-ld translated data into eye as done in https://github.com/eyereasoner/eye/blob/master/reasoning/rdf-star/prepare

Thanks for that tip, but I don't think that works for Verifiable Credentials which contain graphs.
I placed example 6 of the VC data model spec online on my server:
> curl -i  https://bblfish.net/tmp/2023/08/vcdm.ex6.jsonld
HTTP/1.1 200 OK
Date: Sat, 19 Aug 2023 13:32:55 GMT
Server: Apache/2.4.38 (Debian)
Last-Modified: Sat, 19 Aug 2023 13:23:42 GMT
ETag: "37b-603468dda7e6f"
Accept-Ranges: bytes
Content-Length: 891
Content-Type: application/ld+json

{
  "@context": [
    "https://www.w3.org/2018/credentials/v1",
    "https://www.w3.org/2018/credentials/examples/v1",
    "https://w3id.org/security/suites/ed25519-2020/v1"
  ],
  "id": "http://example.edu/credentials/3732",
  "type": [
    "VerifiableCredential",
    "UniversityDegreeCredential"
  ],
  "issuer": "https://example.edu/issuers/565049",
  "issuanceDate": "2010-01-01T00:00:00Z",
  "credentialSubject": {
    "id": "did:example:ebfeb1f712ebc6f1c276e12ec21",
    "degree": {
      "type": "BachelorDegree",
      "name": "Bachelor of Science and Arts"
    }
  },
  "proof": {
    "type": "Ed25519Signature2020",
    "created": "2022-02-25T14:58:43Z",
    "verificationMethod": "https://example.edu/issuers/565049#key-1",
    "proofPurpose": "assertionMethod",
    "proofValue": "zeEdUoM7m9cY8ZyTpey83yBKeBcmcvbyrEQzJ19rD2UXArU2U1jPGoEt
rRvGYppdiK37GU4NBeoPakxpWhAvsVSt"
  }
}

and I received this back
> riot --stream=NQuads  https://bblfish.net/tmp/2023/08/vcdm.ex6.jsonld
15:34:53 ERROR riot            :: [line: 26, col: 76] The document could not be loaded or parsed [code=LOADING_DOCUMENT_FAILED].

even though it gives me correct output for your json-ld urls.
I guess I would need a new riot by @william-vw

See the error line: 26, col: 76 and that line is broken up and when you correct it works perfectlt fine, like
$ riot https://josd.github.io/temp/vcdm.ex6.jsonld
_:B077bf894672f5b3c6f076af001ca877e <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://example.org/examples#BachelorDegree> .
_:B077bf894672f5b3c6f076af001ca877e <http://schema.org/name> "Bachelor of Science and Arts"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML> .
<did:example:ebfeb1f712ebc6f1c276e12ec21> <https://example.org/examples#degree> _:B077bf894672f5b3c6f076af001ca877e .
<http://example.edu/credentials/3732> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://www.w3.org/2018/credentials#VerifiableCredential> .
<http://example.edu/credentials/3732> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://example.org/examples#UniversityDegreeCredential> .
<http://example.edu/credentials/3732> <https://w3id.org/security#proof> _:B497431eb2f89a8cd50999093d582c5cf .
<http://example.edu/credentials/3732> <https://www.w3.org/2018/credentials#credentialSubject> <did:example:ebfeb1f712ebc6f1c276e12ec21> .
<http://example.edu/credentials/3732> <https://www.w3.org/2018/credentials#issuanceDate> "2010-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
<http://example.edu/credentials/3732> <https://www.w3.org/2018/credentials#issuer> <https://example.edu/issuers/565049> .
_:B6f0d3f77735276663943d536b5ed9c8f <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://w3id.org/security#Ed25519Signature2020> _:B497431eb2f89a8cd50999093d582c5cf .
_:B6f0d3f77735276663943d536b5ed9c8f <http://purl.org/dc/terms/created> "2022-02-25T14:58:43Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> _:B497431eb2f89a8cd50999093d582c5cf .
_:B6f0d3f77735276663943d536b5ed9c8f <https://w3id.org/security#proofPurpose> <https://w3id.org/security#assertionMethod> _:B497431eb2f89a8cd50999093d582c5cf .
_:B6f0d3f77735276663943d536b5ed9c8f <https://w3id.org/security#proofValue> "zeEdUoM7m9cY8ZyTpey83yBKeBcmcvbyrEQzJ19rD2UXArU2U1jPGoEtrRvGYppdiK37GU4NBeoPakxpWhAvsVSt"^^<https://w3id.org/security#multibase> _:B497431eb2f89a8cd50999093d582c5cf .
_:B6f0d3f77735276663943d536b5ed9c8f <https://w3id.org/security#verificationMethod> <https://example.edu/issuers/565049#key-1> _:B497431eb2f89a8cd50999093d582c5cf .

Ah, thanks. I had fixed that error in the jsonld playground.
Now at least, I have two ways to turn JsonLD into NQuads: the playground and the command line riot from Jena.
Btw, following the example
> riot  https://josd.github.io/temp/vcdm.ex6.jsonld | eye.pvm --quiet --nope -
** ERROR ** - ** invalid_document(after_line(9))

So I guess that is because eye.pvm can't digest the NQuad format yet.
So I still need to do that by hand. I can take your output and massage it to
I uploaded your example and made it look more like n3 and added some prefixes, and that gave something a bit more readable version
$ eye.pvm --nope https://bblfish.net/tmp/2023/08/vcdm.ex6.ugly.n3 --pass --quiet
@prefix sec: <https://w3id.org/security#>.
@prefix cred: <https://www.w3.org/2018/credentials#>.
@prefix eg: <https://example.org/examples#>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix log: <http://www.w3.org/2000/10/swap/log#>.
@prefix in: <http://n3.w3c.org/builtin/input#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#>.
@prefix math: <http://www.w3.org/2000/10/swap/math#>.
@prefix list: <http://www.w3.org/2000/10/swap/list#>.
@prefix dc: <http://purl.org/dc/terms/>.

_:e_B077bf894672f5b3c6f076af001ca877e_1 a eg:BachelorDegree.
<http://example.edu/credentials/3732> a cred:VerifiableCredential.
<http://example.edu/credentials/3732> a eg:UniversityDegreeCredential.
_:e_B077bf894672f5b3c6f076af001ca877e_1 <http://schema.org/name> "Bachelor of Science and Arts"^^rdf:HTML.
<did:example:ebfeb1f712ebc6f1c276e12ec21> eg:degree _:e_B077bf894672f5b3c6f076af001ca877e_1.
<http://example.edu/credentials/3732> cred:credentialSubject <did:example:ebfeb1f712ebc6f1c276e12ec21>.
<http://example.edu/credentials/3732> cred:issuanceDate "2010-01-01T00:00:00Z"^^xsd:dateTime.
<http://example.edu/credentials/3732> cred:issuer <https://example.edu/issuers/565049>.
<http://example.edu/credentials/3732> sec:proof {_:e_B6f0d3f77735276663943d536b5ed9c8f_1 a sec:Ed25519Signature2020. _:e_B6f0d3f77735276663943d536b5ed9c8f_1 dc:created "2022-02-25T14:58:43Z"^^xsd:dateTime. _:e_B6f0d3f77735276663943d536b5ed9c8f_1 sec:proofPurpose sec:assertionMethod. _:e_B6f0d3f77735276663943d536b5ed9c8f_1 sec:proofValue "zeEdUoM7m9cY8ZyTpey83yBKeBcmcvbyrEQzJ19rD2UXArU2U1jPGoEtrRvGYppdiK37GU4NBeoPakxpWhAvsVSt"^^sec:multibase. _:e_B6f0d3f77735276663943d536b5ed9c8f_1 sec:verificationMethod <https://example.edu/issuers/565049#key-1>}.

Still, I can at least reason with it using EYE, so that is good news!
And one of the things that it leads one to is this question I asked on n3 issue 204, namely if the Credentials example shown above is quoting the right triples. It seems that the signature should be on the signed triples that make a statement about did:example:ebfeb1f712ebc6f1c276e12ec21.

Btw, following the example
> riot  https://josd.github.io/temp/vcdm.ex6.jsonld | eye.pvm --quiet --nope -
** ERROR ** - ** invalid_document(after_line(9))

So I guess that is because eye.pvm can't digest the NQuad format yet.

I don't understand, why are you using eye.pvm as a command?
eye.pvm it a quick load format that is run via swipl -x eye.pvm
Bit please follow the installation guide
Then it should all work fine:
riot https://josd.github.io/temp/vcdm.ex6.jsonld | eye --quiet --nope - --pass
_:e_B25b8566811e3bf22ddd8f246ee444ea0_1 a <https://example.org/examples#BachelorDegree>.
<http://example.edu/credentials/3732> a <https://www.w3.org/2018/credentials#VerifiableCredential>.
<http://example.edu/credentials/3732> a <https://example.org/examples#UniversityDegreeCredential>.
_:e_B25b8566811e3bf22ddd8f246ee444ea0_1 <http://schema.org/name> "Bachelor of Science and Arts"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML>.
<did:example:ebfeb1f712ebc6f1c276e12ec21> <https://example.org/examples#degree> _:e_B25b8566811e3bf22ddd8f246ee444ea0_1.
<http://example.edu/credentials/3732> <https://w3id.org/security#proof> _:e_B0671f6832a73a9929693b26bef4630f9_1.
<http://example.edu/credentials/3732> <https://www.w3.org/2018/credentials#credentialSubject> <did:example:ebfeb1f712ebc6f1c276e12ec21>.
<http://example.edu/credentials/3732> <https://www.w3.org/2018/credentials#issuanceDate> "2010-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime>.
<http://example.edu/credentials/3732> <https://www.w3.org/2018/credentials#issuer> <https://example.edu/issuers/565049>.
_:e_B9e3bfecb2a361ee1e6d6889af3180e07_1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://w3id.org/security#Ed25519Signature2020> _:e_B0671f6832a73a9929693b26bef4630f9_1.
_:e_B9e3bfecb2a361ee1e6d6889af3180e07_1 <http://purl.org/dc/terms/created> "2022-02-25T14:58:43Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> _:e_B0671f6832a73a9929693b26bef4630f9_1.
_:e_B9e3bfecb2a361ee1e6d6889af3180e07_1 <https://w3id.org/security#proofPurpose> <https://w3id.org/security#assertionMethod> _:e_B0671f6832a73a9929693b26bef4630f9_1.
_:e_B9e3bfecb2a361ee1e6d6889af3180e07_1 <https://w3id.org/security#proofValue> "zeEdUoM7m9cY8ZyTpey83yBKeBcmcvbyrEQzJ19rD2UXArU2U1jPGoEtrRvGYppdiK37GU4NBeoPakxpWhAvsVSt"^^<https://w3id.org/security#multibase> _:e_B0671f6832a73a9929693b26bef4630f9_1.
_:e_B9e3bfecb2a361ee1e6d6889af3180e07_1 <https://w3id.org/security#verificationMethod> <https://example.edu/issuers/565049#key-1> _:e_B0671f6832a73a9929693b26bef4630f9_1.

Ah I somehow was on eye version 2.5.0. After updating the repo with your latest changes, and installing, and changing the path from /opt/eye/lib to /opt/eye/bin I now have v4.14.5 installed.
You are right now your above command works. If I add the namespaces
@prefix sec: <https://w3id.org/security#>.
@prefix cred: <https://www.w3.org/2018/credentials#>.
@prefix eg: <https://example.org/examples#>.
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>.
@prefix xsd: <http://www.w3.org/2001/XMLSchema#>.
@prefix dc: <http://purl.org/dc/terms/>.
@prefix sch: <https://schema.org/>.

to the result and run eye on that enhanced file, I get a bit of an improved output, but it still looks very nquadish. I guess at that point I could run it through jen3.
But now I have the latest version installed.

@bblfish wrote:

but it still looks very nquadish.

Ah but that is because it is. Your output is an intermediate format between NQuads and n3. That makes sense if we follow the idea that N3 should be to NQuads what turtle is to NTriples -- but that is why I was thinking N3 should then be called N4! :-)
I don't think that has made it into the n3 spec, but I'd be ok to support that, as it would make conversion between NQuads and N4 easier to follow.
Is there not a way with eye to clean up the quads and place them automatically into a {  } ? That would be helpful.

The native eye reasoner does not have any notion of NQuads, only NTriples, Turtle, N3 and N3S (the latter being N3 for RDF Surfaces). There is also no plan to extend that in the native eye but as you can see in eye-js

The n3reasoner accepts both strings (formatted in Notation3 syntax) and quads as input. The output will be of the same type as the input data. This means that we can use n3reasoner with RDF/JS quads as follows:

import { Parser } from 'n3';

const parser = new Parser({ format: 'text/n3' });
export const queryQuads = parser.parse(queryString);
export const dataQuads = parser.parse(dataString);

// The result of the query (as an array of quads)
const resultQuads = await n3reasoner(dataQuads, queryQuads);

All this work is done by @jeswr and I am very happy for that!

In addition to eye-js another couple of pointers for JS land are:

https://www.npmjs.com/package/@jeswr/pretty-turtle for pretty printing RDF/JS quads to turtle or N3.
https://www.npmjs.com/package/rdf-parse for parsing pretty well any RDF content-type to RDF/JS quads.

What format is the output of the command @josd ran in the comment above? It contains triples, quads, but also shortcuts that are not part of the NQuads standard such as a.
_:e_B25b8566811e3bf22ddd8f246ee444ea0_1 a <https://example.org/examples#BachelorDegree>.
<http://example.edu/credentials/3732> a <https://www.w3.org/2018/credentials#VerifiableCredential>.
<http://example.edu/credentials/3732> a <https://example.org/examples#UniversityDegreeCredential>.
_:e_B25b8566811e3bf22ddd8f246ee444ea0_1 <http://schema.org/name> "Bachelor of Science and Arts"^^<http://www.w3.org/1999/02/22-rdf-syntax-ns#HTML>.
<did:example:ebfeb1f712ebc6f1c276e12ec21> <https://example.org/examples#degree> _:e_B25b8566811e3bf22ddd8f246ee444ea0_1.
<http://example.edu/credentials/3732> <https://w3id.org/security#proof> _:e_B0671f6832a73a9929693b26bef4630f9_1.
<http://example.edu/credentials/3732> <https://www.w3.org/2018/credentials#credentialSubject> <did:example:ebfeb1f712ebc6f1c276e12ec21>.
<http://example.edu/credentials/3732> <https://www.w3.org/2018/credentials#issuanceDate> "2010-01-01T00:00:00Z"^^<http://www.w3.org/2001/XMLSchema#dateTime>.
<http://example.edu/credentials/3732> <https://www.w3.org/2018/credentials#issuer> <https://example.edu/issuers/565049>.
_:e_B9e3bfecb2a361ee1e6d6889af3180e07_1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://w3id.org/security#Ed25519Signature2020> _:e_B0671f6832a73a9929693b26bef4630f9_1.
_:e_B9e3bfecb2a361ee1e6d6889af3180e07_1 <http://purl.org/dc/terms/created> "2022-02-25T14:58:43Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> _:e_B0671f6832a73a9929693b26bef4630f9_1.
_:e_B9e3bfecb2a361ee1e6d6889af3180e07_1 <https://w3id.org/security#proofPurpose> <https://w3id.org/security#assertionMethod> _:e_B0671f6832a73a9929693b26bef4630f9_1.
_:e_B9e3bfecb2a361ee1e6d6889af3180e07_1 <https://w3id.org/security#proofValue> "zeEdUoM7m9cY8ZyTpey83yBKeBcmcvbyrEQzJ19rD2UXArU2U1jPGoEtrRvGYppdiK37GU4NBeoPakxpWhAvsVSt"^^<https://w3id.org/security#multibase> _:e_B0671f6832a73a9929693b26bef4630f9_1.
_:e_B9e3bfecb2a361ee1e6d6889af3180e07_1 <https://w3id.org/security#verificationMethod> <https://example.edu/issuers/565049#key-1> _:e_B0671f6832a73a9929693b26bef4630f9_1.

It is an experimental thing to see if we could deal with quads (not nquads).

It is an experimental thing to see if we could deal with n-quads

v4.10.13 (2023-08-02) initial support for n-quads

That what I thought, and that's what I thought could be called N4 above.
It makese sense to have that because it allows one to prgress from NQuads to N4 the way. one progresses from NTriples to Turtle

For the moment, it is a lot of work to get via the Jena and eye from JSON-LD to nice looking n3.
Here I wrote up the detailed stages of the process
https://github.com/w3c/vc-data-model/issues/1248#issuecomment-1686305186
Perhaps with the help of the JS N3 tools mentioned above the JsonLD playground could just get us there in one step! I guess @msporny would know who would be interested in that...

See the error line: 26, col: 76 and that line is broken up and when you correct it, it works perfectly fine, like

Yes, we have tried to fix this in the specification by inserting a non-whitespace-break in the examples. Let us know if you find any other examples that are malformed when copied out of the spec.

Perhaps with the help of the JS N3 tools https://github.com/eyereasoner/eye/issues/90 the JsonLD playground could just get us there in one step! I guess @msporny would know who would be interested in that...

The JSON-LD Playground is open source, so anyone can add features to it:
https://github.com/json-ld/json-ld.org/tree/main/playground
... though, I'm confused about what the ask is here. /cc @davidlehn

@msporny wrote:

. though, I'm confused about what the ask is here.

I think it would be nice if I could put jsonld in and get N3 out, as specified by the N3 CG Notation3 spec.
The reason is that the N3 output can be very readable. Currently, the playground only has an NQuads output which is good for machine readability but not for human consumption.

I think it would be nice if one could put JsonLD into the playground and get N3 out as specified by the N3 CG Notation3 spec.

Ah, yes, that would be fairly easy to do if there was a JS library that can convert NQuads to N3 (or similar).
We don't have the bandwidth right now to add that feature, but as I said, the playground is open source so just about anyone can raise a PR to add the functionality.

Perhaps https://github.com/eyereasoner/eye/issues/90#issuecomment-1686148928 is good enough to produce nice n3 output @jeswr ?

Yup - the pretty-turtle library does pretty n3 as well so it should be good for your purposes :)

It is an experimental thing to see if we could deal with n-quads

v4.10.13 (2023-08-02) initial support for n-quads

That's what I thought and why I suggested it could be called N4 above. It makes sense to have that because it allows one to progress from NQuads to N4 the way. one progresses from NTriples to Turtle

Right and it is straightforward to have an N3 rule to collect the quads in graph terms e.g.
@prefix log: <http://www.w3.org/2000/10/swap/log#>.
@prefix graph: <http://www.w3.org/2000/10/swap/graph#>.
@prefix : <urn:example:>.

:a :b :c :x.
:d :e :f :x.
:g :h :i :x.

:j :k :l :y.

{
    ?S ?P ?O ?G.
    ({?A ?B ?C} {?A ?B ?C ?G} ?L) log:collectAllIn ?SCOPE.
    ?GT graph:list ?L.
} => {
    ?G :graphTerm ?GT.
}.

will give you
$ eye --quiet --nope /tmp/quad.n3 --pass-only-new
@prefix log: <http://www.w3.org/2000/10/swap/log#>.
@prefix graph: <http://www.w3.org/2000/10/swap/graph#>.
@prefix : <urn:example:>.

<urn:example:x> <urn:example:graphTerm> {
    <urn:example:a> <urn:example:b> <urn:example:c>.
    <urn:example:d> <urn:example:e> <urn:example:f>.
    <urn:example:g> <urn:example:h> <urn:example:i>.
}.
<urn:example:y> <urn:example:graphTerm> {
    <urn:example:j> <urn:example:k> <urn:example:l>.
}.

What format is the output of the command @josd ran in the comment above? It contains triples, quads, but also shortcuts that are not part of the NQuads standard such as a.

If you want to avoid that a use eye --no-qnames for the moment.


Add new intent: Anime

An Anime intent can be added for more features.
@TeAmP0is0N @swapagarwal  Please assign me this issue. Thanks.

@adityabisoi First resolve the previous one, then you can work on it.

@TeAmP0is0N I have resolved all the previous ones. Can I get this now?

@adityabisoi Go ahead.


Add alert for deprecated apis

/cc @soltysh
/hold
(just in case, I think this should fail on current offenders)

I have manually checked that the alerts are present in the prometheus dump from the CI run - that should have failed aws-e2e - monitoring team is working on a fix. We should merge when the check is fixed, we get really green e2e and no alerts are firing. (Also means making the offenders to fix their code.)

e2e fix in https://github.com/openshift/origin/pull/24005

/test e2e-aws

:+1:
LGTM

alerts are firing in https://storage.googleapis.com/origin-ci-test/pr-logs/pull/openshift_cluster-kube-apiserver-operator/625/pull-ci-openshift-cluster-kube-apiserver-operator-master-e2e-aws/2869/artifacts/e2e-aws/metrics/prometheus.tar , the e2e that should stop merging it is green :(

ok, this needs to land for feature
/hold cancel
I'll follow up with a high prio BZ to fix the e2e check; the ones for offenders are already filled

ref https://bugzilla.redhat.com/show_bug.cgi?id=1766638


Navigation menu

Added navigation per approved wireframe.

[WIP]

Yes, I think it would nice to have a category button. It could be a drop down menu with a list of genres.


Use unique table names in tests

Use unique table names in tests
If table name is reused then it could case intermittent test
failures when tests are executed in parallel.

Tested locally. Merging.


Upgrade Go to 1.21

Resolves #289

Do we want to require go 1.21 in our go.mod?  I don't see any reason not to, but I noticed it wasn't a part of this PR

Seems to me go.mod is updated to use 1.21 in this PR. Also, this PR introduces a dependency on the std pkg slices introduced in go 1.21.
Is this the change you're suggesting or something different?

D'oh, I missed the go.mod update :facepalm:


Docker support

Hi, filegator looks amazing. I wanted to check if there is a dockerfile available for the project?

Hi, thanks!
Take a look at this repo: https://github.com/filegator/demo


Package is broken:

Describe the bug
Currently, it is impossible to build this package as you get the following errors.

i also facing the same issue
may be llama.cpp update

The pinned branch still works. Make sure to import with @preconcurrency if you're on Swift 6.


Add getMarkers function

Should take some of the burden of managing state off of the user. Additionally, we should allow getting markers that cannot be manipulated (i.e. markers not created by the cartographer).

This works fine for BlueMap and Dynmap but seems like it will be difficult for Pl3xMap and Squaremap.


Store only changed data?

Is it possible to only store the data that is changed and not the entire data struct?
Example, I update a flag for a feature. I only want to store the original value and the new value. I don't need the entire data struct.

Hi @efleming,
no, this is not possible and intentionally so. The idea was to have a "version history" of entities where versions could be easily forwarded to other systems. If we stored only deltas, computing a "version" would require fetching the entire previous history, which we didn't want.
That said, your changes table is an ordinary Ecto table, you could write a processor that trims the data field according to your needs. See https://hexdocs.pm/carbonite/Carbonite.html#process/4
Hope this helps.


Flutter - In App Purchase Error : responseCode: 6 with error message "the item you were attempting to purchase could not be found" ?

Hello,
I am performing in app purchase in my app. Following is my code to implement IAP.
class InApp extends StatefulWidget {
  @override
  _InAppState createState() => _InAppState();
}

class _InAppState extends State<InApp> {
  StreamSubscription _purchaseUpdatedSubscription;
  StreamSubscription _purchaseErrorSubscription;
  StreamSubscription _conectionSubscription;
  final List<String> _productLists = Platform.isAndroid
      ? ["Buy Book"]
      : ["Buy Book"];

  List<IAPItem> _items = [];
  List<PurchasedItem> _purchases = [];

  @override
  void initState() {
    super.initState();
    initPlatformState();
  }

  @override
  void dispose() {
    if (_conectionSubscription != null) {
      _conectionSubscription.cancel();
      _conectionSubscription = null;
    }
  }

  // Platform messages are asynchronous, so we initialize in an async method.
  Future<void> initPlatformState() async {
    // prepare
    var result = await FlutterInappPurchase.instance.initConnection;
    print('result: $result');

    if (!mounted) return;

    _conectionSubscription =
        FlutterInappPurchase.connectionUpdated.listen((connected) {
      print('connected: $connected');
    });

    _purchaseUpdatedSubscription =
        FlutterInappPurchase.purchaseUpdated.listen((productItem) {
      print('purchase-updated: $productItem');
    });

    _purchaseErrorSubscription =
        FlutterInappPurchase.purchaseError.listen((purchaseError) {
      print('purchase-error: $purchaseError');
    });

    _getProduct();
  }

  void _requestPurchase(IAPItem item) {
    FlutterInappPurchase.instance.requestPurchase(item.productId);
  }

  Future _getProduct() async {
    List<IAPItem> items = await FlutterInappPurchase.instance.getProducts(_productLists);
    for (var item in items) {
      print('${item.toString()}');
      this._items.add(item);
    }

    setState(() {
      this._items = items;
      this._purchases = [];
    });

    _getPurchases();
  }

  Future _getPurchases() async {
    List<PurchasedItem> items = await FlutterInappPurchase.instance.getAvailablePurchases();
    for (var item in items) {
      print('${item.toString()}');
      this._purchases.add(item);
    }

    setState(() {
      this._items = [];
      this._purchases = items;
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
        child: RaisedButton(
          onPressed: () {
            _requestPurchase(_items[0]);
          },
          child: Text("Buy Item"),
        ),
      ),
    );
  }
}

When i click on BuyItem and requestPurchase() method gets called. I gets following error logs and get the error like "the item you were attempting to purchase could not be found"
W/ActivityThread( 8794): handleWindowVisibility: no activity for token android.os.BinderProxy@572f129
W/ProxyBillingActivity( 8794): Activity finished with resultCode 0 and billing's responseCode: 6
W/BillingHelper( 8794): Couldn't find purchase lists, trying to find single data.
W/BillingHelper( 8794): Received a bad purchase data.
W/BillingHelper( 8794): Couldn't find single purchase data as well.
E/DoobooUtils( 8794): Error Code : 6
I/flutter ( 8794): purchase-error: responseCode: 6, debugMessage: , code: E_UNKNOWN, message: An unknown or unexpected error has occured. Please try again later.
Please suggest a solution.
Thanks.

Note that I'm not a moderator so I might be wrong about this.
I think your _getProducts() method is never called. Which means the _getPurchases method is never called. In my code I put them in the equivalent of your initPlatformState() like this:
// Platform messages are asynchronous, so we initialize in an async method.
Future<void> initPlatformState() async {
  // prepare

  //... your code same as above

  _purchaseErrorSubscription =
      FlutterInappPurchase.purchaseError.listen((purchaseError) {
    print('purchase-error: $purchaseError');
  });

  // I put them here
  await _getProduct();   // ? i think
  await _getPurchases(); // ? i think
  verifyFullSolution();  // ? i think (i added this incase you need to set any previous purchases)
}

Also inside _getPurchases() there is a line this._items = []; that sets the items to be empty. So when you are pressing buy Item _items[0]should throw an index error?
I don't understand why in the example
github example

_getPurchases clears the items and

_getProduct clears the purchases

but maybe there is logic to that
I would suggest changing
void _requestPurchase(IAPItem item) {
    FlutterInappPurchase.instance.requestPurchase(item.productId);
  }

to
void _requestPurchase(String productID) {
    FlutterInappPurchase.instance.requestPurchase(productID);
  }

and changing
_requestPurchase(_items[0]);
to
_requestPurchase('Buy Book');

@DevonTomatoSandwich

Note that I'm not a moderator so I might be wrong about this.
I think your _getProducts() method is never called. Which means the _getPurchases method is never called. In my code I put them in the equivalent of your initPlatformState() like this:
// Platform messages are asynchronous, so we initialize in an async method.
Future<void> initPlatformState() async {
  // prepare

  //... your code same as above

  _purchaseErrorSubscription =
      FlutterInappPurchase.purchaseError.listen((purchaseError) {
    print('purchase-error: $purchaseError');
  });

  // I put them here
  await _getProduct();   // ? i think
  await _getPurchases(); // ? i think
  verifyFullSolution();  // ? i think (i added this incase you need to set any previous purchases)
}

Also inside _getPurchases() there is a line this._items = []; that sets the items to be empty. So when you are pressing buy Item _items[0]should throw an index error?
I don't understand why in the example
github example

_getPurchases clears the items and
_getProduct clears the purchases

but maybe there is logic to that
I would suggest changing
void _requestPurchase(IAPItem item) {
    FlutterInappPurchase.instance.requestPurchase(item.productId);
  }

to
void _requestPurchase(String productID) {
    FlutterInappPurchase.instance.requestPurchase(productID);
  }

and changing
_requestPurchase(_items[0]);
to
_requestPurchase('Buy Book');

The github example clears the purchase data every time because it uses the consume method. Which will consume all your purchased items.
// refresh items for android
try {
String msg = await FlutterInappPurchase.instance.consumeAllItems;
print('consumeAllItems: $msg');
} catch (err) {
print('consumeAllItems error: $err');
}
If you will remove the code above it will not consume all the items you purchased.


installer: Add fancy wizard tutorial for Azure

Closes #1615
This is the promised wizard, intending to make the setup on Azure a lot easier.

@titanous: I'm not entirely sure why the tests would fail - according to the log, they failed in areas I didn't even remotely touch. Ideas?

@felixrieseberg There are some tests that intermittently fail. Don't worry about it (we're in the process of fixing them up)

The two commits can be squashed into one

Jeez, might I suggest a JS style guide. All of these comments are great, but a style guide could have saved me a lot do time here ;-)

@felixrieseberg Yeah, sorry, haven't gotten around to putting a style guide in place yet. There is a jshint config though.

@jvatic: Updated.

Can we use a different directory name in the screenshots (such as "Default Directory")?

@jvatic I think the directory name is fine for now. We can re-record them after user testing if it's confusing.

Hey, so after 40 comments (all of them useful, thanks for the CR) - I integrated the other requirements here and I <3 y'all, but with npm and a bunch of other big projects demanding a lot of time, I can't keep reiterating to specifications that haven't been around before (like the "what if you redid all the screenshots") - my sole goal was to improve upon the experience that was around before (and I really hope that we have now is a lot better than the current state).
I'd be more than happy to merge any code into this PR though, if anybody else wants to keep adding to this and you don't want to merge without additional work.

@felixrieseberg Thanks for all the effort you've put into this! I'm happy to take it from here.


Prepend truncated error output with notice

Fixes https://github.com/dagger/dagger/issues/5077
Related to https://github.com/dagger/dagger/issues/4979
Should show output in error like this:

input:1: pipeline.pipeline.container.from.withExec.stdout process "sh -c echo xxxxxxx... && exit 1" did not complete successfully: exit code: 1
Stdout:
[omitting 2412132 bytes]...xxxxxxx....

Stderr:

Please visit https://dagger.io/help#go for troubleshooting guidance.

Yeah, the error output truncation limit was increased from 2K to 100K because of this use case:

https://github.com/dagger/dagger/issues/4979

Yes, you are right, it was the next PR. Moving the discussion there -> https://github.com/dagger/dagger/pull/5164


DenseClip weight

Hello, the link you provided for downloading DenseClip weights seems to be incorrect; it doesn't lead me to the place where I can download the weights. May I do something wrong? @picksh

Hi,
Thank you for your reminder. I have updated the link for DenseClip weights. I think you can download it now.

Thanks!


Implemented dual Terraform scenarios for both traditional hub-and-spoke and virtual wan

Pull Request for Implementing Virtual WAN and Traditional Hub and Spoke Architectures
Overview/Summary
This Pull Request introduces infrastructure as code changes that successfully implement two distinct Azure network architectures: a traditional Hub and Spoke model and a comprehensive Virtual WAN setup. Key highlights include the integration of Azure Bastion for secure connectivity, the establishment of Firewall Policies for network security, and essential connectivity resources across both scenarios.
This PR fixes/adds/changes/removes

Adds Azure Virtual WAN configuration for automated global routing and branch connectivity.
Implements a traditional Hub and Spoke network topology utilizing hubnetworking and virtual_network_gateway modules.
Integrates Azure Firewall Policies to enforce standardized security across both Hub and Spoke and Virtual WAN topologies.
Configures Azure Bastion in both scenarios for secure, seamless RDP/SSH access without public IP exposure.
Deploys a Virtual Machine as a jumpbox for secure, centralized administrative access within the network.

Breaking Changes
None introduced.
Testing Evidence
The Terraform configuration files have been tested, yielding the following planned actions during deployment:

Creation of an Azure Firewall Policy and rule collection group within the Virtual WAN to manage traffic securely.
Updating existing network interfaces for compatibility with the new topology requirements.
Creation of new subnets, including a dedicated subnet for Azure Bastion and another for shared services.
Deployment of Azure Bastion host and its corresponding public IP to facilitate secure RDP/SSH access.
Network changes related to the establishment of a Virtual Network Gateway to support VPN and ExpressRoute connections.

All planned changes have been executed using terraform apply, following the shown plan without errors. The successful deployment was verified through connectivity tests within both scenarios, confirming the intended network operations.
As part of this Pull Request I have

[x] Checked for duplicate Pull Requests
[x] Associated it with relevant issues, for tracking and closure.
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Performed testing and provided evidence through Terraform plan outputs and connectivity tests.
[x] Updated relevant and associated documentation.

Terraform execution plan and subsequent application of the code led to the successful creation, update, and integration of networking resources as designed. Witnessed is the orchestration of creating and updating Azure resources with Terraform's operations. The warnings observed regarding the argument deprecation have been noted, and an update to the code to use the newer property before provider upgrade to version 4.0 is in the plan. The introduction of Azure Virtual WAN between branches offers significant advancements in routing simplicity and operational efficiency. The integration of Azure Bastion across both deployments centralizes and secures administrative access, marking a pivotal step in network management.

Hello @jaredfholgate , after discussing with @jtracey93 , we see a growing need for a comprehensive example that guides CSAs on transitioning networking from the legacy ALZ to AVM modules, including network and bastion setups in order to anticipate the transition to vNext. We'd be grateful for your thoughts on this, we want to provide more detailed feedback in the delivery guide for ALZ VBD and give ample warning to CSA's to anticipate what should be done for vNext. Thank you for your help!

Closing this for now since it has be superseded by the platform_landing_zone starter module.


Feat/order routes

This PR will closes #33

:tada: This PR is included in version 10.0.0 :tada:
The release is available on:

10.0.0
GitHub release

Your semantic-release bot :package::rocket:


Original resolution image is broken on Pixiv, no fallback downloaded

Prerequisites

[X] Did you read FAQ section in readme.md?
[X] Did you test with the latest releases or commit ?
[X] Did you search for existing issues in Issues?

Description
404 error on image id 48576116
Steps to Reproduce

Select option 2 with image id 48576116

Expected behavior:
Live image download successfully
Actual behavior:
404
Log file:
Log was run with option 1 and the member id 10779086 to show only this image has issues: pixivutil.log
Versions
PixivUtil20230105  (git)

Server side issues, I see the same error 404 using browser.

Server side issues, I see the same error 404 using browser.

Same, seems like broken image on pixiv side. I've come across a bit of those.


Raise errors if unused @tag directives are found

Having a @tag directive whose value is never used is semantically wrong since the directive could and should simply be removed. This should throw an error, but currently does not.

I think this has been fixed - not sure what PR fixed it though

Let's make sure there's a test case for it, and if so I can close the issue.

There's a test case for this in test_ir_generation_errors.py.


[Add] i want to add a cpp youtube course

Site URL
https://www.youtube.com/playlist?list=PLu0W_9lII9agpFUAlPFe_VNSlXW5uE0YL
Description of the above provided site
it is a cpp course for beginners in hindi by a youtube channel CodeWithHarry. This cpp course for beginners will teach all the cpp concepts from the very starting to the end.
Category
Languages
Sub Category
cpp.json
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am participating in Hacktoberfest 2023

It's already there.

Closing this.


allow defining aggregator dependencies in configuration

an idea to address issue #122
by defining a list of aggregator dependencies for the task the following will now happen
when an aggregator dependency includes a previously used but undeclared dependency it will be removed from the used and undeclared list and also added to the used declared list
when an aggregator dependency does not contain any dependencies that are used it will be added to the unused declared dependency list
in that way, it Is possible to define something like a spring-starter dependency as an aggregator dependency which will be used to "clean up" the result
Closes #122
Closes #121
Closes #116
Closes #125
Closes #99

closed in favour of #168 , all changes have been taken over


font size "fs-5" and "fs-6" are fixed (or not responsive)

I just want the font size to be smaller on smaller screens. But I notice that "fs-6" is always 16px and "fs-5" is always 20px no matter how big the viewport is, but "fs-1" ~"fs-4" seem to be responsive when the viewport is changed.   Aren't they all supposed to be responsive? And it doesn't sound good that the smallest size "fs-6" is 16px which is already very big.
I have tried adding breakpoints to "fs" to make it responsive like the following, but it doesn't work at all (Bootstrap v5.0.2):

Test text

It seems that adding breakpoints to "fs" is not allowed, so "fs-md-3" cannot be recognized.  Could anyone tell me a method to display smaller font size on smaller screens? I don't need smooth transitions like using RFS. Thank you very much!

If you're compiling from Sass sources, you can disable RFS by setting $enable-rfs to false (see our Sass options docs page) and modify the font-size utilities to make them responsive as explained in the utilities API docs.
By doing so, you should be able to get what you want.

@ffoodd Thanks but I'm not talking about RFS. My questions are not answered: 1. why "fs-1" ~"fs-4" are responsive while "fs-5" and "fs-6" are not responsive? 2. Can I add breakpoints to "fs" (e.g., "fs-md-3")?  3. How can I get smaller fonts without recompiling? The default smallest size "fs-6" is 16px which is too big  Thank you very much again!

Our font-sizes are made responsive with RFS, and we keep its default base value of 1.25rem.
That's why no value above 1.25rem will scale down in out default build.
To add breakpoints, you need to modify utilities as explained earlier and compile Sass by yourself.
You have smaller font size using .small class, but I think that's all.
If you want more control regarding values, you'll need to work on the Sass side and compile it on your own.

Guys, I'm trying to add fs-{breakpoint}-n classes as mentioned using this code:
$utilities: map-merge(   $utilities,   (     "fs": map-merge(       map-get($utilities, "fs"),       ( responsive: true ),     ),   ) ) !default;
Seems like I'm missing something. Can you help?

@Levan777 You need to add that map-merge before the final import of Bootstrap utilities api. It adds the responsive font-sizes to the utility map.
Here is a complete example of a custom.scss I used for me REACT project to get responsive font-size in Bootstrap 5:
@import "~bootstrap/scss/mixins/banner";
@include bsBanner("");

// scss-docs-start import-stack
// Configuration
@import "~bootstrap/scss/functions";
@import "~bootstrap/scss/variables";
@import "~bootstrap/scss/maps";
@import "~bootstrap/scss/mixins";
@import "~bootstrap/scss/utilities";

// Layout & components
@import "~bootstrap/scss/root";
@import "~bootstrap/scss/reboot";
@import "~bootstrap/scss/type";
@import "~bootstrap/scss/images";
@import "~bootstrap/scss/containers";
@import "~bootstrap/scss/grid";
@import "~bootstrap/scss/tables";
@import "~bootstrap/scss/forms";
@import "~bootstrap/scss/buttons";
@import "~bootstrap/scss/transitions";
@import "~bootstrap/scss/dropdown";
@import "~bootstrap/scss/button-group";
@import "~bootstrap/scss/nav";
@import "~bootstrap/scss/navbar";
@import "~bootstrap/scss/card";

@import "~bootstrap/scss/accordion";
@import "~bootstrap/scss/breadcrumb";

@import "~bootstrap/scss/pagination";
@import "~bootstrap/scss/badge";
@import "~bootstrap/scss/alert";
@import "~bootstrap/scss/progress";
@import "~bootstrap/scss/list-group";
@import "~bootstrap/scss/close";
@import "~bootstrap/scss/toasts";
@import "~bootstrap/scss/modal";
@import "~bootstrap/scss/tooltip";
@import "~bootstrap/scss/popover";
@import "~bootstrap/scss/carousel";
@import "~bootstrap/scss/spinners";
@import "~bootstrap/scss/offcanvas";
@import "~bootstrap/scss/placeholders";

// Helpers
@import "~bootstrap/scss/helpers";

$utilities: map-merge(
  $utilities,
  (
    "font-size":
      map-merge(
        map-get($utilities, "font-size"),
        (
          responsive: true
        )
      )
  )
);

// Utilities
@import "~bootstrap/scss/utilities/api";

I just want the font size to be smaller on smaller screens. But I notice that "fs-6" is always 16px and "fs-5" is always 20px no matter how big the viewport is, but "fs-1" ~"fs-4" seem to be responsive when the viewport is changed. Aren't they all supposed to be responsive? And it doesn't sound good that the smallest size "fs-6" is 16px which is already very big.
I have tried adding breakpoints to "fs" to make it responsive like the following, but it doesn't work at all (Bootstrap v5.0.2):

Test text

It seems that adding breakpoints to "fs" is not allowed, so "fs-md-3" cannot be recognized. Could anyone tell me a method to display smaller font size on smaller screens? I don't need smooth transitions like using RFS. Thank you very much!


Enhancement: Taxonomy picker

Add the ability to filter based on a specific group / termset.

This functionality has been added by the PR #13


Replace path-is-absolute to native path.isAbsolute.

Replace path-is-absolute to native path.isAbsolute, because package path-is-absolute has been deprecated.

Coverage remained the same at 100.0% when pulling acb095b09539309866ff5c61269f92776709b261 on monochromer:master into 9b8e6ba0813b111364ef14f4e312b64ed0c88eb4 on pillarjs:master.

This module support Node.js 0.8 and 0.10 still.


[CONTROLLER/DB] adds npb direction

This PR is for:

Server

adds npb direction
Checklist

[ ] Added unit test.

Backport to branches

v6.1

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zhengya seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


sandbox/1716504230.1798792: Sandbox testing:<PHONE_NUMBER>.1798792 - [2/2]

/aviator sync

/flexreview suggest

/aviator flexreview suggest


[Bug]: The submit button, i.e Sign In should be autoselected if users credentials are prefilled in input fields during sign in

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When a user has logged out and tries to login again, the "Sign In" isn't enabled even though the credentials are prefilled in it. It gets enabled when I click on any of "username" or "password" field
Steps To Reproduce

Make sure that login credentials are saved in chrome already.
Logout of Appsmith.
Close the tab.
Visit app.appsmith.com
Notice that the sign in button is disabled by default. It gets enabled when a user clicks on any of the input fields.

Expected behavior : The Sign In button should be enabled by default if login credentials are already prefilled.
Public Sample App
No response
Environment
Production
Issue video log
No response
Version
Cloud

https://github.com/appsmithorg/appsmith/assets/94514895/8ddf7580-47d9-4eee-8c0d-bc1c350d179c
seems to have got fixed with some other PR, this is not reproducible anymore

With different steps (refreshing the page), the issue is happening for me on prod:
https://github.com/appsmithorg/appsmith/assets/1189106/2a0faea3-4403-414e-838b-c17a0ad9de2e
@rohan-arthur Can you please confirm if the issues is reproducible on your end ?


WaveViewer display issue in WinForms

Here is 1 sec of sound plotted

Here is 2 seconds. Note the truncation.

AutoScroll, is true but I'm not seeing any scrollbars.  AutoSize is true but seems to have no effect either.
The code I'm using is
        int secs = 0;
         private void button1_Click(object sender, EventArgs e)
        {
           // Display the waveform of an extract of the file
            var reader = new MediaFoundationReader("sample.mp3");
            var stream = new WaveOffsetStream(reader, TimeSpan.Zero, TimeSpan.FromSeconds(30), TimeSpan.FromSeconds(secs));
            waveViewer1.WaveStream = stream;
            secs++;
        }

How do I get the wave viewer control to fit the data to the width of the control?

The following video details how to implement a FitToScreen.feature which is what I was looking for.
C# Audio Tutorial 11 - Plotting Audio Waveforms Part 2
Video https://www.youtube.com/watch?v=BP2MhB2KQe0
Source Tutorial11.zip


Poetry install

@Sosnowsky Could you please check whether you can install the package through
pip install blobmodel

and the dev version with poetry?

Seems to work fine from the fusion machine


allow printing floats. add LibC.memchr

Allow the following program to work.
puts 3.4

Very minimal but came along the long way while trying to make "spec" run.
It there any preferred source of documentation for api or if it works we are fine?
Should we define a #TODO to highlight if flag?(:windows) to be removed?

I needed to change branch name and github decided to close #2.

It there any preferred source of documentation for api or if it works we are fine?

We have to decide which libc will be used at the end. It could be glibc, it could be Microsoft's CRT. Everything in src/lib_c/x86_64-windows-gnu will need to be revisited later. But almost everything will be source compatible I think, so if it works it should be safe.

Should we define a #TODO to highlight if flag?(:windows) to be removed?

Which if flag?(:windows)? I didn't understand

Ok, definitely Microsoft's CRT should be. As native as possible.
Regarding the flag checks, while trying to make things work sometimes we might add some if flag?(:windows) that will allow compilation yet they are feature incomplete. I was aiming for highlighting things to be revised, yet I am probably overthinking.
When merging PR, feel free to squash instead of merge them if you prefer a linear history. But is a matter of taste.

Ok, definitely Microsoft's CRT should be. As native as possible.

It may require using Microsoft's linker and installing some subset of Visual Studio (probably the Windows SDK), but some research will have to be made here. But I agree this is the preferred goal.

Regarding the flag checks, while trying to make things work sometimes we might add some if flag?(:windows) that will allow compilation yet they are feature incomplete. I was aiming for highlighting things to be revised, yet I am probably overthinking.

I don't think it will be needed. The whole thing will have to be reread and pass specs before the big merge anyway. Those quick fixes will eventually be noticed and fixed.


Hotel-Website

Description
Fixes #214
I have a cool Hotel Website Template
Type of issue fixes

[ ] New feature (non-breaking change which adds functionality)

Explain the Testing instructions
Test Configuration:

Operating system: Windows
Version: 10
Text-editors used: VS Code

Checklist:

[x] My code follows the style guidelines of this project

[x] I have performed a self-review of my own code

[ ] I have made corresponding changes to the documentation

[x] New and existing unit tests pass locally with my changes

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

@Anish-solve Parkhi merge conflicts


Machine exit actions have been called twice

Description
I have a machine with two children: one is spawn-ed and the other is invoke-ed.
They all have entry and exit actions which is a spy for testing.
Expected Result
after the interpreter.stop(), the parent and two children exit actions will be called once.
Actual Result
They have been called twice instead of once.
Reproduction
https://github.com/wechaty/bot5-assistant/blob/ffb902ebfa2513630a92309ce9091a28c80dbdfc/src/mailbox/xstate-child-exit-order.spec.ts#L61-L68
Additional context
I want to do cleanup whenever the machine (actor) has been stopped.
One more thing: I noticed that the exit order is not the same as the entry order.

Entry order: spawn, invoke, parent
Exit order: parent, spawn, invoke

I think the exit order should be exactly the reverse order of the entry?

Have you tried with 4.27.0? This should have been just fixed there: https://github.com/statelyai/xstate/releases/tag/xstate%404.27.0

@Andarist Thank you very much for the information!
I can confirm that this issue has been fixed by the 4.27, appreciate your fix!

And may I ask your option for the exit order is not as same as the entry order problem?

Entry order: spawn, invoke, parent
Exit order: parent, spawn, invoke

I think the exit order should be exactly the reverse order of the entry, or do we have any reason that make those order like this?

The exit actions order is being fixed here: https://github.com/statelyai/xstate/pull/2903

Aha, brilliant!


drivers: mmio32: Add GPIO_OUTPUT_INIT_LOGICAL to supported flags

Allow GPIO_OUTPUT_INIT_LOGICAL as a flag supported flag.  Since we
fake polarity, we should allow GPIO_OUTPUT_INIT_LOGICAL to be set and
ignored.
This allows samples like blinky to work as it sets GPIO_OUTPUT_ACTIVE
which we have GPIO_OUTPUT_INIT_LOGICAL set.
Signed-off-by: Kumar Gala<EMAIL_ADDRESS>

Closing this PR, at this wasn't proper fix.  Fix in #32372.


Changes instance of React to require directly from independent package

As per 0.26 React module needs to be required for its independent package.

Thanks for the effort @BilalBudhani. This should be a priority @FaridSafi.

Can confirm this is an issue with the current version, can this PR be merged? @FaridSafi