[wrangler dev] Can't resolve node:async_hooks

Describe the bug
Running nuxt build with cloudflare-pages preset, and npx wrangler pages dev dist/ results in
✘ [ERROR] service core:user:worker: Uncaught Error: No such module "node:async_hooks".

    imported from "r4j10pyoufr.js"

✘ [ERROR] MiniflareCoreError [ERR_RUNTIME_FAILURE]: The Workers runtime failed to start. There is likely additional logging output above.

Introduced somewhere after 0.7.9

I’m having the same problem when running npx wrangler pages dev dist/. In the NuxtHub admin, I get this error:
Error: Failed to publish your Function. Got error: Uncaught ReferenceError: global is not defined
  at chunks/runtime.mjs:1:30924

@adamkasper this is not related to the main issue, see https://github.com/nuxt-hub/core/issues/261#issuecomment-2331005112 (should be fixed in upcoming Nuxt release)

Let me have a look @remihuigen

Sorry, I wasn't clear. Got this error in local dev, not in production
Was debugging as described on https://hub.nuxt.com/docs/recipes/debug

To confirm: I'm not getting the error in production

Sure, no problem.
Didn't get these errors though when following https://hub.nuxt.com/docs/recipes/debug with v0.7.9, so i'd thought a new issue was in order :)

The issue here is that the preview should be running in nodejs_compat mode which is enabled by default when you deploy it in production.
For local workers you get this warning first while compiling, and then on runtime you get the above error:
 [WARNING] The package "node:async_hooks" wasn't found on the file system but is built into node.

  Your Worker may throw errors at runtime unless you enable the "nodejs_compat" compatibility flag.
  Refer to https://developers.cloudflare.com/workers/runtime-apis/nodejs/ for more details. Imported
  from:

Faced the same issue yesterday while trying to preview the build locally.

As a workaround you can create a wrangler.toml at the root of your project (will be used only for the preview)
 compatibility_flags = ["nodejs_compat_v2"]

Alright it's live! https://hub.nuxt.com/changelog/nuxthub-preview
It should work now with:
npx nuxthub preview

@atinux This works great. But in the build output I see that the wrangler command is being shown for preview.
But the codebase shows npx nuxthub preview, do I need to update something (I updated NuxtHub CLI and @nuxthub/core)?

In the build output (pnpm build)

My bad, should be good with https://github.com/nuxt-hub/core/releases/tag/v0.7.19


JLama doesn't start on Apple M1 Max but works on M1 Ultra

I would like to run Jlama on my MacBookPro but running in the following issues:
Using following command on Apple M1 Max using Java Zulu21.28+85
jlama restapi tjake/TinyLlama-1.1B-Chat-v1.0-Jlama-Q4 --auto-download

Gives the following error:

However the same JVM on an Apple M1 Ultra works!

public AbstractTensor quantize(AbstractTensor t, DType qtype, int offset, int length) {
        Preconditions.checkArgument(t.dims() == 2 && length % Q8ByteBufferTensor.BLOCK_SIZE == 0);

        return switch (t.dType()) {
            case F32 -> switch (qtype) {
                case I8 -> switch (vectorType) {
                    case AVX_512 -> quantizeQ8_512((FloatBufferTensor) t, offset, length);
                    case AVX_256 -> quantizeQ8_256((FloatBufferTensor) t, offset, length);
                    case ARM_128 -> quantizeQ8_arm((FloatBufferTensor) t, offset, length);
==>                    default -> throw new UnsupportedOperationException();
                };
                case BF16 -> quantizeBF16((FloatBufferTensor) t, offset, length);
                default -> throw new UnsupportedOperationException();
            };
            case BF16 -> switch (qtype) {
                case I8 -> switch (vectorType) {
                    case AVX_512 -> quantizeBF16_Q8_512((BFloat16BufferTensor) t, offset, length);
                    case AVX_256 -> quantizeBF16_Q8_256((BFloat16BufferTensor) t, offset, length);
                    case ARM_128 -> quantizeBF16_Q8_arm((BFloat16BufferTensor) t, offset, length);
                    default -> throw new UnsupportedOperationException();
                };
                case F32 -> quantizeBF16_F32((BFloat16BufferTensor) t, offset, length);
                default -> throw new UnsupportedOperationException();
            };
            default -> throw new UnsupportedOperationException();
        };
    }

Suggestions would be much appreciated!  #ThanksInAdvance

👋 check to make sure you aren’t using Rosetta because that can cause this. Use an arm based jvm. See #25

I'm running on arm with arm based JVM.
BTW Guillaume had the same issue and never found a solution.
Maybe you can share your settings of your MacBook Pro?  #Thanks

First step was making sure I was using an arm enabled SDK :
.sdkman/etc/config

Set roseta to false and save
sdkman_rosetta2_compatible=false

Now do a "sdk list java" and select an arm-compliant SDK,  but currently still no luck...

The following command shows which OS_ARCH version the SDK is using:
cat ~/.sdkman/candidates/java/current/release

x86_64 (which would explain why it's not working) on MacBook Pro

aarch64, which is what we want.

So how can we force SDK to use aarch64?

Not using SDKman but setting JAVA_HOME to an explicit ARM64 JDK solves it!
In my example I've use Java 21 from Bellsoft and set JAVA_HOME to /Library/Java/JavaVirtualMachines/liberica-jdk-21.jdk/Contents/Home
export JAVA_HOME=/Library/Java/JavaVirtualMachines/liberica-jdk-21.jdk/Contents/Home

then running
jlama restapi tjake/TinyLlama-1.1B-Chat-v1.0-Jlama-Q4 --auto-download

runs the REST enabled JLama server!


Cannot read property 'isReactComponent' of undefined

Our previously working table code breaks when upgrading from 5.1.0 to 5.1.1 assumedly as a result of this line: 38522. We are using a reusable function that returns a single div. Was this an intended change?
for example:
function renderDateCell (item) {
  return <div>{formatDate(item.value)}</div>;
}

const columns = [
  {
     header: 'Date',
     accessor: 'date',
     minWidth: 150,
     render: renderDateCell,
  },
  ...
];

<ReactTable
  ...
  columns={columns}
/>

That should work fine. Render functions should be able to handle react
components, classes, stateless components, traditional functions or strings
On Fri, Mar 3, 2017 at 10:37 AM Ryan Palermo<EMAIL_ADDRESS>wrote:

Our previously working table code breaks when upgrading from 5.1.0 to
5.1.1 assumedly as a result of this line:
3852227bddeba81b15a51b410cde5b49b2116b73
https://github.com/tannerlinsley/react-table/commit/3852227bddeba81b15a51b410cde5b49b2116b73#diff-1fdf421c05c1140f6d71444ea2b27638R749.
We are using a reusable function that returns a single div. Was this an
intended change?
for example:
function renderDateCell (item) {
return {getOrDefault(formatDate(item.value))};
}
const columns = [
{
header: 'Date',
accessor: 'date',
minWidth: 150,
render: renderDateCell,
},
...
];
<ReactTable
...
columns={columns}
/>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-table/issues/109, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AFUmCQL3iew-NsHinthS2O3YKdfUTS-kks5riE_qgaJpZM4MSiiO
.

Ah, You're right. The issue was not with any of the simple div cells, but rather with two of our more nested ones. I solved the problem by simplifying them a bit. Thanks for the reply!

You bet!  Glad it’s working :)
On Fri, Mar 3, 2017 at 2:16 PM Ryan Palermo<EMAIL_ADDRESS>wrote:

Ah, You're right. The issue was not with any of the simple div cells, but
rather with two of our more nested ones. I solved the problem by
simplifying them a bit. Thanks for the reply!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-table/issues/109#issuecomment-284072350,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUmCexe6WmYvrAxF7moSckO41dQ2oMKks5riINGgaJpZM4MSiiO
.

Doesn't this break when using arrow functions? E.g., in the examples? If I change the Custom render example to:
render: function(row) {
it works for me. Otherwise it errors. I'm using node v7.5.0 for what it's worth.
Cheers, Tom

Interesting. So arrow functions don't work for you that return jsx?
On Sun, Mar 5, 2017 at 12:14 PM Tom Harada<EMAIL_ADDRESS>wrote:

Doesn't this break when using arrow functions? E.g., in the examples? If I
change the Custom render example to:
render: function(row) {
it works for me. Otherwise it errors. I'm using node v7.5.0 for what it's
worth.
Cheers, Tom
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-table/issues/109#issuecomment-284252529,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUmCdaxZoA2eh9BhyUyrzjv17IoKzNLks5riwmDgaJpZM4MSiiO
.

Right, yeah. Exactly.

Yeah we need to fix that. Any idea why it's not working? There is a
normalizer function in the source that is supposed to handle arrow
functions among other things
On Sun, Mar 5, 2017 at 6:45 PM Tom Harada<EMAIL_ADDRESS>wrote:

Right, yeah. Exactly.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-table/issues/109#issuecomment-284283213,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUmCcaCi1PXvx74RJnE9-5iyRSkTVpyks5ri2UigaJpZM4MSiiO
.

@tannerlinsley Looks like the issue is inside of the normalizeComponent method L195-L196. Arrow functions don't have a prototype like regular ones do.

Also it appears that bound functions don't have a prototype so I'm hitting this same error.
Use case: let the render function know the id of the column and the name of the data source it's rendering

The normalizeComponent method just needs to account for this then.  Can
anyone think of a reliable way to detect an arrow function, etc.?
On Tue, Mar 7, 2017 at 10:35 AM Mika Fonsén<EMAIL_ADDRESS>wrote:

Also it appears that bound functions don't have a prototype so I'm hitting
this same error.
Use case: let the render function know the id of the column and the name
of the data source it's rendering
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tannerlinsley/react-table/issues/109#issuecomment-284797266,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFUmCR7QZv_vEyZ2YHZ3x7n4JNx3ruV6ks5rjZVigaJpZM4MSiiO
.

@tannerlinsley One solution that may work is to use Object.getPrototypeOf(Comp).isReactComponent instead of Comp.prototype.isReactComponent. Regular functions, arrow functions, and bound functions return the same "function" prototype in that case, which seems to be the intended behavior.


fix nsstring/swiftstring incompatibility

Since Xcode7 beta 5 NSSearchPathForDirectoriesInDomains returns an array of String instead of NSString. As String doesn't have method called stringByAppendingPathComponent this breaks the current version. String to NSString is a safe cast, so this change shouldn't be a problem.

Thanks for the PR!


Issue with latest docker image and cosmos DB

Hi,
I get this error when deploying the container on Azure Webapps and connecting to Azure Cosmos DB. The result is an error when trying to chat.
2024-09-26T07:19:44.1569937Z ActivityId: 18d8a8ba-93f1-421e-9ba2-3bda167a6f77, Request URI: /apps/c80aa009-dda2-405e-8914-473bbd79be7d/services/40014049-be55-419a-ad60-b9f288d12edb/partitions/ffc53fc5-ae38-44f4-88f9-2f406bd8500c/replicas/133717413068951054s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.18.0););); 2024-09-26T07:19:44.1576484Z 2024-09-26 07:19:44 error: [handleAbortError] AI response error; aborting request: Error=2, Details='Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 18d8a8ba-93f1-421e-9ba2-3bda167a6f77; Reason: (Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 18d8a8ba-93f1-421e-9ba2-3bda167a6f77; Reason: (Response status code does not indicate success: BadRequest (400); Substatus: 0; ActivityId: 18d8a8ba-93f1-421e-9ba2-3bda167a6f77; Reason: (Message: {"Errors":["The index path corresponding to the specified order-by item is excluded."]} 2024-09-26T07:19:44.1576629Z ActivityId: 18d8a8ba-93f1-421e-9ba2-3bda167a6f77, Request URI: /apps/c80aa009-dda2-405e-8914-473bbd79be7d/services/40014049-be55-419a-ad60-b9f288d12edb/partitions/ffc53fc5-ae38-44f4-88f9-2f406bd8500c/replicas/133717413068951054s/, RequestStats: Microsoft.Azure.Cosmos.Tracing.TraceData.ClientSideRequestStatisticsTraceDatum, SDK: Windows/10.0.20348 cosmos-netstandard-sdk/3.18.0);););
Funny enough if I rescale the container which essentially pulls the image again and redeploys the container, things start to work without any changes.
Still trying to narrow down exactly what is causing this issue and thought I would post it here incase someone has encountered the same.

