Add Non-Energy Use

Description of the issue
A concept of using energy carriers (e.g. oil) for purposes other than provision of energy (e.g. production of plastics) is needed, at least for differentiating Primary Energy Consumption w/ and w/o Non-Energy Use (#709).  Same goes for Final Energy Consumption within the IAM template (#593).
Ideas of solution

There should be consumption processes (for PE and FE).

I don't think a higher level concept of "non-energy use" (v. "energy use") is needed.
primary energy consumption and final energy consumption don't have an "energy use" concept either. @OpenEnergyPlatform/oeo-general-expert-formal-ontology might disagree.

I couldn't find a definition in the Eurostat Energy Glossary nor the UNSD  International Recommendations for Energy Statistics.

I think the description in the openENTRANCE project is incorrect.

Final Energy|Non-Energy Use:
    description: Final energy consumption by the non-combustion processes

If one uses a block-unit heating power plant with a high-temperature fuel cell (uncommon, but available), one converts e.g. methane into electricity and heat, without a combustion process, and since it is a household appliance (like a gas boiler) it is not considered part of the energy system any more, so FE consumption would be methane.

Workflow checklist

[ ] I discussed the issue with someone else than me before working on a solution
[x] I already read the latest version of the workflow for this repository
[x] The goal of this ontology is clear to me

I am aware that

[x] every entry in the ontology should have a definition
[x] classes should arise from concepts rather than from words

I think this issue should not only define the class but also provide the respective relations to gross inland energy consumption and primary energy consumption.

I think this issue should not only define the class

"The class" as in "higher level concept of 'non-energy use'"?

I just meant simply class in differentiation to relations/object properties and individuals. Everything in here is a class:

Sure.  I was just asking because I proposed two classes (PE and FE consumption processes that somehow "capture" non-energy use) and anticipated a discussion regarding another class, the "a higher level concept of non-energy use'", so I wasn't sure if your comment was specific to either of the two.
We also need relations of course, no dispute there.

This issue seems to address two things:

Adding the concepts non-energy use and energy-use

the idea for them comes from https://github.com/OpenEnergyPlatform/ontology/issues/709#issuecomment-794194362
they are needed to axiomatically distinguish between primary energy consumption (which excludes non-energy use) and gross inland consumption (which includes non-energy use)

Splitting final energy consumption into two concepts, one including non-energy use, one excluding it (similar to primary energy consumption)

About the first point: The relation between primary / final energy consumption and (non-)energy use seems to be a has-part-relation. For example, let's say we have a gross inland consumption of 10 units of oil in a certain area. Out of this 10 units, 3 are used for heating, 5 are used to generate electricity and 2 are used for producing plastic. Then we can connect the heating, electricity generation and plastic production processes (which are subclasses of either energy use or non-energy use) to gross inland consumption via has part. (Is this an appropriate use case for the distinction between energy use and non-energy use?)
This leads me to the following definitions:

Energy use is the consumption of an energy carrier making use of the energy they carry.
Non-energy use is the consumption of an energy carrier without making use the energy they carry.

Then, we could add the axiom not (has part some energy use) to primary energy consumption, distinguishing it from gross inland consumption.

This issue has staled. However, it seems @sfluegel05 proposed a viable solution and I agree to that solution and I think it can be implemented. Any volunteers?

Agreed with @stap-m : This is ready for implementation. I'll do that.


Use sendRawTransaction, firstShredReceived

@fanatid Is there a benefit to using two calls for sendRawTransaction and confirmTransaction instead of sendAndConfirmRawTransaction?

No, there is no benefit, sendRawTransaction + confirmTransaction does the same as sendAndConfirmRawTransaction does. I missed this method in the web3 docs. Should I submit PR with changes?


Release License

In which license the source code is released?

@nidin, thank you for pointing this out. We added general MIT license to this repo.

Perfect


[Feature] Auto-lock PR Conversations When Merged

Feature Description
I think it would be helpful if repos had a setting to automatically lock a conversation when an issue is closed and/or PR is merged.
Related to: https://github.com/go-gitea/gitea/issues/20012
Screenshots
No response

Wouldn't it be better to let a CI do that?
Then we don't have a weird edge case that is only sometimes wanted in our core while still providing the functionality…
As far as I know, the CI currently proposed should (later on) be able to do that (see #21937)

Wouldn't it be better to let a CI do that? Then we don't have a weird edge case that is only sometimes wanted in our core while still providing the functionality… As far as I know, the CI currently proposed should (later on) be able to do that (see #21937)

Yeah, I appreciate your point, but CI seems like overkill for this if a user isn't already running CI for something else (also, is there a webhook for issues closed or would the CI job it have to poll each open issue?). It seems like what  you suggest is the strategy GitHub has taken, as there doesn't seem to be a feature like this built in. From a UX perspective, it seems like like a nice compliment to auto-merge.
If this really is a niche feature that a majority of users don't want/need, I agree it should go to CI. If a reasonable number of folks want this it would be nice to build into the UI. I'll post in discord and see if other people would like this feature, and if there's not much traction in a week then I'm perfectly happy closing this.

also, is there a webhook for issues closed or would the CI job it have to poll each open issue?

Yes-ish, the base issues covers "Issue opened, closed, reopened, or edited."

Wouldn't it be better to let a CI do that? Then we don't have a weird edge case that is only sometimes wanted in our core while still providing the functionality… As far as I know, the CI currently proposed should (later on) be able to do that (see #21937)

Yeah, I appreciate your point, but CI seems like overkill for this if a user isn't already running CI for something else (also, is there a webhook for issues closed or would the CI job it have to poll each open issue?). It seems like what you suggest is the strategy GitHub has taken, as there doesn't seem to be a feature like this built in. From a UX perspective, it seems like like a nice compliment to auto-merge.
If this really is a niche feature that a majority of users don't want/need, I agree it should go to CI. If a reasonable number of folks want this it would be nice to build into the UI. I'll post in discord and see if other people would like this feature, and if there's not much traction in a week then I'm perfectly happy closing this.

That Action could be reused when Gitea Actions PR merged.

How about add an extern option to do it ?

Not a good idea to put more and more checkboxes/buttons there.


Use libtest-mimic to do setup and teardown?

Hi, I'm wondering if mimic would help with this: when running cargo test:

A setup function is executed
All the tests are run just like cargo test would without mimic
A teardown function is executed

If I understand correctly, mimic helps with this ... eliminating the boilerplate when writing a custom harness?

Hi! How exactly do you think mimic would do that? We could pass a setup and a teardown function to run_tests but... you could also just call those two funtions before and after the call to run_tests. So one wouldn't gain anything by that.
Or you are talking about running setup before each test and teardown after each test. This is different, but can also already achieve easily today with mimic: in the closure run_test you pass to run_tests you can easily call those two functions.
So I'm not sure how or if mimic can even help here :/

Ok, I think I better understand what libtest-mimic actually delivers; everything except the test runner. :-)
Yeah, I'm looking for a way to do before-all setup and before-all teardown, around the integration tests. It turns out, this is pretty hard to accomplish, and not built in. Maybe I could achieve it by calling libtest to do the actual test-runner work.

That might indeed work. But I really don't know stuff about how to manually run #[test] tests. So I guess I can't help you there :/


SAK-48096 WebService method for changing a user role in a site doesn't create any log in site's User Audit Log

It's failing @josecebe , could you check it?

Yeah it seems if's failing, I'm taking a look. It's because of the tests.

@mpellicer I've adapted the necessary checks for tests and now it's building successfully!


I want servitization

[中文][English]
To add QQ gruop, follow these three steps:

Open https://github.com/teaey, click the [Fllow] Button

Open https://github.com/teaey/spring-boot-starter-dubbo , click the [Star] Button

Commented your QQ on this issue

I will handle every evening together.

QQ：95681010

QQ：97401667

已按步骤操作 QQ：120372167

已按步骤操作 QQ：1027061303

已按步骤操作 QQ：304491875

已按照步骤操作 QQ：791105945  谢谢

1832086305

1164738025

1030242362

615869675

372011394

为什么要抄送我？我都被抄送了N份这样的邮件了，最重要的到现在还没把我拉到群里面去！！！！！！！！！
<EMAIL_ADDRESS>From: liudashi
Date: 2016-12-16 11:19
To: teaey/spring-boot-starter-dubbo
CC: iKuboo; Comment
Subject: Re: [teaey/spring-boot-starter-dubbo] I want servitization (#43)
372011394
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


Kubelet log flooded by SyncLoop on nginx-ingress-controller

Hi, I just upgraded rancher from 2.4.8 to 2.5.2.
The rancher installation is on docker, and the same node was the controlplane of a cluster of 2 nodes (1 controlplane, 1 worker), version 1.18.10 deployed by Rancher UI.
After the upgrade, the load of the node has became out of control, so I promoted the worker to controlplane, and tried to convert the first node to worker.
After multiple times, I'm still not able to have that node as a worker (I receive multiple errors about ephemeral storage, I don't know why).
So I removed it and I kept the cluster with only 1 node.

Any idea why this thing is happening and how to resolve?
The cluster is working, and nginx ingress too.
Thanks

The issue seems to be related to https://github.com/rancher/rancher/issues/30045.
As suggested by @superseb on slack, I disabled the project network isolation and the log is gone. Also node load is now normal.

Verified an upgrade from 2.4.8 to 2.5.2
On 2.4.8 rancher
Deploy a custom cluster - Project Network Isolation enabled.
Enable Monitoring in this cluster
Upgrade to 2.5.2 rancher.
Kubelet logs on worker node:
I1113 17:21:33.933579   10578 kubelet.go:1917] SyncLoop (UPDATE, "api"): "exporter-node-cluster-monitoring-vwpb7_cattle-prometheus(a67eaa77-5cdd-4683-8e16-17fdda1f43e6)"
I1113 17:21:33.950426   10578 kubelet.go:1917] SyncLoop (UPDATE, "api"): "nginx-ingress-controller-28k4x_ingress-nginx(ebde362b-fa65-45c3-9f65-1aae0d1a589c)"
I1113 17:21:33.994919   10578 kubelet.go:1917] SyncLoop (UPDATE, "api"): "exporter-node-cluster-monitoring-vwpb7_cattle-prometheus(a67eaa77-5cdd-4683-8e16-17fdda1f43e6)"
I1113 17:21:34.011517   10578 kubelet.go:1917] SyncLoop (UPDATE, "api"): "nginx-ingress-controller-28k4x_ingress-nginx(ebde362b-fa65-45c3-9f65-1aae0d1a589c)"


