Translate Homepage and some subdirectories to Chinese

🎉 The homepage supports Chinese now.
But I didn't add any document pages, so I use the original English links on the Chinese homepage.
I will translate the documents page step by step and add them in the near future.
Merge https://github.com/cue-lang/cuelang.org/pull/219 and https://github.com/cue-lang/cuelang.org/pull/220
What's updated:

Translate homepage to Chinese
Translate /install and /contribution_guidelines to Chinese

Relate with: https://github.com/cue-lang/cue/issues/970
Close https://github.com/cue-lang/cuelang.org/pull/219 and https://github.com/cue-lang/cuelang.org/pull/220

@h1z3y3 this is fantastic, thank you!
Apologies for the delay, we've been busy preparing for our FOSDEM talk tomorrow
I've just merged a PR that will mean you need to rebase here, but then the CI tests should pass (it's a check that ensures this repo is up-to-date with the latest stable CUE version).
Please can you ensure that PRs only have a single commit? We do squash merging on this project in order to keep a clean linear git history. It also ensures we have a good commit message log from which you can tell what went into each change. Have a look at the main project commit history for example:
https://github.com/cue-lang/cue/commits/master
Tips on good commit messages can be found in the contribution guide:
https://github.com/cue-lang/cue/blob/master/doc/contribute.md#good-commit-messages
Not sure if you are familiar with Gerrit, but we also have plans to migrate this repository to use https://gerrithub.io/. That will allow us to do reviews in Gerrit or GitHub, whichever you prefer.
Any problems/questions, please feel free to ping me on Slack if DM is quicker/easier/more immediate.

@h1z3y3 this is fantastic, thank you!

Thanks for your reply too!

Apologies for the delay, we've been busy preparing for our FOSDEM talk tomorrow

That's cool !!
BTW, will it be published on CUE Youtube channel? If it will be, I'll appreciate it.

I've just merged a PR that will mean you need to rebase here, but then the CI tests should pass (it's a check that ensures this repo is up-to-date with the latest stable CUE version).

I've rebased the master and merged #219 and #220, therefore you can close both of them.

Please can you ensure that PRs only have a single commit? We do squash merging on this project in order to keep a clean linear git history. It also ensures we have a good commit message log from which you can tell what went into each change. Have a look at the main project commit history for example:
https://github.com/cue-lang/cue/commits/master
Tips on good commit messages can be found in the contribution guide:
https://github.com/cue-lang/cue/blob/master/doc/contribute.md#good-commit-messages

Don't worry about this, I've read the contribute guideline before and I always follow it with one commit in each PR.

Not sure if you are familiar with Gerrit, but we also have plans to migrate this repository to use https://gerrithub.io/. That will allow us to do reviews in Gerrit or GitHub, whichever you prefer.

I've never used Gerrit, but I will learn about it.

Any problems/questions, please feel free to ping me on Slack if DM is quicker/easier/more immediate.

So kind of you, and I was so moved after I translated our Code of Conduct.
We don't have too many conversations, but I still really feel you're friendly and welcomely.

@myitcv
I update the contents according to the changes of https://github.com/cue-lang/cuelang.org/pull/224 and https://github.com/cue-lang/cuelang.org/pull/225

@myitcv
I'm very impressed with you and your work on this PR.
Thanks for your patience and kindness. I'm glad to have the opportunity of working with you. 😄

@h1z3y3 please let me know when you'd like me to take another look at this. I see you have pushed another commit, but generally wait for something like "PTAL" (which is used in the Go project - it stands for "Please Take A Look")

Sorry for my late reply ! PTAL

No, I thank you. Thanks for your all works on CUE. 👍
It's my pleasure to bring such powerful CUE to Chinese developer. 😊


Production bundle can't run on itch.io

Steps to Reproduce

Use this template
Install dependecies
Build production bundle
Zip it and upload to itch.io

Expected Result
Game should work, as it does if using the webpack or parcel templates
Actual Result
Screen stays gray, user gets 403 error (forbidden). See https://nilskjql.itch.io/excalibur-vite-test

Environment

Browsers and versions: Chrome
operating system: MacOS
Excalibur versions: as in template
When bundling with webpack there is no problem, this seems to be something with the vite bundling and /or how itch.io loads it but i'm not sure where the error is.

Current Workaround
For a game jam I uploaded the prod bundle to netlify and then it worked, but not optimal in any way.

Nevermind I think this is a problem at itch.io. Vite puts assets in a subfolder and that makes it problematic to run on itch. Webpack puts the whole bundle and files in the same. Read this: https://itch.io/docs/creators/html5#common-pitfalls.
This issue can be closed since this is most likely something with Itch then this template or excalibur :)

@nilskj this is a good piece of info, I might add this to our documentation. It might be useful to have a section in our documentation around hosting platforms like itch and any of these pitfalls.
@kamranayub @jedeen What are your thoughts?

Anything that helps when we know there are issues seems good 😊


Update to .NET 7

Motivations
Maintenance
Modifications

Update the tests projects to .NET 7
Update TinyHealthCheck to .NET Standard 2.1
Update to C# 11 lang
Update various packages to latest
Add notes about using * or + as the health check hostname instead of localhost, in .NET 7 for some reason localhost breaks on the HttpListener if you're running your app inside a docker container (quite frankly too lazy to research into why, but this is the suggested fix according to stock overflow https://stackoverflow.com/questions/75961828/c-sharp-net-core-7-http-listener-app-wrapped-in-docker-cannot-be-reached-from)

Finally
Thank you for this library, this was exactly what I needed for a console application specifically using a generic host instead of a web host but still hosting it on a k8s cluster

@bruceharrison1984 Heyo! This is ready, I can't find any breaking changes, and quite frankly this isn't even needed to fix anything broken but I wanted to contribute in some way for such a brilliantly small lib
All this does is updated various versions, packages, apply some formatting here and there, and add some notes about docker containers

I appreciate the PR! I'll give this a look over tomorrow and let you know if anything needs to be changed. This would likely be a candidate for a 1.0.0 release since it's been pretty extensively battle tested at this point.

@bruceharrison1984 Ready for another review, I did also update the release workflow to use the newer >> $GITHUB_OUTPUT, so a minor additional update

Merged. I'll cut a new release shortly. Thanks for the help!


java.lang.OutOfMemoryError: Metaspace - reported on build failure

This is a recurring problem - saw this multiple times on May 9 in production.
This pipeline:
https://openshift.io/almusertest1/testmay91494369460731/create/pipelines
https://console.starter-us-east-2.openshift.com/console/project/almusertest1/browse/pipelines/testmay91494369460731?tab=history
Results in this build error:
https://jenkins-almusertest1-jenkins.8a09.starter-us-east-2.openshiftapps.com/job/almightytest/job/testmay91494369460731/job/master/1/console
java.lang.OutOfMemoryError: Metaspace
Finished: FAILURE
For the project in this repo:
https://github.com/almightytest/testmay91494369460731
However - no memory quota issue is reported here:
https://console.starter-us-east-2.openshift.com/console/project/almusertest1/quota
Resource Type	Used	Max
CPU (Limit)	1 core	2 cores
Memory (Limit)	512 MiB	1 GiB

Note that the pipelines are reported as not started in the UI.

Hi @ldimaggi ,
I looks like Quota limit exceed and it is visible on the openshift console as well.

Yes - but - the MEMORY quota is not exceeded.   ;-)

@jstrachan @mitchharpur What do you think?

I would think its because its out of memory in the meta space
default      1  444  2.9 18011824 2924492 ?    Ssl  02:17  25:57 java -XX:+UseParallelGC -XX:MinHeapFreeRatio=20 -XX:MaxHeapFreeRatio=40 -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -XX:MaxMetaspaceSize=100m
Specifically this little fella
XX:MaxMetaspaceSize=100m
This value needs to be increased
Open a shell on your jenkins pods and do a ps aux

A quick search brings me back to here
https://github.com/openshift/jenkins/blob/master/2/contrib/s2i/run#L65
and here
https://github.com/openshift/jenkins/blob/master/slave-base/contrib/bin/run-jnlp-client#L86
The values are hard coded when the upstream image is built.
I already opened an issue
https://github.com/openshift/jenkins/issues/296
Cheers

It would appear you can override this value by adding this env variable to your dc
JAVA_GC_OPTS

@rawlingsj any thoughts?

Closing as not reproducible


GW-75: Refactor navigation bars position to sticky

What do you think about this scrolled nav bar look? Also, opinion on the logo when scrolled?
Preview: https://deploy-preview-121--gisaubcv3.netlify.app/

👍 Gotchuu! How about now ?


How to Implement Paradigms Sampler to Automatic 1111

How to Implement Paradigms Sampler to Automatic 1111

https://github.com/AndyShih12/paradigms

Could you please be more specific? I don't understand your question.


"qps_openloop_test" fails on C++ linux (opt, tsan) and macos with

https://grpc-testing.appspot.com/job/gRPC_master/config=opt,language=c++,platform=linux/8345/console
I1016 03:47:32.080034723   13149 qps_openloop_test.cc:51]    Running QPS test, open-loop
D1016 03:47:32.080173289   13149 test_config.c:155]          test slowdown: machine=1.000000 build=1.000000 total=1.000000
E1016 03:47:32.112118500   13149 tcp_client_posix.c:171]     failed to connect to 'ipv6:[::1]:32767': socket error: connection refused
E1016 03:47:32.113711375   13180 tcp_client_posix.c:171]     failed to connect to 'ipv6:[::1]:32767': socket error: connection refused
E1016 03:47:32.120335974   13190 tcp_client_posix.c:171]     failed to connect to 'ipv6:[::1]:32767': socket error: connection refused
E1016 03:47:32.135979342   13149 tcp_client_posix.c:171]     failed to connect to 'ipv6:[::1]:32767': socket error: connection refused
D1016 03:47:32.148374617   13210 grpc_profiler.c:48]         You do not have google-perftools installed, profiling is disabled [for qps_server.prof]
D1016 03:47:32.148403478   13210 grpc_profiler.c:52]         To install on ubuntu: sudo apt-get install google-perftools libgoogle-perftools-dev
I1016 03:47:32.383808084   13149 driver.cc:206]              Warming up
I1016 03:47:37.383936398   13149 driver.cc:212]              Starting
I1016 03:47:37.488023483   13149 driver.cc:233]              Running
...
...
Caught signal 11
bins/opt/qps_openloop_test[0x68ba13]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xf8d0)[0x7f5e1edc28d0]