This was meant for the Librechat Dev API container. Apologies.


ublue-system-flatpak-manager uses the fedora repo instead of flathub

Describe the bug
When someone populates the flatpak/system/install list, flatpaks are installed using the fedora remote.

ublue-system-flatpak-manager removes the fedora remote with --user
L26 flatpak install --system --noninteractive flathub ${INSTALL_LIST[@]}
L41 flatpak remote-delete fedora --force

The flathub remote is never installed, thus flatpaks are installed from the fedora remote. Then it gets removed, which disables updates for those packages.
What did you expect to happen?
The expected behavior would either be to fail, since flathub is specified in L26 but it is not installed. This is probably a bug of the flatpak install command.
Output of rpm-ostree status
No response
Extra information or context
I can think of two solutions:

Install the flathub repo with --system and remove the fedora repo with --system before installing flatpaks.

Unfortunately this causes all future flatpak installation to require --user, --system or user interaction for all installations in the terminal. If more that one remotes are installed, they need to be specified.

Switch to system-wide flatpak installations and install the flathub remote with --user only for non-wheel users, who I believe can't install flatpaks system-wide.

Installing the flathub remote, install the packages, and then remove the flathub remote will not fix the issue of not getting updates.

Related: https://github.com/ublue-os/bluefin/issues/789

https://github.com/ublue-os/bluefin/pull/790


Please set default branch on the repo to master for edgex-helm-chart

Since the initial commit to this repository was made to helm_chart, it caused GitHub to automatically assign this as the default branch. This is not intended.
Need to update Repository / Settings / Branch to indicate 'master' is the default branch.

resolved - thank you @MilJ19LF


Can't fling the map again while it's moving

If you fling the map and try to fling it again before it stops moving, no drag events are generated for the second fling so it has no effect. I don't see this problem with e.g. Google or Apple maps.

That should be fixed now


Support Ignition Bootstrap for flatcar

At our company, we've recently tested flatcar images build with image-builder project but we've noticed that the cluster-api-provider-kubevirt doesn't support ignition.
What happened in our case:
The default implementation (https://github.com/flatcar/coreos-cloudinit) doesn't support specific keys used by the kubevirt-provider.
Here you can find cloud-init logs on our flatcar :
Jun 02 16:08:27 localhost coreos-cloudinit[1229]: 2023/06/02 16:08:27 line 277: warning: unrecognized key "runcmd"
Jun 02 16:08:27 localhost coreos-cloudinit[1229]: 2023/06/02 16:08:27 line 286: warning: unrecognized key "sudo"
Jun 02 16:08:27 localhost coreos-cloudinit[1229]: 2023/06/02 16:08:27 line 287: warning: incorrect type for "groups" (want []string)

We tried to use ignition format in the Cluster API ControlPlane Provider with this configuration:
apiVersion: controlplane.cluster.x-k8s.io/v1beta1
kind: KubeadmControlPlane
metadata:
  name: xxxxxx
  namespace: xxx
spec:
  kubeadmConfigSpec:
    format: ignition

The secret bootstraped by the Cluster API was correctly generated but when the kubevirt provider try to update the ignition config to add the capk user in the secret data, he failed but there is no errors of warnings in the pod logs (cf this func).
If we want to solve the CAPK user creation in the ignition config, we need to modify the kubevirtMachine controller to add the ignition compatibility.
We saw that Kubevirt is currently in "experimental" mode with the ignition support. An issue is actually opened to use "cloudInitConfigDrive" like cloud-init:
https://github.com/kubevirt/kubevirt/pull/9212#issuecomment-1434436265
Possible anwsers could be:

Wait for the Kubevirt ignition "cloudInitConfigDrive" to be merged, and warn ignition users that ssh bootstrap check is not supported at all in favor or "none" strategy (cf #230 ).

Add the ignition compatibility to the machine controller for the CAPK (works for the ssh bootstrap check mode).

Environment

Cluster-api version: 1.4.2
Cluster-api-provider-kubevirt version: 0.1.7
Kubernetes version: (use kubectl version): 1.27.1
KubeVirt version: 0.59.0
OS (e.g. from /etc/os-release): Flatcar 3510.2.1

/kind bug

Kubevirt already support cloudInitConfigDrive to be used with ignition, but this usage is yet to be documented. I've made a PR https://github.com/kubevirt/user-guide/pull/669 documenting this use which is yet to be merged, but you may be able to use what I wrote to solve your problem.
Regarding the experimental Ignition support mentioned here, it's no longer supported and supposed to be removed with https://github.com/kubevirt/kubevirt/pull/9212 as you may have seen.

Kubevirt already support cloudInitConfigDrive to be used with ignition, but this usage is yet to be documented.

yep, i'm using this for coreos variants and it works.

The secret bootstraped by the Cluster API was correctly generated but when the kubevirt provider try to update the ignition config to add the capk user in the secret data, he failed but there is no errors of warnings in the pod logs (cf this func).

We're trying to move away from having our controllers manipulate the bootstrap scripts (whether it's cloud init or ignition). The existing logic that injects the capk user is being supported for backwards compatibility reasons. Some users of capk still depend on that logic, but we don't want to keep expanding on that if possible.

Documentation was added, ths @mh4ck-Thales :
https://github.com/kubevirt/user-guide/pull/669


Add option to change permissions of synchronised files

By default preserve permissions, but allow them to be set via config.


git commit -am "fix(code-scss): 修复代码块行号与代码对应不齐问题 (close #901)"

通过测试

Any reason why it's 1.377 instead of 1.4? This is required before merging.

因为一点点尝试与测试，发现这个数是最标准的，无论代码块行数是多少都适应。

https://github.com/vuepress/vuepress-next/issues/901#issuecomment-1133742129

If you try vuepress-theme-hope, you can find that the code line is aligning, but I can tell you that I am using line-height: 1.4 as well,

The reason matters as we should try to make things clear.


Question about Phrase Association.

Hello Jason,
I am visualizing phrase association (based on Handler et al. 2016) for a Twitter dataset.
Below is my code:
corpus = CorpusFromPandas(
df,
category_col='sentiment',
text_col='parse',
feats_from_spacy_doc=PhraseMachinePhrases(),
nlp=spacy.load('en_core_web_sm', parser=False)
).build().compact(AssociationCompactor(4000))
I use produce_scattertext_explorer to generate an html page. However, top frequent phrases included emoji expressions that are partially similar. For example, the following phrases appeared:
🤣 🤣 🤣 🤣 🤣
🤣 🤣 🤣 🤣 🤣 🤣
😂 😂 😂 😂 😂 😂 😂
😂 😂 😂 😂 😂 😂 😂 😂
🤣 🤣 🤣 🤣 🤣 🤣 🤣
My question is, are these unrelated emoji expressions that came from unrelated tweets? or for example the five laughing emojis can actually be part of the six laughing emojis?
Thank you for your help.

Phrase Machine identifies phrases using extraction patterns run on part-of-speech tags. This means that phrases are found in isolation, and therefore a phrase identified in one context may not be found in another.
This process leads to the unfortunate result you're seeing, where repeated sequences of the same emoji are treated as different phrases.

Thank you very much for your reply


Abnormal exec on MacOS

What OS are you using (uname -a, or Windows version)?
MacOS 10.12.6 (Sierra)
Darwin Kernel Version 16.7.0: Sun Jun  2 20:26:31 PDT 2019; root:xnu-3789.73.50~1/RELEASE_X86_64 x86_64
What programming language are you using (C/C++/Go/Rust)?
go1.16.3 darwin/amd64
What did you expect to see and what you saw instead?

Build the example app provided in the ReadMe
run the app (by double clicking it from the finder or using open from the terminal)

Nothing happens except this added entry in the system log : (com.apple.xpc.launchd.oneshot.0x10000009.example[3322]): Service exited with abnormal code: 2

Given the amount of time passed since this issue was created and the amount of changes since then, I would like to ask you to try the latest code if this is still relevant for you. For now I will close this issue as part of a cleanup effort.


Fix use of deprecated datetime.utcnow() function

Hi! When using this library with Python 3.12, you get a deprecation warning. Luckily it's easily fixed.
The warning:
  /usr/local/lib/python3.12/site-packages/appstoreserverlibrary/api_client.py:469: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
    future_time = datetime.datetime.utcnow() + datetime.timedelta(minutes=5)

You can see that warning when running the tests in this repository with a sufficiently new Python (python3 -m unittest). Luckily the replacement is easy. I've used datetime.timezone.utc instead of datetime.UTC because that alias was only introduced in 3.11.

Sure thing!


Mixin log spam

Describe the bug
This mod is practically a log spammer at 1.20.1 forge, spamming this exact thing over and over again, had to throw it away due to it being stuck in the spamming log state for 2 minutes state (until I finally decided to kill the server)
[19Oct2023 15:42:09.446] [Worker-Main-1/FATAL] [mixin/]: Mixin apply failed mc2discord.mixins.json:CommandFunctionCommandEntryMixin -> net.minecraft.commands.CommandFunction$CommandEntry: org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException @Shadow field parse was not located in the target class net.minecraft.commands.CommandFunction$CommandEntry. Using refmap mc2discord.refmap.json
org.spongepowered.asm.mixin.transformer.throwables.InvalidMixinException: @Shadow field parse was not located in the target class net.minecraft.commands.CommandFunction$CommandEntry. Using refmap mc2discord.refmap.json
	at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attachFields(MixinPreProcessorStandard.java:629) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.attach(MixinPreProcessorStandard.java:305) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinPreProcessorStandard.createContextFor(MixinPreProcessorStandard.java:280) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinInfo.createContextFor(MixinInfo.java:1288) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply(MixinApplicatorStandard.java:292) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply(TargetClassContext.java:383) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins(TargetClassContext.java:365) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins(MixinProcessor.java:363) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass(MixinTransformer.java:250) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.service.modlauncher.MixinTransformationHandler.processClass(MixinTransformationHandler.java:131) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at org.spongepowered.asm.launch.MixinLaunchPluginLegacy.processClass(MixinLaunchPluginLegacy.java:131) ~[mixin-0.8.5.jar%2365!/:0.8.5+Jenkins-b310.git-155314e6e91465dad727e621a569906a410cd6f4]
	at cpw.mods.modlauncher.serviceapi.ILaunchPluginService.processClassWithFlags(ILaunchPluginService.java:156) ~[modlauncher-10.0.9.jar%2355!/:10.0.9+10.0.9+main.dcd20f30]
	at cpw.mods.modlauncher.LaunchPluginHandler.offerClassNodeToPlugins(LaunchPluginHandler.java:88) ~[modlauncher-10.0.9.jar%2355!/:?]
	at cpw.mods.modlauncher.ClassTransformer.transform(ClassTransformer.java:120) ~[modlauncher-10.0.9.jar%2355!/:?]
	at cpw.mods.modlauncher.TransformingClassLoader.maybeTransformClassBytes(TransformingClassLoader.java:50) ~[modlauncher-10.0.9.jar%2355!/:?]
	at cpw.mods.cl.ModuleClassLoader.readerToClass(ModuleClassLoader.java:113) ~[securejarhandler-2.1.10.jar:?]
	at cpw.mods.cl.ModuleClassLoader.lambda$findClass$15(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?]
	at cpw.mods.cl.ModuleClassLoader.loadFromModule(ModuleClassLoader.java:229) ~[securejarhandler-2.1.10.jar:?]
	at cpw.mods.cl.ModuleClassLoader.findClass(ModuleClassLoader.java:219) ~[securejarhandler-2.1.10.jar:?]
	at cpw.mods.cl.ModuleClassLoader.loadClass(ModuleClassLoader.java:135) ~[securejarhandler-2.1.10.jar:?]
	at java.lang.ClassLoader.loadClass(ClassLoader.java:520) ~[?:?]
	at net.minecraft.commands.CommandFunction.m_77984_(CommandFunction.java:60) ~[server-1.20.1-20230612.114412-srg.jar%23149!/:?]
	at net.minecraft.server.ServerFunctionLibrary.m_214320_(ServerFunctionLibrary.java:83) ~[server-1.20.1-20230612.114412-srg.jar%23149!/:?]
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1768) ~[?:?]
	at java.util.concurrent.CompletableFuture$AsyncSupply.exec(CompletableFuture.java:1760) ~[?:?]
	at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:373) ~[?:?]
	at java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1182) ~[?:?]
	at java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1655) ~[?:?]
	at java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1622) ~[?:?]
	at java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:165) ~[?:?]