can i run my play project whith react js in port 9000

i have version 1 for my application , who the front end files are .scala.html in directory /app/views.
and now i want to use react js for another front end files for my project.
It s is possible?
can i integrate front end file with react (/ui/src/*)
and all run in port 9000 ?
Thanks in advance

Yes you can do that if you would like to.

how ? my project run in port 3000 and load data from back end play java , but i can t see my front end who was is /app/views/

Your original frontend of /app/views/ should be running from your default port e.g. 8080.
So if you have an index.scala.html view, it should be rendering on that port. And your integrated react application can and will run alongside on port 3000

according to your explanation I must have two ports for my application and this is what I do not want, because it requires two servers (java and node)


Fix Cyclic Dependency (WIP, Tests in Progress)

Fixes #40
https://www.notion.so/golemcloud/StubGen-Cyclic-Dependency-06394d8825604222a9aaeae5905ab84b
It unblocked golem-timeline case, and seem to be working

[x]  More testing (details in above doc)

[x] 1.Direct Cyclic Dependency Case 👍 - i.e, x -> x
[x] 2.Normal Dependency Case - i.e, x -> y
[x] 3. Mix of 1 and 2. Add x -> x on top of a workspace that's already having x -> y
Note: Makefile.toml overwrites some steps when initialising again with new target. So when testing make sure all steps are there. Regardless x -> y and x -> x works.
[x] The normal scenario such as x -> y while y -> z, all works as before
[x]  Also this: A workspace with y -> z was added with x -> y to later bring in x -> x dependency and it worked. Clone this branch if you  want to test yourself
[x] The testing can extend as long as we want. I believe this is a better version already.

[x] Gather input from team based on docs

[x] If all good, complete the remaining code (you can see that it's incomplete, and just a prototype with only record type)

[x] Code cleanup

Tests performed in my personal test project
https://github.com/afsalthaj/testwasmrpc/tree/only_caller
   Compiling golem-wasm-rpc v0.0.0 (/Users/afsalthaj/github/wasm-rpc/wasm-rpc)
   Compiling caller v0.0.1 (/Users/afsalthaj/github/testwasmrpc/caller)
   Compiling caller-stub v0.0.1 (/Users/afsalthaj/github/testwasmrpc/caller-stub)
    Finished dev [unoptimized + debuginfo] target(s) in 3.18s
    Creating component /Users/afsalthaj/github/testwasmrpc/target/wasm32-wasi/debug/caller.wasm
    Creating component /Users/afsalthaj/github/testwasmrpc/target/wasm32-wasi/debug/caller_stub.wasm

Fixed the following today (based on some test results):

Avoid cargo getting updated with cyclic dependents
Import statement of original stub in the original WIT had to be discarded when getting copied to stub during regeneration.
Make sure we properly select the original world that was selected for stub generation. Every error message is so hard to understand
Adding support for more types

Found a small mistake: for normal dependency after https://github.com/golemcloud/wasm-rpc/pull/42/commits/5bd0d9d6d3f2694a0067917578d2aac6999b1180. Will fix it straight up

Looks good, I asked for a rename, and there was a IndexedSet->Vec change that may affect things (introducing duplicates).

Yes, it was noted by me. Will try to fix it.


Recommendation: This text should have GCC High URL, if we are providing commercial and DoD.

https://docs.microsoft.com/en-us/power-platform/guidance/coe/setup-core-components#option-1-import-the-solution-into-a-production-environment

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

ID: 9fe69498-a485-5379-97ff-53fbe029f11a
Version Independent ID: 5b3f9705-9e49-1575-4ae7-0293d12b739c
Content: Set up core components - Power Platform
Content Source: power-platform/guidance/coe/setup-core-components.md
Service: power-platform
Sub-service: guidance
GitHub Login: @manuelap-msft
Microsoft Alias: mapichle

Thanks for the feedback! We are updating our docs for the January release, and I have fixed this locally for the next docs update now!


Create lwj_io.md

Project Abstract

Please provide a brief description of your project here summarising key points (1-2 paragraphs).
If your application is a follow-up to a previous grant, please mention which one in the first line of the abstract and include a link to previous pull requests if applicable.

Application Checklist

[x] The application template has been copied, renamed ( project_name.md) and updated.
[x] The total funding amount of the project is below USD $30k for first-time grant applications and $100k for follow-up ones.
[x] A BTC or Ethereum (DAI/USDT) address for the payment of the milestones is provided inside the application.
[x] I have read and acknowledged the terms and conditions.
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for your interest. Please note that you can make changes in your local fork without actually creating the PR yet. I would kindly ask you to only open PRs once your application is ready.


fixed dotnet sln add blobs

fixed dotnet sln add blobs
Summary
No projects are added to the solution file when the user runs dotnet sln todo.sln add **/** if there are any sub-directories that do not contain a project file. For example, the presence of  wwwroot/ in an API project will cause the command to fail. Most solutions contain projects that have sub-folders.
Using dotnet sln todo.sln add **/**.{csproj,fsproj} does work.
Details
Under bash 4.3.42(1) dotnet sln add fails when the wildcard blob does not include a file extension qualifier (e.g., .csproj)
dotnet sln <FILE.sln> add **/*
The CLI terminates when it comes across a sub directory that does not contain a project file. E.g., wwwroot/.
Adding a qualifier to the blob, (.{csproj,fsproj}) seems to be the correct way to use blobs with dotnet sln add.
This does not apply to dotnet sln remove which can use unqualified wildcard blobs.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

@piotrpMSFT Could you elaborate on ...

globbing is no longer accepted as an input to CLI commands

... from the discussion in https://github.com/dotnet/cli/issues/3409 as it pertains here?
Help on the command makes no indication that globbing will work at all:

<SLN_FILE>  Solution file to operate on. If not specified, the command will search the current directory for one.

It also seems strange to me that the globstar is repeated in a couple of them (**/**), since I thought a single globstar would match all files in all directories and sub-directories when not followed by a pattern matching segment or a trailing /. Isn't just ** sufficient?
Beyond that, I have a few mechanical questions. Should they be ...
dotnet sln [<SOLUTION_NAME>] add **[/*.csproj|/*.fsproj]

and
add **[/*.csproj|/*.fsproj]

denoting that the filenames and extensions are optional and sticking with our ordinary command notation? The examples can show the globbing patterns, but I think the command syntax should stick with the normal notation. This all assumes that these patterns are even valid in the first place.

@livarcocc can you review this PR and check @GuardRex's questions?

This is not a feature of the CLI. This is a feature of bash. The CLI is not the one resolving the globing in this case. This does not work on windows, for instance. So, I don't think we should document this as being a CLI feature.

@gforceg Let's consider that it might be nice to harden the doc a bit against deltas in glob behavior across platforms. The body can show a placeholder for the pattern, and the doc already points the reader to info on patterns. Therefore, one way to go (just discussing it here) is to have the synopsis section look like this ...
dotnet sln [<SOLUTION_NAME>] add <PROJECT> <PROJECT> ...
dotnet sln [<SOLUTION_NAME>] add <GLOBBING_PATTERN>
dotnet sln [<SOLUTION_NAME>] remove <PROJECT> <PROJECT> ...
dotnet sln [<SOLUTION_NAME>] remove <GLOBBING_PATTERN>
dotnet sln [<SOLUTION_NAME>] list
dotnet sln [-h|--help]

and then in add commands under the <PROJECT> one ...
add <GLOBBING_PATTERN>

with this under the <PROJECT> one for remove ...
remove <GLOBBING_PATTERN>

The examples can show actual patterns. Isn't the one you show ...
dotnet sln todo.sln add **/*.{csproj,fsproj}

... the same as ...
dotnet sln todo.sln add **

... if that will work?
Perhaps one with a globstar in the path would be cool ...
dotnet sln todo.sln add /folder/**/*.csproj

... which should get only .csproj file-based projects in any subdirectory under folder. I'm just thowing that out for discussion btw ... there might be better example(s) to use.
Also, would you mind updating the ms.date to today's date on your next pass?

@gforceg ... any thoughts on my :point_up: comments?

@GuardRex,
Yes, you're right. The place holders make better sense because we are documenting the CLI not the CLI as it works in my own environment. :penguin:
And I like your synopsis. I think it makes it clear to the reader that the globbing pattern examples aren't to be taken literally.
I'll make some changes and push to the pr.

Isn't the one you show ...
dotnet sln todo.sln add **/*.{csproj,fsproj}
... the same as ...
dotnet sln todo.sln add **

The problem I experienced with simply passing ** to dotnet-sln-add (see the issue summary) is that the command fails because there are some subdirectories that do not contain a project file. (e.g., 'wwwroot/') The command fails before any projects can be added to the solution.
Maybe this is a but w/ dotnet-sln-add?

I tried ** and it made no difference. Also I deteremind that **/* and ** are not equivalent.
Created an issue on dotnet/cli because I'm thinking it is an issue w/ the CLI given that dotnet-sln-remove **/* does not choke like dotnet-sln-add **/* does.

@GuardRex Indeed they are. Thanks for helping me write this out correctly.


Stop overwriting EFI grub.cfg

The EFI grub.cfg is being replaced with a RHEL style redirect[1] so that it no longer has to be updated along with the /boot/grub2/grub.cfg. This change removes the tasks which overwrite the EFI grub.cfg, which undoes the fix in [1].
An equivalent change is occuring for 17.1 images[2] and for upgrade paths into 17.1[3] so we will be able to ensure any host upgrading to 18.0 will have the correct redirect grub.cfg in place.
[1] https://github.com/openstack-k8s-operators/edpm-image-builder/pull/30
[2] https://code.engineering.redhat.com/gerrit/c/openstack-tripleo-image-elements/+/452100
[3] https://code.engineering.redhat.com/gerrit/c/tripleo-ansible/+/452086
https://code.engineering.redhat.com/gerrit/c/openstack-tripleo-heat-templates/+/452099

recheck failure appears to be with registering the subscription with openshift.

recheck

recheck


Add optional network_interface_id variable

what

Add optional network_interface_id variable to launch_template

why

Allow the attaching of existing network interfaces

references

https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/launch_template#network_interface_id

Why was this PR closed?
I needed this functionality and had to adopt this module for accepting this  PR :(
Is there a chance to get this PR merged with the main branch?

@s2504s -- it seems @gbarna-bd closed this issue and deleted their repo for whatever reason. If you would like to see this change, feel free to put up a new PR with the same change and ping me for review. We can get it added in and merged quickly. Thanks!

Sorry about that. Had some other stuff happening at that time :-/
I've recreated the PR here: https://github.com/cloudposse/terraform-aws-ec2-autoscale-group/pull/124.


SRU-Search always returns first item

When sarching via barcode for a title that has multiple items, the result always shows the signature of the first item even if the barcode of item 2 or 3 etc. is used.
Example Hildesheim: Search with barcode HIL2$05301955
Expected result: Item 2, signature ERZ 230 : D55(4.),b
Observed result: Item 1, signature ERZ 230 : D55(4.)
Similar results with other barcodes e.g.
HIL2$03986209 expect PÄD 28
HIL2$03986209 expect PHY 180 : P33-2,f
Observed in V. 1.1.0-d
with
"SRUAddress": "http://sru.k10plus.de/opac-de-hil2",
"QueryPart1": "?version=1.1&operation=searchRetrieve&query=pica.bar=",
"QueryPart2": "&maximumRecords=1&recordSchema=picaxml"

fixed in v1.1.1-b


x/exp/slices: memory leak on Delete

What version of Go are you using (go version)?

$ go version
go version go1.19 darwin/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/deleplace/Library/Caches/go-build"
GOENV="/Users/deleplace/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/deleplace/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/deleplace/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.19"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/deleplace/git/go.googlesource.com/exp/go.mod"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/p4/g7fnpss96g5708_mmv3cxzgh0000gn/T/go-build1427867040=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
The current implementation of slices.Delete is very straightforward but it has a number of drawbacks:

When removing M elements (M==j-i), all elements beyond j are shifted M positions to the left. This means that M values on the right are now beyond the length of the result slice, but still within capacity, and still reachable through the original slice argument. If the elements are references or pointers or contain pointers, then these elements won't be GC'ed, which is a memory leak.
There is no reason for these M values on the right to be reachable at all from any slice header. Zeroed values would make more sense.
There is no check to make sure that i<=j, and the case i>j yields a result that violates the documentation of Delete.

I suggest fixing this by explicitly zeroing the tail of the original slice, and by explicitly checking that i<=j.
The problematic behaviors and suggested fix are shown at https://go.dev/play/p/ZhX_LRGm9N1
The memory leak (1) doesn't exist for non-pointer value types.
Zeroing the right tail fixes (1) for pointer types and changes the values visible from the original slice header. This is okay because Delete is a destructive function and makes no promise to keep the extra capacity unchanged.
The documentation says "Delete panics if s[i:j] is not a valid slice of s." which is currently not true because s[2:1] is not a valid slice (see https://go.dev/play/p/ftvpm65GGzL) but instead of panicking, Delete produces non-sensical results (see https://go.dev/play/p/sIJRru2sGPa). The new suggested implementation fixes this bug.
I will send a change containing the suggested implementation, and extra test cases.

Current status:

implemented and merged: bounds check
implemented and merged: doc warning about Delete not zeroing the "right tail" elements
not implemented: zeroing the "right tail" elements to prevent memory leaks

@Deleplace I would think that in stead of documenting the memory leak, it should be fixed. Otherwise people will have to implement their own safer Delete.


Not able to call authorization service with json body whereas with form-data it works

Hi
Getting response with form-data, headers {Content-type: application/json}

Getting error with json body I'm using headers {Content-type: application/json} in both cases

@ashwintastic this GitHub repo is specifically for Azure App Configuration service and your question does not appear to be directly related. Closing.

@ashwintastic Based on your other issue, I believe you're trying to authenticate with Azure Resource Manager in order to use the /Microsoft.AppConfiguration/configurationStores/{storeName}/listKeyValue API.
The process to retrieve client credentials for service-to-service authentication uses OAuth 2.0 protocol that adheres to RFC 6749. Based on this specification, the access token request should have a content type of application/x-www-form-urlencoded. You can find sample examples in documentation of client credential grant flow in Azure Active Directory.


Import issues: Unknown custom element

Installed vue-snowf via npm. Trying to use it in a single file component as described in the README:
<template lang="html">
  ...
  <Snowf />
  ...
</template>

<script type="text/javascript">
import Snowf from "vue-snowf"

export default {
  ...
  components: {
    Snowf
  },
  ...
}

gives
[Vue warn]: Unknown custom element: <Snowf> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

PEBKAC, sorry.


Replace Ava with node:tests

In #34 we added a basic test setup with Ava. Node now also has a built-in test runner which should cover our use-cases, so we can swap it out.

Some tests are using  snapshots which isn't supported by the built-in test runner yet, so we'll stick with ava.


Repo sync for protected CLA branch

The pull request is created from main637847967251802398 to main to fix git push error for protected CLA branch

@huypub : Thanks for your contribution! The author(s) have been notified to review your proposed change. @evanwindom


[BREAKING] Only match non-empty string

Stemming from the conversation here: https://github.com/sanic-org/sanic-guide/issues/92
This is a BREAKING change.
This this change, these will NOT match on an empty string.
router.add("/<foo>", ...)
router.add("/<foo:str>", ...)

This also adds <foo:strorempty> to allow for matching empty str patterns.

I suspect that this might be a breaking change for many who actually depend on str matching empty strings but I am still in favour of breaking it and having people migrate to strorempty or separate handlers/routes for such use cases.
Is this strorempty only supposed to be usable as the final part of an URL where the route has no trailing slash? Because you cannot have // in a path anyway, so I don't see where else this could be used.


add css and hover effect

add some css for the button

This branch has conflicts that must be resolved
Use the web editor or the  to resolve conflicts.
Conflicting files
assets/style.css

Hey, @coder483  i can work on it. Please assign this issue to me.

hey i can resolve the conflicts


Failed to deserialize authentication for ... (java.lang.ClassNotFoundException) + hibernate

Hello there.
I'm using JDBC TokenStore and all works fine, but today i make a package refactor and relocated my Entities to another package. And after this on runtime (when receiving token) i got an error:
2016-10-01 20:14:20.265  WARN 9576 --- [nio-8080-exec-1] o.s.s.o.p.token.store.JdbcTokenStore     : Failed to deserialize authentication for 842cb86e-879f-43bf-a121-ba47eb1b87f0

java.lang.IllegalArgumentException: java.lang.ClassNotFoundException: com.github.handioq.shopapp.model.User
	at org.springframework.security.oauth2.common.util.SerializationUtils.deserialize(SerializationUtils.java:43) ~[spring-security-oauth2-2.0.9.RELEASE.jar:na]
	at org.springframework.security.oauth2.provider.token.store.JdbcTokenStore.deserializeAuthentication(JdbcTokenStore.java:405) [spring-security-oauth2-2.0.9.RELEASE.jar:na]

....

Caused by: java.lang.ClassNotFoundException: com.github.handioq.shopapp.model.User

I already tried to clear the project using maven, restart idea, rebuild the project and so on, but it there is no results..
Any suggestions?
I think that hibernate not able to update Entities and therefore there is an error, but how to fix it?

Okay, i decide that maybe there is some bug or smth like this.
I drop my tables, move my Entities to another package and it is works fine.
And for additional, click here to get some info about @EntityScan annotation.


Nuking and updating all the dependencies

This issue will document the process of updating all the dependencies of the main branch release of XGA.
Started by installing the main branch of XGA to a fresh Python 3.12 conda environment, with the no dependencies mode activated:
python -m pip install -e . --no-deps
Then going through the current setup.py and installing all of the relevant modules with no constraints on their version.
Then creating a conda environment file:
conda env create -f environment.yml --from-history
Changing the name of the env in the file to 'xga'.
I also made a mac os arm64 specific environment file with no pyabel entry, as there isn't a release for that on conda specifically for that platform (it can however be installed through pip afterwards).
From there, a conda-lock file was generated:
conda-lock -f environment.yml -p osx-64 -p linux-64 -p osx-arm64
I also found that it is sometimes beneficial to reset the repo priority of conda before trying to install:
conda config --set channel_priority strict
conda config --set channel_priority flexible

Now will begin the process of figuring out what has broken thanks to updating the dependencies, and I'll include a list of things I changed during the process in this issue.

At this point it is possible to define a GalaxyCluster, produce stacked ratemaps, and view them.

Interesting to note, related to the "ValueError: Residuals are not finite in the initial point." error I'm dealing with (see commit messages), that it isn't happening for the fits to brightness profiles (I hadn't noticed before because I overlooked that those fits are an intrinsic part of the method of density profile generation that I'm testing.

Found that region instances are no longer hashable, which means that they can't be put into sets and then have the intersection found - this is how I dealt with issue #407 in the past. As such, I've implemented a nested list comprehension which should produce the same end result, but it will be slower. Opened an issue on regions asking if non-hashable regions was an intended behaviour, so maybe I'll be able to restore the original method with a future release of regions.

The latest annoyance is in the XGA-LTR:
ValueError: setting an array element with a sequence. The requested array has an inhomogeneous shape after 1 dimensions. The detected shape was (15,) + inhomogeneous part.
There was also a 'List doesn't have ndim attribute' error but that one was easy to fix. I don't know why this would have inhomogeneous shape, but I'll take a look under the hood.

The ValueError error seems to be because the radius error was a single element array, which pandas will no longer tolerate being present (or maybe numpy?), should be fixed now


Create Islands to support multiple nav meshes in one Archipelago.

Fixes #3 and partially fixes #2.
We still have no support for moving between meshes, but that will come with #7.

Codecov Report

Merging #13 (19c1cfc) into main (fd756c1) will decrease coverage by 0.3%.
The diff coverage is 98.5%.

Impacted Files
Coverage Δ

src/nav_mesh.rs
96.9% <81.2%> (-0.3%)
:arrow_down:

src/lib.rs
96.3% <92.8%> (-2.9%)
:arrow_down:

src/nav_data.rs
99.1% <99.1%> (ø)

src/agent.rs
100.0% <100.0%> (ø)

src/avoidance.rs
99.0% <100.0%> (+<0.1%)
:arrow_up:

src/island.rs
100.0% <100.0%> (ø)

src/path.rs
100.0% <100.0%> (+0.3%)
:arrow_up:

src/pathfinding.rs
100.0% <100.0%> (ø)

src/util.rs
96.3% <100.0%> (+0.1%)
:arrow_up:


[Doc] Update README.md: : syntax and format issues

Why is this PR needed?
To improve the quality of the readme file.
What changes were proposed in this PR?
Typo and inconsistent format
Does this PR introduce any user interface change?

No

Is any new testcase added?

No

Can one of the admins verify this patch?

Add to whitelist

Build Failed  with Spark 2.4.5, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbon_PR_Builder_2.4.5/3624/

Build Success with Spark 2.3.4, Please check CI http://<IP_ADDRESS>:12602/job/ApacheCarbonPRBuilder2.3/5369/

@chenliang613 Hello, could you please review this PR? I think it should be very easy for you to review. Thanks!


Consider separating "programming languages" into logical high level groups

Generally I think it's harder for me to wrap my head around the graph we currently have because it's mixing things that are used for different purposes.
For example, Makefile / Shell / Dockerfile / Batchfile / Powershell all seem to be a pretty different logical grouping than Java / C / C# / typescript / ruby etc. It's hard to really make sense of what seeing the plots side by side means . Have you considered showing labels or groups or something that would allow the viewer of the graph to separate on an axis that shows more interesting views? Like "Imperative programming languages"? "shell" languages? Build scripts?
Mostly I'm interested in being able to see things visualized in for categories that are "apples to apples".

It's something others could experiment with using the raw data, would love to see that.
We could consider especially if there's an external set of classifications we could rely on. Linguist (which GitHub uses to detect languages) does have a "group" field for some languages, eg many shell languages are in group shell. Wikidata is another potential  source, though perhaps too many classifications, eg look at the "instance of" and "programming paradigm" properties for C# https://www.wikidata.org/wiki/Q2370
I welcome other ideas.

I think having a dropdown that correlated to any grouping mechanism that seemed useful (what you're mentioning for linguist for example) would be pretty useful!

Will have to verify this, but looking at https://github.com/github-linguist/linguist/blob/7ca3799b8b5f1acde1dd7a8dfb7ae849d3dfb4cd/lib/linguist/languages.yml#L30-L31 it appears the linguist languages in a group are already coalesced:
# group                 - Name of the parent language. Languages in a group are counted
#                         in the statistics as the parent language.

Will probably have to look for other ways of classifying. Love the idea though, not only to see only apples-to-apples, but also to (by rolling up) apples-vs-oranges trends, such as "system" vs "application" vs "scripting" languages.
Or even (currently of interest to policymakers, always a relevant audience for this project) memory-safe vs not languages. 😄


what is ‘$ssl_protocol’?I

background
Vm Configuration：Centos7，IP：<IP_ADDRESS>
I had stackstrom installed in centos7 and wanted to use the WEB UI.
Why does the MAC browser fail to open the ‘https://<IP_ADDRESS>’ by typing the VM hostname？
issue
In Vm:
[root@shansxu01 ~]# systemctl restart nginx
[root@shansxu01 ~]# curl localhost

<title>308 Permanent Redirect</title>

308 Permanent Redirect

nginx/1.20.2

[root@shansxu01 ~]#

Guess and doubt
There is a code in https://github.com/stackstorm/st2/blob/master/conf/nginx/st2.conf, what is ‘$ssl_protocol’?Is it because of this?
server {
  listen *:80 default_server;

  add_header Front-End-Https on;
  add_header X-Content-Type-Options nosniff;

  if ($ssl_protocol = "") {
       return 308 https://$host$request_uri;
  }
  if ($request_method !~ ^(GET|HEAD|POST|PUT|DELETE|OPTIONS)$ ) {
       return 405;
  }
  index  index.html;

  access_log /var/log/nginx/st2webui.access.log combined;
  error_log /var/log/nginx/st2webui.error.log;
}

[root@shansxu01 ~]# service nginx status
Redirecting to /bin/systemctl status nginx.service
● nginx.service - nginx - high performance web server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
   Active: active (running) since Fri 2021-12-10 06:18:22 GMT; 21min ago
     Docs: http://nginx.org/en/docs/
  Process: 2314 ExecStop=/bin/sh -c /bin/kill -s TERM $(/bin/cat /var/run/nginx.pid) (code=exited, status=0/SUCCESS)
  Process: 2319 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS)
 Main PID: 2320 (nginx)
   CGroup: /system.slice/nginx.service
           ├─2320 nginx: master process /usr/sbin/nginx -c /etc/nginx/nginx.conf
           ├─2321 nginx: worker process
           ├─2322 nginx: worker process
           ├─2323 nginx: worker process
           └─2324 nginx: worker process

Dec 10 06:18:22 shansxu01 systemd[1]: Starting nginx - high performance web server...
Dec 10 06:18:22 shansxu01 systemd[1]: Started nginx - high performance web server.

The curl localhost, will just do a curl to http://localhost. Then the code you mentioned states that if you don't have ssl_protocol, i.e. you are accessing via http not https, then redirect to the https URL. That's why when you do a curl localhost,  you get back a response telling you to redirect and use the https URL.
This is nothing to do with why https:// doesn't work from your MAC browser. For that you will need to look at the error that is returned on your browser, to see what is happening. You may also find information from logs in /var/log/nginx.
To confirm that the UI is working locally, then use https not http on your curl requests.

@amanda11  Thank you for your answer, I viewed the log information.
Find browser access once, st2webui.access.log generates some logs, just as browser opens WebUI, display err_too_many_redirects.I still can't figure out why.
[root@dbcassandradevops3 nginx]# pwd
/var/log/nginx
[root@dbcassandradevops3 nginx]# ll
total 36
-rw-r-----. 1 root root     0 Dec 14 06:59 access.log
-rw-r-----. 1 root root   584 Dec 14 06:59 error.log
-rw-r--r--. 1 root root     0 Dec 14 06:59 ssl-st2webui.access.log
-rw-r--r--. 1 root root     0 Dec 14 06:59 ssl-st2webui.error.log
-rw-r--r--. 1 root root 32620 Dec 14 07:30 st2webui.access.log
-rw-r--r--. 1 root root     0 Dec 14 06:59 st2webui.error.log
[root@dbcassandradevops3 nginx]# cat access.log
[root@dbcassandradevops3 nginx]# cat error.log
2021/12/14 06:59:12 [notice] 15929#15929: using the "epoll" event method
2021/12/14 06:59:12 [notice] 15929#15929: nginx/1.20.2
2021/12/14 06:59:12 [notice] 15929#15929: built by gcc 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC)
2021/12/14 06:59:12 [notice] 15929#15929: OS: Linux 3.10.0-1062.9.1.el7.x86_64
2021/12/14 06:59:12 [notice] 15929#15929: getrlimit(RLIMIT_NOFILE): 1024:4096
2021/12/14 06:59:12 [notice] 15930#15930: start worker processes
2021/12/14 06:59:12 [notice] 15930#15930: start worker process 15931
2021/12/14 06:59:12 [notice] 15930#15930: start worker process 15932
[root@dbcassandradevops3 nginx]# cat ssl-st2webui.access.log
[root@dbcassandradevops3 nginx]# cat ssl-st2webui.error.log
[root@dbcassandradevops3 nginx]# cat st2webui.error.log
[root@dbcassandradevops3 nginx]# cat st2webui.access.log
<IP_ADDRESS> - - [14/Dec/2021:07:01:12 +0000] "GET / HTTP/1.1" 308 171 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
<IP_ADDRESS> - - [14/Dec/2021:07:01:12 +0000] "GET / HTTP/1.1" 308 171 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
<IP_ADDRESS> - - [14/Dec/2021:07:01:12 +0000] "GET / HTTP/1.1" 308 171 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
<IP_ADDRESS> - - [14/Dec/2021:07:01:12 +0000] "GET / HTTP/1.1" 308 171 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
<IP_ADDRESS> - - [14/Dec/2021:07:01:12 +0000] "GET / HTTP/1.1" 308 171 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"
<IP_ADDRESS> - - [14/Dec/2021:07:01:12 +0000] "GET / HTTP/1.1" 308 171 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.114 Safari/537.36"

laotie  try  curl -k https://localhost

The problem has been solved.
modified nginx/st2.conf file （https://github.com/stackstorm/st2/blob/master/conf/nginx/st2.conf），amend as below:

Comments by 15 ~ 17
copy 59 ~ 166 lines to 24 lines

The problem has been solved. modified nginx/st2.conf file （https://github.com/stackstorm/st2/blob/master/conf/nginx/st2.conf. ）,amend as below:

Comments by 15 ~ 17
copy 59 ~ 166 lines to 24 lines

good


Why are those PR-s grayed out?

I couldn't find any feature in the options that could make those PR-s grayed out.

Because they are bots PRs.
The feature is called dim bots you can disable it in the options.

Oh, I can see that now, thanks!


[Feature request] Proposal for support react-leaflet markers

This is a feature request - #16 PR
Current behavior:
Actually react-leaflet-markercluster component just accept to add markers as specific json object.
Example code:
const marker = [
    {lat: 49.8397, lng: 24.0297}
];
<MarkerClusterGroup
    markers={marker}
/>

Expected behavior:
Thinking in component development and react architecture, in my personal opinion, I'd insert markers or any component that can be processed through component itself, in this case, react-leaflet marker.
Example code:
const marker = [
    {lat: 49.8397, lng: 24.0297}
];
<MarkerClusterGroup>
    <Marker position={[marker.lat, marke.lng]} />
</MarkerClusterGroup>

I just created a PR with the proposal development, I hope that can help.
Thank you for your consideration.

@carlosrj Thank you, for contribution.
This is the really nice suggestion, also was thinking about the opportunity to add Markers not only through .json object.
I need some time for reviewing and publishing that feature...

@YUzhva thanks for your time.
About react-leaflet already has Marker component, it's in example marker component, i.e., it's already integrated in PR :smile:

I was doing some tests with this new feature and I found that when the state of changes in my component, the position of a marker for example, the MarkerClusterGroup doesn't render again with the updates, but if I remove the MarkerClusterGroup tag the markers render and update as intended.

@FelipeKohlmann thanks for report.
I'll check this issue, although I'm sure that will appear more. I was doing tests with other react-leaflet plugins and there are some bugs. If you can contribute with a possible solution, it will be great.
I've no much time these weeks, but surely I'll check it.

The other way of clustering layers is to access not to the marker through the reference of react component (too heavy way) but accessing to the leafletElement of the marker that was passed as a child.
Check this, react-leaflet library creating leaflet marker before rendering:
https://github.com/PaulLeCam/react-leaflet/blob/master/src/Marker.js#L30
And that object, that was created by marker function from leaflet lib. is exactly what we need for clustering (that is the object that we need send to L.markerClusterGroup(LEAFLET_MARKER_OBJECT))
The only issue, that I can't find that opportunity on react-leaflet library, so I created next issue:
https://github.com/PaulLeCam/react-leaflet/issues/309

@carlosrj
Implemented as testing feature in: [release] 1.1.4: react-leaflet Marker support (#18)

@YUzhva great job!
I just tested it with some react-leaflet components as children and it's working absolutely good :ok_hand:


Failed     << aslam_cv_python:make

Hi,
I have tried to compile kalibr on ubuntu 16, ros kinetic on jetsontx and i get the error:
Failed     << aslam_cv_python:make
Do you have a clue? thank you very much

sorry, I haven't done kalibr setup in a long time. If you fix something please make a pull request! It would be very appreciated


Prometheus Elasticsearch exporter for receiving CCR stats

Do you have plans to support exporter for harvesting Elasticsearch cross cluster replication stats?
There is ccr stats - Get cross-cluster replication stats API | Elasticsearch Guide [7.12] | Elastic https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-stats.html
Follower stats - Get follower info API | Elasticsearch Guide [7.12] | Elastic
https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-info.html
https://discuss.elastic.co/t/prometheus-elasticsearch-exporter-for-receiving-ccr-stats/272487/2

I would like to enhance Elasticsearch Prometheus exporter metrics so as to add ability to scrape metrics related of Elasticsearch cross cluster replication (_all/_ccr/stats)
Result of query looks like an below array:
{
   "indices":[
      {
         "index":"MY_INDEX1",
         "shards":[
            {
               "remote_cluster":"leader_cluster",
               "leader_index":"MY_INDEX1",
               "follower_index":"MY_INDEX1",
               "shard_id":0,
               "leader_global_checkpoint":3,
               "leader_max_seq_no":3,
               ............
            },
            {
               "remote_cluster":"leader_cluster",
               "leader_index":"MY_INDEX1",
               "follower_index":"MY_INDEX1",
               "shard_id":1,
               "leader_global_checkpoint":0,
               "leader_max_seq_no":0,
              ..........
            }
         ]
      },
      {
         "index":"MY_INDEX2",
         "shards":[
            {
               "remote_cluster":"leader_cluster",
               "leader_index":"MY_INDEX2",
               "follower_index":"MY_INDEX2",
               "shard_id":0,
               "leader_global_checkpoint":2,
               "leader_max_seq_no":2,
               ...............
            },
            {
               "remote_cluster":"leader_cluster",
               "leader_index":"MY_INDEX2",
               "follower_index":"MY_INDEX2",
               "shard_id":1,
               "leader_global_checkpoint":1,
               "leader_max_seq_no":1,
               ............
            }
         ]
      }
   ]
}

As you can see response include array if Indices. Each Index has name filed and Shards array. All metrics are per shard.
I am trying to understand how should my metric structure look like then?
```

elasticsearch_ccr_stats_leader_global_checkpoint{cluster="my-cluster",index="MY_INDEX1",shard_id:"0"} 23
elasticsearch_ccr_stats_leader_global_checkpoint{cluster="my-cluster",index="MY_INDEX1",shard_id:"1"} 432
elasticsearch_ccr_stats_leader_global_checkpoint{cluster="my-cluster",index="MY_INDEX2",shard_id:"0"} 14
elasticsearch_ccr_stats_leader_global_checkpoint{cluster="my-cluster",index="MY_INDEX2",shard_id:"1"} 234
elasticsearch_ccr_stats_follower_max_seq_no{cluster="my-cluster",index="MY_INDEX1",shard_id:"0"} 242
elasticsearch_ccr_stats_follower_max_seq_no{cluster="my-cluster",index="MY_INDEX1",shard_id:"1"} 624
elasticsearch_ccr_stats_follower_max_seq_no{cluster="my-cluster",index="MY_INDEX2",shard_id:"0"} 882
elasticsearch_ccr_stats_follower_max_seq_no{cluster="my-cluster",index="MY_INDEX2",shard_id:"1"} 767

Is it correct metric representation? Can I after query for example my metric name per index and sum value of all this metric on all shards?


AttributeError: 'module' object has no attribute 'transpose'

 File "/Users/jy/learning cpp/untitled5/ete.py", line 96, in get_ocrnet
    label =mx.symbol.transpose(data = label)
AttributeError: 'module' object has no attribute 'transpose'

try updating ur mxnet and mshadow

the latest version of mxnet doesn't contain symbol.transpose either.


Add icons for Figma, Code and GitHub

Add icons for Figma, Code, and Github.

Thank you for you contribution @tanukhandelwal! We already had similar attempts here - https://github.com/Microsoft/join-dev-design/pull/100, but we've decided to keep the minimalistic approach.
I also recommend using SVG for icons next time. 😊


No password supplied error

Hello, I tried to install your app locally on my mac, but unfortunately no success. I created virtual environment and download all packages but after I run ./install.py I get following error:
"/../my_servo_folder/venv/lib/python2.7/site-packages/psycopg2/__init__.py", line 164, in connect
    conn = _connect(dsn, connection_factory=connection_factory, async=async)
django.db.utils.OperationalError: fe_sendauth: no password supplied

What is weird is that I didn't put any password from my database_admin. After I run install.py my log-file looks like:
** Creating local configuration file **

DB admin username [pgsql]: postgres
1/10 Locale [sv_SE.UTF-8]: en_US.UTF-8
2/10 Country [en]:
3/10 Language [US]:
4/10 Timezone [Europe/Stockholm]:
5/10 Installation ID [22]:
6/10 Hostname [MyMachine]:
7/10 Database host [localhost]:
8/10 Database [servo]:
9/10 DB user [servo]:
10/10 DB password []:

** Setting up database tables **
Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)

I didn't have any ideas how to fix it, I will be thankful for any help.

Thanks, I have never tried to use a postgres user without a password. I'll look into this at some point, but in the meantime, just use a password :)

A actually have password on my postgres superuser. But while installation program don't ask me for input password and then give me that error.

Hello Filipp....
i have been tried dif ways to install it. but no luck for installation success.
tried on windows 10 x64. installed all required packages in every way that could possible for me. but was stuck at installation error, that createuser: too many arguments and some errors on manage.py script.
i left windows and moved to vmware image provided by you on the github.
i tried as per instruction in the read me file. and stuck on some errors.
then tried to upgrade pip and install some missing plug-ins. and then tried to install.py.
used postgres user as admin.
having problem when i retry to install.py gives many errors. like cant create database due to exist i think.
just want to know that should i uninstall all the packages and try fresh everything.
also when i try move the certificates. it comes up with error. that no such file found.
hope that only you can assist because you have deployed this fantastic thing in this globe.
please describe the resolution.
Regards:
Muhammad

output error on windows.
PS C\servo-app> python ./install.py
** Creating local configuration file **
DB admin username [pgsql]: postgres
1/10 Locale [sv_SE.UTF-8]: EN_US.UTF8
2/10 Country [EN]: United Arab Emirates
3/10 Language [US]: US
4/10 Timezone [Europe/Stockholm]:
5/10 Installation ID [22]:
6/10 Hostname [DESKTOP-SPQQLOV]:
7/10 Database host [localhost]:
8/10 Database [servo]: postgres
9/10 DB user [servo]: postgres
10/10 DB password []: 123
createuser: too many command-line arguments (first is "-U")
Try "createuser --help" for more information.
createdb: too many command-line arguments (first is "postgres")
Try "createdb --help" for more information.
** Setting up database tables **
Traceback (most recent call last):
File "./install.py", line 46, in
call(['./manage.py', 'migrate'])
File "C:\Python27\lib\subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "C:\Python27\lib\subprocess.py", line 710, in init
errread, errwrite)
File "C:\Python27\lib\subprocess.py", line 958, in _execute_child
startupinfo)
WindowsError: [Error 193] %1 is not a valid Win32 application

I have never tried to run the installer on Windows - maybe someone else has and can chime in.
But you don't have to run the installer - just set up the parts manually. Not sure if the instructions are clear if enough though.
I would really like to release a new complete server VMWare image, but unfortunately don't have the time to work on that atm.

Really Great Job filipp.
just installed ubuntu 14.x
installed all necessary item
done every thing right with python 3.4
just having a little issue that
bytes' object has no attribute 'encode'
at line 20 i think, where use os.urandom ........encode('base-64'))
i modified the installer raw_input to input because python 3.4 has changed "raw_input" to "input"
would u please share the knowledge.
one more thing that i m gonna start a webserver where might be i need your assistance. please write me hello at
<EMAIL_ADDRESS>have a good day.

this tries to sign certificate based on 64 bit enc.
can i sign a certificate with ssl and replace to ssl dir and rename to servo.cer.
because nginx failed to start due to invalid or no certificate.


two sided page

I know it is possible to make a two sided page with HTML and Markdown but there must be an easier way. All I want is to have a picture on the left side and some Code samples on the right side.
In my opinion there are many usecases in Powerpoint slides for this feature. But I dont know how a to implement this.

Hi, sure this is possible, you can put your two parts into two separate HTML div elements like this:

```javascript
var s = "JavaScript syntax highlighting";
alert(s);
```

```javascript
var s = "JavaScript syntax highlighting";
alert(s);
```

You can use float to move the two parts onto different sides and also set their width ... The only thing I do not know at the moment is, that you can also use other styling features, so that your elements look are also responsive.
Regards ...

@andre-dietrich thank you for your fast help


This should be a plugin for youtube-dl

Enough said. :smile:
https://github.com/rg3/youtube-dl/tree/master/youtube_dl/extractor

Hey! Thanks for showing me that, I've actually never heard of youtube-dl until now and it looks amazing! It seems they already have a Periscope extractor in their list of extractors. And by eyeballing the code, it looks like each extractor is written to a specification used by the core program, so it is doubtful that they would need Pyriscope's code, but they are certainly free to fork the Pyriscope repo or borrow from its source. 😄


Application List - Use of the application

From the documentation it is not clear what business benefit the user is getting by creating an application in APIM developer Portal ?  All I can see is the data entry . How does this integrate with APIM ?

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

ID: 92a9c3be-6ed9-f1dc-a6a4-adf6145be328
Version Independent ID: 55bec5cf-42c7-0d0d-4e3d-abd2af5b8e15
Content: Application templates in Azure API Management
Content Source: articles/api-management/api-management-application-templates.md
Service: api-management
GitHub Login: @vladvino
Microsoft Alias: apimpm

@rsrinivasanhome Thank you for the feedback!  We are investigating this and will get back to you shortly.

@rsrinivasanhome You are correct in that currently the goal is data entry.  Approved applications will appear on the Gallery page of the developer portal and allows developers the chance to highlight the apps they've built using the publisher's APIs.
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Crossbeam-Epoch dependency

Similar to #57, cargo-deny is showing a dependency on an older version of crossbeam-epoch, which has a dependency on arrayvec 0.4.12.
slog brings in a series of dependencies that uses the latest version of arrayvec (0.5.1). Updating to 0.8 of epoch actually removes the arrayvec dependency.

Heyo!
Saw your other ticket as well: happy to bump up version dependencies, but would you be willing to make a PR to do both of those things?

Unfortunately it's easier for me to make an issue than a PR from work :(

Released<EMAIL_ADDRESS>which switched to<EMAIL_ADDRESS>


feat(sfc-playground): save to copy the url

I noticed that there's a Repl SFC, should I move this feature to that repo?
I think maybe other user may want the save shortcuts to do what they want, so I put it here for now

hey @yyx990803  ， please help to check this PR


Landing page bug with sponsors on Firefox

Description
Clearly and concisely explain the problem.
You can mention unclear or missing information, typos, grammatical mistakes, etc.
Any contributions and suggestions are welcome!
Things overlap badly here on MacOS Firefox. Check the mockup.

Website Section URL
Website live preview, paste the page URL or section name (eg. Docs, if it happens on all docs page) below.

Known problem, has been fixed into #18


Catching typescript transpilation errors

Outputs any errors that occur during transpilation and shows the file where they happened.
Did not test this, just edited the file here directly on github.

It hasn’t been released

@RPDeshaies no it's not ;-)


Reading large  Excel document with Open XML SAX model

We are trying to read a comments and find if the track changes are enabled on a large excel document through SAX model
Describe the solution you'd like
We would like to read/open a large Excel file and find the comments in it
Describe alternatives you've considered
We are able to read comments using Open XML DOM model but leads to higher memory demand approx. 9x than original file size.
Additional context
Sample pseudo code below
using (var reader = OpenXmlReader.Create(spreadSheetDocument.WorkbookPart))
{
    while(reader.Read())
    {
        Console.WriteLine(reader.ElementType);
        // Can't the below if be better readable?
        if (reader?.ElementType == typeof(CommentRangeStart))
        {
            // Chance that this is a comment.
            //CommentRangeStart element = reader.LoadCurrentElement() as CommentRangeStart;
            //Console.WriteLine($"Comment text {reader.GetText()}, InnerText:{element.InnerText}");
            result = true;
        }
        else if(reader.ElementType == typeof(Deleted)
              || reader.ElementType == typeof(Inserted)
              || reader.ElementType == typeof(InsertedRun)
              || reader.ElementType == typeof(InsertedMathControl)
              || reader.ElementType == typeof(ParagraphPropertiesChange)
              )
        {
            result = true;
        }
    }
}

@twsouthwick edited for format

Hi @nkramakrishnan we've similar issues raised in the past. I'm happy to take contributions around this area, but I'd need to see what the design would look like first.

I believe this is a dupe of #1193 . Please reopen if you think it's different, but that has a proposal for what needs to happen in the SDK so I'll close this in favor of that one.


Improve error message

This PR enriches the error message in case of failed validation during the installation with liqoctl.

/merge


Firefox 58 fixes

See today's commits to https://github.com/smithfred/firefox-gnome-theme-3.26-layer
I'll convert that project to a fork of this one in the near future since this one seems to be abandoned at least at the moment.

Manually merged, except for CSD auto-detection stuff.


The in-graph beam search

Hi @dennybritz The in-graph beam search is pretty nice. I have couple of questions. Can you please clarify?

If we need to save the inference graph for C++ deployment, are the configurations like beam width and length norm weight defined through a placeholder tensor or they have to be baked into the graph?
What's the inference speed look like on the NMT task (as described in your paper https://arxiv.org/abs/1703.03906, beam 10, K80 GPU)?
It may be a little inflexible if we want to use additional information like language model score to guide the search. Do you have any comments about that aspect?

Many Thanks!

Hope to get comments about this issue too.

Would like some more info in this too, particularly on guiding the search.

It seems beam search functionality could not be added to inference graph incase if you need to use in C++ or TF Serving. Kindly refer this issue


Serve icons given a version

Seems that currently, if you use an icon link that is removed in a major version change, the link will break without notice. That is not desirable, so what about serving icons given a optional simple-icons version?

Yeah. I'm thinking about how to implement this feature.
We may need to integrate jsDelivr or unpkg in it.

We may also need UI or a list to let users know which icons are valid in a previous version. Otherwise, this feature is not very convenient to use.
By the way, this feature might take too much Bandwidth if most users specify a version for an icon. Like:
https://si-cdn.vercel.com/7.16.0simpleicons
https://si-cdn.vercel.com/7.16.0simpleicons
https://si-cdn.vercel.com/7.16.0simpleicons
https://si-cdn.vercel.com/7.16.0simpleicons

We may also need UI or a list to let users know which icons are valid in a previous version.

I don't understand why, trying to get an icon or works or not.

By the way, this feature might take too much Bandwidth if most users specify the version for their icons.

I'm not too worried about it, we can always take some of the annual profits to increase the server quota, which by the way, it would be convenient if it is hosted on a subdomain of simpleicons.org like cdn.simpleicons.org.

We may also need UI or a list to let users know which icons are valid in a previous version.

Never mind. I just overthought this requirement.

It would be convenient if it is hosted on a subdomain of simpleicons.org like cdn.simpleicons.org.

I have added cdn.simpleicons.org to the project settings. The domain needs to be set.

I can transfer this project to http://github.com/simple-icons for team maintenance.

I can transfer this project to http://github.com/simple-icons for easy maintenance by the team.

Yes, that would be great. I've configured the CNAME record right now.

We need to send two GET requests to jsDelivr or unpkg to claim the icon and its color.

GET<EMAIL_ADDRESS>to get the color.
GET<EMAIL_ADDRESS>to get the SVG content.

BTW, the main difference between users choosing simple-icons-cdn or jsDelivr is the coloring feature. Users can use jsDelivr instead of this if they just want an older version or stick to a specific version.
So I'm not sure it's a really needed requirement for users.

Closing in favor of the latest icons only, like shields.io.


Sometimes PRs end up with wrong data-plane or resource-manager label due to bad base branch / bad rebase

As a recent example, consider this PR:

https://github.com/Azure/azure-rest-api-specs-pr/pull/17764

And consider the commit 86af312, just before target branch rebase:

If we now look at the build history:

https://dev.azure.com/azure-sdk/internal/_build?definitionId=1736&_a=summary&keywordFilter=17764

We can see that the build 3666110 corresponding to the commit 86af312 (via the config branch having commit 520ad2f) ran for over 1 day (24h).
The Summary task log (raw view) reveals huge diff with paths having data-plane in them. See logs under:

2024-04-05T02:04:30.2509961Z Detect changes in the PR:

As a result, the data-plane label got added.
Also observe

2024-04-05T01:35:04.4539315Z source branch :pull/17764/merge, target branch: main

Related PR:

Pull Request 545031: Add more logging around logic determining the PR type (data-plane || ARM)

Pull Request 545932: Ensure summary() function correctly cleans up all labels when no longer applicable


Somatic pipeline bugs

List of bugs
There bugs were encountered while running an end-to-end example on Becnel data.
Memory allocation
Errors found in __init__.py for workflows:

cbioportal_export: lines 306-310
gene_expression_quantification: multiples instances (lines 324-328, 348-352 and 360-364)
panel_of_normals: lines 339-348
somatic_variant_calling: multiple instances (lines 744-768 & 801-805)

Default configuration
Errors found in __init__.py for workflows:

cbioportal_export: duplicate parameters on lines 66 & 68-70.

Location of executables
Errors found in wrappers

rnaqc/rnaseqc/wrapper.py: the hard-coded jar version on line 70 causes an error. Suggestion for change: `jar_path=$(find ${{JAVA_HOME}}/share -name 'RNA-SeQC_v*.jar')``
snappy_wrappers/wrappers/eb_filter/wrapper.py: the snappy script snappy-vcf_sort is not found on line 86. Suggestion for change: import os and snappy_vcf_sort = os.path.join(os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.realpath(__file__))))), "scripts", "snappy-vcf_sort")in the python part, and replacing line 86 with | {snappy_vcf_sort} $REF.fai.

Environment
Errors found in environment definitions of the wrappers

eb_filter: added gsl==2.7, and fixed version of bcftools==1.15.1 & samtools==1.15.1.
eb_filter_par: added gsl==2.7, and fixed version of bcftools==1.15.1 & samtools==1.15.1. snakemake was left unpinned. r & http://conda.cubi.bihealth.org/cubicondawere removed from the list of channels.
fastqc: added perl ==5.32.1 & conda-forge channel, pinned fastqc==0.11.9 & removed r channel.
jannovar: pinned jannovar-cli==0.36
somatic_variant_filtration/apply_filters: added gsl==2.7, and fixed version of bcftools==1.15.1 & htslib==1.15.1.

Hello, @ericblanc20, thank you for reporting the issues!
Memory Allocation: All update_cluster methods will be replaced. So this particular issue will disappear when we merge #141.
Default configuration: Issue addressed in #127, will be definitely closed once we merge #141.
Location of executables:

rnaqc/rnaseqc/wrapper.py: This can probably be an individual Issue. It should be straightforward to fix with no conflicts to the bigger DRMAA removal project.
snappy_wrappers/wrappers/eb_filter/wrapper.py: There was a similar issue in the Freebayes wrapper that I decided to solve by reintroducing an old hack - see #136.

Environment: All gsl dependency errors were solved in #131. The remaining issues could benefit from individual issues and most likely be fixed in parallel to the DRMAA project.

All tasks and issues moved.


CI: jobs involving forge failing with "Illegal instruction"

To Reproduce
Launch a ci pipeline on circle against main branch.
Expected behavior
All jobs should pass
Screenshots

System Specs:
n/a
Additional context
Suspect rolling the ci-builder image back may help to resolve

Via #56.


XVC Performance on A2M/A2A

Summary
Is the XVC model evaluated with Any-to setup in the paper?
If not, have you ever try it?
Current Status
The paper said that XVC is evaluated for unseen reference (target) speakers.

These unseen speaker samples were used to evaluate the ability of the model to imitate speakers not present in the training set.

This means that the XVC model is evaluated with to-Many (seen) and to-Any (unseen) setup in the paper.
At the same time, Whisper can be used for unseen source speakers, so it can be evaluated with Many-to and/or Any-to setup.
But there seems to be no description about source speaker's seen/unseen characteristics.
Quiestion
I have two quiestion.

In the paper, Is the XVC model evaluated with Any-to or Many-to?
If Many-to, have you ever try A2M setup? (like QuickVC)

Notes
Thanks for the great work!
I am excited to see this big advances in non-traditional VC area.

In the paper, Is the XVC model evaluated with Any-to or Many-to?
In the paper, it isn't
If Many-to, have you ever try A2M setup? (like QuickVC)
Yes, and the result is still good.
Why not just try the pretrained model? The environment setup is similar to quickvc.

Thanks for the answer!
I tried your pretrained model with few private unseen speakers, and got good results.
I am relieved to hear that official ConsistencyVC team got good results in A2M setup.


Getting a null ref when making calls

Regularly getting the following error when making calls. Not sure why. @Scordo
Error: Object reference not set to an instance of an object.,    at System.Net.Sockets.SocketTaskExtensions.SendAsync(Socket socket, ArraySegment1 buffer, SocketFlags socketFlags)
at TS3QueryLib.Net.Core.QueryClient.d__60.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
at TS3QueryLib.Net.Core.QueryClient.d__55.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()    at TS3QueryLib.Net.Core.AsyncHelper.RunSync[TResult](Func1 func)
at TS3QueryLib.Net.Core.QueryClient.Send(String messageToSend)
at TS3QueryLib.Net.Core.QueryClient.TS3QueryLib.Net.Core.ICommandExecutor.Execute(ICommand command)
at TS3QueryLib.Net.Core.Common.Commands.ExecutableCommand1.Execute(ICommandExecutor executor)    at UKSFWebsite.Api.Services.TeamspeakQueryServiceSingleton.Connect() in D:\home\site\repository\UKSFWebsite.api\Services\TeamspeakQueryServiceSingleton.cs:line 43    at lambda_method(Closure , ServiceProvider )    at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType)    at Microsoft.Extensions.Internal.ActivatorUtilities.GetService(IServiceProvider sp, Type type, Type requiredBy, Boolean isDefaultParameterRequired)    at lambda_method(Closure , IServiceProvider , Object[] )    at Microsoft.AspNetCore.Mvc.Controllers.ControllerActivatorProvider.<>c__DisplayClass4_0.<CreateActivator>b__0(ControllerContext controllerContext)    at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController0(ControllerContext controllerContext)    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)    at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.<InvokeInnerFilterAsync>d__14.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeNextResourceFilter>d__22.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeFilterPipelineAsync>d__17.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()    at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.<InvokeAsync>d__15.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()    at Microsoft.AspNetCore.Builder.RouterMiddleware.<Invoke>d__4.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()    at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>d__6.MoveNext()