FAILED: bins/opt/qps_openloop_test [ret=-11, pid=13149]
...

The test sometimes passes as well - which makes me think this is a flaky-test

tsan failure seen again (linux dbg):
https://grpc-testing.appspot.com/job/gRPC_master/12020/config=tsan,language=c++,platform=linux/console

This is likely flaky .. the only failure I got in my run today was under gcov:
config=gcov,language=c++,platform=linux
https://grpc-testing.appspot.com/job/gRPC_master/12375/config=gcov,language=c++,platform=linux/testReport/(root)/tests/bins_gcov_qps_openloop_test/

This flake is not related to the cases covered by #4018 . While all the other benchmarks were flopping in stats collection (sync streaming server), this is a different issue altogether.

Still happening as of 2/29/2016
https://grpc-testing.appspot.com/job/gRPC_master/15479/config=dbg,language=c++,platform=macos/console

still seen 2016/3/14
https://grpc-testing.appspot.com/job/gRPC_master/15790/#showFailuresLink

This is different from the fixes that went in recently re the profiler,
since this is coming from the mac test. Is there any way to recover a
corefile here?
On Mon, Mar 14, 2016 at 7:18 AM Jan Tattermusch<EMAIL_ADDRESS>wrote:

still seen 2016/3/14
https://grpc-testing.appspot.com/job/gRPC_master/15790/#showFailuresLink
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/3869#issuecomment-196326893.

Theoretically, yes. The easiest thing to do might actually be running the
test locally on a mac with -n 1000. It should be possible to reproduce this.
On Mon, Mar 14, 2016 at 8:06 AM, Vijay Pai<EMAIL_ADDRESS>wrote:

This is different from the fixes that went in recently re the profiler,
since this is coming from the mac test. Is there any way to recover a
corefile here?
On Mon, Mar 14, 2016 at 7:18 AM Jan Tattermusch<EMAIL_ADDRESS>wrote:

still seen 2016/3/14
https://grpc-testing.appspot.com/job/gRPC_master/15790/#showFailuresLink
—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/3869#issuecomment-196326893.

—
Reply to this email directly or view it on GitHub
https://github.com/grpc/grpc/issues/3869#issuecomment-196357775.

Seen Jan's reported failure again today, this time with a bit more of output: https://grpc-testing.appspot.com/job/gRPC_master/15854/config=dbg,language=c++,platform=macos/console
E0316 15:49:04.611127000<PHONE_NUMBER>94976 driver.cc:383] assertion failed: server->stream->Finish().ok()

*******************************
Caught signal 6
  no backtrace

FAILED: bins/dbg/qps_openloop_test [ret=-6, pid=28246]


Azure image tests

Let's test the vhd images on Azure!
Some details about how this works:
Azure VMs have quite a lot of dependencies - a network interface, a virtual network, a network security group, a public ip address and a disk. Azure CLI and Azure Portal handle the creation of all these resources internally. However, when using the API, the caller is responsible to create all these resources before creating an actual VM.
To handle the creation of all the resources in the right order, a deployment is used. A deployment is a set of resources defined in a JSON document. It can optionally take parameters to customize each deployment. After the deployment is finished, the VM is up and ready to be tested using SSH.
Sadly, the deployments are a bit hard to clean-up. One would expect that deleting a deployment removes all the deployed resources. However, it doesn't work this way and therefore it's needed to clean up all resources "manually". For this reason, our deployment sets a unique tag on all the resources created by the deployment. After this test is finished, the API is queried for all the resources with the tag and then, they're deleted in the right order.

schutzbot_fedora32_base

This is now ready to be reviewed. :slightly_smiling_face:

schutzbot_fedora31_base

Travis fails with a timed-out Amazon:
    --- FAIL: TestImages/test/cases/fedora_31-x86_64-ami-boot.json (1566.46s)

        --- PASS: TestImages/test/cases/fedora_31-x86_64-ami-boot.json/image_info (12.55s)

        --- FAIL: TestImages/test/cases/fedora_31-x86_64-ami-boot.json/boot (1238.37s)

            main_test.go:245:

                	Error Trace:	main_test.go:245

                	            				main_test.go:320

                	            				main_test.go:360

                	Error:      	Received unexpected error:

                	            	cannot register the image: &awserr.baseError{code:"ResourceNotReady", message:"exceeded wait attempts", errs:[]error(nil)}

                	Test:       	TestImages/test/cases/fedora_31-x86_64-ami-boot.json/boot

                	Messages:   	upload to amazon failed, resources could have been leaked

That's also failing on master, and is just down to Amazon having a hard time importing images at the moment. This is unrelated to this commit.


require(['dep1', 'dep2']) will it be ever supported

Hi guys.
One library that i am using and provides its own define and require is doing something like require([...dependecies]), of course causing error in loader.js (trying to make it use loaderjs require) and i just thought will this ever be possible or at least is it a good idea to provide such functionality in loader.js .
Not to forget the same functionality is also provided by requireJs.
require(['scripts/config'], function() {
    // Configuration loaded now, safe to do other require calls
    // that depend on that config.
    require(['foo'], function(foo) {

    });
});

The loader we use is specifically for a synchronous named set of AMD modules. A strict subset of AMD.


Bug:  Each child in a list should have a unique "key" prop

Describe the bug
After running the app locally, if you open the console, you will notice an issue related to the missing 'key' prop.
we have to fix the issue

Steps to reproduce

run the app locally
open the console
you will see the issue

Browsers
Other (add additional context)
Additional context (Is this in dev or production?)
dev
Code of Conduct

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

Contributing Docs

[X] I agree to follow this project's Contribution Docs

Thanks for opening this issue @priyankarpal! What page are the console errors appearing on?

Wherever this component components/atoms/SkeletonLoader/skeleton-wrapper.tsx is used, the error should be there.
Because the index variable from map function hasn't been used.
Providing the divs inside, the key prop with index value should fix it wherever it is used.

@ThePiyushAggarwal, thanks for the input; your solution is the correct programmatically, but knowing the page would be helpful during the PR review to understand if the issue is solved or not and test it properly.

Wherever this component components/atoms/SkeletonLoader/skeleton-wrapper.tsx is used, the error should be there. Because the index variable from map function hasn't been used. Providing the divs inside, the key prop with index value should fix it wherever it is used.

yes

@priyankarpal do you have a link on where you got the error?

@priyankarpal do you have a link on where you got the error?

when you open the insights page you will see the errors. (development mode)

components/atoms/SkeletonLoader/skeleton-wrapper.tsx
components/atoms/ClientOnly/client-only.tsx
/pages/hub/insights/index.tsx
layouts/hub.tsx

It's wherever the skeleton component is used, so the fix is in https://github.com/open-sauced/app/blob/72d678ed641f3782c23c49458dea33df004678c9/components/atoms/SkeletonLoader/skeleton-wrapper.tsx#L11-L26
This is most likely the fix unless a page is using the component itself multiple times.
const SkeletonWrapper = ({ classNames, count = 1, width, height, radius }: SkeletonWrapperProps): JSX.Element => {
  const skeletonArray = Array(count).fill(true);
  return (
    <>
      {skeletonArray.map((_, index) => {
        return !height ? (
-

+

        ) : (
-

+

            <Skeleton height={height} width={width} borderRadius={radius} count={1} />

        );
      })}
    </>
  );
};

.take

@a0m0rajab @nickytonline I have done 2-3 good first issues already. Is it ok to do this one or should I leave it for someone who is looking for their first contribution? Should I be looking at other issues that don't have a first-issue label? Thank you for your time!

I was wondering the same.

Yeah, let's leave it for someone who hasn't contributed to the codebase yet.

Hi Guys, is it alright if i take this on as my first issue?

Hi Guys, is it alright if i take this on as my first issue?

Of course! Go for it! Good luck! let us know if you need any help. Use dot take to assign it to yourself. Replace dot with .

. take

@mjgoerlitz-new i think @Alishow1111 wants to take it

.take

.take

@Alishow1111 The above solution definitely works, but you might want to use a unique ID for the index. Since the props do not supply one, you could do something like I have below.
import { v4 as uuidv4 } from 'uuid';

// ...

{skeletonArray.map((_, index) => {
  const key = uuidv4();
  return !height ? (

  ) : (

      <Skeleton key={key} height={height} width={width} borderRadius={radius} count={1} />

  );
})}

@krusecodes Using the index value from the map function is fine in this case as suggested here. You can read more on the concept in the React docs

HI guys, thanks. Sorry for the delay.

Using the index is fine for this use case as @ThePiyushAggarwal mentioned.

should i go ahead and do it? It wont take much time

should i go ahead and do it? It wont take much time @ThePiyushAggarwal ?

Hello, this has already been assigned to someone


Dark mode overrides choice text color

Describe the current behavior
If I have a choice options configured like so:

And then I flip it to dark mode, it looks like this:

The text color has flipped to white, but the background color hasn't flipped.
If I manally set the text color to black, it will stay, but using the default black causes it to flip.
Steps to reproduce
No response
Describe the expected behavior
It should either keep a default black or flip the background color as well.
Where have you encountered this bug?

[ ] On docs.getgrist.com
[X] On a self-hosted instance

Instance information (when self-hosting only)

Grist instance:

Version: c58dbfc689f90197d970b021f0a1505668122e793983e11bba2112596256d2da
Installation mode: Kubernetes
Architecture: single-worker

Browser name, version and platforms on which you could reproduce the bug: Arc

Hi, this is also giving me big issues.
I can switch to light mode, but I have a crowd sourced tables and:
Grist defaults to dark mode when the browser/OS is set to dark mode, meaning visitors can't see things.
have many big tables filled with 'Choices' tags. And they become illegible.
I can change the default text colours to make it legible in dark mode, but this will take hours.
Here's a screenshot:


Fix conflicting lockfiles.

Currently issuing "gcloud app deploy" for projects in this repository will
result in a failed build due to conflicting lockfiles (both yarn.lock and
package-lock.json). This patch updates all app.yaml files to specify
yarn.lock files should be ignored when deploying.
Associated github issue:
https://github.com/GoogleCloudPlatform/nodejs-getting-started/issues/129
Signed-off-by: Casey Flynn<EMAIL_ADDRESS>