Your config file
No response

Hi,
This looks like it's the same issue as #93 . You must have some datapacks loaded that create this error. You can use this dev version that fix the issue https://github.com/DenisD3D/Mc2Discord/actions/runs/6370517053 (note that tellraw, ... commands in datapacks aren't forwarded to Discord in this version, in most case this shouldn't be an issue)

Sadly that is something I personally do use.
With Vault Hunters 3, you can see what kind of vault someone joins.
For example: JamTheCokieKing entered a 1x Beginner's Insurance, 1x Beginner's Grace, 4x Vault XP Reduction Vault!
Due to tellraw messages not getting forwarded anymore, this is not visible anymore.
I guess I'll stick with V3.3.0 for now.


Attempt enabling MPI tests

Checklist

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

@conda-forge-admin, please rerender

Consistently seems to fail, dropping.


CMake Get Versions Before CMaize

PR Type

[ ] Breaking change
[ ] Feature
[x] Patch

Brief Description
NWChemEx/NWXCMake#38 moved the CMaize version out of the get_cmaize function and into nwx_versions. This means that nwx_versions needs to be included in CMakeLists.txt before get_cmaize, which is what this patch does.
Not In Scope
PR Checklist

[ ] Is documented
[ ] Is tested
[ ] Adheres to applicable organization standards

Find the issue in other repos like TensorWrapper. We will also have to change the order of include(get_cmaize)
and include(nwx_versions) in other repos.

🚀 [bumpr] Bumped! New version:v0.1.15 Changes:v0.1.14...v0.1.15


Can I implement ERC token standards for private network on Hyperledger Besu?

I am newbie at Hyperledger Besu. I wanna implement ERC-721 token standards for asset tokenization on private network using hyperledger Besu. Is it possible or not? If possible , how can I implement or any suggestion?

Besu is an Ethereum client. Any smart contract that is compatible with Ethereum can be executed no matter if is a public or a private network. So yes, you can use ERC-721 token in a private network without problems.
As this is not a issue with Besu itself, I will close it. If you have any further questions, please don't hesitate to reach out on Discord: https://discord.com/channels/905194001349627914/938504958909747250


Netty latency optimization

I used netty-work-thread bound cpu（affinity+isolcpus），but I found that the cpu occupies 0% when idle, is there a spin option for netty-work-thread to reduce the delay，I don't want thread sleep, I can let it monopolize a cpu-core
Netty version 4.1.79.Final
JVM version (e.g. java -version) 1.8
OS version (e.g. uname -a) centos7.8

I suggest to turn on TCP napi poll instead, if you have a kernel-space TCP stack. I'll take a look at your request when I am back to my desk, maybe implementing a custom select strategy is possible to spin wait on select

I suggest to turn on TCP napi poll instead, if you have a kernel-space TCP stack. I'll take a look at your request when I am back to my desk, maybe implementing a custom select strategy is possible to spin wait on select

how can i select strategy is possible to spin wait on select，has netty provided api


fix edit strings

Make sure that constants in cms/utils/conf.py:

TOOLBAR_URL__EDIT_ON
TOOLBAR_URL__EDIT_OFF

are honoured in frontend code.

:+1:

Coverage increased (+0.004%) to 89.36% when pulling 08f9eb99c612cc042a40c84422681288571dcf0c on FinalAngel:feature/edit into 6df824a66d07bb42465677520e2d98db46d4b2d6 on divio:develop.

Coverage increased (+0.004%) to 89.36% when pulling 08f9eb99c612cc042a40c84422681288571dcf0c on FinalAngel:feature/edit into 6df824a66d07bb42465677520e2d98db46d4b2d6 on divio:develop.


New swagger endpoint cannot execute operations

Executing an operation over the new swagger ui gets a 500 error due to sending accept: text/plain headers when it shouldn't

Closed by https://github.com/gchq/Gaffer/pull/2684


Error when i run demo

Hey ! I've an error when i run demo
13:12 $ go run demo/bob/main.go -v
./server_brains.go:58:35: cannot use s.adaptWebsocketClient (type func(*astiws.Client)) as type astiws.ClientAdapter in argument to s.server.ws.ServeHTTP
./server_clients.go:153:35: cannot use s.adaptWebsocketClient (type func(*astiws.Client)) as type astiws.ClientAdapter in argument to s.server.ws.ServeHTTP
./server_clients.go:212:13: c.HandlePing undefined (type *astiws.Client has no field or method HandlePing)

@Kaporos thanks for letting me know. Should be all good now. Can you confirm ?


Windows, SVG, possible font rendering deadlock under load

Possible bug
Is this a possible bug in a feature of sharp, unrelated to installation?

[x] Running npm install sharp completes without error.
[x] Running node -e "require('sharp')" completes without error.

If you cannot confirm both of these, please open an installation issue instead.
Are you using the latest version of sharp?

[x] I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.

If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.
What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?
  System:
    OS: Windows 10 10.0.22621
    CPU: (24) x64 AMD Ryzen 9 3900X 12-Core Processor
    Memory: 31.84 GB / 63.93 GB
  Binaries:
    Node: 19.0.0 - C:\Program Files\nodejs\node.EXE
    npm: 8.19.2 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    sharp: ^0.31.3 => 0.31.3

What are the steps to reproduce?
Sometimes our express server stops responding to requests. I traced it down to our usage of sharp. Sometimes, sharp returns a Promise that neither resolves nor rejects. I've isolated the problem into the code below that exhibits the bug.
It appears to have something to do with SVG. I force the bug to happen quicker by running many operations in parallel.
What is the expected behaviour?
The program should print Generation 0..99 and then exit.
Instead, the program hangs, usually at the first or after just a few generations. The CPU usage of the process drops to 0.

Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem

import sharp = require("sharp")

const svg = `<?xml version="1.0" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xml:lang="en"
    height="846"
    width="540">
    <text
        text-anchor="middle"
        x="50%" y="209"
        font-size="28"
    >
    ${"ABCDEFG ".repeat(20)}
    ${"ABCDEFG ".repeat(20)}
    </text>
    <text
        text-anchor="middle"
        x="50%" y="237"
        font-size="28"
    >
    </text>
</svg>`

main()
    .then(() => console.log("OK"))
    .catch(err => console.log(`Error: ${err}`))

async function main() {
    for (let i = 0; i < 100; i++) {
        console.log(`Generation ${i}`)
        await Promise.all(Array(100).fill(1).map(_ => createImg()))
    }
}

async function createImg() {
    return await sharp({
        create: {
            width: 540,
            height: 846,
            background: { r: 255, g: 255, b: 255 },
            channels: 3,
        }
    })
    .composite([{ input: Buffer.from(svg) }])
    .toBuffer()
}

Please provide sample image(s) that help explain this problem

I cannot reproduce this locally. It sounds like a deadlock. Are you able to try older versions of Node.js? Does this only happen on Windows? What happens if the SVG does not contain text?

Are you able to try older versions of Node.js?

Yes. Problem persists in older versions of Node.js (see below).

Does this only happen on Windows?