Seems like it is during Connect? And you are using the Sync-Version? Which version are you using? Seems like you are using an older version?!
Can you show me the content of "UKSFWebsite.Api.Services.TeamspeakQueryServiceSingleton.Connect()" an tell me wich is line "43"?

My code has changed a little from this. I think the error is related to trying to disconnect not in the correct order.
But it seems many of the errors are not being caught by my try catch blocks. Is there a reason for this?
I'm using the latest nuget, is that very old?

I regularly get
http://prntscr.com/hjo5am

The reason you're code is not catching all exceptions is, that there is a Task in the Background running from the beginning of the "Connect" call which is Reading on the socket and pushing read lines into a queue. This queue is used by the Execute() method of the command to get the results. If an exceptions is thrown within this loop (task) you'll not be able to catch it. Are you sure you are using versio 0.5? The Stacktrace seems to be from an older version.

http://prntscr.com/hjs6mw
seems to be the latest.

Currently I'm still getting occasionally failures that I'm totally unsure what makes them occur. And am not able to repro.

could you not wrap the background task in a try catch and communicate back to the main thread with the exception that was caught. Then throw from the main thread?

You're using version 0.3. This is not the latest version. Verison 0.3. was using another approach of socket communication which had problems. Please use version 0.5:
https://www.nuget.org/packages/TS3QueryLib.Net.Core/0.5.0-alpha