Test failures are blocked on #131 - once that's merge, I'll rerun the build + merge this. 😄

Sounds great! Thank you!

Edit: Travis cannot build this PR, since it relies on forked (i.e. untrusted) code. We're in the process of switching to a new CI system that can do so, but that may take a few days.
In the meantime, I've submitted #133 as a workaround. Sorry for the confusion!


[BUG]  host.k3d.internal not persisted in /etc/hosts across cluster restart

What did you do

How was the cluster created?

k3d cluster create $K8S_NAME \
  --volume=$K8S_SOURCE_VOLUME/environments/development/configuration/registries.yaml:/etc/rancher/k3s/registries.yaml \
  --volume=$K8S_SOURCE_VOLUME/environments/development/configuration/coredns-cm.yaml:/var/lib/rancher/k3s/server/manifests/zz-coredns-cm.yaml \
  --volume=$K8S_SOURCE_VOLUME:/volumes/root \
  --image=docker.io/rancher/k3s:v1.18.9-k3s1 \
  --update-default-kubeconfig=false \
  --switch-context=false

What did you do afterwards?

k3d commands?
docker commands?
OS operations (e.g. shutdown/reboot)?

docker exec into running node cat /etc/hosts shows <IP_ADDRESS> host.k3d.internal added after creation, if I stop the cluster and start it again the host.k3d.internal entry is missing.
coredns configmap still has the NodeHosts entry but because I am using  host.k3d.internal to resolve the local docker registry the image pulls from my local registry now fail as the node can no longer resolve it but pods running in the cluster can.
What did you expect to happen
I expected the host.k3d.internal entry stay in /etc/hosts after cluster stop/start so the node can resolve the docker registry running on the host
If there is another suggested alternative to resolve the local docker registry I that would also work.
Which OS & Architecture

Linux, Windows, MacOS / amd64, x86, ...?

Ubuntu 18.04 amd64
Which version of k3d

output of k3d version
k3d version v3.1.3
k3s version v1.18.9-k3s1 (default)

Which version of docker

output of docker version and docker info

Client: Docker Engine - Community
Version:           19.03.13
API version:       1.40
Go version:        go1.13.15
Git commit:        4484c46d9d
Built:             Wed Sep 16 17:02:52 2020
OS/Arch:           linux/amd64
Experimental:      false
Client:
Debug Mode: false
Server:
Containers: 3
Running: 3
Paused: 0
Stopped: 0
Images: 242
Server Version: 19.03.13
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host ipvlan macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 8fba4e9a7d01810a393d5d25a3621dc101981175
runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
init version: fec3683
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 5.4.0-52-generic
Operating System: Ubuntu 20.04.1 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 31.34GiB
Name: ubuntu
ID: WL6U:HIUQ:TWIH:626O:COKO:NWD4:3LRY:KIOF:WX5V:O54H:BDI6:TQAJ
Docker Root Dir: /var/lib/docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
docker.k8s
<IP_ADDRESS>/8
Live Restore Enabled: false

Should be fixed by #718 that will be released in v5.0.0 soon :+1: (or checkout the next dev release beforehand)


[Event Request] codeunit 8614 "Config. XML Exchange" - OnAfterAddTableAttributes

We would like a new event OnAfterAddTableAttributes in the following procedure:
local procedure AddTableAttributes(ConfigPackageTable: Record "Config. Package Table"; var PackageXML: DotNet XmlDocument; var TableNode: DotNet XmlNode)
.
.
.
if "Dimensions as Columns" then begin
FieldNode := PackageXML.CreateElement(GetElementName(FieldName("Dimensions as Columns")));
FieldNode.InnerText := '1';
TableNode.AppendChild(FieldNode);
end;
OnAfterAddTableAttributes(ConfigPackageTable, PackageXML, TableNode); //A100F0001.Event A200F0003.Event
end;
Event signature:
[IntegrationEvent(false, false)]
local procedure OnAfterAddTableAttributes(ConfigPackageTable: Record "Config. Package Table"; var PackageXML: DotNet XmlDocument; var TableNode: DotNet XmlNode)
begin
    //A100F0001.Event A200F0003.Event
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


possible issue+request

Just want to start off by saying I love the mod! Been using for about a week or so now. I have encountered some problems with the most recent update on 0.8.2.
1-It appears items are still dropping even though disabled. Althrough I have not extensively tested it, Demonic Fragments from Night lurkers drop even when disabled.
2-The, "Gorecrusher Spirit" cant die. When bringing to 0 hp it will go into its recovery phase.
Some npcs I have noticed are buggy. For example if putrid rat spawns and you kill and loot him. The item dropped from him, "putrid rat" when dropped again will spawn again. You can do this infinite amount of times.
3-Some NPCs when being spawned in via the command, sometime spawn dead. Maybe it is just from using the command? I have it on a server for a couple friends so it rarely goes off regularly to check that way.
4-Suggestion, is it possible to bind the drops or rewards to the appropriate level? For example a level 30 or under mob can only drop up to around level 30-40ish items and so on? Killing a high level and getting low level stuff isnt always "rewarding" and when killing a low level and getting end game stuff can be unbalanced and players can gap their current progression making it difficult or boring to progress.

Hello, thank you for the compliment and feedback.

The plugin won't replace the drop tables of the spawned NPCs, only adds a random reward, so it's the normal behavior.
I will look into this one. You can disable them in the config. Some NPCs were actually causing server crashes before. Need to go over them and figure out which ones are not suitable.
Same as 2nd I guess.
This could be a good option. I'll think about how to implement this one.
Thank you again.


Script Fetching incorrect FromId ??

Assalam o Alekum,
I have cloned your script for my university project. Your script is very awesome. But it gives me an error. When I fetch data it given me incorrect FormId. Can you please guide how can I correct it??

Waiting for you reply,

Dear ,
I don't know why graph online tool show this error , i try to user same user id in online graph tool and directly with HTTP request and i have this result .
the script store correct value and i will search about this problem and tell you.
thanks.

Thanks for your reply. I will be waiting for your answer.


Not possible to use variable as zone name

Because zone name place as key terraform doesn't allow to use a variable for it.
terraform plan