Yes, it seems so (see below).

What happens if the SVG does not contain text?

I think it must contain text. And it is sensitive to the exact text parameters. Changing the text elements makes it appear more/less often.
I've tested some different configurations:
Ubuntu/Node 19/Sharp 0.31.3 - Success
WSL/Alpine/Node 19/Sharp 0.31.3 - Success
WSL/Alpine/Node 18/Sharp 0.31.3 - Success
Windows/Node 19/Sharp 0.31.3 - Fail
Windows/Node 18/Sharp 0.31.3 - Fail
Windows/Node 16/Sharp 0.31.3 - Fail
Windows/Node 14/Sharp 0.31.3 - Fail
Windows/Node 19/Sharp 0.30.7 - Success*
Windows/Node 19/Sharp 0.31.0 - Fail

* This is interesting! Suggests that the problem is introduced in 0.31.0

Thanks, this is useful extra information. This might be a fontconfig or pango problem. The FC_DEBUG environment variable can be used to make fontconfig provide debugging information at runtime, e.g. a value of 8191 will output everything.
https://www.freedesktop.org/software/fontconfig/fontconfig-user.html#DEBUG
Please can you try this and look at what is output just before the deadlock occurs. Is the output near/before the failure consistently the same on each run?

Yes, that seems to be the case. Here are the last 10000 lines of two failing runs.
last1.txt
last2.txt
They are identical from line 7562 to the end.

Thank you, I don't see anything obviously wrong in these files (other than the use of UTF-16 :smirk: ).
If you haven't already done so, please can you get a process dump and inspect the call stack. You should be able to run procdump and WinDbg respectively to do this, there's some useful help at https://github.com/lowleveldesign/debug-recipes/blob/master/deadlocks/diagnosing-deadlocks.md

Ok. Here's the output from ~*k. WinDbg crashes when loading gsose.dll so I can't run the other commands. I'm not very used to WinDbg debugging.
stacks.txt

Thanks, the stacks.txt file appears to be empty, please can you check.

Sorry, fat fingers I guess. Try again!

I could not reproduce this hang, but it seems to be really slow on my Windows PC.
Creating a dummy font configuration like this:
fonts.conf:
<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "urn:fontconfig:fonts.dtd">
<fontconfig>
  <!-- <dir>WINDOWSFONTDIR</dir> -->
  <!-- <dir>WINDOWSUSERFONTDIR</dir> -->
</fontconfig>

And running it with:
$ set FONTCONFIG_PATH=%cd%
$ set FC_DEBUG=1024
$ node index.js
FC_DEBUG=1024
        Loading config file from C:\Users\kleisauke\Desktop\sharp-test\fonts.conf
        Loading config file from C:\Users\kleisauke\Desktop\sharp-test\fonts.conf done
Generation 0
Generation 1
<snip />
Generation 98
Generation 99
OK

Fixes this slowdown. Although, uncommenting those two <dir>...</dir> lines makes it slow again.

Great investigation skills, is is possible to narrow the problem down to either WINDOWSFONTDIR or WINDOWSUSERFONTDIR?
I wonder if fontconfig might be unable to cache fonts and would therefore scan for all fonts every time.
The sharp unit tests relating to font discovery on Windows occasionally timeout, and I suspect this might be related.
The fontconfig logic that converts WINDOWSFONTDIR and WINDOWSUSERFONTDIR into their real paths is in https://gitlab.freedesktop.org/fontconfig/fontconfig/-/blob/main/src/fcxml.c

Leaving WINDOWSFONTDIR uncommented results in the bug. That's the only place I have fonts (C:\Windows\Fonts), so I suppose it means that it hangs when my fonts are loaded and works without any fonts loaded.
As a side note, when I run without any fonts (both lines commented away or removed), and with FC_DEBUG=8191, I get a crash very early with output ending abruptly like below. Don't know if this is a separate problem or related.
FcConfigSubstitute Pattern has 11 elts (size 16)
        family: "serif"(s)
        slant: 0(i)(s)
        weight: 80(f)(s)
        width: 100(i)(s)
        size: 12(f)(s)
        pixelsize: 12(f)(s)
        dpi: 72(f)(s)
        lang: "en"(s)
        prgname: "node.exe"(s)
        variable: DontCare(s)
        pangoversion: 15009(i)(s)

Best score 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Sort Pattern has 25 elts (size 32)
        family: "Times New Roman"(s)
        familylang: "en"(s) "en-us"(w)
        stylelang: "en"(s) "en-us"(w)
        fullnamelang: "en"(s) "en-us"(w)
        slant: 0(i)(s)
        weight: 80(f)(s)
        width: 100(i)(s)
        size: 28(f)(s)
        pixelsize: 28(f)(s)
        hintstyle: 0(i)(s)
        hinting: False(s)
        verticallayout: False(s)
        autohint: False(s)
        globaladvance: True(s)
        hinting: False(s)
        verticallayout: False(s)
        autohint: False(s)
        globaladvance: True(s)
        dpi: 72(f)(s)
        lang: "en"(s)
        fontversion:<PHONE_NUMBER>(i)(s)
        embeddedbitmap: True(s)
        decorative: False(s)
        namelang: "en"(s)
        prgname: "node.exe"(s)
        symbol: False(s)
        variable: DontCare(s)
        order: 0(i)(s)
        pangoversion: 15009(i)(s)

Null pattern
FcConfigS

I can confirm that this is indeed a deadlock/race condition issue. It is not caused by Pango (or Fontconfig), but Cairo seems to be the culprit now.

Meme