Have updated thanks. Seems to be a bit more consistent however still getting the occasional failure :/
More concerningly. I'm occasionally managing to crash the teamspeak server being querried x.D

What is the proper disconnection flow?
Right now to connect I do
             _client = new QueryClient("XX", 10011);             connection = _client.Connect();             loginResponse = new LoginCommand("XX", "XX").Execute(_client);             portResponse = new UseCommand(9987).Execute(_client);
and too disconnect I
new QuitCommand().Execute(_client); _client.Disconnect(); _client=null;

The Quitcomand should be enough.

Thanks. This helps. Still get the occasional failed call. But that's fine.


Query parameter time_filter ignored

Current Behavior

When making a request to: /users/me/orders/?time_filter=current_future via the SDK I am receiving all the orders back regardless of the time_filter used

Expected Behavior

I expect to receive only the current_future or past events depending on the parameter I provide

Possible Solution

Steps to Reproduce (for bugs)
Generate a token
Provide a request to: /users/me/orders/?time_filter=current_future
Observe the orders returned
Provide a request to: /users/me/orders/?time_filter=past
Observe the same orders are returned
I then used Insomnia (API client) to make the same request (same token etc) and observed properly filtered events returned depending on the query parameter provided.

Screenshots (if appropriate):
Your Environment