Error: Ambiguous attribute key

  on dns.tf line 6, in module "zones":
   6:     var.domain_name_com = {

If this expression is intended to be a reference, wrap it in parentheses. If
it's instead intended as a literal name containing periods, wrap it in quotes
to create a string literal.

Hi, @ramilexe !
I am not sure I follow what you are trying to do.
The issue you have is not related to the module.
Please check out example code for more details on how to use this module.
For generic Terraform questions, please ask them on https://discuss.hashicorp.com/

You define zone name as a key, in your examples they are hardcoded for example app.terraform-aws-modules-example.com. in my case I have zone names defined as variable and based on environment (workspace). With your approach it is not possible to use

This is related to Terraform, please ask this question in the forum.

I ran into the same issue. Without the possibility to refer to variables in the zone names this is almost useless because you have to know the value beforehand.
I know it's related to Terraform, but there could be a way to do it currently. Someone will do something like this almost all the time:
module "route53_zones" {
  source  = "terraform-aws-modules/route53/aws//modules/zones"
  version = "1.2.0"

  zones = {
    var.domain_name = {
      comment = "Managed by Terraform"

      tags = local.tags
    }
  }
}

@x80486 thank you for good explanation. Because of this issue this module doesn't make any sense.

If you enclose the variable in parentheses it works:
module "route53_zones" {
  source  = "terraform-aws-modules/route53/aws//modules/zones"
  version = "1.2.0"

  zones = {
    (var.domain_name) = {
      comment = "Managed by Terraform"

      tags = local.tags
    }
  }
}

  ...
  # module.route53_zones.aws_route53_zone.this["domain.tld"] will be created
  + resource "aws_route53_zone" "this" {
      + comment       = "Managed by Terraform"
      + force_destroy = false
      + id            = (known after apply)
      + name          = "domain.tld"
      + name_servers  = (known after apply)
      + tags          = {
          + "Application" = "domain.tld"
          + "Environment" = "sandbox"
          + "Terraform"   = "true"
        }
      + zone_id       = (known after apply)
    }

Plan: 7 to add, 0 to change, 0 to destroy.

Wow, I didn't know it. I disappointed why author didn't suggested this solution and just closed the issue.

@ramilexe Honestly, I didn't know this solution would work here 👍  Good that it works!
This is why for me it is much better to forward people's questions about Terraform to a designated place.
If anyone wants to help - open a valid PR updating documentation describing this fix. This kind of small fixes is very useful!


MSM Performance Hotplug - allows only 4 cores instead of 8

I am running Ressurrection Remix 5.7.2 (Adnroid 6.0.1) and Sensei Kernel 2.3R3 on Xiaomi Mi 4i.
Kernel Aditor Mod V15.
When I got to KA Mod --> CPU Hotplug --> MSM Performance Hotplug I can set these values:

"Disabled"
"-----"
"1, 2, 3, 4"

Looks strange since my phone has and 8 core CPU - MSM8939

I do not own an 8 core device, so I am unable to test/debug/etc anything with 8 cores. If you cannot provide code that works on your device, I will be unable to do much to fix this.


CB-11157 Fixing anchor generation

Adding colons and semicolons to excluded characters in fragment creation. Verified with GitHub's anchor-making algorithm.

@riknoll @nikhilkh please review when you have a moment!

Thanks @dblotsky! LGTM

LGTM!


Remove node-fetch in favour of native fetch

Closes # .
Changes

Removes node-fetch in favour of native fetch

Type

[ ] New Module
[ ] Other New Feature
[ ] Validation Fix
[ ] Other Bugfix
[ ] Docs
[x] Chore/other

Comments/notes
Annoyingly my last PR was clobbered when I synced with the upstream, so I'm going to replay my changes here. This change is pretty uncontroversial so I'll start with it.
Some things that have changed since my previous PR was opened:

Gadi did a bunch of work to bump to node 18 and did some awesome work on making the tests faster 🙇 (this really helped me in writing this PR)
Gadi fixed the interface change I accidentally pushed in my giant Typebox PR 🙇 🙇 🙇
CloudFlare released and then made their nodejs_compat_v2 flag GA. This obviates the need for a bunch of mundane changes in my previous PR to do with prefixing everything with node:

Where does this leave us?
There are only two remaining blockers to supporting Cloudflare:

node-fetch which this PR addresses
The import assertions. Even though we are now using the standard syntax as per the latest LTS version of Node,  CloudFlare still doesn't love it. My understanding is that the next release of node-yahoo-finance2 is looking to drop browser support, so I was thinking we could switch out the current import for a call to node:fs and then validate the structure with typebox (if we were so inclined). Though I appreciate that is a bit of a cludge fix and significantly less elegant than just using the features of the primary platform this library supports.

Otherwise though I managed to get a local CloudFlare Worker running with this config using<EMAIL_ADDRESS>#:schema node_modules/wrangler/config-schema.json
name = "cloudflare"
main = "src/index.ts"
compatibility_date = "2024-09-23"
compatibility_flags = ["nodejs_compat"]

There is also the separate discussion of environment variables we started on my last PR. That is no longer a blocker for CloudFlare after the latest compatibility changes. HOWEVER, I think it still merits exploration at least for allowing callers to merge environment vars à la suggestion made by @gadicc in the last discussion:
export default {
  fetch(req, env) {
    yahooFinance.setGlobalConfig({ mergeEnv: env });
  }
};

I will have a look at doing this in a follow up.

Hey @eddie-atkinson!  Welcome back, sooner than I thought :sweat_smile:   Sorry to hear about the failed rebase but happy that as usual nothing dissuades you :grin:
Firstly, thanks so much for this.  All looks perfect as usual.  I just wanted to share my current thoughts on a few things before we decide where to merge / release this.  It's a little off-topic for this PR but does relate back to your comments / notes section at the beginning, so let's dive into it.  Depending on our back-and-forth, could move elsewhere.

Typebox stuff.  As you say, there were a few small things that were easily fixed, and DX is significantly better.  Unfortunately there are some other issues which haven't been as easy.  a) Upgrading the typebox version breaks some of the types in (iirc one of) the Decode() methods.  I was hoping to investigate further and create a high quality issue upstream, but haven't had a chance yet.  b) Issues with types in unions, e.g. #807 and suspected other recent issues.  This is more serious because some related issues I found upstream said something like "we will only be able to address this in the next major version".  However, it wasn't the exact issue, so maybe it could be easier.  Here again, I was hoping to investigate further and open a good issue upstream but haven't had a chance.
How much time would you potentially have to look into this now? `:)  My other thought is that, with a lot of other changes coming in, we could possibly revert the typebox stuff, publish a final v2 release, and integrate this in the next major release, which I wanted to start working on in the dev branch.  But maybe we should see how much work is involved in fixing things first, especially since this PR and the other cloudflare blockers look quite easy.

Re import assertions, I'd rather keep the imports since this is the spec now and I feel like CF will inevitably have to support them.  And actually, looks like the only blocker is their usage of an older version of esbuild, and there is an easy workaround: to manually specify / override a higher version in package.json (ref: https://github.com/Shopify/shopify-app-js/issues/1031); otherwise we could just offer an entry point with stripped our assertions that we generate at build time.

node: imports.  nodejs_compat_v2 sounds great, especially to not need to do all that again.  However just as a (less urgent) principle, I'm very happy to correctly prefix all node modules.  Both because it's the new spec and clears up ambiguity and also since I've been having fun with Deno recently :)

Other stuff I have in mind for next major version (see also #794): ESM only as discussed, drop fetchDevel for fetch-mock-cache (also mine, borne out of fetchDevel but more generalized and works better with mocks in testing, see also #767), maybe even switch our base to Deno (v2 is looking mighty fine, with better built-in tools and faster testing).

Inferred types is one of the things that made TypeScript infinitely more useful to me.  Unfortunately, however, it seems they're less appreciated now for libraries (vs your main project), because, they're slow.  I'd love to get the package (eventually) on JSR too (including with explicit CloudFlare support :)).  You can force a package with slow types but there are implications, like those types might just be replaced with any.  More details at https://jsr.io/docs/about-slow-types#simple-inference.  I'm not sure how to best handle this yet (although do have some ideas) but wanted to bring it to your attention early on.

Ok, this was super long so I'll leave it at that.  Would love to hear your thoughts on some of this and then we can decide how to best proceed.  But honestly, this PR is so simple, maybe there's no reason to wait :man_shrugging:  Thanks again, as usual! :pray:

Ok actually let's move this chat to the various relevant issues, which might make it more manageable too.  You'll be getting a few tags, sorry about that ;)

Thanks again, @eddie-atkinson!  Great to finally remove node-fetch, the start of a new era :grin:
Edited my original reply above, splitting off the non-relevant parts of the PR.  Except now this is merged and there are still the other CloudFlare issues you mention... we can still discuss here or open a new issue, as you prefer.
P.S. Did you happen to test for creating new files with fetchDevel?  I see there's still a res.headers.raw() in there, which I think probably needs to be adjusted to?

P.S. Did you happen to test for creating new files with fetchDevel? I see there's still a res.headers.raw() in there, which I think probably needs to be adjusted to?

Hey @gadicc I have spent a little bit of time hacking around with this, and I even read the contribution guide (for the first time if you can believe it), and I don't really know how to test this.
I setup a small test file in the src directory like:
import yf from "./index-node";

await yf.search(
  "AAPL",
  {},
  {
    devel: true,
  },
);

Which when I run with npx tsx ./src/test.ts I get:
src/lib/fetchDevel.js:39
  url = url.replace(
            ^

TypeError: Cannot read properties of undefined (reading 'replace')

That's obviously related to the URL being missing, but I'm slightly surprised I have to supply that. I think I'm missing the bigger picture on how this works / fits in.


Using jekyll-responsive-images with Markdown

Is there a way to use the jekyll-responsive-images plugin using the image markdown tag?

This plugin only provides the tags. You could experiment with building a converter that converted Markdown image tags to {% responsive_image %} tags?


Tweak the built-ins color highlighting in the shader editor (take 2)

3.x version of https://github.com/godotengine/godot/pull/55010.
The new color is more distinguishable from other variables and symbols.
Preview

Thanks!


removing berkeley in integration tests

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-build-me

!ci-nightly-me


Add possibility to define transformer function without input parameter

It would be useful to have the possibility to create a field transformer function that accepts a Supplier type function.
This feature would be used in case we should set a field value taking it from a constant or from an external object.
e.g.
Given the following source class:
public class SourceClass {
    private final String name;
    private final BigInteger id;
}

and the following destination class:
public class DestinationClass {
    private final String name;
    private final BigInteger id;
    private final Instant creationDate;
}

It should be possible to define the following transformation function for field creationDate>
FieldTransformer<Date> creationDateFieldTransformer =
new FieldTransformer<>("creationDate", () -> Instant.now());

The featureThe has been implemented, the jdk8 compatible version with the new feature is 1.1.20, and 1.4.2 for jdk11


Improve the rejuvenate page

https://akshitagupta15june.github.io/Moksh/Rejuvenate_page/rejuvenate.html
steps to follow

Take reference from iskcon page https://akshitagupta15june.github.io/Moksh/Iskcon/event.html, add the same navbar from iskcon to rejuvenate page
2)remove the background picture from rejuvenate page
add same footer of iskcon page in rejuvenate page
Make sure whole page is responsive
Add screenshot in pull request to show responsiveness

can you assign me this?

ok! Please follow all guideline, responsiveness is very important

@akshitagupta15june please assign this issue to me

this is how the site is looking in different sizes the only thing not working right now it the menu button on small screen you just have to add an onclick event on that button that will add a class to side-scroll nav "right-[0px]" but im not able to do it for some reason @akshitagupta15june


Autocomplete menu shows up underneath other menu

http://jsbin.com/ziracuxeda/edit?html,js,output
If I position an auto complete above a menu, the auto complete menu (when visible) shows up underneath the other menu.

Do you want the menu auto move to below and not underneath by the auto complete menu?
If that is what you want ,you can simply
.form-autocomplete .menu {
  position: auto;
}


[Infineon] Code Cleanup for Lighting App and All Clusters App

Changes made to examples/lighting-app/infineon/psoc6/src/AppTask.cpp
Changes made to examples/all-clusters-minimal-app/infineon/psoc6/src/AppTask.cpp
Changes made to examples/all-clusters-app/infineon/psoc6/src/AppTask.cpp

@dey-r This PR has no changes in it?

Updated @bzbarsky-apple

@dey-r Please rebase on tip to fix the ZAP CI?


Compatibility with npm-audit-html

First, thanks for providing this tool!
It would be great if we could use it in conjunction with npm-audit-html to generate an html report.
Unfortunately I can see that there is some non JSON output when piped to a file.

This causes npm-audit-html to fail. If I remove these first two lines I can pipe it to npm-audit-html and it generates an html file fine.
Are these two additional lines needed? If not removing them would make it compatible with npm-audit-html...

This is a similar request to this: https://github.com/IBM/audit-ci/issues/147
The audit-ci version is definitely optional. However, it's not as clear how we handle the final output.
I am definitely open to this change!

I think this was solved with #193. Please re-open if you're experiencing similar issues!


ui: Go back for delete actions before querying async job

Description
Fixes https://github.com/apache/cloudstack/issues/5352
Navigates back in history before querying the result of an async job for any delete action
Querying the result leads to a page refresh which can cause an error if it is a delete action and the page has not been changed
Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[x] Minor
[ ] Trivial

@blueorangutan ui

@davidjumani a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5360 (SL-JID-557)

@blueorangutan ui

@davidjumani a Jenkins job has been kicked to build UI QA env. I'll keep you posted as I make progress.

UI build: :heavy_check_mark:
Live QA URL: http://qa.cloudstack.cloud:8080/client/pr/5360 (SL-JID-562)


fix: Refetch artwork after editing

This PR resolves CX-3357
Description

Refetch artwork after editing
PR Checklist

[ ] I tested my changes on iOS / Android.
[ ] I added screenshots or videos to illustrate my changes.
[ ] I added Tests and Stories for my changes.
[ ] I added an app state migration.
[ ] I hid my changes behind a feature flag.
[ ] I have prefixed changes that need to be tested during a release QA with [NEEDS EXTERNAL QA] on the changelog.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

Does returning the artwork as part of the mutation not fix this?

We already do it and it doesn't work :/ I've tried to return the required fields directly in the mutation fragment but still the same result.

Figuring out why the mutation doesn't change the values directly in the Relay store (like how it works when you save an artwort, for example) would be a great topic to explore at a Future Friday.

agree - we can look into refactoring those screens and the logic there soon


execute prepare.sh  and encountered an error in gigaspeech

The file cuts_XL_raw.jsonl.gz did not exist during the ASR preparation.sh phase 5

Pls help to fix it ,Thanks
@pkufool

This could be an inconsistency in the naming convention. Could you please add a prefix to the file name, i.e cuts_XL_raw.jsonl.gz -> gigaspeech_cuts_XL_raw.jsonl.gz and try again?

yes,after the prefix is added, it works properly.


Trivial problem is infeasible in cpp, but works in python

I have run into an issue in an optimization problem where trivially feasible constraints cause my cpp program to return  "infeasible" when trying to solve.
To demonstrate, I have created a nurse schedule optimization program with 3 nurses and 5 slots.
I have two trivial constraints: 1) that the first nurse takes the first slot and 2) that at most one nurse is allowed in each slot.
When engaged one at a time, these constraints cause or-tools to return a feasible solution, but when I engage both constraints, I get an infeasible solution.  The exact same problem works fine in the python API even with both constraints engaged.
I suspect I am misusing AddEquality somehow when I set the first constraint (cp_model.AddEquality(LinearExpr(slots[0][0]), 1);), but I cannot figure out what the problem is.
Please help.
#include <iostream>
#include <vector>

#include "ortools/sat/cp_model.h"
#include "ortools/sat/sat_parameters.pb.h"

namespace operations_research {

namespace sat {
void slots(bool add_sum, bool add_const) {

  CpModelBuilder cp_model;

  const int num_nurses = 3;
  const int num_slots = 5;

  std::vector<std::vector<IntVar>> slots(num_nurses);

  for (int n = 0; n < num_nurses; n++) {
    for (int d = 0; d < num_slots; d++) {
      const IntVar var = cp_model.NewIntVar({0, 1});
      slots[n].push_back(var);
    }
  }

  if (add_const) {
    // trival constraint
    cp_model.AddEquality(LinearExpr(slots[0][0]), 1);
  }

  if (add_sum) {
    // make the first row sum to one; should be trivial too
    std::vector<IntVar> this_nurse_vals(num_nurses);
    for (int n = 0; n < num_nurses; n++) {
      const IntVar var = slots[n][0];
      this_nurse_vals.push_back(var);
    }
    cp_model.AddEquality(LinearExpr::Sum(this_nurse_vals), 1);
  }

  // solve
  const CpSolverResponse response = Solve(cp_model.Build());
  LOG(INFO) << CpSolverResponseStats(response);

  for (int d = 0; d < num_slots; d++) {
    for (int n = 0; n < num_nurses; n++) {
      std::cout << SolutionIntegerValue(response, slots[n][d]);
    }
    std::cout << std::endl;
  }
  std::cout << std::endl;

  // [END solve]
}

} // namespace sat
} // namespace operations_research

// ----- MAIN -----
int main(int argc, char **argv) {
  operations_research::sat::slots(false, true); // works
  operations_research::sat::slots(true, false); // works
  operations_research::sat::slots(true, true);  // infeasible

  return EXIT_SUCCESS;
}
// [END program]

The same program that works fine in python:
from ortools.sat.python import cp_model
num_nurses = 3
num_slots = 5

model = cp_model.CpModel()

# make vars
slots = {}
for n in range(num_nurses):
    for d in range(num_slots):
        slots[(n, d)] = model.NewIntVar(0, 1, "slot")

model.Add(slots[(0, 0)] == 1)

model.Add(sum(slots[(n, 0)] for n in range(num_nurses)) == 1)

solver = cp_model.CpSolver()

solver.Solve(model)

solution = []

for d in range(num_slots):
    solution.append([])
    for n in range(num_nurses):
        solution[d].append(solver.Value(slots[(n, d)]))

print(solution)

What is stranger still is that by slightly changing the constraint from     cp_model.AddEquality(LinearExpr(slots[0][0]), 1); to     cp_model.AddEquality(LinearExpr(slots[1][0]), 1);, the solution comes back feasible and things work as expected.  Any other value works as well. Somehow the first element of the vector seems to be sacred.

if (add_sum) {
// make the first row sum to one; should be trivial too
std::vector this_nurse_vals(num_nurses);
for (int n = 0; n < num_nurses; n++) {
const IntVar var = slots[n][0];
this_nurse_vals.push_back(var);
}
cp_model.AddEquality(LinearExpr::Sum(this_nurse_vals), 1);
}
You create the vector, then use push back. So the first 3 elements of
the vector are default variables.
We will make the solver crash in this case.
Laurent Perron | Operations Research |<EMAIL_ADDRESS>| (33) 1 42 68 53
00
Le jeu. 4 juil. 2019 à 06:23, Bob Baxley<EMAIL_ADDRESS>a
écrit :

What is stranger still is that by slightly changing the constraint from cp_model.AddEquality(LinearExpr(slots[0][0]),
1); to cp_model.AddEquality(LinearExpr(slots[1][0]), 1);, the solution
comes back feasible and things work as expected. Any other value works as
well. Somehow the first element of the vector seems to be sacred.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/or-tools/issues/1400?email_source=notifications&email_token=ACUPL3KYYIITE25EATQGN5LP5V3NHA5CNFSM4H5RD2W2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZGIVFQ#issuecomment-508332694,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACUPL3OLTGYYHQQNJFT6BZDP5V3NHANCNFSM4H5RD2WQ
.

I don't really understand the problem, but if i replace this_nurse_vals.push_back(var); with this_nurse_vals[n] = var; then it works.  Thanks for your help!
(feel free to close)


Systemctl not working as expected

Windows Version
Microsoft Windows [Version: 10.0.19045.3324]
WSL Version
<IP_ADDRESS>
Are you using WSL 1 or WSL 2?

[x] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
No response
Other Software
xrdp
awesome
Repro Steps
wsl.conf:
[boot]
systemd=true

I ran this command:
sudo systemctl restart xrdp

Expected Behavior
expected to do what this does
Actual Behavior
System has not been booted with systemd as init system (PID 1). Can't operate.
Failed to connect to bus: Host is down

Diagnostic Logs
No response

/logs


Add cargo-machete and remove unnecessary dependencies 🔪

cargo-machete is a tool designed to detect unnecessary dependencies in Rust crates. Having a similar goal as cargo-udep, it chooses some different trade-offs, which are explained in the blog post.
In godot-rust, machete detected 6 cases  of unnecessary dependencies (of which 2 are between internal crates). I automated checks via CI action, which runs in less than a second -- most time is spent on cargo install, which is cached when possible. I needed to highlight one false positive (libc), which is fortunately a well-supported feature of machete. With the amount of proc-macros and code generation we deal with, I was surprised it wasn't more.
This addition should help us detect dependencies which are no longer needed, and slightly reduce initial compile time. It won't have a big effect on incremental compilation. We may need to monitor in the coming weeks if the removed dependencies cause issues in one way or another -- that would however also highlight a lack of coverage in our CI pipeline.
bors try

Android build failed due to network error.
bors try

bors try

bors r+


Add Sorting functionality on column "Status" of Product Grid.

Framework Version: 0.1.1

Fixed
Framework Version: 0.1.2


bugfix: makeup logpath from sandbox & container mata

Signed-off-by: YaoZengzeng<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did
Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #2054 into master will increase coverage by 0.02%.
The diff coverage is 80%.


Library test case produces different error than expected in CI

/kind bug

Which area is this bug related to?

/area ci
/area library
What versions of software are you using?
Go project
Operating System and version: Ubuntu 22.04.4 LTS
Go Pkg Version: 1.21
Bug Summary
Describe the bug:

Library test case Test_parseFromRegistry/should_fail_if_registryUrl_is_invalid produces different error server misbehaving instead of expected no such host. This only seems to happening in the CI, not local test runs of make test, after updating to Go 1.21 and Kubernetes 1.29.
To Reproduce:

One can attempt to reproduce by running make test with a Go 1.21 runtime, so far reproducing this difference in error does not work locally (for me in Fedora 39) where it run with expected error that passes the test case.
To reproduce in CI at the time of writing, produce a branch with updates to library to use Go 1.21 and Kubernete 1.29, including updating the Go runtime version in the workflow, then run the build workflow.
Expected behavior

Error should be the following to match the test case expectation Get .* dial tcp: lookup http: .*:
Get "http://http//invalid.com/devfiles/notexist/": dial tcp: lookup http: no such host

Any logs, error output, screenshots etc? Provide the devfile that sees this bug, if applicable

Currently getting this error in that test case:
Get "http://http//invalid.com/devfiles/notexist/": dial tcp: lookup http on <IP_ADDRESS>:53: server misbehaving

Error Log
=== RUN   Test_parseFromRegistry/should_fail_if_registryUrl_is_invalid
    parse_test.go:4879:
        	Error Trace:	/home/runner/work/library/library/pkg/devfile/parser/parse_test.go:4879
        	Error:      	Expect "Get "http://http//invalid.com/devfiles/notexist/": dial tcp: lookup http on <IP_ADDRESS>:53: server misbehaving" to match "Get .* dial tcp: lookup http: .*"
        	Test:       	Test_parseFromRegistry/should_fail_if_registryUrl_is_invalid
        	Messages:   	Test_parseFromRegistry(): Error message should match
=== RUN   Test_parseFromRegistry/should_fail_if_registry_returns_a_bad_devfile_content
--- FAIL: Test_parseFromRegistry (1.00s)

Additional context

Any workaround?

Don't make these changes, but this blocks dependencies from updating the Kubernetes version.
Suggestion on how to fix the bug

None yet, needs investigating.

blocking https://github.com/devfile/library/pull/212 from merging

Was able to reproduce within a Ubuntu 22.04 LTS VM:

From here can debug what is happening.

Was able to reproduce within a Ubuntu 22.04 LTS VM:
From here can debug what is happening.

Running same make test on Fedora 39 with same Go version 1.21.10 all cases pass, issue seems isolated to Ubuntu.

Was able to trace error back to here: https://github.com/golang/go/blob/752b009010df021c45f620e683ec062d22b552bf/src/net/dnsclient_unix.go#L230
Expected error should be traced here: https://github.com/golang/go/blob/752b009010df021c45f620e683ec062d22b552bf/src/net/dnsclient_unix.go#L209
The problem seems to be in how systemd-resolved is resolving the given hostname.

Testing later Ubuntu version in workflows: https://github.com/devfile/library/pull/214

Testing later Ubuntu version in workflows: devfile/library#214

No good, still produces:
=== RUN   Test_parseFromRegistry/should_fail_if_registryUrl_is_invalid
    parse_test.go:4879:
        	Error Trace:	/home/runner/work/library/library/pkg/devfile/parser/parse_test.go:4879
        	Error:      	Expect "Get "http://http//invalid.com/devfiles/notexist/": dial tcp: lookup http on <IP_ADDRESS>:53: server misbehaving" to match "Get .* dial tcp: lookup http: .*"
        	Test:       	Test_parseFromRegistry/should_fail_if_registryUrl_is_invalid
        	Messages:   	Test_parseFromRegistry(): Error message should match

I've been looking around this and I think it might make sense to remove the prefix from the test?
https://github.com/devfile/library/blob/main/pkg/devfile/parser/parse_test.go#L4857

I've been looking around this and I think it might make sense to remove the prefix from the test?
https://github.com/devfile/library/blob/main/pkg/devfile/parser/parse_test.go#L4857

I found this answer too and I've tried this, it produces a different error as the function from net needs the prefix to determine which protocol to use.

Was able to reproduce within a Ubuntu 22.04 LTS VM:
From here can debug what is happening.

Running same make test on Fedora 39 with same Go version 1.21.10 all cases pass, issue seems isolated to Ubuntu.

Isolated problem down to it only effecting Ubuntu Server on Go 1.21, all other instances including Ubuntu Desktop should be unaffected to my knowledge.

Using a bypass error pattern to expect server misbehaving if Ubuntu Server: devfile/library#217
Tried these changes with changes in devfile/library#212 under a Ubuntu Server 22.04 LTS and got:
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04.4 LTS
Release:        22.04
Codename:       jammy
$ make test
...
=== RUN   Test_parseFromRegistry
=== RUN   Test_parseFromRegistry/should_fail_if_provided_registryUrl_does_not_have_protocol_prefix
=== RUN   Test_parseFromRegistry/should_be_able_to_parse_from_provided_registryUrl
=== RUN   Test_parseFromRegistry/should_be_able_to_parse_from_registry_URL_defined_in_tool
=== RUN   Test_parseFromRegistry/should_be_able_to_parse_from_provided_registryUrl_with_latest_version_specified
=== RUN   Test_parseFromRegistry/should_be_able_to_parse_from_provided_registryUrl_with_version_specified
=== RUN   Test_parseFromRegistry/should_fail_if_provided_registryUrl_cannot_download_resources
=== RUN   Test_parseFromRegistry/should_fail_if_version_does_not_exist
=== RUN   Test_parseFromRegistry/should_fail_if_registryId_does_not_exist
=== RUN   Test_parseFromRegistry/should_fail_if_registryUrl_is_not_provided,_and_no_registry_URLs_has_been_set_in_tool
=== RUN   Test_parseFromRegistry/should_fail_if_registryUrl_is_invalid
=== RUN   Test_parseFromRegistry/should_fail_if_registry_returns_a_bad_devfile_content
--- PASS: Test_parseFromRegistry (2.73s)
...


Include responses from a method's declared exceptions

A common pattern in JAX-RS applications is to have resources throw
custom exceptions, and configure an ExceptionMapper to map them to a
specific HTTP status code.
This pattern does not mesh well with how swagger collects the APIs
info: swagger expects the developer to declare for every method the
list of possible responses, regardless of the exceptions it declares to
throw.
@PUT
@ApiOperation("desc")
@ApiResponses({
        @ApiResponse(code = 204, message = "Everything is awesome")
        @ApiResponse(code = 500, message = "Internal error")
        @ApiResponse(code = 502, message = "Upstream error")
})
@Path("/op")
void operation(Params params) throws UpstreamServerError, InternalServerError;

This pull request proposes to also check the exceptions declared in the
throws clause of a method for @ApiResponse annotations, and include
them in the method possible responses.
So that the previous example would become:
 @PUT
 @ApiOperation("desc")
 @ApiResponses({
        @ApiResponse(code = 204, message = "Everything is awesome")
 })
 @Path("/op")
 void operation(Params params) throws UpstreamServerError, InternalServerError;

By moving the other response codes to the exceptions:
@ApiResponses({
       @ApiResponse(code = 502, message = "Upstream error")
}
public class UpstreamServerError extends RuntimeException {
  :
}

In my particular case, I have an app with hundreds of resource methods
which already declare the possible exceptions they throw.
This improvement would save me hundreds and hundreds of repetitions of
return statuses.

Thanks, that's an interesting approach. Can you add another use case for your test that covers both an @ApiResponse annotation on the method and the custom exception? That would be more complete.

@webron Thanks for the reply.
PR updated accordingly.

@webron Any news on this ? :)

Hi @jawher this is great.  Sorry for the delay, @webron was waiting for my review, and I'm both slow and lazy.

@fehguy Thank you for accepting this PR, and no worries for the delay :+1:


fix(deps): update images to latest

This PR contains the following updates:

Package
Type
Update
Change

icr.io/ibm-iac-charts/sysdig-deploy
helm_release
minor
1.64.3 -> 1.65.2

icr.io/ibm-iac/vuln-host-scanner

patch
0.12.0 -> 0.12.1

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

/run pipeline

:tada: This PR is included in version 1.3.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Data collection terminating error if registry connection fails

[PS] C:\Scripts\ExchangeAnalyzer>.\Run-ExchangeAnalyzer.ps1 -Verbose
VERBOSE: Collecting data about the Exchange organization
VERBOSE: 5 Exchange servers found.
VERBOSE: 9 databases found.
VERBOSE: 2 DAGs found.
WARNING: An error has occurred during basic data collection.
WARNING: Exception calling "OpenRemoteBaseKey" with "2" argument(s): "The network path was not found.
"

I suspect this is just not handling lack of connectivity/auth to my Edge server.

PR #159 created for this fix.

Resolved in https://github.com/ExchangeAnalyzer/ExchangeAnalyzer/releases/tag/v0.2.1-beta.5


Documentation for rolling your own

Can you guys provide some documentation to help me build Android Textile, I'm no expert and don't use Google store (if I don't have to)? Thanks.

hey @letkan, thanks for the push here. we've been meaning for ages to start pushing open builds of the apk for people to install. sooo... I just pushed that work, which means that the next app release we do we will also build the install ready APK and it will be pushed right to github. Stay tuned, I'll ping you once that is out, I'm guessing tomorrow or Monday.
If you are super eager before we get the OS docs written up, you could dig into the android-release step in our CI https://github.com/textileio/textile-mobile/blob/master/.circleci/config.yml.

here is the first apk btw https://github.com/textileio/textile-mobile/releases/tag/android_1.6.14_262

@andrewxhill, thanks for this. Meanwhile I messed up my account, any way to reset it? I could make a new one with a new username but would be nice to be able to reset it.

We're posting those APKs on Github release, which is what this issue was for, so closing.
@letkan, there is currently no way to "reset" an account.


Endpoints should call next handler

Is your feature request related to a problem? Please describe.
Endpoints are handlers and as such it should call next handler if available.
Describe the solution you'd like
Enable call next to Endpoint handlers
Describe alternatives you've considered
Keep as is
Additional context

Calling next on the endpoint causes unexpected behavior


Cost Model Error Reporting

@mbolt35 a nice artifact for this PR might be a quick summary of how this was tested


add Callback source

this lets you execute code when the sink is empty, when you've reached a certain position in the sink, etc. it's useful if you can't/don't want to poll constantly to see if the sink has emptied

What is the status on this and could you provide an example of how to use it? I needed I can rebase it against master (looking at it it seems to be a trivial rebase).

using it here
https://github.com/goolord/tundra/blob/c3e4515ad60b86739638952d93d9a50031162527/src/source/callback.rs
https://github.com/goolord/tundra/blob/aa85b23e6fccde69fa6cba4dd1b6225c3079b1b9/src/types/player.rs#L256
feels ready to merge

bump, wasn't sure how useful this was but it appears that someone else has wanted it at least https://github.com/goolord/tundra/issues/3

@goolord it can easily be confused with a source that invokes a callback to generate samples and it was my first idea when I read this PR. I think it would be better to rename it to EmptyCallback.


workflows: Add awk magic to GH changelog generation

Create a changelog file with awk
Add both "dist" and "changelog" to GH artifact
This changes how the artifact is built: Now the dist directory is inside the artifact (instead of the contents of dist being in the artifact): this means the default path now works for download-artifact
Dump changelog into the release body

This is obviously a bit more complicated... but I believe the typical failure mode is a successful release run, the changelog could just be empty (if e.g. CHANGELOG.md is not well formed).

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.636%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1465

Relevant Lines:
1490

💛  - Coveralls

Adding a bit more detail: this is something I wanted for tuf-on-ci so did here as well. If others think this is unnecessary complexity that's fine by me.

tests will fail due to #2618

rebased on main


docs(conf) removed deprecated config directives

Good catch, thanks!

@Tieske Merged too quickly. This does not replace the description of other configuration directives that mention those properties, like admin_ssl_cert, etc... Mind submitting an additional PR for those? These descriptions can be taken from the kong.conf.default file.


added title to settings page

Can someone check it out and make sure it works? My version of FCC can't run because I can't seem to install a dependency.

Yep, it works. :+1:

@alistermada Awesome! Thanks.

Closing in favor of #7601


Updated validation.py script

Updated validation.py script
Fixed the bug for checking the first character of string should be a letter.
Closes :#1
Fixes #<>

It's a good idea to open an issue first for discussion.

[ ] Tests pass
[ ] Appropriate changes to README are included in PR

@googlebot I signed it


Update to new cell structs from Ferrite

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (13e55b5) 100.00% compared to head (7f66734) 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            @@
##              main       #20   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            6         6
  Lines          273       273
=========================================
  Hits           273       273

Impacted Files
Coverage Δ

src/elements.jl
100.00% <100.00%> (ø)

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


How can I pretrain the model using my own dataset?

I'm interested in the pretraining procedure. I'm trying to pretrain the model by myself, but I only found the pretrained model and example code for fine-tune tasks. I'm wondering if the pretraining code including both MLM and RTD tasks will be released?

We don't plan to release the pre-training code in the near future.


Application script structure changed in Gradle 3.2, breaking this plugin.

Here's the legacy start script that this plugin works with:
https://github.com/gradle/gradle/blob/REL_2.14.1/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt
Here's the latest version that your regex doesn't like:
https://github.com/gradle/gradle/blob/master/subprojects/plugins/src/main/resources/org/gradle/api/internal/plugins/unixStartScript.txt

@tylerbenson Can you see if v1.0.14 resolves your issue?  I think this change will fix it, but I'm bad and didn't test (I don't currently have a project that uses this plugin handy).

Yeah, we tested and confirmed this does work.


Fix one typo and description of conductivity in solid

Just a couple of minor changes.

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

:exclamation: No coverage uploaded for pull request base (develop@79ecbc2). Click here to learn what that means.

Additional details and impacted files
@@            Coverage Diff             @@
##             develop      #47   +/-   ##
==========================================
  Coverage           ?   97.39%
==========================================
  Files              ?        9
  Lines              ?      346
  Branches           ?        0
==========================================
  Hits               ?      337
  Misses             ?        9
  Partials           ?        0

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


nodePackages.copilot-node-server: init at 1.30.0

Description of changes
This is used by https://github.com/copilot-emacs/copilot.el

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Could this be done using buildNpmPackage?

Could this be done using buildNpmPackage?

Is that recommended? I thought the way I did was the standard way (https://nixos.org/manual/nixpkgs/stable/#javascript-adding-or-updating-packages).

Could this be done using buildNpmPackage?

Is that recommended? I thought the way I did was the standard way (nixos.org/manual/nixpkgs/stable/#javascript-adding-or-updating-packages).

Unfortunately, the manual is outdated in that regard. There's an ongoing effort to remove packages from the nodePackages set, as it is very difficult to maintain. See #229475 for more details. If you did repackage it with buildNpmPackage, that would be much better.


[metricbeat] Add missing labels for deployment

[ ] Chart version not bumped (the versions are all bumped and released at the same time)
[ ] README.md updated with any new values or changes
[ ] Updated template tests in ${CHART}/tests/*.py
[ ] Updated integration tests in ${CHART}/examples/*/test/goss.yaml

Earlier, .Values.labels were propagated for the daemonset only.
https://github.com/elastic/helm-charts/blob/master/metricbeat/templates/daemonset.yaml#L44
This PR will resolve this and add these labels for the deployment too.

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?


fix UnicodeEncodeError in bulk_download function

There was an error with the encoding of some files.

@SettNozz thanks for the PR...merged it!!


Enable nullability, round 3 of x

Another big chunk of nullability annotations

Ready for review.

Thanks!


Property:organisationalUnitType

Definition
The type or level of organisational unit

Dimension

Existing property

Existing class

Existing property identifier

Format

Required

Repeatable

Constraints

Examples
Department (A group of people recognised by an organization as forming a cohesive group referred to by the organization as a department); Division (A group of people recognised by an organization as forming a cohesive group referred to by the organization as a division)

Notes
Example vocabulary list: https://vocab.org/aiiso/

Added https://vocab.org/aiiso/ as an example vocab


Add explicit Jinja2 version requirements

This prevents us from having insecure implicit Jinja2 dependency. Corresponding
upstream fix for flask is in https://github.com/pallets/flask/pull/3155

@zabbal Thanks for catching this and offering a fix! We inherited a different way of managing our dependencies for this project, so to address the matter in that system, I've made a PR that should accomplish the same goal: https://github.com/advancedtelematic/tuf-test-vectors/pull/51.


Fix parsing of infinity

Hi Mads,
I got this problem on Win10 which apparently use a special unicode char for infinity (the horizontal 8).
Since you hardcoded your NumberFormatInfo and pass it to the double.TryParse() there is no pretty way of passing a custom definition. So i chose to fix this by setting the infinity symbols to something sensible on the number format info, which is customizable for other users.
Dont know which OS you prefer as default, let me know if Win10 is a bad choice?
Lars

See https://stackoverflow.com/a/41322533/5247321 for more info on the Win10 issue.

Perhaps "Infinity" is a better default, as previous versions of windows used that?

Mads, i think i have a better idea for solving this. I will commit it later.

@LarsPellarin What is the status on this fix, would you like a review?

@mdabros Yes i think this is ready for review

Hi @LarsPellarin,
Changes look good, and nice test coverage. Thanks for fixing this!
If you update the version to <IP_ADDRESS> in the Directory.Build.props, I will merge the PR. Nuget packages should be available shortly after.
Best regards
Mads

@mdabros I let the overloads bubble up to where i had the actual problem (in CsvRowExtensions.ToF64Matrix()).
I think this is more flexible.

@LarsPellarin I agree, that's a good solution. Let me know when it is ready for review.

@mdabros please review


Checks for generated excitations in UCC ansatz

Summary
Adds checks for the generated excitations in the UCC ansatz.
The checks are only executed when the excitations were generated by a function (assuming that all other cases are handled elsewhere; if self.excitation is of type str, int or List[int]).
If one of the checks fails, a QiskitNatureError is raised.
Details and comments
The expected format of the excitations is List[Tuple[Tuple[int, ...], Tuple[int, ...]]].
The following checks are executed:

the list of excitations consists of pairs of tuples
each pair of excitation indices has the same length
the indices within each excitation pair are unique

I also added a test to check that the errors are raised in the respective scenario.
Closes #323

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

10 of 10 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 85.576%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
9528

Relevant Lines:
11134

💛  - Coveralls

@mrossinek Makes sense, I will update the code so that the checks are executed in all cases.


Fix failing e2e tests

Signed-off-by: ashish<EMAIL_ADDRESS>Description
This PR fixes e2e tests by testing on stable releases of linkerd
Notes for Reviewers
Signed commits

[x] Yes, I signed my commits.

@Revolyssup  Green check for e2e tests

Whoo-hoo! Green!


fix(settings): submits the password with mutation; improves validation and display

So this PR primarily fixes the issue where we weren't sending the password through with the mutation and corrects the logic surrounding how it's displayed.
So here you can see: as soon as you change the email the password input displays itself. If you type the correct password, it updates the email. If you type the wrong password, it prevents you from updating the email and errors.
https://user-images.githubusercontent.com/112297/142661528-4007db15-c7b6-4282-bc9f-42ec1e4ae922.mov
I'll leave a few comments below explaining what was going on and why.

Nice cleanup 💪
Thanks for doing this.


Correct spelling of Cocoapods in README

This pull requests corrects the spelling of CocoaPods 🤓
https://github.com/CocoaPods/shared_resources/tree/master/media
One day I’ll make a bot that looks through the READMEs of all Pods, looks to see if it uses “Cocoapods” and PRs “CocoaPods” :D— Ørta (@orta) February 10, 2016

Thank you :+1:

:smile:


Merge pull request #1 from Alamofire/master

update
Issue Link :link:

Goals :soccer:

Implementation Details :construction:

Testing Details :mag:

Hello @hgl753951
Did you create this pull request by accident?


Fix race condition in contract runtime

This PR fixes a race condition which can happen when enqueuing blocks for execution.
Closes #3622.

bors merge


method_length rule: add exception for test classes

A proposal: maybe add a flag to disable the rule for test classes where there might be multiple case checks in a row so the method is long while the semantics is ok.
e.g. https://github.com/sbcgua/mockup_loader/blob/master/src/zcl_mockup_loader_stub_factory.clas.testclasses.abap#L188

yea 👍 configuration options are good
method length is not a super great measure, hoping to implement #387 and #287 sometime in the future


feat(requests):  return cached result option

allows to always return the last cached value when cache is stale
Closes #398
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/ngneat/elf/blob/master/CONTRIBUTING.md#commit
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Feature

What is the current behavior?
When cache is stale not value is emitted initially

Issue Number: #298
What is the new behavior?
with the alwaysReturnCachedResult option the last cached result ist returned immediatly with loading: true and then the states get updated when the new data arrives
Does this PR introduce a breaking change?
[ ] Yes
[x] No

I will update docs when rest of the PR is okay


UPDATE-WIKI

I've fixed some typos on the wiki pages.
https://github.com/cuteolaf/QRUCIAL-DAO-WIKI/tree/fix-typo

Thank you @cuteolaf for the contribution. I went through the wiki and fixed the errors.


fix(redis): 修改备份 backup-client: IBSBackupClient to CosBackupClient

关联研发信息
dev_branch: fix/redis_backup_client_ibs_to_cos/#940
target_branch: v1.2.0

关联研发信息
dev_branch: fix/redis-backup_client-from_ibsbackupclient-to_cosbackupclient/#940
target_branch: v1.2.0


  I've been trying to build on a rPi3b+ and having problems with running out of resources - heap.  I've tried adjusting the java options but can't find anything that works.  I have a 3.7.2 version of bazel from "bazel-bin" and have problems with building mediapipe from latest source with a symbol not defined error at runtime.  So, if you could help me out I'd appreciate it.

On what platform do you build your bazel distro's?

RaspberryPi4 or Cross-compilation https://github.com/PINTO0309/pytorch4raspberrypi

and have problems with building mediapipe from latest source with a symbol not defined error at runtime.

I don't know what OS you are using. MediaPipe does not support armv7l.

So, I’m told by mediapipe support; however, they blame the error building mediapipe on TFlite (duh, I do believe this is another Google offering).
I submitted a feature request to support the mediapipe build on rPi 3 and 4.  As I look into the mediapipe build info, it requests bazel 3.7.2 at least,
so since I’m running the bazel-bin 3.7.2 it should work, but mediapipe support claims the undeclared symbol is because TFlite issue.  However, TFlite
is supported on raspberry pi 3 and 4 via coral.  So what’s up with that excuse?
From: Katsuya Hyodo @.>
Sent: Tuesday, August 31, 2021 7:23 PM
To: PINTO0309/Bazel_bin @.>
Cc: John Blacker @.>; Author @.>
Subject: Re: [PINTO0309/Bazel_bin] On what platform do you build bazel (#3)
On what platform do you build your bazel distro's?
RaspberryPi4 or Cross-compilation https://github.com/PINTO0309/pytorch4raspberrypi
and have problems with building mediapipe from latest source with a symbol not defined error at runtime.
I don't know what OS you are using. MediaPipe does not support armv7l.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/PINTO0309/Bazel_bin/issues/3#issuecomment-909723841 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AB6WAAX4WDDPNLMSY5RFMU3T7VP6DANCNFSM5DE73L2A .
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675  or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub .   https://github.com/notifications/beacon/AB6WAASNHELCKB2VZCM7PYTT7VP6DA5CNFSM5DE73L2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGY4URQI.gif


/init - No Such File or Directory

In private testing, it booted to the point until /init was missing from initramfs. musl C Library is presumably missing ld-musl-x86_64.so.1, which I found after building it differently. That change needs to be made, along with a slight change in the build script.

#!/bin/bash is impossible if bash isn't installed. Closing....


vux with nuxtjs is not working . it is getting many errors

vux with nuxtjs is not working .
Module parse failed: Unexpected token (3:0)           friendly-errors 11:28:05
File was processed with these loaders:

./node_modules/vux-loader/src/index.js
./node_modules/vue-loader/lib/index.js
You may need an additional loader to handle the result of these loaders.
| import { render, staticRenderFns } from "./v-chart.vue?vue&type=template&id=0a
956d8e&lang=html&"
| import script from "./v-chart.vue?vue&type=script&lang=js&"

../../../../vux-loader/src/script-loader.js!export * from "./v-chart.vue?vue&t
ype=script&lang=js&"
| import style0 from "./v-chart.vue?vue&type=style&index=0&lang=css&"
|
friendly-errors 11:28:05

我也遇到同样的问题 请问如何解决的？


Un-setting the metadata event information

Metadata events like SetLicense, SetPollingSource should have a way to be unset/reset. Consider the best way to achieve this.

#62 added DisablePollingSource event. Removing license is TBD and may not be needed, as typically once you have a license you'd only want to change it, not remove it completely.


Fix material you widget colors

The weather widget does not use/uses the wrong material you colors. On the screenshot it's compared to other Material You widgets and it clearly does not fit in.
But aside from that, Prognoza is great and I absolutely love it. Hope this issue will be addressed soon.

Hi, thank you for the report and I'm very happy to hear that you're enjoying the app 🙂
I'm currently focusing all my efforts on the redesign, apart from some critical bugs that pop up along the way. Since this is just a UI bug, it will be fixed in the redesign.
The problem is I made the widget with an unstable alpha library that has odd bugs like this on some devices. The new version will use the old but stable API that responds to system colors correctly. For more info, see #45.


Generate snippets with carbon.now.sh for a specific file in a GitHub gist

Is your feature request related to a problem? Please describe.
In Medium, I can get a specific file in a gist as a snippet using the gist link appended with ?file=<file-name>.
I'm requesting that kind of feature in carbon.now.sh

The feature is already there.


use shorter paths when extracting archives

Use a shorter temp path instead of the full url when expanding archives. The temp path is saved to the marker file so subsequent requests don't need to expand the archive again.

Apparently PR validations don't get queued when using a fork, so closing this and using #7945 instead.


Integration with mars

Is your feature request related to a problem? Please describe.
mars is a distributed tensor-based computation engine. The intermediate data/results of GraphScope in the format of dataframe should be enabled to process in mars, as a part of the workflow pipeline.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I wonder if we can build a graph engine on top of tensor engine like mars.

I wonder if we can build a graph engine on top of tensor engine like mars.

I wonder why not build a graph engine on top of a dataflow engine like mars. What are the cons and pros?

I wonder why not build a graph engine on top of a dataflow engine like mars. What are the cons and pros?

proposal: (the key is mars must in the same container with vineyard)

integrate with helm, this would be ref to #161
create a new image that contain mars, and add a launch mars engine in coordinator. (that would be similar with learning engine)


Obsidian: electron_16 -> electron_17

Description of changes

The upstream builds have been bundling electron 17 since v0.13.31
Fixes running Obsidian as a native Wayland client, see #158175

RFR @jyooru @Lucus16 (sorry to conflict https://github.com/NixOS/nixpkgs/pull/166924, but it's only 2 bytes :wink: ) @sandro-fugro @tams @ghedamat @psydvl
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

tested on nixos unstable x86 - using nixpkgs-review - works great!


Make MultiChildRenderObjectWidget const

~Submission is blocked on https://github.com/flutter/plugins/pull/7030 rolling into flutter/flutter to make the Linux flutter_plugins check green.~
Fixes https://github.com/flutter/flutter/issues/108248.
Part of https://github.com/flutter/flutter/issues/118837.
This change fixes this TODO:
https://github.com/flutter/flutter/blob/a45727d81360b278cc51c5a9ae429529038cf069/packages/flutter/lib/src/widgets/framework.dart#L1858-L1860
Everything else is fallout from that tiny fix generated by dart fix --apply.

Codecov Report

Merging #119195 (a45727d) into master (a45727d) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head a45727d differs from pull request most recent head a4c5bb4. Consider uploading reports for the commit a4c5bb4 to get more accurate results

: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
@@           Coverage Diff            @@
##           master   #119195   +/-   ##
========================================
  Coverage   91.25%    91.25%
========================================
  Files         548       548
  Lines       95779     95779
========================================
  Hits        87407     87407
  Misses       8372      8372

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I ran a TGP inside Google and this is not failing a single test there.

Is there no tests for the children of Flex ?
Its enum assert is not happy if const is used :(
ERROR: lib/CarWidget.dart:78:15: Error: Constant evaluation error:
ERROR:         const Column(children:
ERROR:               ^
ERROR: ../flutter/packages/flutter/lib/src/widgets/basic.dart:4459:34: Context: Binary operator '==' requires receiver constant 'CrossAxisAlignment {}' of type 'Null', 'bool', 'int', 'double', or 'String', but was of type 'CrossAxisAlignment'.
ERROR:  - 'CrossAxisAlignment' is from 'package:flutter/src/rendering/flex.dart' ('../flutter/packages/flutter/lib/src/rendering/flex.dart').
ERROR:   }) : assert(crossAxisAlignment != CrossAxisAlignment.baseline || textBaseline != null, 'textBaseline is required if you specify the crossAxisAlignment with CrossAxisAlignment.baseline');

@goderbauer I can reproduce the issue mentioned by Gustav.
You can easily reproduce the issue by using a Flex widget with a child or more.

Can you file an issue with repo case about this and cc me?


WooCommerce: How to add recent product instead of get all products from teaser site?

I was wondering how to collect all recent product from a catergory I made called "new stuff" and want it to be on the front-page.
Is it a easy fix? if so please share?
I be gladly in your debt haha.

Hi @tdserviceco this is where my knowledge of WooCommerce might fall short, but I'll give it a shot....
$recent_products = Timber::get_posts(array('post_type' => 'product', 'category_name' => 'new-stuff', 'posts_per_page' => 6));

Is something like that what you're looking for?

Looks like it.. But still i get all 24products (have only 1 recent)

But i look a bit more in to it :)

@tdserviceco would a WP_Query date_query take care of what you're after?

Hi @tdserviceco - is this still an issue for you?

As this seems inactive I am going to close this for now. If it's still an issue please let me know and I will re-open.


Does TensorFlowOnSpark support overlap between computation and communication while training?

Environment:

Python version [3.7.7]
Spark version [3.0.1]
TensorFlow version [2.3.0]
TensorFlowOnSpark version [2.2.1]
Cluster version [Standalone]

Question:
Does TFOS support overlap between computation and communication while training a model? If yes, is it the default behavior or not? How to enable it?
Logs:
If applicable, add logs to help explain your problem.  Note: errors may not be fully described in the driver/console logs.  Make sure to check the executor logs for possible root causes.
Spark Submit Command Line:
spark-submit --master spark://master:7077  train_file.py --cluster_size 2 --epochs 10

A couple points:

TFoS mostly just sets up a distributed TF cluster on top of the Spark executors.
For InputMode.TENSORFLOW, Spark is not involved after the initial cluster setup, so any possible overlapping of I/O with compute would be handled directly by TensorFlow.
For InputMode.SPARK, the Spark RDDs are fed from the executor JVM to Spark's python workers and then to a background python process which runs TF.  This feeding between the spark python process and the TF python process currently uses a standard Python multiprocessing.queue (to minimize dependencies), so there is essentially no overlapping occurring there.  That said,tf.data might be able to implement some form of overlapping (on top of the RDD feeding), but I haven't played extensively with that.
Note that for highest I/O performance, we recommend using InputMode.TENSORFLOW, since the TF processes will read directly from HDFS (instead of passing thru the Spark RDD mechanism).

Thanks for your answer, however I did not mean by communication the I/O of the data from/to TensorFlow processes with source of data. What I mean by communication is the data transfer of calculated gradients between cluster nodes.
Because the fact that the gradients of the deepest layers are calculated first, then a TensorFlow process on a node can send these gradients to its counterparts in other nodes before completing calculation of all neural network gradients, so that a node does not have to wait until the full calculation is done in order to send data. This might help reducing time consumed while training especially if the model is big

I see... For that, it'd be entirely in the TensorFlow domain, so here's some links that might be relevant:
https://www.tensorflow.org/guide/distributed_training
https://www.tensorflow.org/guide/profiler
https://www.tensorflow.org/guide/gpu_performance_analysis
https://github.com/tensorflow/tensorflow/issues/33274


chore: upgrade parser

The tidb parser moved in https://github.com/pingcap/tidb/pull/47123
This updates the dependency to the new location.

@andrewmbenton PTAL


javascript best practices

In this issue I point out all instances where I don't follow javascript best practices.

There are instances where I repeat padding styles in me css

I used too many modules which makes my code hard to read.


Live search for Orion

Hi, is there a good package to go with Orion that let's the user see search results as they type?

Any package that work with meteor in general will work with Orion.
Try this https://atmospherejs.com/matteodem/easy-search


Makes it crash if it can't create a user so we get the exception details

Closing, this is too old, but I found it on my list today.