(image source: https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/288#note_708038)

Backporting commit https://gitlab.freedesktop.org/cairo/cairo/-/commit/76e0df566595a77e271de523b3d06f86f3e85813 and https://gitlab.freedesktop.org/cairo/cairo/-/commit/a8c1858cf2bb6efb35c0678d135fd522ece9e2a4 from the master branch of Cairo seems to fix this.  Let me know if I should make an 8.14.1-build2 release. :)

As if by magic there's a rather timely discussion about... wait for it... cairo v1.18.0, which will be the first stable release in almost 5 years. Perhaps doing nothing will be easier ;)
https://gitlab.freedesktop.org/cairo/cairo/-/issues/622#note_1732316

New cairo just dropped. https://github.com/lovell/sharp-libvips/commit/8a3f63edbd5d6a38167f18db42995acf2fc23415

v0.32.0 is now available with prebuilt binaries including the latest cairo (and pango). I'll close as these should fix the original problem, but please feel free to re-open with more details if the issue remains.

I can confirm the problem is solved (at least for me).


ExpiredToken: The provided token has expired

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d1he6253vtkqx8
Region
us-east-2
Amplify Console feature
Backend builds
Describe the bug
All of our builds are getting the following error at the last stage of the amplify backend build and we are unable to complete our deployments.
2022-01-31T07:49:57.016Z [INFO]:
2022-01-31T07:49:57.018Z [INFO]: DELETE_COMPLETE LambdaLayerVersion76a0dd89 AWS::Lambda::LayerVersion Mon Jan 31 2022 07:49:51 GMT+0000 (Coordinated Universal Time)
2022-01-31T07:50:06.188Z [WARNING]: ⠙ Deploying (3 of 3)
2022-01-31T07:50:06.248Z [WARNING]: ⠹ Waiting for DynamoDB indices to be ready
2022-01-31T07:50:06.248Z [WARNING]: ⠸ Deploying (4 of 3)
2022-01-31T07:50:06.249Z [WARNING]: ✔ Deployed
2022-01-31T08:01:23.541Z [WARNING]: - Uploading files...
2022-01-31T08:01:24.223Z [WARNING]: ✖ An error occurred when pushing the resources to the cloud
2022-01-31T08:01:24.292Z [WARNING]: ✖ There was an error initializing your environment.
2022-01-31T08:01:24.308Z [INFO]: ExpiredToken: The provided token has expired.
                                     at Request.extractError (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/services/s3.js:710:35)
                                     at Request.callListeners (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:106:20)
                                     at Request.emit (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
                                     at Request.emit (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:686:14)
                                     at Request.transition (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:22:10)
                                     at AcceptorStateMachine.runTo (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:14:12)
                                     at /root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:26:10
                                     at Request.<anonymous> (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:38:9)
                                     at Request.<anonymous> (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:688:12)
                                     at Request.callListeners (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:116:18)
                                     at Request.emit (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:78:10)
                                     at Request.emit (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:686:14)
                                     at Request.transition (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:22:10)
                                     at AcceptorStateMachine.runTo (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:14:12)
                                     at /root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/state_machine.js:26:10
                                     at Request.<anonymous> (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:38:9)
                                     at Request.<anonymous> (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/request.js:688:12)
                                     at Request.callListeners (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:116:18)
                                     at callNextListener (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/sequential_executor.js:96:12)
                                     at IncomingMessage.onEnd (/root/.nvm/versions/node/v14.18.1/lib/node_modules/@aws-amplify/cli/node_modules/aws-sdk/lib/event_listeners.js:335:13)
                                     at IncomingMessage.emit (events.js:412:35)
                                     at IncomingMessage.emit (domain.js:475:12)
                                     at endReadableNT (internal/streams/readable.js:1334:12)
                                     at processTicksAndRejections (internal/process/task_queues.js:82:21) {
                                   code: 'ExpiredToken',
                                   region: null,
                                   time: 2022-01-31T08:01:24.221Z,
                                   requestId: 'MWQN4BDGT76ZP5S6',
                                   extendedRequestId: 'Oy58ypqGjvFJShaNCpv+rpFKgfzd1abvWI5mc+fvQL+ICY6/7XBXijnHq4E0y39ZBhh1eNsCZMU=',
                                   cfId: undefined,
                                   statusCode: 400,
                                   retryable: true
                                 }
2022-01-31T08:01:24.362Z [ERROR]: !!! Build failed
2022-01-31T08:01:24.363Z [ERROR]: !!! Non-Zero Exit Code detected

Expected behavior
Build succeeds
Reproduction steps
run deploy
Build Settings
version: 1
backend:
  phases:
    preBuild:
      commands:
        - nvm use ${VERSION_NODE_DEFAULT}
    build:
      commands:
        - update-alternatives --install /usr/bin/python3 python3 /usr/local/bin/python3.8 11
        - /usr/local/bin/pip3.8 install --user pipenv
        - npm i -S graphql-ttl-transformer
        - amplifyPush --simple
...
...
...
excluded front-end as it is not needed

Additional information
No response

Hi @renebrandel @litwicki,
We're still blocked here. I don't mean to be a pain but this is blocking our deployments. From our explorations here it looks like it could be a simple fix and is related to token expiry due to our app being much larger than most amplify apps. Any chance you could connect us with an engineer we can work with to unblock this?

Hi @tomhirschfeld , this seems to be related with your build times taking longer than 1 hour. One of my colleagues noticed that your build was reduced to 25 minutes and it appeared to finish successfuly. Is this not the case?

hi @ferdingler, thanks for the reply
we reduced the build times to 25 minutes by making each deploy very small by reducing the number of changes in the graphql schema. When we include more than a small number of updates to our graphql schema the build fails. I believe we are the largest, or one of the largest projects using the amplify framework in terms of resource use and we have had other bugs related to scalability issues. We have an email thread right now with @litwicki and @renebrandel with the following context from my colleague @gakinson
I have been debugging this issue most of today trying to get our builds to become unblocked.

Here are some of my findings.

The main issue seems to consistently keep happening when there is a staged/tiered deployment. This is when you execute two versions of the stack, which seems to be for API related changes where dynamodb table indexes are involved. The deployment gets to the end where it will say "Deployed (2 of 2)" and then it will hang for approximately 15 minutes. After that time it will then spit out saying that it is deployed and then it will try to upload the meta and current stack files. At this point, it will then fail saying that the token is expired. See snippet below.

My guess here is that the amplify CLI is creating instances to various AWS services with an assumed IAM role which has the session duration set too low. I couldn't quite figure out what the duration you are using, whether that is 15 minutes or an hour. I was looking through your code and found a section here where you are setting the duration:

https://github.com/aws-amplify/amplify-cli/blob/master/packages/amplify-provider-awscloudformation/src/system-config-manager.ts#L130-L137

I am not sure where you are getting this value from, is it the session duration on the iam role that is configured on the amplify app level?

Some more debugging I did was inspect the deployment-state file which seems to be updated correctly as the deployment happens. I managed to find an old build of ours that had a staged/tiered deployment which succeeded but then failed on the front-end due to a token expiry. So, from this I do not think it is the tiered/staged logic failing and that it is more isolated to these durations on the credentials/tokens retrieved from STS.

After a bunch of fiddling around with deploying, I was able to create a non staged/tiered deployment which completed in approximately 25 minutes (backend) which succeeded.

Not sure if any of this helps you, but I thought I would share.

2022-01-31T22:15:17.591Z [WARNING]: ⠧ Deploying (2 of 2)
2022-01-31T22:15:17.653Z [WARNING]: ⠇ Waiting for DynamoDB indices to be ready
2022-01-31T22:15:17.654Z [WARNING]: ⠏ Deploying (3 of 2)
2022-01-31T22:15:17.654Z [WARNING]: ✔ Deployed
2022-01-31T22:27:43.049Z [WARNING]: - Uploading files...
2022-01-31T22:27:43.324Z [WARNING]: ✖ An error occurred when pushing the resources to the cloud
2022-01-31T22:27:43.423Z [WARNING]: ✖ There was an error initializing your environment.
2022-01-31T22:27:43.439Z [INFO]: [0mExpiredToken: The provided token has expired. [0m

@tomhirschfeld thanks for the detailed response. We confirmed that this is related to the expiration time we set on the temporary credentials we embed during builds. We will work on a fix to support longer running builds. But in the meantime, anything you can do to keep the build duration < 45 minutes will be helpful to give us some time to work on this. Will keep this thread updated with more information.

Hello,
Following up on this to see if there has been any work on fixing this?
Thank you

we have increased the expiration timeout for that token to 60 minutes. That's how much we can extend it without major changes internally.

Hello,
I'm getting this issue every second build as the build time takes around 60 minutes.
Is there another increase planned for the nearest future ?

Here is this screenshot, 5:32 build time correspond to 60min+ failed build.
By the way, I think that the Building custom resources phase is executed twice and I do have many custom resources and building them takes around 10-15 minutes per build.
Also, after the resources are updated using the CloudFormation (which takes 3-5 minutes), about 20-22 minutes are consumed by doing something that corresponds to this into logs : [INFO]: .
After that, uploading files takes about 7-10+ minutes.

Please, let me know if I can provide you with more information.
Thanks


Retry connecting to Riemann once every five seconds

Retry connecting to Riemann once every five seconds as long as it's unavailable. Also, don't send Riemann messages to deadLetters. That's unnecessary and noisy

Thanks Michael, I'll release a 0.3.4 with this.


OpenPGP provider and status fixes

The two commits in this PR fix #1150 and #1151, respectively

Does it also fix #1153 and #1160 ?

It doesn't.

Ok no worries.

Still doesn't work for me without a crypto provider configured.

With my PR as well it works for me.

As far as I can tell ComposeCryptoStatus.shouldUsePgpMessageBuilder() returns true because the default 'crypto mode' of 'opportunistic' is used. Whether or not a crypto provider is configured doesn't factor into the decision.

Haha, I fixed it in my first commit, then broke it in the second. Derp.
Working on this right now.

Alrighty, that should be fixed. I also moved all openpgpservicconnection handling into the presenter, and added better handling for a lost service connection. I tested a couple of scenarios while installing and deinstalling openkeychain all around, and it seems more robust to me now.
I wonder what trivial usage scenario I missed this time ;)

Haha, I fixed it in my first commit, then broke it in the second. Derp.

It's annoying this is all front-end code. It would be nice get some UTs on it.


mwc713 send failing if send account is different from receive

mwc713>> LibWallet Error, Unable to finalize slate, Payment Proof generation error: TxLogEntry with original proof info not found (is account correct?)
20.05.2020 21:02:16.055 mwc713-Event> S_ERROR [TxLogEntry with original proof info not found (is account correct?)]
20.05.2020 21:02:16.055 Notification CRITICAL  TxLogEntry with original proof info not found (is account correct?)
20.05.2020 21:02:16.055 MWC713 emit onNewNotificationMessage with NotifMsg(level=Crit, message=TxLogEntry with original proof info not found (is account correct?))

testing:

create 3 accounts: a1,a2,a3.
set receive account a1
send from account a2
send from a3
send from a1
send from default.

Check that all send was fine, no errors in the logs

went through the steps described above, and saw no errors in the logs.


Fix spec violations in realm create

This fixes rtt_state in B<IP_ADDRESS> and rtt_state in B<IP_ADDRESS>, found during the process of verification.
The state should be checked and updated by the number of rtt_num_start.
B<IP_ADDRESS> Failure conditions
rtt_state pre: !RttsStateEqual(
                    params.rtt_base, params.rtt_num_start, DELEGATED)
          post: ResultEqual(result, RMI_ERROR_INPUT)

B<IP_ADDRESS> Success conditions
rtt_state RttsStateEqual(
              Realm(rd).rtt_base, Realm(rd).rtt_num_start, RTT)

There seems a subtle orthogonal issue: I suspect it as an unintended memory write. It causes the delegated granule (0x883C5000) fail to be undelegated in acs-tests's mm_rtt_level_start test.
[before]
[TRACE]islet_rmm::event -- RMI: GRANULE_DELEGATE     [883C5000] > [0]
...
[TRACE]islet_rmm::event -- RMI: GRANULE_UNDELEGATE   [887E6000] > [0]
[TRACE]islet_rmm::event -- RMI: REALM_DESTROY        [88781000] > [0]
[TRACE]islet_rmm::event -- RMI: GRANULE_UNDELEGATE   [883C4000] > [0]
[TRACE]islet_rmm::event -- RMI: GRANULE_UNDELEGATE   [883C5000] > [0]

[after]
[TRACE]islet_rmm::event -- RMI: GRANULE_DELEGATE     [883C5000] > [0]
...
[TRACE]islet_rmm::event -- RMI: GRANULE_UNDELEGATE   [887E6000] > [0]
[TRACE]islet_rmm::event -- RMI: REALM_DESTROY        [88781000] > [0]
[TRACE]islet_rmm::event -- RMI: GRANULE_UNDELEGATE   [883C4000] > [0]
[TRACE]islet_rmm::event -- RMI: GRANULE_UNDELEGATE   [883C5000] > [1]


[openal-soft] Update to 1.24.1

This includes some bugfixes, not limited to resolving both the issues that needed patching.

[x] Changes comply with the maintainer guide.
[x] SHA512s are updated for each updated download.
[x] The "supports" clause reflects platforms that may be fixed by this new version.
[x] Any fixed CI baseline entries are removed from that file.
[x] Any patches that are no longer applied are deleted from the port's directory.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is added to each modified port's versions file.

Thanks for the update!


Add ability to toggle view inspection

This is a quick fix to add the option to disable view inspection. It's a great addition, but can cause significant slowdown for applications with deep hierarchies.

While I agree this is sorely needed, the slowdown caused by the view inspection code is actually more of a bug than its intrinsic performance cost.  The solution we use recursively scans the view hierarchy every second regardless of whether the user is actively looking at the Elements tab or even changing the UI.  I've been nagging @rickbrew a bit to address this and I think we have good options we just haven't gotten to them yet.
Specifically, I believe it should be possible to utilize http://developer.android.com/reference/android/view/View.html#getViewTreeObserver() to detect changes such as layout, measure, draw events and then update accordingly.  Maybe I can take a crack at this tonight :)

This is being tracked in #210

I believe we have fixed the major performance issues in the latest master (expecting a 1.3.1 release soon).  Please test and re-open the issue if I'm wrong :)


Implement the history navigation buttons

Feature
The history navigations are placed next to breadcrumbs

These shall navigate user's cursor positions
Notes

Implementation of history navigation buttons: src/biscuit/editor/breadcrumbs/history_navigation
Store the history for each editor within the TextEditor or TextEditor.text instance itself: src/biscuit/editor/text
active editor instance is accessible within the history navigation class as self.base.editorsmanager.active_editor. Note that the active_editor.content will be the TextEditor instance and active_editor.content.text will be the Text widget instance.

Hi, I would like to work on this issue.
Could this be assigned to me?
Thanks.

Hi, welcome to our small community!
I hope you have used the cursor history navigation in Visual Studio Code, this issue is about achieving the same functionality.
Please let me know in case you need further clarification.

Thanks, I'll try my best to implement this.

Hi,
I am not sure if this is due to some error on my side but I cannot set up this project on my local machine.
At first it was due to a version of python so I used the command poetry env use python313 to use python 3.13.0
Now when I move to the src and do poetry install it gives the following error-

Please help me with this

@abhishek-singh0710 thanks for pointing this out, lock file needed updates for new python version. Now the error has been resolved in #407

I'm sorry if this is trivial but I am still facing issues for pywinpty

I've installed Rust and have put cargo in my path variables also

@abhishek-singh0710 I can't reproduce this error yet, make sure you are running this in a fresh terminal after rust installation.
You can set up the project without poetry too, run pip install -e . and then try running biscuit biscuit or python -m biscuit

@abhishek-singh0710 this seems to be a common issue as it's listed in many times in the web. I was able to reproduce this issue with python 3.13, but this wasn't causing trouble in 3.12.x.
Since 3.13 is very new, pywinpty hasn't provide the wheels yet. See https://github.com/andfoy/pywinpty/issues/451
I suggest you roll back python to 3.12.x for now, as many libs have not updated yet.
I'm marking this project as unsupported for 3.13 until pywinpty issue gets resolved.

pywinpty hasn't provide the wheels yet

Just a heads up, this is the case for google-generativeai as well.

@abhishek-singh0710 issue has been resolved. pywinpty now supports python 3.13

@abhishek-singh0710 Hello there, as the issue is still assigned to you, I would like to know if you are still working on this. Please open a pr if you have worked on this otherwise I can unassign the issue :)

is this still open? i would love to give it a try

@vyshnav-vinod Yes this is, I guess the assignee doesn't want to continue working on this anymore as they didn't respond to any of the comments. You can give it a try.

is this supposed to be the current editor instance only(so different history for each editor tab) or does it include maintaining a single history across the editor tabs (like in vs code)??

@vyshnav-vinod I think it would make sense to keep a single history across all the tabs, that would make it more usable. But also you may keep a max size to that history. Just clean up old chunks when it's full.

Just a heads up, theres two navigation buttons in the editor rn

Is it redundant or ?

@vyshnav-vinod the idea were to have those lookalike buttons for two purposes:

tab shifting
history navigation

Although the former doesn't have a big use case, when you have many tabs open, it's just impossible to access them.
Maybe implementing the ctrl+tab bindings will solve that for now.
You can use the right one to handle history navigation.

Hey so i tried to start this, how would you like to record the cursor postions.. i havent really used vscodes cursor navigation and thought to try it today, it seems they are only recording the first cursor position in a file or something? How would you like to record it? I was thinking of just recording the cursor positions when the user does a huge jump (like either tab switches or after n number of code lines from previous position?). Sorry if i make no sense.

@vyshnav-vinod I guess we can just directly store the cursor positions changes on mouse clicks and maybe tab switches for now, no need to check for any n number of lines. Key presses combined with a check for code lines sounds a bit overhead for tkinter, especially since those already require optimizations due to completions and syntax highlight updates.


Why the implemented network architecture is different with the architecture in the paper?

Hello! I have noticed a discrepancy between the network architecture used in the implemented code and the architecture described in the original paper. Below, you can see a figure depicting the architecture of the class DGCNN_semseg_s3dis, as plotted by me. Do I make any mistakes, or if the implemented code deviates from the architecture outlined in the original paper?

I follow the original TensorFlow code in (here)[https://github.com/WangYueFt/dgcnn/tree/master/pytorch]. The architecture in this repo is the same as the original code.


Contributing to libecpint

Firstly, thanks for your time and effort developing this great library.
As part of the libecpint's JOSS review I would like to add  some thoughts about making it easier to contribute to your code.
Some ideas about contributing

In the repository I am missing a Code of Conduct. Have  a look to the open source code of conduct
As a developer, the most time consuming aspect when contributing to a new project is to understand the general architecture of the software, thinks like where are the main classes, how are the templates used, what are the conventions, etc. Though the API documentation greatly help to navigate the library, I think that having some informal but concrete description of the architecture will help significantly help new pontential developer. See this interesting article about adding an ARCHITECTURE.md file

Thank you. The article was interesting to read, and I agree that is one of the hardest parts of joining a new project. As such, I've written an architecture overview, and added the Contributor Covenant code of conduct, in the linked PR.


Remove trust from processor and output doc tree

As discussed removing trust information from processor and outputting a document tree instead. The implementation is complete but the testing is not yet.
Signed-off-by: Brandon Lum<EMAIL_ADDRESS>

PTAL


grid go docs

add an entry for grid go library with bunch of examples in the docs

https://github.com/threefoldtech/info_grid/pull/27


_zsh_autosuggest_highlight_reset:3: maximum nested function level reached; increase FUNCNEST?

Hello there, this is annoying and don't how to fix it...
_zsh_autosuggest_highlight_reset:3: maximum nested function level reached; increase FUNCNEST?
zsh 5.8
zplugin to load this.

Appears to be similar to https://github.com/zimfw/zimfw/issues/449 which points to a bug in kitty.

Thank you and sorry to bother.

Appears to be similar to zimfw/zimfw#449 which points to a bug in kitty.

Wow.  Good catch, but how'd you find this out?

Luck. Didn't look like one of our error messages, but has autosuggest in the function name so searched zsh-asug issues for FUNCNEST and the only result there https://github.com/zsh-users/zsh-autosuggestions/issues/187 happened to be linked to by the zimfw issue. (Link quoted to prevent spurious github crosslinking.)

Hats off :-)

Getting same error in alacritty


chore: update dev dependencies

This PR was automatically generated to update versions of dev dependencies to their latest versions. This helps ensure we get fixes and improvements in a timely fashion and reduces the impact of updating the versions that can arise if versions are allowed to become stale for an extended period.
What did you change?
This action ran yarn upgrade:automatic to update package.json files to request the latest versions of each package. Certain critical packages are intentionally excluded.
This action also deleted the yarn.lock file in order to recreate it with the latest matching versions of secondary dependencies.
This PR includes the various package.json that pull our dependencies forward to the latest versions, the yarn.lock update that maps required versions to the actual versions to be used, and updates the offline mirror.
How did you test and verify your work?
This PR should not normally significantly affect the build outputs or runtime packages. Ensure that yarn ci-check runs cleanly and all tests pass (done automatically as part of the PR checks).

Oh no, we missed the fixes from @amal-k-joy last round.
https://github.com/carbon-design-system/ibm-products/pull/5513#pullrequestreview-2125033605

Closing in favor of #5665


support CUBICSPLINE

Fixes # https://github.com/playcanvas/playcanvas-gltf/issues/43
CUBICSPLINE in GLTF takes (inTangent, value, outTangent) at each key time. We previously had CUBIC interpolation which only uses 4 neighboring key values. This submission adds support GLTF CUBICSPLINE.
I confirm I have signed the Contributor License Agreement.

Awesome, thanks! 👍


Portable: How to fix multiple instances execution?

If I execute multiple instances of Captura (portable), it is allowed to my surprise, with expected problems like error for hotkeys and recordings get saved after each instances are closed...
Is there a setting I'm missing that prevent re-execution of Captura if one is already working on screen/taskbar?
Thank you

This was something other users had asked before, but I put it off due to not having much time to study and implement it.
Now, since I had some time, I've tried an implementation (#505) and seems to work fine so far.
Here's a build to test: https://ci.appveyor.com/api/buildjobs/6sbs6dgp9mfc56bi/artifacts/temp%2FCaptura-Portable.zip
Do note that this is a development build and is much different from the released versions.


Bug: Tolerance + PreserveReferences issue

Hi Riki,
I have an issue with Serialization / Deserialization of my object hierarchy.
My hierarchy is not very complex, but there are many references between objects.
When Ceras serializes the hierarchy :

The 1rst time it encounters a given object, it stores it in the cache and serialize it normally (with ID = -3 = NewValueSameType).
The 2nd time, it finds it in the cache and serialize only its cache's ID (say = 68).

When Deserializing, the same things append in the same order, so when Ceras encounter ID = 68, it is assured that this entry exists in the cache.
But, if between Serialization & Deserialization the hierarchy is modified, even slightly, so that objects order is modified, then at Deserialization, Ceras could encounter ID = 68 before ID = -3, causing a cache error (cache[68] could be another object or could not exist at all).
Of course to fix this issue I can store the old hierarchy in my code (with versioning) to Deserialize it, and make post adjustments to fit the new one ...
But do you think this practical use case could be handled by Ceras itself ?
Thanks :-)

To clarify a bit, lets have this very simple use case :
class A
{
public B objB;
public C objC;
}
class B
{
public C objC;
}
class C
{
string tata;
}
var c = new C();
var a = new A
{
objB = new B
{
objC = c,
},
objC = c,
};
File.WriteAllBytes("file.dat", Ceras.Serialize(a));
//-------------------------------------------------------
Inside "file.dat" :
=> "a.b.c" contains the fully serialized "c" because encountered 1rst
=> "a.c" contains the cache's ID of "c" because encountered 2nd
Then the application changes, class A becomes :
class A
{
public C objC;
public B objB;
}
//-------------------------------------------------------
When deserializing, Ceras will encounter 1rst "a.c" that is only an ID, but that ID leads nowhere because "a.b.c" has not been deserialized yet.

To clarify a bit, lets have this very simple use case :
class A
{
public B objB;
public C objC;
}
class B
{
public C objC;
}
class C
{
string tata;
}
var c = new C();
var a = new A
{
objB = new B
{
objC = c,
},
objC = c,
};
File.WriteAllBytes("file.dat", Ceras.Serialize(a));
//-------------------------------------------------------
Inside "file.dat" :
=> "a.b.c" contains the fully serialized "c" because encountered 1rst
=> "a.c" contains the cache's ID of "c" because encountered 2nd
Then the application changes, class A becomes :
class A
{
public C objC;
public B objB;
}
//-------------------------------------------------------
When deserializing, Ceras will encounter 1rst "a.c" that is only an ID, but that ID leads nowhere because "a.b.c" has not been deserialized yet.

Hi, sorry for the delayed response.
Changing the order of members in a class shouldn't cause any issues.
The members (SchemaMember) are sorted before they are used for reading/writing here:
https://github.com/rikimaru0345/Ceras/blob/master/src/Ceras/Versioning/SchemaMemberComparer.cs
But maybe I'm missing something...

Hi Riki, no prb ;-)
The issue is not related to member order inside a given class, but objects order inside a given "tree".
The way Ceras deserialize such a tree, i.e. with a List<> and not a Dictionary<>, implies that if you change member's order inside a class, and if that change modifies the actual order in which objects are encountered inside the tree, most of the time backward compatibility is broken (because of the sequential objects cache list created at deserialization time).
Changing this fact is, as far as I can tell, not easy inside Ceras, because you have to save more infos during serialization, and you cannot easily preserve the pure sequential serialization.
So the strategy I've taken is to :