SDK version: 1.0.3
Node version: 8.11.4
Browser name and version: Chrome
Operating system: Mac OS, El Capitan

Hi @HughbertD! 👋🏾
Thanks for your issue. Can you include two things for me?

Sample code for how you're making the request
A screenshot or other reproduction of the Network tab in your Chrome Developer Tools showing the request be made

This will help us figure out where the breakdown is happening.

I created a codesandbox that emulates the issue. I don't see why it would do that, but you can see from the sandbox that is does return 17 items, however when I use the API explorer it only returns 1.
Sandbox Result

API Explorer

I debugged this locally with the API. The SDK defaults the Content-Type to application/json. Within the API parses that Content-Type tells it to ignore the query params and use the data or body of the request.
A workaround is to specifically set the method of the request to GET, which skips out defaulting. I have a sample react app that does this here.
I will also open a PR that will default method to GET.

Thanks @kwelch for looking into this, the work around is doing the trick for the time being :) 👍

:tada: This issue has been resolved in version 1.0.4 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Optimized ray function

Ray function used 8 steps to iterator over the board, only 7 were necessary.

Since fate has decided this should increase the file size, let's keep it around for potential future use. Thanks.

It may be an Elogainer, as this is very perf critical.

Running as http://chess.grantnet.us/test/30422

