Kind wildcarding/discovery in kubectl

Forked from #3233.
I think the last proposal was to support:
kubectl describe all
kubectl describe all foo

where "all" implies all known kinds.
@brendandburns @smarterclayton

One wrinkle - should all include "namespaced" resources and "cluster resources", just "namespaced resources", or just "resources you actually have access to view" (because there will be some in that list that an end user probably won't have access to list)
----- Original Message -----

Forked from #3233.
I think the last proposal was to support:
kubectl describe all
kubectl describe all foo

where "all" implies all known kinds.
@brendandburns @smarterclayton

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/issues/5278

Is this a listing call or is it just short-hand for user typing:
kubectl describe pods foo
kubectl describe services foo
kubectl describe namespaces foo
...
In general, not all of resource types support describe yet if I recall, so that should probably be resolved first.
----- Original Message -----
From: "Clayton Coleman"<EMAIL_ADDRESS>To: "GoogleCloudPlatform/kubernetes"<EMAIL_ADDRESS>Sent: Wednesday, March 18, 2015 5:24:30 PM
Subject: Re: [kubernetes] Kind wildcarding/discovery in kubectl (#5278)
One wrinkle - should all include "namespaced" resources and "cluster resources", just "namespaced resources", or just "resources you actually have access to view" (because there will be some in that list that an end user probably won't have access to list)
----- Original Message -----

Forked from #3233.
I think the last proposal was to support:
kubectl describe all
kubectl describe all foo

where "all" implies all known kinds.
@brendandburns @smarterclayton

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/issues/5278

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/issues/5278#issuecomment-83185243

Short hand.  Eventually might be server calculated and cached locally in the config

On Mar 19, 2015, at 11:15 AM, Derek Carr<EMAIL_ADDRESS>wrote:
Is this a listing call or is it just short-hand for user typing:
kubectl describe pods foo
kubectl describe services foo
kubectl describe namespaces foo
...
In general, not all of resource types support describe yet if I recall, so that should probably be resolved first.
----- Original Message -----
From: "Clayton Coleman"<EMAIL_ADDRESS>To: "GoogleCloudPlatform/kubernetes"<EMAIL_ADDRESS>Sent: Wednesday, March 18, 2015 5:24:30 PM
Subject: Re: [kubernetes] Kind wildcarding/discovery in kubectl (#5278)
One wrinkle - should all include "namespaced" resources and "cluster resources", just "namespaced resources", or just "resources you actually have access to view" (because there will be some in that list that an end user probably won't have access to list)
----- Original Message -----

Forked from #3233.
I think the last proposal was to support:
kubectl describe all
kubectl describe all foo

where "all" implies all known kinds.
@brendandburns @smarterclayton

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/issues/5278

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/issues/5278#issuecomment-83185243
—
Reply to this email directly or view it on GitHub.

If its short-hand it should just be "all cluster scoped resources with name foo and all namespace scoped resources in current namespace context name foo".
----- Original Message -----
From: "Clayton Coleman"<EMAIL_ADDRESS>To: "GoogleCloudPlatform/kubernetes"<EMAIL_ADDRESS>Cc: "Derek Carr"<EMAIL_ADDRESS>Sent: Thursday, March 19, 2015 11:53:39 AM
Subject: Re: [kubernetes] Kind wildcarding/discovery in kubectl (#5278)
Short hand.  Eventually might be server calculated and cached locally in the config

On Mar 19, 2015, at 11:15 AM, Derek Carr<EMAIL_ADDRESS>wrote:
Is this a listing call or is it just short-hand for user typing:
kubectl describe pods foo
kubectl describe services foo
kubectl describe namespaces foo
...
In general, not all of resource types support describe yet if I recall, so that should probably be resolved first.
----- Original Message -----
From: "Clayton Coleman"<EMAIL_ADDRESS>To: "GoogleCloudPlatform/kubernetes"<EMAIL_ADDRESS>Sent: Wednesday, March 18, 2015 5:24:30 PM
Subject: Re: [kubernetes] Kind wildcarding/discovery in kubectl (#5278)
One wrinkle - should all include "namespaced" resources and "cluster resources", just "namespaced resources", or just "resources you actually have access to view" (because there will be some in that list that an end user probably won't have access to list)
----- Original Message -----

Forked from #3233.
I think the last proposal was to support:
kubectl describe all
kubectl describe all foo

where "all" implies all known kinds.
@brendandburns @smarterclayton

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/issues/5278

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/issues/5278#issuecomment-83185243
—
Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/issues/5278#issuecomment-83641507

I didn't really intend to support "all " - instead you'd have to say "pods/foo nodes/foo".  That way create can do "pods/foo\nnodes/foo" and you can xargs it.  If you specify a resource type for arg1 i don't think you should be allowed to specify anything except label selectors or --all.
----- Original Message -----

If its short-hand it should just be "all cluster scoped resources with name
foo and all namespace scoped resources in current namespace context name
foo".
----- Original Message -----
From: "Clayton Coleman"<EMAIL_ADDRESS>To: "GoogleCloudPlatform/kubernetes"<EMAIL_ADDRESS>Cc: "Derek Carr"<EMAIL_ADDRESS>Sent: Thursday, March 19, 2015 11:53:39 AM
Subject: Re: [kubernetes] Kind wildcarding/discovery in kubectl (#5278)
Short hand.  Eventually might be server calculated and cached locally in the
config

On Mar 19, 2015, at 11:15 AM, Derek Carr<EMAIL_ADDRESS>wrote:
Is this a listing call or is it just short-hand for user typing:
kubectl describe pods foo
kubectl describe services foo
kubectl describe namespaces foo
...
In general, not all of resource types support describe yet if I recall, so
that should probably be resolved first.
----- Original Message -----
From: "Clayton Coleman"<EMAIL_ADDRESS>To: "GoogleCloudPlatform/kubernetes"<EMAIL_ADDRESS>Sent: Wednesday, March 18, 2015 5:24:30 PM
Subject: Re: [kubernetes] Kind wildcarding/discovery in kubectl (#5278)
One wrinkle - should all include "namespaced" resources and "cluster
resources", just "namespaced resources", or just "resources you actually
have access to view" (because there will be some in that list that an end
user probably won't have access to list)
----- Original Message -----

Forked from #3233.
I think the last proposal was to support:
kubectl describe all
kubectl describe all foo

where "all" implies all known kinds.
@brendandburns @smarterclayton

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/issues/5278

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/issues/5278#issuecomment-83185243
—
Reply to this email directly or view it on GitHub.

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/issues/5278#issuecomment-83641507

Reply to this email directly or view it on GitHub:
https://github.com/GoogleCloudPlatform/kubernetes/issues/5278#issuecomment-83686381

kubectl describe seems to know how to handle:
replicationcontroller, service, minion, node, limitrange, resourcequota, pod
kubectl get seems to know how to print something about:
pod, service, event, namespace, node, status, limitrange, resourcequota, replicationcontroller, endpoints, secret
So yeah, kubectl describe isn't nearly as knowledgeable as get

Delete across all resource kinds was requested by @kargakis in #6511.

We should decide on the shorthand.  The use case discussed in #6511 is really "delete all of the end user facing things in my namespace that match this label".  I don't think it applies to nodes, events, users, tokens, security policies, or other root scoped objects (in this context).  It's probably more like "stop all of these things", rather than delete.  It has to be extensible when other resource types are added (it can be hardcoded, but the implementation has to be something provided via cmd.Factory).
My gut reaction was to define a ResourcesForAlias(resource string) ([]string, bool) on RESTMapper, which would be invoked by resource.Builder to expand the user input.  It probably wouldn't be used in other contexts.


⚠ GitHub has degraded performance

In 50dcc05, GitHub (https://www.githubstatus.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 90 ms

Resolved: GitHub performance has improved in 0d7fcb6.


Error in the documentation

First of all, I would like to thank for such a great tool. I'm building an ERP and it works very good.
I'm just here to point a mistake in the documentation: the example for the popupDetailDate is wrong
You can see the error in this page, when you click in any item it shows the same date as today.
https://nhn.github.io/tui.calendar/latest/tutorial-example16-template-for-popup
I solved this with the following code:
start = start.toDate();
end = end.toDate();
var isSameDate = moment(start).isSame(end,'day');
More than 1 time I had to convert the TZDate to date so moment would work correctly.

@tibelchior
Oh, right. Thanks for pointing it out.
Perhaps you can upload a pull request to fix this if you have a time :)


(enhancement)runner: specify tolerations for experiment pod

Signed-off-by: ksatchit<EMAIL_ADDRESS>
What this PR does / why we need it:

Adds taints toleration support for experiment pods. The intent is to support scenarios that need the chaos-pods (barring helper pods, where applicable) to be launched on specific nodes designated (tainted) for specific purpose.

Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for your reviewer:
Ref dependent PR: https://github.com/litmuschaos/chaos-operator/pull/293
Checklist:

[ ] Fixes #
[ ] Labelled this PR & related issue with documentation tag
[ ] PR messages has document related information
[ ] Labelled this PR & related issue with breaking-changes tag
[ ] PR messages has breaking changes related information
[ ] Labelled this PR & related issue with requires-upgrade tag
[ ] PR messages has upgrade related information
[ ] Commit has unit tests
[ ] Commit has integration tests

Ref Test: https://github.com/litmuschaos/chaos-operator/pull/293#issuecomment-717888531


[charts/buildbuddy-executor] Only set SYS_* environment variables if they are not in the config

This PR prevents adding SYS_MEMORY_BYTES and SYS_MILLICPUS environment variables to the executor pod, if those values are set in the executor config. As documented in the executor config here, these values should only be set either by the environment variables or the config, but not both. This PR reflects those requirements in the helm chart.

Thanks for all of these thoughtful / clean / useful PRs @JamesMBartlett - we'll get these all merged tomorrow if that works for you!

Thanks for all of these thoughtful / clean / useful PRs @JamesMBartlett - we'll get these all merged tomorrow if that works for you!

Sounds great


Translation Brazilian Portuguese

Great!
I will test this as soon as @xou816 approves running the spot-snapshots workflow.

Thank you lucraraujo and as always with translations, ondras! :) Workflow should run

Seems to work just fine

The file needs to be renamed from po/pt-br.po to po/pt_BR.po.

Ok, now it works.

Looks good thank you both! Just curious, should we explicitly modify the existing Portuguese translation to be pt_PT as well? I'll do a bit of reading and then we should be able to merge

Seems like it's right to omit PT (country code) in that case: https://www.gnu.org/software/gettext/manual/gettext.html#Header-Entry

In this PO file field, but not in locale names, ‘ll_CC’ combinations denoting a language’s main dialect are abbreviated as ‘ll’. For example, ‘de’ is equivalent to ‘de_DE’ (German as spoken in Germany), and ‘pt’ to ‘pt_PT’ (Portuguese as spoken in Portugal) in this context.

But it's not very clear as for LINGUAS: https://www.gnu.org/software/gettext/manual/gettext.html#po_002fLINGUAS

I checked in a few projects that uses PO files for translation and they omit the country code "PT". So, the language field for the pt.po can (or should?) be only "pt".
Do you want me to make this change?

It seems to be fine to be more specific too, so let's try as is! :)


Search not working in release mode.

Just to be on the safe side, here are the results of the automated tests run for each release on Flutster:

The result says success for the 40 tests.
Here is where the automated testing is called:
https://github.com/lcuis/search_choices/blob/6d70c86173a977e5d3600efd4cd78a83c96e4b3a/.github/workflows/main.yml#L52


chore: renamed parameter issuer to holder

In order to clarify to correct roles of an operation, rename the parameter issuer to holder in the createVerifiablePresentationJwt Method. In the context the holder ist still an Issuer/Signer of the Presentation JWT, therefore the Type is unchanged.

Address feedback from #58


[pick]fix fix data_sub/data_add func pushdown in jdbcscan

Proposed changes
Issue Number: close #xxx
pick  (#30807)
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


New release, please?

We're using the EDTF library in our code, thanks very much for making it available!
I noticed that you made a change to avoid dependency problems with potentially importing dateutil.relativedelta during the dependency-finding phase of installation. It's something we've worked around, and it's also affecting people using our code.
Please could you push a 0.9.2 release up to PyPI which we could explicitly depend on to resolve this issue?

@zerebubuth thanks for the prod. Sorry this slipped off my radar for so long. I've just published a new package on PyPI.


Feature Error message placement obstructs the circuit elements section in the CircuitVerse simulator.

Title
Error message placement obstructs the circuit elements section in the CircuitVerse simulator.
Description
The error message displayed at the bottom-left corner of the CircuitVerse simulator obscures a part of the circuit elements section. This makes it difficult to access all the elements and looks inappropriate. Moving the error message to the center-top of the screen would improve usability and the overall user experience.
Steps to Reproduce

Go to the CircuitVerse simulator.
Start creating a circuit.
Introduce an error in the circuit (e.g., create a bus contention).
Notice that the error message appears at the bottom-left corner, partially hiding the circuit elements section.

Expected Behavior
The error message should appear at the center-top of the screen so that it does not obstruct the circuit elements section.
Actual Behavior
The error message appears at the bottom-left corner and hides some portion of the circuit elements section.
Screenshots

URL: https://circuitverse.org/simulator

Additional Context
Suggestion: Adjust the CSS to move the error message to the center-top of the screen.

The dropdown arrow in the Circuit Elements section overlaps the names of the categories (e.g., Sequential Elements). This makes the UI appear cluttered and reduces readability. Adding proper padding between the names and the dropdown arrow would improve the design.

Are you working on that?

Yes I am currently working on that
On Wed, 25 Dec, 2024, 9:01 pm Sahil Adit, @.***> wrote:

Are you working on that?
—
Reply to this email directly, view it on GitHub
https://github.com/CircuitVerse/CircuitVerse/issues/5242#issuecomment-2561929897,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4JJX52VJSQS4M3SIK62EOT2HLFULAVCNFSM6AAAAABUFC3WBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRRHEZDSOBZG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Can I work on this?

Yes
On Fri, 27 Dec, 2024, 10:46 am Swastik Ranjan Panigrahi, <
@.***> wrote:

Can I work on this?
—
Reply to this email directly, view it on GitHub
https://github.com/CircuitVerse/CircuitVerse/issues/5242#issuecomment-2563327365,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4JJX5Y465PKGTT36CPEQKT2HTPD7AVCNFSM6AAAAABUFC3WBOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNRTGMZDOMZWGU
.
You are receiving this because you authored the thread.Message ID:
@.***>


Retrievers and Models aren't assignable to their respective base interfaces

I'm specifically using Bedrock and HNSWLib. These are the errors,
Bedrock:
export const multiQueryRetriever = MultiQueryRetriever.fromLLM({
	llm: baseModel,
	retriever: await baseRetriever(),
	prompt: multiQueryPrompt
});

Type 'Bedrock' is not assignable to type 'BaseLanguageModelInterface<any, BaseLanguageModelCallOptions>'.

With a similar error for the HNSWLib retriever.
I believe this causes more errors when using LCEL with RunnableSequence.from() and passing an array containing an LLMChain.
The chain is fully functional if I suppress the type errors and assert the LLMChain as Runnable.

@dosu-bot
Asserting the model and retriever as their respective interfaces works, allowing me to remove the typescript error suppression as follows:
export const multiQueryRetriever = MultiQueryRetriever.fromLLM({
	llm: baseModel as BaseLanguageModelInterface,
	retriever: await baseRetriever() as BaseRetrieverInterface,
	prompt: multiQueryPrompt
});

However, it seems like the intended functionality is for TypeScript to infer this without the need for any type assertions.

Thanks for the report - can you share your package.json and if possible figure out what versions of @langchain/core and/or @langchain/community you have installed?

Sure, let me know if you need anything else.
package.json:
{
	"name": "product-resources-chatbot",
	"private": true,
	"version": "0.0.0",
	"type": "module",
	"scripts": {
		"dev": "vite",
		"build": "tsc && vite build",
		"backend": "cd backend && npx tsc && node index.js",
		"lint": "DEBUG=eslint:cli-engine eslint .",
		"preview": "vite preview",
		"tauri": "tauri"
	},
	"dependencies": {
		"@aws-sdk/client-bedrock-runtime": "^3.485.0",
		"@aws-sdk/credential-provider-node": "*",
		"@smithy/protocol-http": "^3.0.12",
		"@smithy/signature-v4": "^2.0.19",
		"hnswlib-node": "^1.4.2",
		"langchain": "^0.0.214",
		"mongodb": "^5.9.2",
		"undici": "^6.2.1"
	},
	"devDependencies": {
		"@heroicons/react": "^2.1.1",
		"@types/react": "^18.2.46",
		"@types/react-dom": "^18.2.18",
		"@vitejs/plugin-react": "^4.2.1",
		"react": "^18.2.0",
		"react-dom": "^18.2.0",
		"typescript": "*",
		"vite": "^5.0.10"
	},
	"overrides": {
		"langchain": {
			"puppeteer": "^21"
		}
	},
	"prettier": {}
}

langchain version: 0.0.214
@langchain/core version: 0.1.8
@langchain/community version: 0.0.14

Will look into this - in the meantime, can you try setting a resolutions/overrides field on @langchain/core as documented here?
https://js.langchain.com/docs/get_started/installation#installing-integration-packages

I believe this is caused by somehow getting into a state where you have multiple versions of @langchain/core but am not sure how that happened - was thisban existing project that you updated?

I believe I've identified a fix! Will merge and release tonight.

Please try locking the version to 0.1.10 in your package.json as shown here - LMK if that fixes it for you:
https://js.langchain.com/docs/get_started/installation#installing-integration-packages

All working now! As always, I appreciate the speedy fixes.

Awesome! And this type of issue is pretty serious so please ping if you see anything like it again.


Feat #13: integrate carousel into article

Fix #13
Test URLs:

Before: https://main--24life--hlxsites.hlx.page/isabel-beats-incredible-odds
After: https://13-carousel--24life--hlxsites.hlx.page/isabel-beats-incredible-odds

article carousal looks great. 👍🏽


Unreadable error when error highlight overlaps unknown symbol highlight

Version: 0.8.1
Looks related to #60 (resolved in #62)
Known symbol:

Unknown symbol (messed up the class name by deleting last two characters):

Unknown, partly selected so background overridden by selection background

In theme settings I can see background value for Error is the same as foreground for Unknown symbol which doesn't set it's own background, hence the red-on-red issue.

My bad, had an old version of nord 0.4.0 syntax-only plugin installed (alongside the 0.8.1 theme/syntax) that carried the outdated scheme, sorry for false alarm, closing

No problem, glad to see it works for you now 😄
Unfortunately this is a side-effect because the internal ID of the plugin between version 0.4.0 and 0.5.0 which required to manually uninstall the plugin and re-install if from the marketplace again.


[WIP] SharedStoragePool inventory

Recreate new PR for https://github.com/ManageIQ/manageiq-providers-ibm_power_hmc/pull/24

@vfebvre looks like you have to define a Storage subclass under your infra_manager


Duplicate objectives

On nearly every single roll I make, there are duplicate objectives that take up space on the board that could be filled with unique objectives. I'll have quite a numerous amount of squares that say "complete a shrine" or "complete 10 shrines". This is especially an issue on 3x3 boards, where half of the board is just duplicate objectives. The attached image shows just the amount of duplicates I got on one roll for Korok seeds.

More than a quarter of this board is just the same objective with different numbers.

I made a fix on my local machine that seems to work decently enough, but I didn't feel like making a fork etc.
Replacing lines 53 to 57 in the public/modules/board.js file with the following code should work. I tested it with a couple of seeds and they came back unique and stayed the same across browser refreshes so seeds will continue to work.
`        let randEntry;
let randChallengeType = getWeightedRandom(validChallengeTypes, rand);
randChallengeType.weight = Math.round(randChallengeType.weight * challTypeWeightReduce * 100) / 100;  // reduce change to get same challenge type again
randEntry = randChallengeType.getRandomEntry(rand);
const names = entries.map((entry) => entry.name);
for (let i = 0, maxRandomizedAttempts = 20; i < maxRandomizedAttempts; i++) {
// If we do not have a unique entry, try to generate one again, but at most N times
// Because if someone only has two categories turned on, the entries to choose from
// are too few to make a true unique board
if (names.includes(randEntry.name)) {
randChallengeType = getWeightedRandom(validChallengeTypes, rand);
randChallengeType.weight = Math.round(randChallengeType.weight * challTypeWeightReduce * 100) / 100;  // reduce change to get same challenge type again
randEntry = randChallengeType.getRandomEntry(rand);
		// If we have a unique entry - use it
		} else {
			break;
		}
	}

`


Error: RUNTIME_ERR1500: Invalid ASA definition: Total must be a positive number and smaller than 2^64-1

Describe the bug
I am running Pact's CPMM smart contract in AlgoBuilder runtime. It fails on line 1033.
1033: int<PHONE_NUMBER>3709551615
1034: itxn_field ConfigAssetTotal

with the following stack trace
     Error: RUNTIME_ERR1500: Invalid ASA definition: 'undefined'.
    Reason:           [total]: Total must be a positive number and smaller than 2^64-1

      at ITxnSubmit.execute (node_modules/.store/@algo-builder-runtime-npm-5.0.1-79534551d4/package/src/interpreter/opcode-list.ts:4308:4)
      at Interpreter.executeWithResult (node_modules/.store/@algo-builder-runtime-npm-5.0.1-79534551d4/package/src/interpreter/interpreter.ts:547:40)
      at Interpreter.execute (node_modules/.store/@algo-builder-runtime-npm-5.0.1-79534551d4/package/src/interpreter/interpreter.ts:486:23)
      at Runtime.run (node_modules/.store/@algo-builder-runtime-npm-5.0.1-79534551d4/package/src/runtime.ts:990:15)
      at /Users/qumeric/github/cometa-laas/node_modules/.store/@algo-builder-runtime-npm-5.0.1-79534551d4/package/src/ctx.ts:820:23
      at Array.forEach (<anonymous>)
      at Ctx.processTransactions (node_modules/.store/@algo-builder-runtime-npm-5.0.1-79534551d4/package/src/ctx.ts:774:12)
      at Runtime.executeTx (node_modules/.store/@algo-builder-runtime-npm-5.0.1-79534551d4/package/src/runtime.ts:954:31)
      at new PactContext (test/pact-context.ts:57:22)
      at setUpCtx (test/pact-happy-path copy.ts:17:15)

I tried to make the number smaller and got the following weird behaviour:

18446744073709550615 (2^64 - 1 - 1000) still fails
18446744073709541615 (2^64 - 1 - 10000) passes.

I am not sure which exact number starts to cause trouble.
Also, a related small issue: error says the number should be smaller than 2^64-1 while actually, it should be smaller than 2^64.
Environment

OS: macOS
Node.js version: 18 fresh
algob version: master

error says the number should be smaller than 2^64-1 while actually, it should be smaller than 2^64.

True - in other words, it should be <= 2^64 - 1

 Error: RUNTIME_ERR1500: Invalid ASA definition: 'undefined'.

the 'undefined' is related to the ASA name - since it is created using an inner transaction we should inherit it from itxn_field ConfigAssetName

fixed in #775


Allow the CLI to support multiple input files

Done:

Implementation
Fix unit tests
Extra unit tests
Update the website
Update E2Es
Bonus: Fix a bug in the core library where if multiple inputs depend on the same license then it appears twice in the output

Todo:

~Fix unit tests~
~Extra unit tests~
~Update the website~
Talk with @tobybessant about how we want to e2e test this... Do we want a second e2e testbed project with tests dedicated to testing multiple inputs? That second testbed could reference the package.json from /e2e/npm-package alongside it's own.

We should aim to e2e it in the way that best matches what the end user will be using it - to be honest I'd forgotten what the use case is but the Trello entry says it was to help cover monorepo cases... so do we want to create a test bed that deals with that??

@tobybessant - quite possibly, yeah 😛
I've added what I was envisioning. Let me know what you think


When run flutter gallery loaclly, faced with exception with Syntax Error when try to pub get.

Steps to Reproduce

Follow the document and switch my channel to master and upgraded.
Clone
git clone flutter/gallery project locally
follow the step run flutter pub get
pumped out:

Generating synthetic localizations package failed with 1 error:
Exception: Found syntax errors.

Logs

Logs
       Exception: Found syntax errors.
       #0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
       #1      generateLocalizationsSyntheticPackage (package:flutter_tools/src/dart/generate_synthetic_packages.dart:67:5)
       <asynchronous suspension>
       #2      PackagesGetCommand._runPubGet (package:flutter_tools/src/commands/packages.dart:132:7)
       <asynchronous suspension>
       #3      PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:175:5)
       <asynchronous suspension>
       #4      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1275:27)
       <asynchronous suspension>
       #5      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #6      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
       <asynchronous suspension>
       #7      FlutterCommandRunner.runCommand.<anonymous closure>
       (package:flutter_tools/src/runner/flutter_command_runner.dart:290:9)
       <asynchronous suspension>
       #8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #9      FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)
       <asynchronous suspension>
       #10     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:64:9)
       <asynchronous suspension>
       #11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
       <asynchronous suspension>
       #12     main (package:flutter_tools/executable.dart:91:3)
       <asynchronous suspension>

Flutter doctor shows
[✓] Flutter (Channel master, 3.7.0-13.0.pre.63, on Microsoft Windows [版本 10.0.22621.963], locale zh-CN)
• Flutter version 3.7.0-13.0.pre.63 on channel master at C:\src\flutter
• Upstream repository https://git.sjtu.edu.cn/sjtug/flutter-sdk.git
• FLUTTER_GIT_URL = https://git.sjtu.edu.cn/sjtug/flutter-sdk.git
• Framework revision 393e156c23 (5 hours ago), 2022-12-23 20:38:23 -0500
• Engine revision e3edfadbda
• Dart version 3.0.0 (build 3.0.0-63.0.dev)
• DevTools version 2.20.0
• Pub download mirror https://mirror.sjtu.edu.cn/dart-pub
• Flutter download mirror https://mirror.sjtu.edu.cn
[✓] Windows Version (Installed version of Windows is version 10 or higher)
[✗] Android toolchain - develop for Android devices
✗ Unable to locate Android SDK.
Install Android Studio from: https://developer.android.com/studio/index.html
On first launch it will assist you in installing the Android SDK components.
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
If the Android SDK has been installed to a custom location, please use
flutter config --android-sdk to update to that location.
[✓] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[✗] Visual Studio - develop for Windows
✗ Visual Studio not installed; this is necessary for Windows development.
Download at https://visualstudio.microsoft.com/downloads/.
Please install the "Desktop development with C++" workload, including all of its default components
[!] Android Studio (not installed)
• Android Studio not found; download from https://developer.android.com/studio/index.html
(or visit https://flutter.dev/docs/get-started/install/windows#android-setup for detailed instructions).
[✓] VS Code (version 1.74.2)
• VS Code at C:\Users\andre\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.56.0
[✓] Connected device (3 available)
• Windows (desktop) • windows • windows-x64    • Microsoft Windows [版本 10.0.22621.963]
• Chrome (web)      • chrome  • web-javascript • Google Chrome 108.0.5359.125
• Edge (web)        • edge    • web-javascript • Microsoft Edge 108.0.1462.54
[✓] HTTP Host Availability
• All required HTTP hosts are available

@AndrewWayne I tried reproducing this issue on the latest master channel (3.7.0-13.0.pre.68) but can't see it. Can you double-check on Source Control (VSCode) or Git > Local changes (Android Studio) if there are any unintentional changes?


insertHTML unwanted break / div

I want the editor to initialize as a bulleted list, but am having the following issue:
(note: I have the toolbar hidden since it takes up too much space for my uses)

Inserting a ul

$scope.trixInitialize = function(e, editor) {
  editor.setSelectedRange([0,0]);
  editor.insertHTML('

');
}

results in a list followed by an empty div:

I would expect the list to be inserted inside the div like insertString:

$scope.trixInitialize = function(e, editor) {
  editor.setSelectedRange([0,0]);
  editor.insertString('Hello World');
}

Hello World

Am I missing something?

can anyone help me on this


Command to show all supported dictionaries.

[ ] show all dictionaries with command tibet show dictionaries. Maybe shorter.
[ ] show information on a particular dic with command tibet show -d <id or name of dic>

The data about all dictionaries.

I am working on this.

@princerachit How do you do?


Editor Popups with single-window mode lose focus too quickly

Godot version
4.0b16
System information
Linux/Manjaro KDE Plasma/X11
Issue description
There are two (and a half) separate, but I suspect related issues at hand. They only happen when the EditorSettings property interface/editor/single_window_mode is enabled.

While in the Script Editor, any of the top MenuBar popups disappear right after the button is clicked. This does not happen if the 2D or 3D views are active;

Additionally, right-clicking a property in the EditorSettings dialog exhibits this behavior regardless of the currently active viewport. Interestingly, this does not happen in the ProjectSettings dialog.

Double-clicking a node in the scene tree to rename it too quickly will lose focus. If the double-click speed is not fast enough to lose focus, clicking on the selected text input field will make it lose focus. This does not happen when renaming a node with the F2 shortcut.

(Sorry, can't record the issue at the moment, OBS broke with the latest system update 🙁)
Steps to reproduce
Enable single-window mode in the Editor Settings.
To reproduce the issues in order:

With the Script Editor active, try to activate any of the menu bar items (the renderer dropdown also has this issue);
In the EditorSettings dialog, try right-clicking any property;
Try double-clicking a node in the scene tree to rename it.

Minimal reproduction project
N/A

I can reproduce this issue as well. Arch Linux and KDE Plasma
One thing I noticed is that it occurs whenever you have focused a TextEdit, including the Script Editor
In the example below after I focus on "Up direction" the issue appears.
https://user-images.githubusercontent.com/30713947/215248930-5eac4f50-e66a-4ffd-98f9-87cb9eae14d0.mp4

I can replicate this with v4.0.beta.custom_build [17a859735] on Debian X11 Xfce.

I can't reproduce it on the current master. Should be fixed by the IME focus changes.


Multiple CDNs for identical stream

I currently have my broadcast on multiple servers, and do a simple client-side random to decide what source to use in that client's player.
Would it be possible to have the same peer network for all CDNs? Does this happen automatically based on the hash of the files? If not, is there some way to have control over this?
Thanks in advance.

Provide a signaling server address built by individuals, and purchase the right to use it for one year, wss://tracker.dplayer.club/


combine bootstrap css/js file for faster loading, create source maps for each

enhance page loading time by combining all bootstrap js and css files into minify files respectively
add sourcemap files for the js and css files for easy debugging in console/developer tool

closing this per conversation with Ivan.


Move the signing of deposit agreement to the end of the workflow

When users clicks submit, the deposit agreement popups up asking him/her to check a box.
mimic and reuse as much as possible from the proxy submission workflow (where the approver submits the submission).

When creating a new submission, on the new/metadata step, there is a checkbox for a deposit agreement to JScholarship. The goal of this ticket is to remove that step and instead have a popup when submit is clicked? What about the author entry which is the only other part of the new/metadata step?

@markpatton, yes the goal of this ticket is remove the deposit agreement text and its associated checkbox from the metadata step. add a popup when submit is clicked. This ticket is only concerned with the agreement, and no other data.

There is different logic for agreementText in app/controllers/submissions/detail.js. A good outcome of this issue would be to normalize the handling of agreementText, possibly with a service.

@markpatton that sounds great. please feel free to improve the overall state of the code involving deposit agreement. From the user's view, I prefer the way it's handled at the end of the Proxy Submission being approved


cannot verify user and the normal ropro does not do this

Describe the bug
cannot verify user and the normal ropro does not do this
To Reproduce
Steps to reproduce the behavior:

Go to 'roblox.com/home'
Click on 'verify my user'
See error

Expected behavior
the normal ropro does not do this
Screenshots
https://youtu.be/QYK4nN57JY4

Desktop (please complete the following information):

OS: [e.g. Windows 10 64bits ]
Browser [e.g. chrome]
Version [e.g. Version 114.0.5735.110 (Build officiel) (64 bits)
]
Additional context
for the browser with ropro not pached
the version is microsoft edge Version 114.0.1823.43 (Version officielle) (64 bits)
and I tested without the other extensions and it didn't work

can't fix and won't fix.
more information: the verification endpoint does not go through the proxy - only things related to verifying your subscription


[#6366] Allows to set ServerReuqestFactory object for some of class

Codecov Report

Merging #6367 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #6367      +/-   ##
==========================================
- Coverage   39.62%   39.61%   -0.01%
==========================================
  Files        3064     3064
  Lines       91432    91439       +7
  Branches    11842    11842
==========================================
- Hits        36230    36226       -4
- Misses      52218    52228      +10
- Partials     2984     2985       +1

Impacted Files
Coverage Δ

...ctor/receiver/grpc/service/StatServiceFactory.java
0% <0%> (ø)
:arrow_up:

...t/collector/receiver/grpc/service/SpanService.java
0% <0%> (ø)
:arrow_up:

...ctor/receiver/grpc/service/SpanServiceFactory.java
0% <0%> (ø)
:arrow_up:

...t/collector/receiver/grpc/service/StatService.java
0% <0%> (ø)
:arrow_up:

...iver/grpc/service/DefaultServerRequestFactory.java
0% <0%> (ø)

.../collector/receiver/grpc/service/AgentService.java
0% <0%> (ø)
:arrow_up:

...ver/grpc/service/AbstractServerServiceFactory.java
0% <0%> (ø)
:arrow_up:

...llector/receiver/grpc/service/MetadataService.java
0% <0%> (ø)
:arrow_up:

...iver/grpc/service/SimpleRequestHandlerAdaptor.java
0% <0%> (ø)
:arrow_up:

...p/pinpoint/rpc/client/WriteFailFutureListener.java
56.25% <0%> (-18.75%)
:arrow_down:

... and 7 more

Continue to review full report at Codecov.

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


Update usage.mdx

fix: close InputLeftElement correctly

Closes #
📝 Description

Add a brief description
Just fix a simple mistake

⛳ Current behavior (updates)

Please describe the current behavior that you are modifying

🚀 New behavior

Please describe the behavior or changes this PR adds

💣 Is this a breaking change (Yes/No):
No

📝 Additional Information

Thanks @mehdimoozeh for this PR. Closed in favor of another PR fixing this aswell.


cleanup should remove the fabric8-environments too

I was just going to take a look at this unless you were planning to?  Was also going to make sure only one is created and avoid the error during gofabric8 deploy.

sounds good - go for it! :)

ok great

great!!!


Update base64 requirement from 0.13.0 to 0.21.5

Objective

Update base64 requirement from 0.13.0 to 0.21.5.
Closes #10317.

Solution

Bumped base64 requirement and manually migrated code to fix a breaking change after updating.

 See this thread: https://nitter.net/mycoliza/status/1708933310548935148
I suggest we switch to data-encoding.

@james7132 I noticed this got stuck in the merge queue due to a never-starting job so I just updated the PR.
I also noticed that some bevy crates target ron ^0.8 and some others 0.8.0. 0.8.0 depends on base64 ^0.13 while 0.8.1 on ^0.21. Should we try to change the requirement for ron to be 0.8 across the board to consolidate? I can do this as a follow up.

@mockersf @alice-i-cecile @james7132 bumping this one as it was added to the merge queue a while ago but since one of the CI jobs hanged it never got picked up. Could any of you please check it again and merge if you think it's good to go?

I also noticed that some bevy crates target ron ^0.8 and some others 0.8.0. 0.8.0 depends on base64 ^0.13 while 0.8.1 on ^0.21. Should we try to change the requirement for ron to be 0.8 across the board to consolidate? I can do this as a follow up.

It's already taking the latest version, you can check with cargo tree --invert ron --target all


feat(packages/test): ✨  Add new groups: emoji and sample

What is the purpose of this Pull Request?
Added a new modules with snippets:

emoji
sample

Type of this Pull Request

✨ Implementing a new feature
🐛 Bug fix
📝 Documentation update

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

179 of 186 (96.24%)  changed or added relevant lines in 2 files are covered.
11 unchanged lines in 1 file lost coverage.
Overall coverage increased (+2.5%) to 95.284%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

packages/test/source/unit/unit.ts
54
55
98.18%

packages/test/source/emoji/emoji.ts
125
131
95.42%

Files with Coverage Reduction
New Missed Lines
%

packages/test/source/unit/unit.ts
11
89.04%

Totals

Change from base Build<PHONE_NUMBER>:
2.5%

Covered Lines:
1547

Relevant Lines:
1591

💛  - Coveralls


removed unused imports

Signed-off-by: therealansh<EMAIL_ADDRESS>Pull request
Description
This PR removes unused imports.

Related

Related Issues: fixes #996

Checklist

[x] The RFC, if required, has been submitted and approved
[x] Any user-facing impact of the changes is reflected in docs.tremor.rs
[x] The code is tested
[x] Use of unsafe code is reasoned about in a comment
[x] Update CHANGELOG.md appropriately, recording any changes, bug fixes, or other observable changes in behavior
[x] The performance impact of the change is measured (see below)

Performance

Coverage increased (+0.005%) to 83.81% when pulling f4a44f5dd4cf1f02288eaac154f4e69ec533f78c on therealansh:uimport into dbf6448d0b4b93b7ea5ad1504019d621a4566660 on tremor-rs:main.


chore: consider passing in the asset id as a prop and querying for a single asset using it

suggestion (non blocking): I would consider passing in the asset id as a prop and querying for a single asset using it
query Asset {
  asset(assetid: ID!) {
    ...
  }
}

Originally posted by @mattrussell36 in https://github.com/vegaprotocol/frontend-monorepo/pull/960#discussion_r943206567

Closing as querying all assets is fine for now


[Lab documentation] Query runtimes

Hi, as discussed, I'm leaving the image intended for a docs page explaining query runtimes. The image of Lab is from figma, just to provide context, but if there's going to be an image of Lab on docs, it would probably be smarter to create a screenshot (to make sure there's no discrepancies between design and implementation).
Thanks in advance! And let me know if I need to resend this image because of quality or whatever.


The workflow “Test & Deploy” fails on pull requests created by dependabot

Test & Deploy / Check organization membership completely fails on pull requests created by dependabot:
Run<EMAIL_ADDRESS>Error: Error while trying to establish team membership: GraphqlResponseError: Request failed due to following response errors:
 - Could not resolve to a User with the login of 'dependabot[bot]'.

Maybe we should consider switching to jamessingleton/is-organization-member. That action shouldn't fail on bots and also doesn't require a personal access token.

@lkiesow I decided against checking organization membership because:

In order to check whether a member is part of the organization or not, the members must have their "Organization Visibility" set to Public.

If you look at https://github.com/orgs/opencast/people, only 9 out of 51 have it set to Public.


You should only be targeting one element and adding only one class at a time. Altogether, your three individual selectors will end up adding the three classes shake, animated, and btn-primary to #target1.

Challenge Name: Target the same element with multiple jQuery Selectors

www.freecodecamp.com/challenges/target-the-same-element-with-multiple-jquery-selectors
Issue Description: Note message incorrect.

In the descriptions is states:
Note: You should only be targeting one element and adding only one class at a time. Altogether, your three individual selectors will end up adding the three classes shake, animated, and btn-primary to #target1.
This is not correct, as from this msg above one understands that all 3 classes (shake, animated, and btn-primary) will be applied (only) to #target1... and that is not true.
Browser Information

Browser Name, Version:
Operating System:
Mobile, Desktop, or Tablet:

Your Code

Screenshot

@educrvz can you elaborate a bit on your concern? I don't see any inconsistencies in the text. Each of the instructions is consistent with the statement

You should only be targeting one element and adding only one class at a time.

And then text following that will also be true after applying the three classes. The parenthetical you added of (only) does make that statement not true. Meaning that those three classes added all do not apply to just #target1. However, there is no only in the text.
Also, if you could give a suggested change in the instructions, that'll help clarify your concern for the wording of in this challenge. Thanks!

How about

You should only be targeting one element/class/id and adding only one class at a time.

Maybe "one element" can easily be mistaken to mean "one HTML element".

Thank you for taking the time to read my issue. After reading it through a few times I understand the instructions and they are correct.
I believe it would help the user if you could:
Change the instructions, so that target1 shakes. This would make it visually clear to the user, that all buttons and btn have classes animated and btn-primary, but on #target1 has all 3 (animated, btn-primary and shake).
Either way, thanx again!


There is no callback in the document like onUnchoose

There is no callback in the document like onUnchoose

Hi,
Is there any particular reason that the event "unchoose" is missed in the document?
In some scenarios, this event is important.
For example, if user select an item but doesn't actually start drag it. Then, if it requires to hide/show some DOM when user selects, then it would be impossible to do the opposite when user un-select that item.
Thanks so much.

@Guobacai Use onDrop

Thanks so much for such quick response.
But, I think "onDrop" is not exactly same to "onUnchoose". In our case, we must hide some DOM whenever user selects the dragging item. And, at this time, the "start" event and "end" event have not been sent. If user doesn't drag the item, we must reply on the "unChoose" event to show the hidden DOM again.
Also, the "onDrop" is not triggered. By looking at the code, there is a private method "_onDrop". The "unchoose" event is triggered inside of this function. But, no "drop" event is triggered.
Is there any particular reason that we shouldn't use "unchoose" event?
We are using sortablejs 1.7.0.

Thanks so much @owen-m1

@Guobacai I just found that there is an unchoose event fired here


Shader-based image undistortion

Cv2.undistort() takes CPU time. Moreover, it also involves with some redundant conversion between Cv2 and Unity.
I guess this kind of image undistortion can be implemented with (pixel) shader.

I already implemented Unity shader for image undistortion (2a34f0f15bf0ef92d892b984433e21b8b097248e).
However, I am not fully sure it is identical with OpenCV's undistort. Futher investigation is needed.


Questions about Midas Training

Hello,
First of all, I would like to say thank you for your work.
I'm going to retraining the MiDas model. However, MiDas repository does not have a train code.
Is it possible to train the MiDas model using your train code?
Or have you ever trained the MiDas model?
The dataset is NYU v2.
Thank you

Hi,
Thank you for your message,
To the best of our knowledge, the current implementation is for DPT, I am not sure if DPT and MiDas are the same architecture. I will double check that,
If this is not the case, I think that it is possible to train MiDas, but you have to come up with your own implementation of it, and replace the variable model at Trainer.py. If you can come up with your implementation feel free to send us a Pull Request and we will review it
Thanks!

Thank you for your kind reply.
I will proceed by referring to the "Trainer.py" you mentioned.
I have a question.
Your Loss Function has ScaleAndShiftInvariantLoss.
I would like to know if you are referring to the link below.
Loss function of MiDas
Thanks!

Hi,
Thank you very much for your message. I can confirm you that we use the same loss as MiDas as we have referred to the link that you have shared.
That would be great ! Looking forward to your implementation

Hi,
Thanks for the great repo.
For the loss, I wonder if the target is in the disparity space.
And if it is applicable to use the median version for training.
https://gist.github.com/ranftlr/1d6194db2e1dffa0a50c9b0a9549cbd2
Thanks!


AYS service daemon

What
One or more long running actions that can be optionally configured per service.
Why
We need this to monitor logging from zero-os nodes. Basically the zero-os logging will spit out a standardized log format via a pub/sub mechanism from which events can then be propagated to the designated AYS service via calling a standardized method on it.
When should the daemon be running
Anytime the service has status running, as long as it did not stop itself. If an exception is raised, AYS should restart it if the service is still "running".
How
The action should be implemented as an async method, not using a designated thread.
How to stop the daemon
def my_daemon():
    # stop daemon
    return True

I think the correct approach is to avoid running in the server's main thread. We expose APIs that allow people to create their own actor templates or update existing ones.
This allows for anyone to intentionally or unintentionally block the main process.
Instead, I believe this should be implemented using the job, by firing up a coroutine. They're inexpensive and are a lot less harmful to the health of the server. However, we need to consider scalability.
The other approach is to run all "long running" jobs in a different thread than the main server. So if one blocks, at least it blocks only the other long running jobs.

I'm not in favor of this, correct me if I'm wrong. Having this feature will introduce bugs into AYS. at least code written in a wrong way can just block ays main execution, and we don't have control on the service actions code by any means.

So here is the current situation.
AYS runs on top of an event loop. Since we can't predict what code is going to be run in the jobs, we execute each job in its own thread, so we are sure to never block the event loop.
Now, with this new long running job that we need, we can't use the current implementation cause that won't scale. We could end up with 1000+ threads, that not going to work.
So the idea was to use a real coroutine to run the long runnning job. But, in this case, only asynchronous code can be used, cause other wise any blocking call would block the event loop.
I agree that this is dangerous since we rely on user doing the right thing. So it's all about documenting this properly.
On the other hand I don't have any other idea for now how we could do it.

We're currently investigating an approach that combines greenlets in a sanic task.

We have initial working FR: https://github.com/Jumpscale/ays9/pull/112
Problem:

When having a blocked AYS server due to blocking code in the coroutine we need a way to recover. restarting AYS will start ays in blocked state.

Suggestion: start the long running jobs in a thread when --dev is passed to ays instead of deleting the service.


The link in the Cargo.toml is wrong

The link in Cargo.toml is wrong, you write https://github.com/tree-sitter/tree-sitter-qmljs
and
include_str!("../../queries/highlights-typescript.scm"),

what does this line mean?

And seems that you have realize the highlight of neovim , why not make a pr to nvim-treesitter?

The link in Cargo.toml is wrong and
include_str!("../../queries/highlights-typescript.scm"),

what does this line mean?

I see ,you have write a makefile..

I see ,you have write a makefile..

Yep. Maybe it's better to add these symlinks to the repository.

And seems that you have realize the highlight of neovim , why not make a pr to nvim-treesitter?

I don't know neovim. would be nice if you (or neovim user) make a pr. thanks.

emmmm...
I mean
the repository in Cargo.toml, I think it should from
repository = "https://github.com/tree-sitter/tree-sitter-qmljs"

to
repository = "https://github.com/yuja/tree-sitter-qmljs"

repository =

Auto-generated code was wrong. Fixed, thanks.

repository =

Auto-generated code was wrong. Fixed, thanks.

and I think you should better publish a new version of package to crate?

and I think you should better publish a new version of package to crate?

will do in a day if there are no other problems.

@yuja This prevents the parser from being correctly installed from archive on Windows (which doesn't support symlinks outside admin/dev mode). Is this strictly necessary? Submodules would be an alternative if you need it.


Added support for int8 and int16 datatypes

This PR aims at introducing support for int8 and int16 data types in the package intercom

Pull Request Test Coverage Report for Build 25

4 of 12 (33.33%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-13.8%) to 86.207%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

package/int16.go
4
6
66.67%

package/int8.go
0
6
0.0%

Totals

Change from base Build 24:
-13.8%

Covered Lines:
50

Relevant Lines:
58

💛  - Coveralls

@mufti1 PTAL :)

@mufti1 PTAL :)

@gunjan01 thanks for PR i'll check it

@gunjan01 merged


Using the deprecated github.com/gorilla library

What happened:
The project uses the https://github.com/gorilla library to stream the VM's serial console (and maybe for other usages).
The gorilla project is not maintained since the end of 2022.
What you expected to happen:
Replace the gorilla library with a maintained library.
How to reproduce it (as minimally and precisely as possible):
Steps to reproduce the behavior.
Additional context:
Add any other context about the problem here.
Environment:

KubeVirt version (use virtctl version): N/A
Kubernetes version (use kubectl version): N/A
VM or VMI specifications: N/A
Cloud provider or hardware configuration: N/A
OS (e.g. from /etc/os-release): N/A
Kernel (e.g. uname -a): N/A
Install tools: N/A
Others: N/A

Great catch. We can switch to the built-in library (https://pkg.go.dev/golang.org/x/net/websocket).

/reopen
/remove-lifecycle rotten
/lifecycle frozen

There is no immediate need  to switch anymore: It is maintained again: https://gorilla.github.io/blog/2023-07-17-project-status-update/

Thank you for the update @rmohr

There is no immediate need to switch anymore: It is maintained again: https://gorilla.github.io/blog/2023-07-17-project-status-update/

/close


Calling player's api function

Hello,
How can we call api functions such as setVolume(newVolume)?

Thinking inside the React paradigm the correct way would be to pass the volume in as a prop and have the wrapper component call the API function if needed. However, since this is not implemented yet the way to do it currently would be to hook into the onReady callback prop (which gets passed the wavesurfer instance) and either set the volume there or cache the instance in a variable and call the setVolume method on that.


Create a Descriptor.Mod file? What?

I think the title says it all, I have no idea how to do that, I searched for ''Cheat Mod CK3'' because they usually bring interesting features and I got this in first option, I arrive, I download it as usual and put it in documents, then I read that it says that I must create a Descriptor.Mod, and you know, I have no idea how to do that.

Hello,
Thanks for the interest in my little mod. The Descriptor.mod file is a file with information about the mod, necessary for Steam Workshop or Paradox.
Nothing special:
version="0.9.0"
tags={
	"Decisions"
	"Gameplay"
	"Utilities"
}
name="Bonekits Cheat Menu"
supported_version="1.*"

version => means the version of the mod
tags => how to find the mod in Steam Workshop
name => name of the mod
supported_version => the game version needed for the mod.

Thank you so much!
The mod is awesome!


Let AbstractDb implement AdapterAwareInterface

At the moment Zend\Validator\Db\AbstractDb has a method setAdapter to set the database adapter. I think the canonical way of doing that would be to implement the Zend\Db\Adapter\AdapterAwareInterface's setDbAdapter() instead, maybe by using the Zend\Db\Adapter\AdapterAwareTrait.

Originally posted by @larsnystrom at https://github.com/zendframework/zend-validator/issues/32

@michalbundyra, this one has been already implemented:
https://github.com/laminas/laminas-validator/blob/master/src/Db/AbstractDb.php#L25-L27

@simivar, thanks.


Hello Triangle crashes Visual Studio Graphics Debugger

I am trying to use the Visual Studio Graphics Debugger in order to understand more about how DX12 works under the hood but the Hello Triangle crashes it when I try to capture a frame.
The following is a screenshot of my Visual Studio About dialog:

As you can see I also have the optional Graphic Tools installed:

In order to reproduce the crash, just launch the Hello Triangle sample with ALT+F5. When the application launches, hit Print Screen or click the Capture Frame button. When I do this I get the following in Visual Studio:

And the callstack is massive but most calls are in this DXCaptureReplay.dll.
In summary, my final question is whether this is a problem with the sample or with the debugger and where is the best place to report this.
Thanks

From what I understand the VS Graphics Debugger is no longer actively supported, it looks like VS GD can only be used up to Windows SDK 14393 which is pretty old by now: #586

The problem is you use never version of API (SDK above 14393) and it is not supported by GD, use pix instead

I see, didn't know the graphics debugger is no longer supported. Thanks for the info. I will try pix.


OpenStreetMap import will break if links aren't updated before May 7

http://planet.openstreetmap.org is available over https, and will start redirecting to https on 2018-05-07.
Your project seems to be using osmosis, which will not follow redirects by default.
Would it please be possible to update all files from http://planet.openstreetmap.org to httpS://planet.openstreetmap.org before then?
Ideally, would it be possible to make all requests to openstreetmap.org over https? All services respond over https and will start redirecting soon.

Sure. In fact this entire tutorial needs to be re-written because of developments by @mpadge on the R side and probably on the QGIS side with QGIS3. Many thanks for the suggestion.


Notebooks desync issues

user issues described in here :  https://github.com/microsoft/vscode/issues/163514?

Is this a high-level tracking issues for desyncs in Notebooks, @setaskin?

I have been evaluating liveshare for teaching a few classes and had some if the issues described here.  We also had some issues where cell execution hung indefinitely  - not sure if that was related.  I had this issue with large numbers of participants (12 or so) and also 1 or 2 participants.  There were several distinct desync cases between 11:30 and 11:50 on the 13th of January (local time).
I will try to gat a screen recording or screenshot next time it occurs.  But the general idea is that the client's notebook cell might show print("Hello") but the Host sees print("Hello".  When the client runs the cell they get a syntax error indicating the missing ) but only the host sees it.  I have log files from live share: export logs.  I see not too much in the time range except: Assertion Violation: Buffer contents - with line endings - should match VS Code document text


example does not compile with -o2 with target esp32s2 (IDFGH-3581)

Problem Description
I get a compile time error when building my code. The same error occurs when compiling the freertos example too.
Actual Behavior
`
[  7%] Building C object esp-idf/freertos/CMakeFiles/__idf_freertos.dir/tasks.c.obj
/blah/components/freertos/tasks.c: In function 'xTaskCreatePinnedToCore':
/blah/components/freertos/tasks.c:648:30: error: array subscript -1 is below array bounds of 'TCB_t * volatile[1]' {aka 'struct tskTaskControlBlock * volatile[1]'} [-Werror=array-bounds]
TCB_t *curTCB = pxCurrentTCB[xCoreID];
~~~~^
/blah/components/freertos/tasks.c: In function 'vTaskPrioritySet':
/blah/components/freertos/tasks.c:648:30: error: array subscript [0, 0] is outside array bounds of 'TCB_t * volatile[1]' {aka 'struct tskTaskControlBlock * volatile[1]'} [-Werror=array-bounds]
TCB_t *curTCB = pxCurrentTCB[xCoreID];
~~~~^
/blah/components/freertos/tasks.c: In function 'vTaskResume':
/blah/components/freertos/tasks.c:648:30: error: array subscript [0, 0] is outside array bounds of 'TCB_t * volatile[1]' {aka 'struct tskTaskControlBlock * volatile[1]'} [-Werror=array-bounds]
TCB_t *curTCB = pxCurrentTCB[xCoreID];
~~~~^
/blah/components/freertos/tasks.c: In function 'xTaskResumeFromISR':
/blah/components/freertos/tasks.c:648:30: error: array subscript [0, 0] is outside array bounds of 'TCB_t * volatile[1]' {aka 'struct tskTaskControlBlock * volatile[1]'} [-Werror=array-bounds]
TCB_t *curTCB = pxCurrentTCB[xCoreID];
~~~~^
....
`
Steps to reproduce
On branch release4.2 and latest master, the following example:
esp-idf/examples/system/freertos/real_time_stats
with target esp32s2: idf.py set-target esp32s2
compiles with normal configuration, but not with compiler flag -o2 in menuconfig

Hi @wilhelmw201 ,
Thanks for reporting this bug and sorry noone got back to you earlier. We have a fix that should be merged soon.
As this issue is now closed for some reason and another issue has been opened with the same bug report, we'll update the other issue from now on. You can click "Subscribe" on the linked issue to receive notifications from it.
Angus


LOG: QA SoapUI Testing for WMLS_GetFromStore

Sizing:
TBD
Priority:
2
Description:
Will be provided by assigned Developer - TBD
DEV Card:
#365  LOG: WMLS_GetFromStore - Priority 2

No longer blocked

Un-assigned myself from this card as a result of me rolling off the project.

In Progress ETA 4/25

Hand off from Dev today 4/25

JUnit is a separate card now.

Noted/thank you
I will track/report percent complete based on the updates.
From: Theresa Stewart<EMAIL_ADDRESS>Sent: Friday, April 26, 2019 9:34 AM
To: hashmapinc/Drillflow<EMAIL_ADDRESS>Cc: niaalex<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [hashmapinc/Drillflow] LOG: QA SoapUI Testing for WMLS_GetFromStore (#367)
JUnit is a separate card now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/hashmapinc/Drillflow/issues/367#issuecomment-487079347 , or mute the thread https://github.com/notifications/unsubscribe-auth/AKRHY7Y5RSQKNGNVI7B72W3PSMHF3ANCNFSM4HCYQ5VA .  https://github.com/notifications/beacon/AKRHY76ZJQSIKDGEN3TFKODPSMHF3ANCNFSM4HCYQ5VA.gif

Handoff occurred on 4/25.
GetFromStore for Log (based on prior AddToStore for Log (full transaction)) is working in
Shehzad's SoapUI environment.
As with GetFromStore for Well, 3 Assertions have been provided with a GetFromStore SoapUI
Test:
a. SOAP Response -> success
b. Not SOAP Response -> success
c. Success (Result is 1) -> success

The only outstanding element to this card is removing hardcoding, which will be completed by COB today (4/26) and the card will be closed.

Test Case completed and checked in GitHub


[RFC] allow async method calls to nvim

Allows to call neovim rpc methods asynchronously. This is useful to be able to make a lot of calls without requiring 2 context switches per call. For instance for bufhl a rich highlighter might make thousands of buffer_add_highlight at once for a big file.
Not sure of the api though, perhaps vim.session.request(..., async=True) is better?

:+1:
This feature is needed for deoplete.nvim.

Note this only exposes low-level "session" interface. We probably want to extend some higher-level functions, at least command and eval and such. We could either have
vim.command("MyCommand", async=True)
vim.eval("AsyncFunction()", async=True)

or
vim.command_async("MyCommand")
vim.eval_async("AsyncFunction()")

I prefer the former (and it would be simpler to implement as they could just pass the async flag to a common session.call(..., async=...) function), what do you think @tarruda @shougo ?

I prefer the former (and it would be simpler to implement as they could just pass the async flag to a common session.call(..., async=...) function), what do you think @tarruda @shougo ?

:+1:

Now one can vim.command("something", async=True) and similarly eval.  Any more obvious candidates for API functions that should support this?
And, BTW, why can't one from __future__ import python3? :P I mean such basics as keyword-only arguments...

Note this only exposes low-level "session" interface. We probably want to extend some higher-level functions, at least command and eval and such. We could either have

Another option would be to regenerate the API classes/methods when connecting, exposing the async parameter for each generated method. I used to do this on the first versions of this library and switched to a more explicit approach, but maybe it is better to generate the API wrappers after all.

I prefer the former (and it would be simpler to implement as they could just pass the async flag to a common session.call(..., async=...) function), what do you think @tarruda @shougo ?

:+1:

Yes, a sane option is to autogenerate wrappers per default, and allow to override these manually (if necessary). I suspect many third-party client libs want to autogenerate methods, so they are not out of date any time nvim adds a new method.

Sorry for forgetting this, I think we should merge this as-is, eval and command is probably the most useful to call async (and with #130 call as well) and async could be added to all methods when/if autogeneration is implemented.

Sorry for forgetting this, I think we should merge this as-is, eval and command is probably the most useful to call async (and with #130 call as well) and async could be added to all methods when/if autogeneration is implemented.

:+1:

:+1:
Version bump?!

I tagged 0.0.38, but @tarruda needs to register it to PyPI.

done


Address Issue #217

On investigation it appears that if the number of peaks (inverted sink holes) within the elevation area of input is less than the Number of Peaks determined by the user, it will throw an error (due to trying to access an array value greater than the array length).
The solution was to set the number of peaks to the number of sink holes (if less than the user input) and inform the user that this has been done.
This got me thinking what would happen if no sinks holes are found (a very small or flat AOI). As I expected this also caused the code to error, so I have also added a error check for this.

I would merge, but looks like I lost write access somehow...investigating...in the meanwhile @kgonzago can you review/merge?


Set read-only property to worksheet

How can we set a read-only property to worksheet?

Any updates?


Doc needs updating for HoloLens 2

HoloLens 2 only shows up as an option in the store version of the Windows Configuration Designer.  The other download option should be removed or noted.

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

ID: 3248f36b-deaf-9562-a030-f3d28ae7e215
Version Independent ID: 39b1ac9b-fa52-b52d-e970-de1c19ed1c81
Content: Configure HoloLens using a provisioning package (HoloLens)
Content Source: devices/hololens/hololens-provisioning.md
Product: hololens
Technology: windows
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@KevinKennedy Can you please explain what do you mean by "The other download option should be removed or noted."
Or can you please confirm what portion of the document needs updating. This is true that HoloLens 2 only shows as an option in the App to select and continue further.
Thanks.
Imran.

@KevinKennedy   - Can you please respond to the query of joinimran?
Thank you.

Option 2 in the text below will give you a Windows Configuration Designer without HoloLens 2 capabilities.  It should just be downloaded from the store.

Install Windows Configuration Designer on your PC. (There are two ways to do this).
Option 1: From Microsoft Store
Option 2: From the Windows Assessment and Deployment Kit (ADK) for Windows 10. If you install Windows Configurations Designer from the Windows ADK, select Configuration Designer from the Select the features you want to install dialog box.

@KevinKennedy - Thank you for submitting feedback.
From our understanding, the issue has been resolved based on this merged commit https://github.com/MicrosoftDocs/windows-itpro-docs/commit/a3885940c41393f5b502f164ee0f969a1a764171.
Thank you for your contribution to make the docs better! Much appreciated!


Explore Kinesis Sink

The S3 sink works fine but we need to manually batch StashTabResponses to avoid having millions of tiny files in S3. Kinesis does the batching out of the box, which would be very comfortable. I need to find out first though how that works, what batching looks like and how it works, and what it costs.

Kinesis Firehose can actually only aggregate up to 15 minutes worth of data, so not worth it.


Deprecate old archival logic

Durable archival is enabled by default in 1.20, we should be able to deprecate the old code path (workflow archival).

Thank you for the feedback! We appreciate you bringing this to our attention. We are aware that durable archival is enabled by default in Temporal 1.20 and agree that we should be able to deprecate the old code path (workflow archival). We are currently working on this and plan to have it addressed in a future release.
In the meantime, you can continue to use durable archival which is the recommended approach. You can find more information about durable archival in the Temporal documentation.

Thank you for your feedback! We appreciate you pointing this out.
The plan is to deprecate the old code path for workflow archival in a future release. We are currently working on making durable archival the default and ensuring a smooth transition for users.
In the meantime, you can continue using the existing workflow archival functionality. We'll provide more information about the deprecation timeline and migration guidance closer to the release date.

Thanks for the suggestion! It's a great idea to deprecate the old code path for workflow archival since durable archival is now enabled by default.
While this is not currently a planned feature, you can work around it by manually disabling durable archival in your Temporal cluster. This can be done by setting the enableDurableArchival flag to false in the Temporal server configuration.
Please let me know if you have any other questions or suggestions.


Updated for latest SDL3 changes as of f0a839b9b78390bf9b552e5d585f780de1e212d1

@icculus SDL_ClaimTemporaryMemory() paid off in spades here. :)


Update status icon states for steps

The icon states are

BALLOT BOX (initial)
HOURGLASS (waiting)
BALLOT BOX WITH CHECK (complete)

Fixes #136
Signed-off-by: Adam Stokes<EMAIL_ADDRESS>

👍


build fails on 'master' branch due to dependency hell

It seems the version of Kubernetes packeged into the vendor deps is not compatible with the version of the docker stuff packaged into the vendor deps.  Looks like running 'make vendor' fixes it, but I'm not sure whether that will introduce other problems.
This problem is against the latest master at the time of writing (993b390427f561e93de0bf1b0bf3e1f9f0ca44cb)
[...]
docker-compose run --rm  test sh -c "go test -test.short  ./src/..."
Creating pachyderm_rethink_1
Creating pachyderm_etcd_1
vendor/k8s.io/kubernetes/pkg/util/resource_container_linux.go:25:2: cannot find package "github.com/docker/libcontainer/cgroups/fs" in any of:
	/go/src/github.com/pachyderm/pachyderm/vendor/github.com/docker/libcontainer/cgroups/fs (vendor tree)
	/usr/local/go/src/github.com/docker/libcontainer/cgroups/fs (from $GOROOT)
	/go/src/github.com/docker/libcontainer/cgroups/fs (from $GOPATH)
vendor/k8s.io/kubernetes/pkg/util/resource_container_linux.go:26:2: cannot find package "github.com/docker/libcontainer/configs" in any of:
	/go/src/github.com/pachyderm/pachyderm/vendor/github.com/docker/libcontainer/configs (vendor tree)
	/usr/local/go/src/github.com/docker/libcontainer/configs (from $GOROOT)
	/go/src/github.com/docker/libcontainer/configs (from $GOPATH)
Makefile:177: recipe for target 'go-test' failed
make: *** [go-test] Error 1
vagrant@vagrant-ubuntu-vivid-64:~/go/src/github.com/pachyderm/pachyderm$

Ugh, this looks annoying.
So first off we're kind of in a fractured state with tests right now.
make test runs the old integration suite which is built on docker-compose. We ditched that for kubernetes and added some integration tests that run within k8s as a pod.
I'm thinking we should tear out the old tests along with docker-compose and integrate them into the k8s pod since most of the tests require cluster state to run. Also we should have make test run the k8s tests that work instead of the broken ones that don't.
Really sorry for the confusion on this.

The tl;dr is that I'm not quite sure what's breaking the test compilations, but we're probably better off just sidestepping it by removing the tests.

Looks like there's been tons of refactoring lately so it makes sense that the tests are unstable.  Even with the vendor extension and the govendor tool, it's disappointing that managing dependencies on a large project like this is so fraught with peril.

Alright I finally figured out what was wrong here. I was having trouble reproducing this due to some caching issues. Finally reproduced this and got it fixed.
It only required a little bit of hackery to get a functional vendor directory.
It still feels like we're in a fragile place with our vendoring. This is probably due to the number of experimental projects we depend on.

Feel free to reopen if this is still broken in anyway. But I'm hoping it's fixed.


Solr search not working on CWP 2.8.0-rc1

Setup

Tested on CWP In-nation with recipe-kitchen-sink 2.8.0-rc1
The deployed code bundle has no special config in relation to fulltextsearch or elemental - according to docs, it shouldn't need any https://github.com/silverstripe/silverstripe-elemental/blob/4/docs/en/searching-blocks.md#usage
Page/PageController extend the CWP BasePage/BasePageController
Solr configure was run

Replication:

I have a BlockPage with a Content Block with the text "The quick brown fox jumps over the lazy dog"
Publish the page
Search on the frontend for the phrase "quick brown fox" said "Missed. Try again." - This text maps to Site Settings > Search Options > Text to display when there are no results

An equivalent search for regular non-block page content did yield expected results

I believe the Elemental-specific solr index was removed as it was actually added just for testing way back when, can you clarify that @chillu (I think we had a chat about it at some point in past, unless I'm confusing it with something else)?

I'd say this is probably misconfiguration from our end for the test bundle used.
Adding the following (copied from ElementalSolrIndex) to deafult CwpSolrIndex will fix this issue locally
$this->addFulltextField('ElementsForSearch');


fix: break early when iterating over modifiers if matched

Throw exceptions instead of silently continuing if error.

I don't think I've ever used it before. I think it's more elegant than a boolean matched = false;, then checking the match after every loop.


add cancellation tokens in stead of channels for shutting down

this works as expected, minimising the use of channels, especially where they are not needed, when shutting down.
furthermore, based on my previous assessments, the tokens method of shutting down is more responsive, producing an imediate shutdown.
warning!
the last commit, which removed the last channel for shutdown purposes in use in the codebase that I could see, introduced the hanging bug again. I used gdb to trace it to somewhere around the odilia::events::dispatch_wrapper function, for no obvious reason.
Please don't merge this yet, more review is required. The previous commits except the last one are known to work perfectly, so the change seemns small, but apparently it has long ramifications I can't anticipate, and a cursory look at the affected code doesn't reveal anything of importance.
so then, this should probably be solved with tokio-console, which someone with a tiny bit more vision than me should try and use as well, I tryed, but I couldn't make sense of the interface at all.

LGTM! I can not reproduce your hanging problem. My assumption is that there is still an edge case where hangs happen, but this is a good simplification of the code (especially directly encoding the cancellation event in the type system), and I'd be happy to see this merge, if only to simplify the understanding of the underlying problem :)

alright, now I can't reproduce that bug myself either, but there's clearly some kind of issue which presents itself intermittently. More investigation is required, but for now, this needs afew finishing touches and can be merged

Want to acknowledge the good call on @albertotirla 's part to recommend using Trackers, and CancellationTokens. This is a marked improvement in Odilia's readability and maintainability.


Don't merge! Regression pull request perf test for no metavalidation

Docs Build status updates of commit a263f17:
:clock10: Full build: the average full build time is 22 min(s) 22 sec(s), this is based on the last 51 build(s) for this repository.

Docs Build status updates of commit a263f17:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

TestingPullRequest.md
:white_check_mark:Succeeded

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


Update netty-tcnative-boringssl-static to 2.0.58.Final

Updates io.netty:netty-tcnative-boringssl-static from 2.0.57.Final to 2.0.58.Final.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.netty", artifactId = "netty-tcnative-boringssl-static" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "io.netty", artifactId = "netty-tcnative-boringssl-static" }
}]

labels: library-update, commit-count:1

Superseded by #731.


Don't say 'failed to load plugin information' before the plugin request has been completed/failed

Currently we tell the user on startup that we failed to load the plugin information (in the plugin panel), but that is done before the request has even finished. What it should say is that it is loading. Then on actual failure, it should change the text to say there was a failure.

I think we'd better load installed plugins first then load from gh or better cache the plugin info on disk. It can be painful to wait all plugin info loaded from internet as the plugin list is growing rapidly.


scanner.c syntax errors when building on Windows

A release build on Windows 10 from master is failing at the Compiling windows v0.37.0 step (build output follows). It looks like Rust is finding Visual Studio 2017's build tools based on the output. I was previously able to compile on this setup about a week ago. This might be similar to https://github.com/helix-editor/helix/issues/2692.
PS C:\_projects\rust\lapce> cargo build --release
  Downloaded log v0.4.17
  Downloaded windows_x86_64_msvc v0.37.0
  Downloaded trash v2.1.4
  Downloaded windows v0.37.0
  Downloaded 4 crates (14.8 MB) in 20.60s (largest was `windows` at 14.1 MB)
   Compiling log v0.4.17
   Compiling windows_x86_64_msvc v0.37.0
   Compiling tree-sitter-haskell v0.14.0 (https://github.com/tree-sitter/tree-sitter-haskell#14bf3061)
   Compiling lapce-ui v0.1.2 (C:\_projects\rust\lapce\lapce-ui)
   Compiling tree-sitter-swift v0.3.0
   Compiling tree-sitter-scss v0.0.1 (https://github.com/VixieTSQ/tree-sitter-scss?branch=patch-1#3aac3391)
   Compiling tree-sitter-ocaml v0.20.0 (https://github.com/tree-sitter/tree-sitter-ocaml#cc26b1ef)
   Compiling lapce-rpc v0.1.2 (C:\_projects\rust\lapce\lapce-rpc)
   Compiling windows v0.37.0
error: failed to run custom build command for `tree-sitter-haskell v0.14.0 (https://github.com/tree-sitter/tree-sitter-haskell#14bf3061)`

Caused by:
  process didn't exit successfully: `C:\_projects\rust\lapce\target\release\build\tree-sitter-haskell-585ffaab54f7bc3b\build-script-build` (exit code: 1)
  --- stdout
  cargo:rerun-if-changed=src\scanner.c
  TARGET = Some("x86_64-pc-windows-msvc")
  OPT_LEVEL = Some("3")
  HOST = Some("x86_64-pc-windows-msvc")
  CC_x86_64-pc-windows-msvc = None
  CC_x86_64_pc_windows_msvc = None
  HOST_CC = None
  CC = None
  CFLAGS_x86_64-pc-windows-msvc = None
  CFLAGS_x86_64_pc_windows_msvc = None
  HOST_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  DEBUG = Some("false")
  CC_x86_64-pc-windows-msvc = None
  CC_x86_64_pc_windows_msvc = None
  HOST_CC = None
  CC = None
  CFLAGS_x86_64-pc-windows-msvc = None
  CFLAGS_x86_64_pc_windows_msvc = None
  HOST_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  CC_x86_64-pc-windows-msvc = None
  CC_x86_64_pc_windows_msvc = None
  HOST_CC = None
  CC = None
  CFLAGS_x86_64-pc-windows-msvc = None
  CFLAGS_x86_64_pc_windows_msvc = None
  HOST_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  CC_x86_64-pc-windows-msvc = None
  CC_x86_64_pc_windows_msvc = None
  HOST_CC = None
  CC = None
  CFLAGS_x86_64-pc-windows-msvc = None
  CFLAGS_x86_64_pc_windows_msvc = None
  HOST_CFLAGS = None
  CFLAGS = None
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  running: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-O2" "-Brepro" "-I" "src" "-W4" "-FoC:\\_projects\\rust\\lapce\\target\\release\\build\\tree-sitter-haskell-1b1f6d80492ed47f\\out\\src\\parser.o" "-c" "src\\parser.c"
  parser.c
  running: "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-O2" "-Brepro" "-I" "src" "-W4" "-FoC:\\_projects\\rust\\lapce\\target\\release\\build\\tree-sitter-haskell-1b1f6d80492ed47f\\out\\src\\scanner.o" "-c" "src\\scanner.c"
  scanner.c
  src\scanner.c(211): error C2146: syntax error: missing ')' before identifier 'vs'
  src\scanner.c(211): error C2061: syntax error: identifier 'vs'
  src\scanner.c(211): error C2059: syntax error: ';'
  src\scanner.c(211): error C2059: syntax error: ','
  src\scanner.c(211): error C2059: syntax error: ')'
  src\scanner.c(286): warning C4244: 'function': conversion from 'const uint32_t' to 'wint_t', possible loss of data
  src\scanner.c(295): warning C4244: 'function': conversion from 'const uint32_t' to 'wint_t', possible loss of data
  src\scanner.c(301): error C2146: syntax error: missing ')' before identifier 's'
  src\scanner.c(301): error C2061: syntax error: identifier 's'
  src\scanner.c(301): error C2059: syntax error: ';'
  src\scanner.c(301): error C2059: syntax error: ','
  src\scanner.c(301): error C2059: syntax error: ')'
  src\scanner.c(315): warning C4013: 'seq' undefined; assuming extern returning int
  src\scanner.c(388): error C2146: syntax error: missing ')' before identifier 's'
  src\scanner.c(388): error C2061: syntax error: identifier 's'
  src\scanner.c(388): error C2059: syntax error: ';'
  src\scanner.c(388): error C2059: syntax error: ','
  src\scanner.c(388): error C2059: syntax error: ')'
  src\scanner.c(430): warning C4244: 'function': conversion from 'uint32_t' to 'uint16_t', possible loss of data
  src\scanner.c(633): warning C4204: nonstandard extension used: non-constant aggregate initializer
  src\scanner.c(644): error C2146: syntax error: missing ')' before identifier 'desc'
  src\scanner.c(644): error C2061: syntax error: identifier 'desc'
  src\scanner.c(644): error C2059: syntax error: ';'
  src\scanner.c(644): error C2059: syntax error: ')'
  src\scanner.c(644): error C2449: found '{' at file scope (missing function header?)
  src\scanner.c(647): error C2059: syntax error: '}'
  src\scanner.c(695): warning C4013: 'finish' undefined; assuming extern returning int
  src\scanner.c(695): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(706): warning C4013: 'finish_if_valid' undefined; assuming extern returning int
  src\scanner.c(706): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(758): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(776): warning C4013: 'token' undefined; assuming extern returning int
  src\scanner.c(778): warning C4244: 'function': conversion from 'uint32_t' to 'uint16_t', possible loss of data
  src\scanner.c(779): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(806): warning C4244: 'function': conversion from 'int32_t' to 'wint_t', possible loss of data
  src\scanner.c(806): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(808): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(849): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(853): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(898): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(937): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(951): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(970): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(990): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(1005): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(1015): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(1039): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(1072): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(1063): error C2440: 'initializing': cannot convert from 'int' to 'Result'
  src\scanner.c(1076): error C2440: 'initializing': cannot convert from 'int' to 'Result'
  src\scanner.c(1106): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(1115): error C2440: '=': cannot convert from 'int' to 'Result'
  src\scanner.c(1117): error C2440: '=': cannot convert from 'int' to 'Result'
  src\scanner.c(1143): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(1231): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(1239): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(1342): warning C4244: 'function': conversion from 'uint32_t' to 'uint16_t', possible loss of data
  src\scanner.c(1343): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(1366): error C2440: ':': cannot convert from 'Result' to 'int'
  src\scanner.c(1366): error C2440: 'return': cannot convert from 'int' to 'Result'
  src\scanner.c(1573): warning C4204: nonstandard extension used: non-constant aggregate initializer
  exit code: 2
  exit code: 0

  --- stderr

  error occurred: Command "C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Tools\\MSVC\\14.16.27023\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-O2" "-Brepro" "-I" "src" "-W4" "-FoC:\\_projects\\rust\\lapce\\target\\release\\build\\tree-sitter-haskell-1b1f6d80492ed47f\\out\\src\\scanner.o" "-c" "src\\scanner.c" with args "cl.exe" did not execute successfully (status code exit code: 2).

warning: build failed, waiting for other jobs to finish...

This might be something related to my connection. Trying to git clone https://github.com/tree-sitter/tree-sitter-haskell.git fails:
Cloning into 'tree-sitter-haskell'...
remote: Enumerating objects: 6780, done.
remote: Counting objects: 100% (58/58), done.
remote: Compressing objects: 100% (43/43), done.
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
error: 7314 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: index-pack failed

I was having a similar issue when trying to build lapce today. Same error messages, different version of cl.exe (14.21.27702). I don't think the internet connection is the problem.
The issue is not in the windows crate, but with tree-sitter-haskell. To make a long story short: I found, in my case, cl.exe does not support the restrict keyword (for the C language) without specifying a C specification year (see here). cl.exe defaults to C89, and restrict was added in C99 (see here).
I'm not entirely sure if this is the final and correct cause, but I was able to build lapce by altering my local version of tree-sitter-haskell in my ~/.cargo/git/checkouts folder tree. Within the file src/scanner.c, you can try either replacing all instances of restrict with the Microsoft specific C or C++ modifier __restrict, or you can try removing all instances entirely. Both seem to work. Another potential fix would be forcing tree-sitter-haskell to compile with a specified C standard (>=C99), but I don't know how to do that.
An example of the keyword to replace (there's 5 total):
https://github.com/tree-sitter/tree-sitter-haskell/blob/cf394604ae2ec2a5e65b1afbc7dea21258ede403/src/scanner.c#L211
That being said, considering you were able to build it before without issue, I doubt this is the final answer, but it should get you building it?

You should update build tools. I have no issues With VS Build Tools 2019

Updating VS Build Tools 2017 wasn't enough. I updated to VS Build Tools 2022 and compiled successfully. Thanks, @panekj.

i had updated to VS Build Tools 2022, but it don't work also.  some error:
CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  running: "d:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.32.31326\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "src" "-W4" "-FoD:\\git\\tree-sitter-julia\\target\\debug\\build\\tree-sitter-julia-63dfa70889870996\\out\\src\\parser.o" "-c" "src\\parser.c"
  parser.c
  src\parser.c(1): warning C4819: The file contains a character that cannot be represented in the current code page (936). Save the file in Unicode format to prevent data loss
  src\parser.c(270): error C2001: newline in constant
  src\parser.c(271): warning C4047: '=': 'char' differs in levels of indirection from 'char [3]'
  src\parser.c(212): error C2099: initializer is not a constant
  src\parser.c(212): error C2078: too many initializers
  exit code: 2
  --- stderr
  error occurred: Command "d:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.32.31326\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "src" "-W4" "-FoD:\\git\\tree-sitter-julia\\target\\debug\\build\\tree-sitter-julia-63dfa70889870996\\out\\src\\parser.o" "-c" "src\\parser.c" with args "cl.exe" did not execute successfully (status code exit code: 2).

You need MSVC v142 or you might be missing some component

Excuse my poor English. I have a similar problem.
On Win11, a build by cargo run build was failed.
Using VS Build Tools 2022 including MSVC v142 components, I got following error.
error: failed to run custom build command for `tree-sitter-julia v0.19.0 (https://github.com/varlad/tree-sitter-julia.git?rev=2ad4c9b79e0f213b61dbb3820754bfc6306e595a#2ad4c9b7)`

Caused by:
  process didn't exit successfully: `C:\Users\UG\rust_projects\lapce\target\debug\build\tree-sitter-julia-389ad9ee374e4aed\build-script-build` (exit code: 1)
  --- stderr

  error occurred: Command "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "src" "-W4" "-FoC:\\Users\\UG\\rust_projects\\lapce\\target\\debug\\build\\tree-sitter-julia-0591ea556a9c971b\\out\\src\\parser.o" "-c" "src\\parser.c" with args "cl.exe" did not execute successfully (status code exit code: 2).

warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `tree-sitter-svelte v0.10.2 (https://github.com/Himujjal/tree-sitter-svelte?rev=52e122ae68b316d3aa960a0a422d3645ba717f42#52e122ae)`

Caused by:
  process didn't exit successfully: `C:\Users\UG\rust_projects\lapce\target\debug\build\tree-sitter-svelte-7fd27b2ec0fcc5fc\build-script-build` (exit code: 1)
  --- stderr

  error occurred: Command "C:\\Program Files (x86)\\Microsoft Visual Studio\\2022\\BuildTools\\VC\\Tools\\MSVC\\14.34.31933\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "src" "-W4" "-FoC:\\Users\\UG\\rust_projects\\lapce\\target\\debug\\build\\tree-sitter-svelte-c2daac7b3d3ad467\\out\\src\\scanner.o" "-c" "src\\scanner.c" with args "cl.exe" did not execute successfully (status code exit code: 2).

The build tool definitely includes v142, but v143 appears to be used.
Do I need to specify that MSVC v142 is used?
How can I do that?
I tried to remove only v143 but could not figure out how to do it.
Or is this an issue unrelated to the build tool version?

error: failed to run custom build command for `tree-sitter-svelte v0.10.2 (https://github.com/Himujjal/tree-sitter-svelte?rev=52e122ae68b316d3aa960a0a422d3645ba717f42#52e122ae)`

Caused by:
  process didn't exit successfully: `D:\.github\lapce\target\debug\build\tree-sitter-svelte-0a275298d6905687\build-script-build` (exit code: 1)
  --- stderr

  error occurred: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "src" "-W4" "-FoD:\\.github\\lapce\\target\\debug\\build\\tree-sitter-svelte-fd2d740816251612\\out\\src\\scanner.o" "-c" "src\\scanner.c" with args "cl.exe" did not execute successfully (status code exit code: 2).

warning: build failed, waiting for other jobs to finish...
error: failed to run custom build command for `tree-sitter-julia v0.19.0 (https://github.com/varlad/tree-sitter-julia.git?rev=2ad4c9b79e0f213b61dbb3820754bfc6306e595a#2ad4c9b7)`

Caused by:
  process didn't exit successfully: `D:\.github\lapce\target\debug\build\tree-sitter-julia-dc7a6a4d569ee01c\build-script-build` (exit code: 1)
  --- stderr

  error occurred: Command "C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\VC\\Tools\\MSVC\\14.35.32215\\bin\\HostX64\\x64\\cl.exe" "-nologo" "-MD" "-Z7" "-Brepro" "-I" "src" "-W4" "-FoD:\\.github\\lapce\\target\\debug\\build\\tree-sitter-julia-c1c4e6e8edbbb899\\out\\src\\parser.o" "-c" "src\\parser.c" with args "cl.exe" did not execute successfully (status code exit code: 2).

Ditto question


test(timeInterval): add subscription assertions

Add subscription assertions on timeInterval tests.

Merged with a643efa, thanks @staltz


Added blue and blueType fields into User model

I have added two fields that can be in demand and important for some developers. Please take a look.

Hi, @PirateKG. Thank you for PR.


Bug: Leaderboard is problematic

Bug Type
Function
Bugged Function
module.exports = {
name:"lb",
code:`
$globalUserVarLeaderboard[Seth;asc;{top}. {tag} {value};10;1]
`
}

Version of aoi.js
v6.6.1
Version of Node.js
v20.10.0 (LTS)
Excepted Output
When I run this code, it works as if I wrote dsc instead of asc and each name is written twice

Relevant log output
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Tried "desc"?

i dont use github version for db, but i'm using aoi.js github version

The usage is
$globalUserVarLeaderboard[Seth;asc;{top}. {tag} {value};10;1]
and
$globalUserVarLeaderboard[Seth;desc;{top}. {tag} {value};10;1]
not a bug


feat: factor data support for darkness effects

The current behaviour of darkness is to blind the player entirely, this is because factor data is essential for darkness to work correctly.
I've created a FactorData record for ease of use, additionally I've created a Potion#darkness helper method to give developers factor values akin to what vanilla does

1.20.5 solves this issue automatically


Dark Mode for Cupertino's ContextMenu Widget

The ContextMenu widget (https://github.com/flutter/flutter/pull/37778) was implemented while dark mode was still being rolled out to all Cupertino widgets, so it doesn't currently have support.  It should be tied into dark mode and CupertinoDynamicColor like all the other Cupertino widgets.
  The color is currently hard coded to an eyeballed light mode color.
When open, the ContextMenuActions also need to support dark mode.

Accidental duplicate