Flatten the objects tree inside 4 dictionaries (1 for types, 1 for objects, 1 for members, and 1 for primitives values).
Serialize these dictionaries (inside a unique class) with Ceras.

The actual size of the result byte[] is 10% smaller than Ceras alone (mostly because static 4 dics structure allow heavy use of KnownTypes).
Speed is 10-30% slower (Ceras part is faster because structure is very simple, but the 1rst stage take some time).
But resilience becomes almost 100%.
Thank you for your time and awesome serializer Rikimaru.

Hmm, wait a second, something is not right here....

The issue is not related to member order inside a given class, but objects order inside a given "tree".

But the way the tree is serialized depends on the order of the members.
You said:

Then the application changes, class A becomes :
class A
{
public C objC;
public B objB;
}

So the order of the members objC and objB changes inside class A, but Ceras should still serialize and deserialize them in the exact same order, because it orders the members based on their name (and some other things).
Even if you serialize the changed version of class A, it should result in the exact same byte array.
In other words, it should not matter at all whether your class is defined as
class A { public B objB; public C objC; }

or as
class A { public C objC; public B objB; }

the resulting byte array should be completely the same.
This is just the "basic" version tolerance that is built-in (when you don't set any version tolerance setting in Ceras).
But even though it doesn't embed the names of the fields, it should still be stable against reordering of members (since they're sorted by their name).
If you do use version tolerance , then Ceras also embeds the names of the fields so it can look them up to prevent any issues with members being added in the front or in the middle.