ELO   | 11.38 +- 7.04 (95%) SPRT  | 8.0+0.08s Threads=1 Hash=64MB LLR   | 2.95 (-2.94, 2.94) [0.00, 5.00] GAMES | N: 5344 W: 1617 L: 1442 D: 2285
About 3 Elo per byte, not bad.

The Fates are kind. Thanks.


Game Crash

when i try to inject NetWare on 1v1 LoL, the game crash without explain where is the problem, please help me

Are you using the loader?

Stai usando il caricatore?

yes, i'm using a loader, but after a few second game crush

if you can send a video or an image

if you can send a video or an image

I have the same problem.

if you can send a video or an image

I can't cause the video it's too big, here's my discord, i can send it there: DonPeppe

Send it on the discord server and ping me


Device Service SDK in Go

Based on updated requirements, refactor the Device Service SDK in Go.

Done!
Thanks @cloudxxx8 and @tonyespy


Add Indonesian language

Hello, @hdiiofficial
Thanks for supporting the project.

Hello, @hdiiofficial
Thanks for supporting the project.

Ywc if you need help i can help you if i know


Add middleware

Add middleware in the Django section

Middleware and Django middleware both added under API/WebFramework/Django section @ PR


tools/scenedetect/scene_detect.py  Enhanced Scene Detection with AdaptiveDetector