I agree with you, the sample I gave (and you quote) was not relevant.
But what appends if I remove or add a member (that is not of primitive type) ?

Adding or removing members will always break the format if you don't use version tolerance.
It won't matter if it is a primitive type or not.
The best case scenario would be adding a new member, and if that new member happens to have a name that causes it to be sorted to the end, then Ceras would at least read the previous data correctly, but still throw an exception because it will try to read the last member (which doesn't exist in the binary data).
If you don't use version tolerance, the only thing the format is robust aginst, is reordering members.
But renaming them can still cause issues since that can potentially change the order of the members.

Your are mentioning "version tolerance", do you speak about Ceras's one, or about user specific mechanisms ?

I was talking about Ceras' built in version tolerance configuration options.
See here: https://github.com/rikimaru0345/Ceras/blob/master/src/Ceras/Config/SerializerConfig.cs#L114
Not sure what mechanisms a user could add to Ceras (using only OnConfigNewType, or ITypeBinder, or similar) that would result in a serialization that's as robust as the built in version tolerance features.
Hmm.. maybe someone could at least handle renamed members somewhat (by fixing the names when Ceras is configuring the type and creating the schema for it...).
There is one alternative way I can think of though: When making any changes to a type, keep the old version of it around and put it into a different namespace, then when loading old data use those types to successfully deserialize the data, then instantiate the up-to-date versions of the classes and write some code to manually move the data into the new classes.
Obviously that's a lot of work and pretty complicated 😂 but it is possible.
But that's all just hypothetical if Ceras' didn't have a built-in version tolerant mode. 😄

Yes I'm aware of Ceras's tolerant mode, but for my own specific usage it is not enough, because I'm mainly adding/removing members between versions.
By the way thanks a lot Rikimaru for your answers.


Recent attesters and proposers

addresses #7
what was done

state functions now take a config variable so that they can be more modular depending on the chain's config (useful in testing). Can leave out config for default config.
add RecentProposerRecord
add recent_attesters and recent_proposers to ActiveState
process rewards at new epoch based upon recent_attesters and recent_proposers from active_state

Notes

Testing standards for this repo are still majorly a work in progress
I'm not super happy with test_state_transition. most of the heavy lifting in this repo is part of the state transition so this file will blow up.

@ChihChengLiang @hwwhww
This is ready for review if anyone wants to take it on.  We don't really have a team/standards around this repo so no worries if you have other obligations atm!

@hwwhww Thank you for the review! I'm afk a bunch today. I'll get the changes up in the next 24 hours.

Addressed comments. Merging now because it's a blocker on two PRs


Remove --debug option from datasette serve

It doesn't appear to do anything useful at all:
https://github.com/simonw/datasette/blob/f786033a5f0098371cb1df1ce83959b27c588115/datasette/cli.py#L251-L253
https://github.com/simonw/datasette/blob/f786033a5f0098371cb1df1ce83959b27c588115/datasette/cli.py#L365-L367

The only impact it has at all is on this code here:
https://github.com/simonw/datasette/blob/cc218fa9be55842656d030545c308392e3736053/datasette/views/base.py#L515-L527


Google pay on woocommerce site with stripe does not show up in webview

Facing issue with google pay now showing up in Stripe checkout page with Flutter Inapp Webview


A GUI to make a mod

This idea technically goes back a long time, to when @skiwi2 and I were doing our own, non-Cardshifter related, TCG's in Java. With Cardshifter in mind, it becomes an even more important one.
The idea is, in concise form, that you should be able to make a mod (modify cards and rules) by only using a GUI.
Feel free to add any feature-requests to this GUI here.

Creating the cards via a text file does not seem to be a huge issue as of now.
I'm more worried about creating a custom mod, having to write a 500+ line file for that seems to be too much, you can the overview very quickly.

With the new Groovy-based modding - #222 , we have a quite clear file format that we can use for this. The question is: Should we make it? How useful would it be? If we should make it, when and how? (use JavaFX?)

I think a GUI for modding would be overkill. I'd say the vast majority of users will not care that much about creating a new mod, and for those that do, we write documentation.


feature-261: Authorization helm chart

Description
This PR adds minor changes to support helm deployment and does some cleanup.

proxy-server and tenant-service have flags for the address of redis which override default values
removes the configParamSidecarProxyAddr = "web.sidecarproxyaddr" constant
doesn't print the new signing secret on configuration update in the tenant-service

GitHub Issues
List the GitHub issues impacted by this PR:

GitHub Issue #

https://github.com/dell/csm/issues/261

Checklist:

[x] I have performed a self-review of my own code to ensure there are no formatting, vetting, linting, or security issues
[x] I have verified that new and existing unit tests pass locally with my changes
[x] I have not allowed coverage numbers to degenerate
[ ] I have maintained at least 90% code coverage
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] Backward compatibility is not broken

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Please also list any relevant details for your test configuration
Manual deployment in k8s.
go test -count=1 -cover -race -timeout 30s -short ./...
?       karavi-authorization/cmd/karavictl      [no test files]
ok      karavi-authorization/cmd/karavictl/cmd  2.186s  coverage: 61.0% of statements
ok      karavi-authorization/cmd/proxy-server   0.079s  coverage: 4.0% of statements
?       karavi-authorization/cmd/sidecar-proxy  [no test files]
ok      karavi-authorization/cmd/tenant-service 0.053s  coverage: 8.7% of statements
ok      karavi-authorization/deploy     0.105s  coverage: 87.5% of statements
?       karavi-authorization/internal/decision  [no test files]
ok      karavi-authorization/internal/powerflex 9.701s  coverage: 92.6% of statements
ok      karavi-authorization/internal/proxy     9.655s  coverage: 66.1% of statements
ok      karavi-authorization/internal/quota     0.412s  coverage: 90.1% of statements
ok      karavi-authorization/internal/roles     0.044s  coverage: 93.2% of statements
ok      karavi-authorization/internal/tenantsvc 7.362s  coverage: 82.3% of statements
ok      karavi-authorization/internal/token     0.040s  coverage: 100.0% of statements
ok      karavi-authorization/internal/token/jwx 0.033s  coverage: 71.7% of statements
ok      karavi-authorization/internal/web       0.048s  coverage: 6.2% of statements
?       karavi-authorization/pb [no test files]

run e2e test

run e2e test


Make clippy happy

Description
Quick fix for a few clippy errors I was seeing in the repo.

main

#7195   👈

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Zertsov and the rest of your teammates on  Graphite

Merge activity

Jan 31, 1:27 PM EST America/New_York: @Zertsov merged this pull request with Graphite.


Doc render jupyter

Describe your changes
Adds jupyter notebooks to the documentation:

Adds rendered notebooks to the documentation as tutorials
Adds script to download a list of notebooks and adds them to the documentation, with minimal error handling
uses this script in the CI
adds dependencies to the doc builds

Describe any testing you have performed
Please add any demo scripts to CIL-Demos/misc/
Tried locally on windows
Link relevant issues
Checklist when you are ready to request a review

[x] I have performed a self-review of my code
[x] ~I have added docstrings in line with the guidance in the developer guide~
[x] ~I have implemented unit tests that cover any new or modified functionality~
[x] ~CHANGELOG.md has been updated with any functionality change~
[x] Request review from all relevant developers
[x] Change pull request label to 'Waiting for review'

Contribution Notes
Please read and adhere to the developer guide and local patterns and conventions.

[x] The content of this Pull Request (the Contribution) is intentionally submitted for inclusion in CIL (the Work) under the terms and conditions of the Apache-2.0 License.
[x] I confirm that the contribution does not violate any intellectual property rights of third parties

I suppose we need to choose which notebook to render.
I'd suggest the walnut for the CT people and Bill's one for the mathematicians.

Also removed the duplicate nested toc entries...
Merged & live now at https://tomographicimaging.github.io/CIL/nightly/demos/


Add execute sql boiler impl

Adds the boiler plate code for calling (as of yet non-existent) endpoint in nimbus for executing SQL.

@rylev as the sqld-proxy service is written and as Lookup and gluon are implemented, app_id is required for execute. I think in order to add this command, we need to update Lookup in gluon to allow for just project_id and name for a lookup. Then we can run spin cloud sqlite execute "BLAH". Otherwise, it is really hard right now for a user to know what db is associated with what app.

Ok this is ready. We no longer need to send app id so @kate-goldenring's concern above is addressed.


Adding Animation optional property to Sprite

After discussing with @Ballasi ended up making some tests with this feature.
Currently a WIP implementation but I think this was the overall idea, I've used an Optional property for the Animation struct in the sprite, which result of a slight change of the to_str function that generate now 2 different outputs.

Submitted in bd9a447


fix for confirm prompt

fixes #1177

Pull Request Test Coverage Report for Build 44072

0 of 0   changed or added relevant lines in 0 files are covered.
8 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.08%) to 54.213%

Files with Coverage Reduction
New Missed Lines
%

/libraries/Microsoft.Bot.Builder.Dialogs/Prompts/ConfirmPrompt.cs
8
90.8%

Totals

Change from base Build 44016:
0.08%

Covered Lines:
5154

Relevant Lines:
9507

💛  - Coveralls

@johnataylor Please (in addition to the PR feedback) improve the PR Summary and description as these get copied into the final release notes for the product.


Cannot resolve method 'searchOptions' in 'TopKFilter'

topKFilter.searchOptions("test"); =>topKFilter.query("test");

You are right. That's a mistake in README.

@phxism I would appreciate it if you could correct it. : )


Functionality to process selected text