Enhanced Scene Detection with AdaptiveDetector
For improved results in scene detection, I recommend using the AdaptiveDetector instead of the ContentDetector. The AdaptiveDetector provides a more nuanced approach, especially for videos with varying lighting or content. Here's how you can use it in your project:
Code Snippet:
from scenedetect import AdaptiveDetector, detect_scenes, split_video_ffmpeg

# Path to the input video
video_path = 'your_video_path_here.mp4'

# Directory to save the output clips
video_dir = 'your_output_directory_here'

# Perform scene detection
scene_list = detect_scenes(
                video_path=video_path,
                scene_detector=AdaptiveDetector(
                    luma_only=True,
                    adaptive_threshold=1.5,
                    min_scene_len=3
                ),
            )

# Split and save the detected scenes into separate clips
for i, scene in enumerate(scene_list):
    output_file = f"{video_dir}/clip_{i+1}.mp4"
    split_video_ffmpeg(
        video_path=video_path,
        scene_list=[scene],
        output_file_template=output_file,
    )

---.

Thanks for your suggestion! We will update this part in the future.

Thanks you 😊


Update object examples

These examples used old syntax (and in some cases, deprecated syntax). I've also cleaned them up to be consistent with each other and to be over all, more stream-lined.

:+1: for updating commented out examples too.
Maybe this isn't a concern, but to me snd evokes Haskell's snd. I don't have a strong alternate suggestion.. maybe send-off. Feel free to ignore. :)