I assume that the package does not currently support applying arbitrary transformations to text using JavaScript (e.g., converting selected text to uppercase or changing words in a sentence or even adding a custom style to text with JS). I think it would be quite nice to have this functionality; I was only able to achieve a poor approximate of this using directives.
Thanks again for this nice package.

I'm not sure I understand what have in mind - perhaps #92? Alternatively, if you are looking for runtime text manipulation in the editor environment, then this is doable through the Lexical API.
Let me know if I got that right.

Yes, you got it right, runtime text manipulation with JS functions. I haven't use Lexical before, let me know if you are aware of the part of their API that could help achieve this functionality; @lexical/selection does not seem to directly provide that. #92 is partially relevant.
Thank you.

I usually manage to find answers to my problems in the Lexical Discord channel - their API is quite large, and sometimes examples are missing. The playground source code is very instructive, though. A few pointers that might be helpful - the core API has stuff like $getTextContent, $createTextNode, and $insertNodes.

Speaking of their playground, do you plan to bring more of its features as external plugins to this package (e.g., comments)? As far as I understand they are implemented from scratch in the playground.

The straightforward answer is no, not directly. My focus is to make the editor work great with the built-in markdown syntax, support extensibility for MarkdownX, and let people do whatever they need with plugins. In that particular case, I hope that I can make it easy enough for people to integrate whatever specifics they have as plugins.


Update to electron v1.0.0

Electron v1.0 is coming now 🎉 🎉 🎉. So it's time to update this repo to v1.0:

Remove all deprecated APIs.
Use ES6 features.

Maybe you can also use electron-compile for mp3-encoder


add requirements.txt

Add requirements.txt for easy installation of dependencies.

Okay i will do this.


Update project

Hello @EdinsonRequena! Thanks for opening this PR. We checked the lines you've touched for PEP 8 issues, and found:

In the file introduccion-al-computo-con-python/modulo_IV/clase02-range.py:

Line 19:26: E261 at least two spaces before inline comment
Line 20:32: E261 at least two spaces before inline comment
Line 22:34: E261 at least two spaces before inline comment
Line 26:34: E261 at least two spaces before inline comment


Feature Request: Date Range Formatting

It would be fantastic if Moment handled date range formatting nicely.
For example March 4-8, 2018 and Today 4-5pm. Implementation-wise, I could imagine this is a little tricky due to the highly semantic nature of things.

See Twix.js, a Moment JS plugin for doing just that. http://isaaccambron.com/twix.js/


Zoom in vs zoom out area labels

Can we add a label at the top of the graphs that indicates what area they're showing data for. In the screenshots, it's clear that the area has changed - in the zoomed in one, it's clear from the highlighted settled area which location it's showing, but in the zoomed out one, I can't tell which area the data is for.

Ideally if an Sauid or CSD polygon is selected, the value of that polygon should appear in the title of the plots. If no polygon is selected then perhaps the title of the dataset or some wording to indicate that the plots are showing aggregated values for the entire scenario.
This should extend to the chart image and data table downloads:

![Screen Shot 2022-08-31 at 10 36 48 AM](https://user-images.githubus

ercontent.com/7228960/187743312-e4bfab6d-3f98-4e78-bc75-74edf9a5dc18.png)

made some UI upgrades that should address these issues:

added a clickable breadcrumb for the selected csd/s feature:

updated the chart exporting settings to include the legend and detailed title:


Return type of getDotPath function is null for schemas with pipeAsync

Thank you for creating this excellent library! This is the first time I've come across any issue after using valibot for some time.
Issue
When using the getDotPath function with an async pipe schema, the resulting return type is null. I have verified this is not the behavior when using a non-async pipe schema.
Minimal reproduction
I also created a minimal reproduction in the playground where you can see hovering over the issuePaths variable reveals null[]. The function returns the correct values, as shown in the logs after running the playground, but the return type is not consistent with this.
Investigation
I did some preliminary investigation and it seems like the condition in the first line of the IssueDotPath type definition fails, eventually resolving the type to never. I'm not sure why this would be happening though?
If this is the expected behavior or if I'm missing something in my implementation, please let me know!

This is a bug. Thank you for creating this PR. It seems to happen whenever pipeAsync contains an async action, but I think I could fix it by changing the following code in the IssueDotPath type:
-TSchema extends SchemaWithPipe<infer TPipe> | SchemaWithPipeAsync<infer TPipe>
-  ? IssueDotPath<FirstTupleItem<TPipe>>
-  : ...

+TSchema extends SchemaWithPipe<infer TPipe>
+  ? IssueDotPath<FirstTupleItem<TPipe>>
+  : TSchema extends SchemaWithPipeAsync<infer TPipe>
+    ? IssueDotPath<FirstTupleItem<TPipe>>
+    : ...

Before releasing a new version, I need to investigate if the same happens for other parts of the IssueDotPath type.

This will be fixed with the next release

v0.42.0 is available


uninitialized constant HTTPDisk::Cache::Tempfile

➜  mm-sales-db git:(master) ✗ → gem install httpdisk
➜  mm-sales-db git:(master) ✗ → httpdisk https://s3.amazonaws.com/irs-form-990/201932849349300103_public.xml
httpdisk: uninitialized constant HTTPDisk::Cache::Tempfile

This also occurs when using the library directly. It's easy enough in my own project to require 'tempfile', but it seems like httpdisk should require it itself.
Thanks!

Thanks for this one too. No idea why it was working without the require, both on my machine and CI. What Ruby/platform are you using?

I'm on Mac OS and ran into the issue on Ruby 3.0.1


Error when downloading ngrok from equinox

Node 7.4.0 npm 4.4.1
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>postinstall: node ./postinstall.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>postinstall script 'node ./postinstall.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the @exponent/ngrok package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./postinstall.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs @exponent/ngrok
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls @exponent/ngrok
npm ERR! There is likely additional logging output above.
npm ERR!      /Users/test/.npm/_logs/2017-03-14T22_59_16_479Z-debug.log
npm install --save-dev --save-exact react-native-scripts failed
package.json
{
"name": "App1",
"version": "0.1.0",
"private": true
}

Hi! We don't use ngrok in CRNA but it's a dependency of one of the underlying tools we use (Expo's xdl library). It looks like the download failed, but hopefully if you try again it will complete. I'm currently working on a way to remove this download step from the installation process.

Figures, it was getting timed out every attempt the last 5 hours, it's finally gone through and working now though.

Glad to hear it! This is a slightly different issues from #69, but the solution is the same so I'll close this in favor of tracking the fix there.

I am having the same problem, and i am not so lucky. Please i need a real way to fix this.


request: direction icon

A direction icon, can for example be used for an input showing the direction of a gradient (left -> right, bottom-left -> top-right). Maybe a compass-inspired icon?

A compass would be interesting. Happy to add this icon in the next release.

Any updates on this? If someone wanted to take a stab at contributing these icons, where would you ask that they start?


Remove .js extension from requires

Resolves #2722
Motivation taken from #2722
Suppose I want to use battle-engine.js in the browser and I have a webpack config that resolves es6 files with higher priority than js files. I can now override require('./crashlogger') in Battle.prototype.leave to my own implementation as I choose. I can use a similar method to create a tools.es6 that has all this.data built into it and define global.Tools for battle-engine.js to run in the browser.

yay for standardization

Working on fixing the Travis build.

Don't forget to run npm test before you make a pullreq or force push to make updates for it.

Build passes. Should be ready for those with Compound Eyes. Sorry bad joke.

Please keep the extension in the error messages and logs...

I changed the logs back, "passed the resolved module path", and removed the change to test/simulator/index.js.


Update config txType to use number type instead of string

This changes the config.json txType to accept either 0 (for legacy) or 2 (for eip1559) as values.

+1 LGMT.
It feels a bit less readable, but this seems to be the satndard naming for these transaacation types (e.g. etherscan also shows the numbers) and we decided on this in Slack.

I feel the same way about it being less readable but I'm wondering if we can use a zod.enum here or something in order to keep using legacy and eip1559 in code.

We could still use the strings internally and numbers in the config.json. But me personally would be happy to use the strings everywhere (but this is not a hard preference).


DO NOT MERGE

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

Project coverage is 82.76%. Comparing base (d377ce7) to head (c27ae11).

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #36       +/-   ##
===========================================
- Coverage   99.51%   82.76%   -16.75%
===========================================
  Files           9        9
  Lines        1445     1445
===========================================
- Hits         1438     1196      -242
- Misses          7      249      +242

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


Improve performance on large images

Add cropOnResize setting to toggle whether image object is created each
time box is resized.
Add preserveSize parameter to getCroppedImage to allow users to manually
get full resolution image using ViewChild and cropper.getCroppedImage()

This helps performance issues mentioned in #186 and implements the feature asked for in #36

This is awesome! Is it possible to update the readme file and the sample application?
Thank you very much for supporting! Will release 0.8.9 as soon as we have this in place!

Thanks!

When is next release 0.8.9 planned ? I am facing similar problems with large images.


Execution check

🚧

Codecov Report
Patch and project coverage have no change.

Comparison is base (49ea98e) 100.00% compared to head (c4d20a3) 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##               1.5     #1069    +/-   ##
==========================================
  Coverage   100.00%   100.00%
==========================================
  Files           46        46
  Lines         2652      2414   -238
  Branches       396       354    -42
==========================================
- Hits          2652      2414   -238

Flag
Coverage Δ

foundry
?

production
100.00% <ø> (ø)

reference
100.00% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
see 29 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Closing this—looks like this is incorporated in the fuzz-events branch.


Dropdown is duplicated when you cancel a pull request and create a new one

I'm on Stash 3.7. Picture attached.

Are you using the last version from this repository ? Or the one on chrome store ?


Create zcash-android-pr-triggerbinding.yml

Adding in triggerbindings

Also likely needs https://github.com/Electric-Coin-Company/infrastructure/pull/810

Once this is merged, does this mean the SDK will build in tekton anytime there is a commit to master?

Once this is merged, does this mean the SDK will build in tekton anytime there is a commit to master?
Anytime someone submits a PR and an approved user assigns an appropriate github label (e.g. "safe-to-test")

@benzcash Can we merge this?

@benzcash Can we merge this?

Testing the PR with itself :sunglasses: https://tekton-dashboard-prod.z.cash/#/namespaces/default/pipelineruns/zcash-android-pr-pipeline-r5v74
@gmale do you have permission within this GitHub project to add labels like safe-to-ci to any PRs?

@gmale do you have permission within this GitHub project to add labels like safe-to-ci to any PRs?

Yes.

Seemed to work. Merging.
@benzcash How do I see the output (logs) from those Tekton tasks that ran?