I think snd is okay in this context -- it's just to avoid conflicts with the already-defined send earlier in the module. These are only defined when the user slurps the example (with a compile, they'll be mod:send and mod:snd).

Cool, works for me!
=====
Mildly related: In a situation like this, where there are two similar functions and there's not an obvious alternate name for the second, would send* be an idiomatic choice?
Also, it's not possible to have a ' in a fun name, right? As in some-fun'. I like that convention because it reads like "prime" and is allowed in Clojure, but can see how it's troublesome with atoms of the form, 'an atom'.

On Thu, Jul 30, 2015 at 1:06 AM, Eric Bailey<EMAIL_ADDRESS>wrote:

Cool, works for me!
Mildly related: In a situation like this, where there are two similar
functions and there's not an obvious alternate name for the second, would
send* be an idiomatic choice?

Well, if the functions really should have the same name and the same arity,
it's probably time to put them into different modules. (In this example,
though, I wanted users to be able to see both implementatsions,
side-by-side; thus the name hack.) For now, that means different files, but
@rvirding has previously talked about the possibility supporting multiple
modules  in a single file.

Make sense. Thanks!


test/e2e: capture more observation information

Capture more information about the cluster and the DTK image, for post-mortem study of the nightly

/test ?

/test e2e-aws-driver-toolkit

/test e2e-aws-driver-toolkit

/lgtm

/approve


[7.x][DOCS] Reorganizes Overview and Installation chapters in Test folder

Overview
This PR backports the following changes to 7.x:
[DOCS] Reorganizes Overview and Installation chapters in Test folder #5042
[DOCS] Adds shared/attributes.asciidoc to index #5048

Sorry it took forever to get to this one @szabosteve !
Updated the docs and taking this for a respin


13.0 pos longpolling port2

@Ramil-Mukhametzyanov "Show Cancelled Orders" Option works and improvement to hide it when pos_order_cancell is not installed gonna come in 13v soon after merge wave from 11v. The second option should be fixed.

I approve to merge it now


Feature 97 async dropscope

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

Adds ability to use observable return value if dropscope is a fuction. Updates readme.

What is the current behavior? (You can also link to an open issue here)

Implements #97

@ObaidUrRehman can you take a look at this? I've updated the README.md with observable instructions under Drop scope as Functions section.

Thanks @akagr


Improve documentation

Description
Improve docstrings
References
Fix #1
Checklist

[x] I have read the contribution guide
[x] Code lint checked via inv lint
[x] changes file included (see docs)
[x] Usage documentation added in case of new features
[x] Tests added

Pull Request Test Coverage Report for Build 433464812

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

Totals

Change from base Build 433450183:
0.08%

Covered Lines:
199

Relevant Lines:
201

💛  - Coveralls


Steve should support retrieving resources in a given namespace/project

Currently, Steve only allows us to get all resources on a given type - it does not provide an API to allow us to request all resources in a given namespace.
The Kubernetes API itself does provide such an API and it would be helpful to the UI to have this as a tool to address performance issues.

@nwmac can you please clarify or provide an example of what you would like to be able to do? e.g. a use case

@samjustus This is lower priority than other items - but we'd like to show more detail on the namespace view in the UI for resources in the namespace and also for a deployed helm app we'd like to do the same - currently we have to retrieve all resources of a given type - so if we want to show pods in the namespace view, we have to get the pods for the entire cluster - this is slow for large clusters - adding being able to do this my namespace will allow us to improve the performance of these views.
Also, for a given workload like a deployment, we have to fetch all pods in the cluster and then apply the selectors to find the pods being controlled by that deployment - which we use to show status/health - fetching all pods is expensive on large clusters - if we could retrieve by namespace, we can be more efficient here.

This is already supported. For the example of retrieving pods:
All pods -> /v1/pods
Pods only in the cattle-fleet-system namespace -> /api/v1/namespaces/cattle-fleet-system/pods
Let us know if you need more help with this.

Thanks @cmurphy
I think we need documentation for Steve.
I'm assuming the request by namespace will also set up appropriate watched, so that changes are sent over the weboscket?

I think we need documentation for Steve.

Agreed :100: But for the most part, steve is a 1:1 reflection of the k8s API, so you can mostly (not 100%) assume that what works in the k8s API works in steve, this namespace format being one example https://kubernetes.io/docs/reference/using-api/api-concepts/#resource-uris

I'm assuming the request by namespace will also set up appropriate watched, so that changes are sent over the websocket?

Yes, the watch will work the same way.

Thanks- wasn't sure if that namespace API would cause the watches to be put in place as well. Good to know.

@cmurphy We've recently been making use of this feature and noticed a disparity between the two responses
Looking at just the top level properties
k8s/clusters/c-m-9jdnx2f4/v1/services
apiVersion: "v1"
id: "default/kubernetes"
kind: "Service"
links: {remove: "https://localhost:8005/k8s/clusters/c-m-9jdnx2f4/v1/services/default/kubernetes",…}
metadata: {creationTimestamp: "2022-10-20T09:08:09Z",…}
spec: {clusterIP: "<IP_ADDRESS>", clusterIPs: ["<IP_ADDRESS>"], internalTrafficPolicy: "Cluster",…}
status: {loadBalancer: {}}
type: "service"

k8s/clusters/c-m-9jdnx2f4/api/v1/namespaces/default/services
metadata: {name: "kubernetes", namespace: "default", uid: "073d7e60-53dd-4977-bea1-c774cc0c1cf1",…}
spec: {ports: [{name: "https", protocol: "TCP", port: 443, targetPort: 6443}], clusterIP: "<IP_ADDRESS>",…}
status: {loadBalancer: {}}

Most importantly id, type and links are missing. For the 2.7.0 use case we've worked around this given that particular implementation. Post 2.7.0 though we would need to treat the resources returned from the namespaced requests as those returned from the none namespaced requests.
Is there anything params wise we should be adding to get the fuller steve like resource (with id, type, links, etc) rather than native k8s? Guessing it's more of a complicated BE routing issue?

@richard-cox I think I gave bad information before, there's a better way that should give you what you need.
In my example, /api/v1/namespaces/namespacename/pods proxies directly to the k8s API.
The same information can be retrieved through a steve-specific API /v1/pods/namespacename and includes links etc:
$ curl -s -u $TOKEN -k https://localhost:8443/v1/pods/default | jq . | head -20
{
  "type": "collection",
  "links": {
    "self": "https://localhost:8443/v1/pods/default"
  },
  "createTypes": {
    "pod": "https://localhost:8443/v1/pods"
  },
  "actions": {},
  "resourceType": "pod",
  "revision": "8067108",
  "data": [
    {
      "id": "default/test",
      "type": "pod",
      "links": {
        "remove": "https://localhost:8443/v1/pods/default/test",
        "self": "https://localhost:8443/v1/pods/default/test",
        "update": "https://localhost:8443/v1/pods/default/test",
        "view": "https://localhost:8443/api/v1/namespaces/default/pods/test"

Does this work? Apologies for the confusion.

Thanks @cmurphy ! I've created https://github.com/rancher/dashboard/issues/7255 to switch the existing feature over, and we'll use that new one for future features.


Bump of the dependencies

and do the necessary adjustment.
Only warning left:
warning: use of deprecated item 'rand::Rng::shuffle': use SliceRandom::shuffle instead
   --> src/uu/shred/src/shred.rs:432:28
    |
432 |         rand::thread_rng().shuffle(&mut pass_sequence[..]); // randomize the order of application
    |                            ^^^^^^^
    |
    = note: `#[warn(deprecated)]` on by default

I'm not in favor of increasing the MinSRV, unless we have a specific reason. Some platforms can't easily upgrade versions. For widest compatibility, we should keep it as low as possible. Rust 2018 (v1.31) is a good, stable resting point for the code base until there's something we need in a more current version. And, so, I'm only in favor of upgrading dependencies when it doesn't affect the current code.
And, I like "MinSRV", it's a slightly longer, more obvious (and somewhat common) variant of the, admittedly, more prevalent "MSRV" abbreviation. I felt it hit a nice middle ground.
And, at a minimum, I'd like to defer any of this until I can get the code base into a state that's releasable on crates.io.

I do not agree with you on "MinSRV", it is very cryptic and I had at look at the CICD configuration to understand what it means. If you want to keep it short, "MinRustV" is only two more letters and more explicit.
About bumping the minimal version, it isn't what I had in mind, I was just trying to see if it would fix an issue I had. Nix needs a quite recent version of the compiler. I will see to lower this dep.

I do not agree with you on "MinSRV", it is very cryptic and I had at look at the CICD configuration to understand what it means. If you want to keep it short, "MinRustV" is only two more letters and more explicit.

Agree to disagree, but I'm good with the MinRustV as a compromise, if you are?

About bumping the minimal version, it isn't what I had in mind, I was just trying to see if it would fix an issue I had. Nix needs a quite recent version of the compiler. I will see to lower this dep.

👍
What issue?

Closing this as dependencies are currently up-to-date on 'master'. We can re-open as another PR if/when needed.


[STYLE CHANGE] POMODORO PAGE

Description:
I would like to create a working circular timer animation which moves with time with custom timing so user can select the time let it be 25 mins or 1 hour or more. And I have the experience with circular bar animations.
Reason for Change:
the current timer has no animation and no custom times.
Current Styling:
the circular bar on the pomodoro page.
Proposed Styling:
I would like to make the timer circular bar dynamic with time moving animation and add custom time slots i.e (25mins,1hr..)
Screenshots or Design Mockups (optional):

Additional Information (optional):

Priority Level (optional):

[ ] Low
[x] Medium
[ ] High

Timeline (optional):
4-5days

@akshitagupta15june pls respond and assign.