Kafka 0.9 upgrade

Are there any plans to upgrade this tool for kafka 0.9?
-Consumer groups do not seem to be recognized with kafka 0.9 via this tool

+1

+1

+1
KafkaConsumer's offset in kafka-python v1.0.0 cannot be updated in this tool

+1

+1

+1

+1
I set it up with 0.9 and it seems it shows all statistics & info when console consumer is up. Does not provide any information or statistics with programmatic consumer is polling for data from brokers.

+1

+1

+1

+1

+1

+!

+1

+1

+1

+1

+1

+1

+1

+1

feel free to submit a PR

Oh, my god. I have used the kafka <IP_ADDRESS>, so this project should not be used.

+1, maybe even support <IP_ADDRESS>

I am working on a PR to bring support to <IP_ADDRESS>+, mainly to support SASL_PLAINTEXT.  I am completely new to SBT, so when I drop this, please be gentle.  :)

I have submitted the PR which attempts to bring Kafka 0.9+ support to this project, as well as the Kerberos/SASL authentication that was introduced in 0.9.  https://github.com/quantifind/KafkaOffsetMonitor/pull/107.  Please be gentle.  :)

I rebuild one from source, the details in #111, you could use it.

This repo is defunct.  You can try this instead: https://github.com/Morningstar/kafka-offset-monitor

+1


Happy linting

Fixing ineffectual assignement

@ldemailly: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
d047dc6d2a2a4fbc58957196141892122f2b8a16
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

fixed by https://github.com/istio/pilot/commit/a0a5dcdd66a0e62751a5e2eb393950b8487dbb47

@ldemailly: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
b68464c8c546bd96168522bdc35bf1f222aef64f
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

this is a marginally better fix - interestingly it broke something

closing temporarily. Sorry.

@ldemailly: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
b68464c8c546bd96168522bdc35bf1f222aef64f
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest
trying to debug build issues as a side effect of this, so please don't close
(it doesn't add significant load)

@ldemailly: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
b68464c8c546bd96168522bdc35bf1f222aef64f
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test all
@yutongz seems to be stuck on that git error ( https://github.com/istio/test-infra/issues/428 ) any idea what may be the issue ?

@ldemailly: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
b68464c8c546bd96168522bdc35bf1f222aef64f
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

That's wired, I don't understand either. I did that merge on my machine and it works just fine. I am not a Prow expert but I guess you can try manually rebase from master so that prow doesn't need to.

Let me try again: can someone explain why the code fixed is wrong ? Is there any
evidence that the linter is actually correct and there are tangible benefits of not
using perfectly valid go syntax ?

@ldemailly @yutongz I found the make lint has quite a few warning messages, do we need to fix all of them?
+ gometalinter --concurrency=2 --enable-gc --deadline=300s --disable-all --enable=aligncheck --enable=deadcode --enable=errcheck --enable=gas --enable=goconst --enable=gofmt --enable=goimports --enable=golint --exclude=.pb.go --exclude=gen_test.go --enable=gotype --enable=ineffassign --enable=interfacer --enable=lll --line-length=120 --enable=megacheck --enable=misspell --enable=structcheck --enable=unconvert --enable=varcheck --enable=vet --enable=vetshadow ./...
test/client/client.go:32:2:warning: error return value not checked (could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of:) (errcheck)
test/client/client.go:111:35:warning: error return value not checked (undeclared name: websocket) (errcheck)
test/client/client.go:129:20:warning: error return value not checked (invalid operation: client (variable of type *invalid type) has no field or method Dial) (errcheck)
test/client/client.go:137:28:warning: error return value not checked (undeclared name: websocket) (errcheck)
test/client/client.go:237:14:warning: error return value not checked (undeclared name: websocket) (errcheck)
test/server/echo.go:40:2:warning: error return value not checked (could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of:) (errcheck)
test/server/echo.go:58:16:warning: error return value not checked (undeclared name: websocket) (errcheck)
test/server/echo.go:40:2:warning: unused variable or constant could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (varcheck)
test/server/echo.go:58:16:warning: unused variable or constant undeclared name: websocket (varcheck)
test/client/client.go:32:2:warning: unused variable or constant could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (varcheck)
test/client/client.go:111:35:warning: unused variable or constant undeclared name: websocket (varcheck)
test/client/client.go:129:20:warning: unused variable or constant invalid operation: client (variable of type *invalid type) has no field or method Dial (varcheck)
test/client/client.go:137:28:warning: unused variable or constant undeclared name: websocket (varcheck)
test/client/client.go:237:14:warning: unused variable or constant undeclared name: websocket (varcheck)
test/client/client.go:32:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (unconvert)
test/client/client.go:111:35:warning: undeclared name: websocket (unconvert)
test/client/client.go:129:20:warning: invalid operation: client (variable of type *invalid type) has no field or method Dial (unconvert)
test/client/client.go:137:28:warning: undeclared name: websocket (unconvert)
test/client/client.go:237:14:warning: undeclared name: websocket (unconvert)
test/server/echo.go:40:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (unconvert)
test/server/echo.go:58:16:warning: undeclared name: websocket (unconvert)
test/server/echo.go:40:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (interfacer)
test/server/echo.go:58:16:warning: undeclared name: websocket (interfacer)
test/client/client.go:32:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (interfacer)
test/client/client.go:111:35:warning: undeclared name: websocket (interfacer)
test/client/client.go:129:20:warning: invalid operation: client (variable of type *invalid type) has no field or method Dial (interfacer)
test/client/client.go:137:28:warning: undeclared name: websocket (interfacer)
test/client/client.go:237:14:warning: undeclared name: websocket (interfacer)
test/client/client.go:32:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (megacheck)
test/client/client.go:111:35:warning: undeclared name: websocket (megacheck)
test/client/client.go:129:20:warning: invalid operation: client (variable of type *invalid type) has no field or method Dial (megacheck)
test/client/client.go:137:28:warning: undeclared name: websocket (megacheck)
test/client/client.go:237:14:warning: undeclared name: websocket (megacheck)
test/server/echo.go:40:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (megacheck)
test/server/echo.go:58:16:warning: undeclared name: websocket (megacheck)
test/server/echo.go:40:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (aligncheck)
test/server/echo.go:58:16:warning: undeclared name: websocket (aligncheck)
test/client/client.go:32:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (aligncheck)
test/client/client.go:111:35:warning: undeclared name: websocket (aligncheck)
test/client/client.go:129:20:warning: invalid operation: client (variable of type *invalid type) has no field or method Dial (aligncheck)
test/client/client.go:137:28:warning: undeclared name: websocket (aligncheck)
test/client/client.go:237:14:warning: undeclared name: websocket (aligncheck)
test/server/echo.go:40:2:warning: unused struct field could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (structcheck)
test/server/echo.go:58:16:warning: unused struct field undeclared name: websocket (structcheck)
test/client/client.go:32:2:warning: unused struct field could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (structcheck)
test/client/client.go:111:35:warning: unused struct field undeclared name: websocket (structcheck)
test/client/client.go:129:20:warning: unused struct field invalid operation: client (variable of type *invalid type) has no field or method Dial (structcheck)
test/client/client.go:137:28:warning: unused struct field undeclared name: websocket (structcheck)
test/client/client.go:237:14:warning: unused struct field undeclared name: websocket (structcheck)
Makefile:44: recipe for target 'lint' failed
make: *** [lint] Error 1

I think we should first agree on a style guide for Istio - including what
parts of Go language
are not allowed and why, and fix the linter checks instead.
On Mon, Aug 28, 2017 at 7:47 PM, Guang Ya Liu<EMAIL_ADDRESS>wrote:

@ldemailly https://github.com/ldemailly @yutongz
https://github.com/yutongz I found the make lint has quite a few
warning messages, do we need to fix all of them?

gometalinter --concurrency=2 --enable-gc --deadline=300s --disable-all --enable=aligncheck --enable=deadcode --enable=errcheck --enable=gas --enable=goconst --enable=gofmt --enable=goimports --enable=golint --exclude=.pb.go --exclude=gen_test.go --enable=gotype --enable=ineffassign --enable=interfacer --enable=lll --line-length=120 --enable=megacheck --enable=misspell --enable=structcheck --enable=unconvert --enable=varcheck --enable=vet --enable=vetshadow ./...
test/client/client.go:32:2:warning: error return value not checked (could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of:) (errcheck)
test/client/client.go:111:35:warning: error return value not checked (undeclared name: websocket) (errcheck)
test/client/client.go:129:20:warning: error return value not checked (invalid operation: client (variable of type *invalid type) has no field or method Dial) (errcheck)
test/client/client.go:137:28:warning: error return value not checked (undeclared name: websocket) (errcheck)
test/client/client.go:237:14:warning: error return value not checked (undeclared name: websocket) (errcheck)
test/server/echo.go:40:2:warning: error return value not checked (could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of:) (errcheck)
test/server/echo.go:58:16:warning: error return value not checked (undeclared name: websocket) (errcheck)
test/server/echo.go:40:2:warning: unused variable or constant could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (varcheck)
test/server/echo.go:58:16:warning: unused variable or constant undeclared name: websocket (varcheck)
test/client/client.go:32:2:warning: unused variable or constant could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (varcheck)
test/client/client.go:111:35:warning: unused variable or constant undeclared name: websocket (varcheck)
test/client/client.go:129:20:warning: unused variable or constant invalid operation: client (variable of type *invalid type) has no field or method Dial (varcheck)
test/client/client.go:137:28:warning: unused variable or constant undeclared name: websocket (varcheck)
test/client/client.go:237:14:warning: unused variable or constant undeclared name: websocket (varcheck)
test/client/client.go:32:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (unconvert)
test/client/client.go:111:35:warning: undeclared name: websocket (unconvert)
test/client/client.go:129:20:warning: invalid operation: client (variable of type *invalid type) has no field or method Dial (unconvert)
test/client/client.go:137:28:warning: undeclared name: websocket (unconvert)
test/client/client.go:237:14:warning: undeclared name: websocket (unconvert)
test/server/echo.go:40:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (unconvert)
test/server/echo.go:58:16:warning: undeclared name: websocket (unconvert)
test/server/echo.go:40:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (interfacer)
test/server/echo.go:58:16:warning: undeclared name: websocket (interfacer)
test/client/client.go:32:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (interfacer)
test/client/client.go:111:35:warning: undeclared name: websocket (interfacer)
test/client/client.go:129:20:warning: invalid operation: client (variable of type *invalid type) has no field or method Dial (interfacer)
test/client/client.go:137:28:warning: undeclared name: websocket (interfacer)
test/client/client.go:237:14:warning: undeclared name: websocket (interfacer)
test/client/client.go:32:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (megacheck)
test/client/client.go:111:35:warning: undeclared name: websocket (megacheck)
test/client/client.go:129:20:warning: invalid operation: client (variable of type *invalid type) has no field or method Dial (megacheck)
test/client/client.go:137:28:warning: undeclared name: websocket (megacheck)
test/client/client.go:237:14:warning: undeclared name: websocket (megacheck)
test/server/echo.go:40:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (megacheck)
test/server/echo.go:58:16:warning: undeclared name: websocket (megacheck)
test/server/echo.go:40:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (aligncheck)
test/server/echo.go:58:16:warning: undeclared name: websocket (aligncheck)
test/client/client.go:32:2:warning: could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (aligncheck)
test/client/client.go:111:35:warning: undeclared name: websocket (aligncheck)
test/client/client.go:129:20:warning: invalid operation: client (variable of type *invalid type) has no field or method Dial (aligncheck)
test/client/client.go:137:28:warning: undeclared name: websocket (aligncheck)
test/client/client.go:237:14:warning: undeclared name: websocket (aligncheck)
test/server/echo.go:40:2:warning: unused struct field could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (structcheck)
test/server/echo.go:58:16:warning: unused struct field undeclared name: websocket (structcheck)
test/client/client.go:32:2:warning: unused struct field could not import github.com/gorilla/websocket (cannot find package "github.com/gorilla/websocket" in any of: (structcheck)
test/client/client.go:111:35:warning: unused struct field undeclared name: websocket (structcheck)
test/client/client.go:129:20:warning: unused struct field invalid operation: client (variable of type *invalid type) has no field or method Dial (structcheck)
test/client/client.go:137:28:warning: unused struct field undeclared name: websocket (structcheck)
test/client/client.go:237:14:warning: unused struct field undeclared name: websocket (structcheck)
Makefile:44: recipe for target 'lint' failed
make: *** [lint] Error 1

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/istio/pilot/pull/1121#issuecomment-325539245, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAFI6s5VuP5y6f_j7Esm4mqJqwBc0hInks5sc3ulgaJpZM4PE-Tt
.

@costinm (again) the linter's 'prefences' can be argued like any style, but the whole idea is to not argue. and in this specific case I think the code on the right is better than the earlier version, though not by much
I'm more interested in the build failure anyway for this
@yutongz afaik it's already rebased

/test all

@ldemailly: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
b68464c8c546bd96168522bdc35bf1f222aef64f
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@ldemailly: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
b68464c8c546bd96168522bdc35bf1f222aef64f
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@ldemailly: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-presubmit.sh
b68464c8c546bd96168522bdc35bf1f222aef64f
link
/test pilot-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


tsserver should provide an efficient way to compute project errors

TypeScript Version:
nightly (1.9.0-dev.20160217)
VS Code will soon provide an error list. This made it obvious that the current behavior of validating the open files only is very dissatisfying as usually more errors come if more files get opened.
I started to experiment with the 'geterrForProject' route the tsserver provides. However the implementation doesn't scale well. Using the route on a VS Code workspace with a delay between file checking of 0 takes 4 minutes to compute all project errors. I therefor propose to introduce the concept of builders into the tsserver to more efficiently check for errors depending on the module system and the project type. The following builder would be present:
NullBuilder
If the editor doesn't want project building and always requests errors by itself.
VirtualProjectBuilder
Builder used if no tsconfig file is present. Since we can't assume a module system we have to validate all files in the virtual project. However we should allow configuring a maximum of validated files and should show a warning if that maximum is exceed. In addition we can optimize error checking by keeping a signature for every files in the virtual project. The signature is a hash (md5) over the declaration file of a ts file. If a file changes but is signature doesn't (e.g. its public shape stayed the same) there is no need to recheck other files.
InternalProjectBuilder
This is a builder for TS project configured for the internal / none module system. It will function them same way as the VirtualProjectBuilder.
ModuleProjectBuilder
We have a configured module system and therefore clear dependencies between the TS files. The builder will work as follows:

maintains a reverse dependency graph
if a file changes only the files that depend on the changed files will be rechecked
as with the other builders it uses a signature computed on the public shaped to stop checking if the shape stays the same.
for optimal performance the builder should be able to persist some state to avoid unnecessary re-computation of errors on next startup.

Know open issues:

currently the language service API only allows to emit all files (js, declaration and map). To optimize the implementation it would be necessary to emit declaration files only.

How should we let the tsserver know whether it should install a builder or use the null builder. Could be a command line option passed the tsserver (since it is editor specific) or we could extend the configure event.

Should we allow to control this per project as well via a property in the tsconfig.json (comparable to compileOnSave)

I have started an implementation of those builders which I will soon make available on a branch in the repository. Would be great to get feedback on whether the TS team thinks this could be an reasonable approach.
Credits: gulp-tsb and the Eclipse Java compiler use a comparable approach to speed up error checking and compilation.

Created branch: https://github.com/Microsoft/TypeScript/tree/dbaeumer/9125

I have a question as well. I noticed that externalModuleIndicator is undefined in files like this:
declare module "abc" {
export function foo(): void;
}
I thought this style is used to type external modules written in JS. Is there a reason why externalModuleIndicator is undefined?

@dbaeumer I tell me if we could use your work about builder to extend it and support tslint too? It should very cool if we could have an extension with your builder to implement it like we wish like with tslint.
What do you think about that?

@angelozerr to my knowledge tslint doesn't check any inter file dependencies. Assuming this is correct then a builder for tslint will be very simple. Validate all files and then only validate the changed files. However we could share some implementation techniques to keep a state of file being validated between sessions. But I haven't settle on an optimal implementation here. Will share as soon as I have something implemented.
The builder for TS is quite more complicated if you use a module system since if module A referenced module B then a change in B need to recompile A even if A isn't open.

And another questions. Conisder the following example:
file someModule.d.ts
declare module "someModule" {
   ....
}

file: use.ts
import * as sm from "someModule"

sm.foo();

The sourceFile for use.ts has an resolvedModule property with an key "someModule" however the value of the key is undefined. Is this on purpose. Would be very helpful if the value would point to something that points to the someModule.d.ts file.
@zhengbli @vladima can you help me with that. I am a little stuck here. Thanks!

@dbaeumer there are two steps to resolve these references, once during building the program. these try to resolve a module import to a file. if that fails, nothing is written to the entry. later on, in the checker, when resolving the import, if a file is not found, we look in the global scope, to see if an ambient declaration exist. this can be not be written to the file, as the same SourceFile can be shared between multiple Programs.

The idea and model is quite neat. Regarding the per-project setting, I don't see much value in it though. It requires the user to know quite some details about the implementation of the tooling, which can be confusing and wouldn't result in much differences in the user's perspective. In addition, editors may have different preferences because the way it reports diagnostics can be different; so it may be more about per-user instead of per-project. Besides in the case with no config files, it's hard for the user to control.
The editor inevitably needs to tell the server its capability / preferences for builds in some way, therefore it seems an extra step to carry information in tsconfig, if there are no real need for the options to be customized per project.

this should be addressed by https://github.com/Microsoft/TypeScript/issues/11229


Add v1.3.0 tag/release

I notice that the version on Pypi is 1.3.0 and the version in the README says 1.3.0 as of commit 72e3d490515c3188e2acac9c15ea1b466f9ff938, but there isn't a Github release or a tag for v1.3.0. Can you add one? I'm packaging (NixOS/nixpkgs#53599) this for nixpkgs and it would be helpful.

Sorry this took forever. There's a v1.3.0 tag there now & there will be a v1.4.0 there soon that reflects main. Thanks & apologies again.


Making an ajax request on next

I want to know how to save the data of every step individually. I want to save every step's form data separately for which I want to make an ajax request.

Checking the active index I managed calling the api by using this--
        API call
````});

Suppose If API has some error how to stop the current step to go next? Can you help?


fix(storage-node): fix get username and password from dbClass

Type of change:

[x] Bugfix
[ ] New feature provided
[ ] Improve performance
[ ] Backport patches

What this PR does / why we need it:

fix https://github.com/apache/shardingsphere-on-cloud/issues/292#issuecomment-1563924644 - the first point
Pre-submission checklist:

[x] Did you explain what problem does this PR solve? Or what new features have been added?
[ ] Have you added corresponding test cases?
[ ] Have you modified the corresponding document?

@Xu-Wentao help review

Codecov Report

Merging #386 (1b50b85) into main (e52f093) will decrease coverage by 1.56%.
The diff coverage is 5.26%.

@@            Coverage Diff             @@
##             main     #386      +/-   ##
==========================================
- Coverage   47.34%   45.78%   -1.56%
==========================================
  Files          48       49       +1
  Lines        5264     5452     +188
==========================================
+ Hits         2492     2496       +4
- Misses       2547     2731     +184
  Partials      225      225

Impacted Files
Coverage Δ

pitr/cli/internal/cmd/backup.go
73.47% <0.00%> (ø)

...tor/cmd/shardingsphere-operator/manager/manager.go
0.00% <ø> (ø)

...perator/pkg/controllers/compute_node_controller.go
0.00% <0.00%> (ø)

...phere-operator/pkg/controllers/proxy_controller.go
0.00% <ø> (ø)

...operator/pkg/controllers/proxyconfig_controller.go
0.00% <ø> (ø)

...pkg/controllers/shardingsphere_chaos_controller.go
46.46% <ø> (ø)

...operator/pkg/distsql/visitor/shadow_rdl_visitor.go
0.00% <0.00%> (ø)

...operator/pkg/reconcile/computenode/compute_node.go
38.29% <50.00%> (ø)

...perator/pkg/controllers/storage_node_controller.go
55.85% <87.50%> (+0.40%)
:arrow_up:

...ator/cmd/shardingsphere-operator/manager/option.go
49.52% <100.00%> (ø)

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


Export Button to PDF and Excel

I have a few problem with Export to PDF and Excel with Export Button:
1 - Export Button - PDF : I got almost blank PDF file (Please see my attachment). I believe that the problem come from the Unicode Khmer Font (Cambodia language).
[សកម្មភាពស្ថាប័នអប់រំ  CSD Administration.pdf] (https://github.com/Laravel-Backpack/CRUD/files/4310625/CSD.Administration.pdf)
Please kindly point out the block of code that produce the output for PDFMake to generate the PDF file.
2 - Export Button - Excel : it is working fine but I would like to know how to display full text instead of text was trimmed out with ...
Thanks
Borin

Hi @asicambo ,
1 - the export is done using the DataTables JS plugin, it indeed seems to use pdfmake - look for resources/views/crud/inc/export_buttons.blade.php.
2 - to not show trimmed text, you can only set 'limit' => 200 on that column; or a bigger limit if you need to; but be aware that will also show 200 characters in the main view, not only in the export;
Hope it helps. Let us know if you manage to figure it out, and it's something we can fix for everybody.
Cheers!

@tabacitu
It is Khmer Unicode Character UTF-8 encoding issue.
Look like DataTables does not currently have UTF-8 support from what I checked for a whole day in their forum. I am sad! ;( but I will keep searching for the solution.

@tabacitu

DataTables button: pdfHTML5 using PDFMake which support custom font via vfs_fonts.js (Detail Link)
I got vfs_fonts.js but I don't know how can I set the rest of the setting in backpack according to PDFMake document.  1 - assign pdfMake.fonts 2 - specify the font in your doc-definition

Any advise?
Best Regards,
Borin

@asicambo you can copy-paste the export_buttons file from the package to your project folder, inside resources/views/vendor/backpack/crud/inc/export_buttons.blade.php
Backpack will then load your file, instead of the one in the package.
There, you can add the JS file you want, and change the JS calls. You can do the same with the datatables_logic.blade.php file if you need to.
Hope it helps!

@tabacitu
1 - The custom font is on pdfMake which I could not find any single line of code in backpack related with pdfMake at all. I need to 1 - assign pdfMake.fonts with the font that I generate with  vfs_fonts.js file, 2 - specify the font in your doc-definition of pdfMake.
2 - is Datatables trimmed the text or backpack setting in column is the one who trimmed the text? How it work? The export to (Print, CVS, Excel) was trimmed the text. How not to trim the text in export?
your advise is highly appreciated.
Borin

I've never worked so deep with pdfMake so I'm afraid I can't help much.
All I know is that the pdfMake JS is loaded here - https://github.com/Laravel-Backpack/CRUD/blob/master/src/resources/views/crud/inc/export_buttons.blade.php#L5-L6
And that file configures dataTables in such a way to show the export buttons. I don't know how pdfMake works, how it's loaded by dataTables, and how you can modify anything about it, sorry. Best to refer to dataTables or pdfMake docs for that.
It might also be helpful to know that all other dataTables configuration is here https://github.com/Laravel-Backpack/CRUD/blob/master/src/resources/views/crud/inc/datatables_logic.blade.php
Sorry I can't be of more help.
Cheers!

@tabacitu
1 - Generated vfs_fonts.js and put in

2 - DataTables button have 'customize' option where we can pass the custom font to PDFMake.
Example from the my search is like this....
customize: function (doc) {                        doc.defaultStyle =                              {                                 font: 'fontname'                             }              },
3 - So i try to add the 'customize' option inside this code:
`{
name: 'pdfHtml5',
extend: 'pdfHtml5',
exportOptions: {
columns: function ( idx, data, node ) {
var $column = crud.table.column( idx );
return  ($column.visible() && $(node).attr('data-visible-in-export') != 'false') || $(node).attr('data-force-export') == 'true';
}
                },
                orientation: 'landscape',
                action: function(e, dt, button, config) {
                    crud.responsiveToggle(dt);
                    $.fn.DataTable.ext.buttons.pdfHtml5.action.call(this, e, dt, button, config);
                    crud.responsiveToggle(dt);
                },

            },`

but I am not sure
       customize: function (**???**) {
                   **???**.defaultStyle =
                        {
                            font: 'KhmerOS'
                        }
         },

So I can't still make it work....
Please advise.
Thanks and Regards,
Borin

Sorry @asicambo - I have no idea, never done this before, never had to deal with Khmer character issues, or with changing the font inside the export... Maybe someone on StackOverflow can help?

@tabacitu
For custom font for PDFMake in Backpack:
1 - Generate the vfs_fonts.js (Documents how to do that Link)
2 - In export_buttons.blade:
---> Change the URL to the vfs_fronts.js file
--->  Add this code in
this.pdfMake.fonts = {

fontname: {
      normal: 'fontname.ttf',
      bold: 'fontname.ttf',
      italics: 'fontname.ttf',
      bolditalics: 'fontname.ttf'
     }
}

----> Insert this code in the block for button pdfHtml5
customize: function (doc) {
         doc.defaultStyle.font = 'fontname';
}

Hope this will help other people.

Thank you for sharing @asicambo ! I'm sure this has been a major pain in the a$$ to solve,  I'm sure this will save someone someday a lot of hours and frustration. Props to you!


Failed to download 'https://raw.githubusercontent.com/creationix/nvm/v0.31.7/nvm.sh'

Hi everyone, I'm trying to install nvm on debian jessie, but I get this errorFailed to download 'https://raw.githubusercontent.com/creationix/nvm/v0.31.7/nvm.sh'. I know that nvm.sh is an essential part of nvm; indeed, when I run nvm -v the terminal says -bash: /root/.nvm/nvm.sh: No such file or directory. What can I do to solve this problem? I've already installed build-essential and all the tools necessary to run the program.

First thing is, you don't want to install nvm as root - it's per-user, so you'll want to create a restricted user account on which to run node, and install nvm there.
Second, this seems like a network error - it might be a fluke if github was having trouble. Otherwise I'm not sure why you'd be able to download install.sh but not nvm.sh. Can you provide the exact command you ran, and the full output?

How can I install nvm without being a root? Sorry, I've just started using the terminal (the linux one). `
root@OrangePI:~# curl -k -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.7/install.sh | bash
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100 10007  100 10007    0     0  15082      0 --:--:-- --:--:-- --:--:-- 15093
=> Downloading nvm as script to '/root/.nvm'
Failed to download 'https://raw.githubusercontent.com/creationix/nvm/v0.31.7/nvm.sh'
=> Source string already in /root/.bashrc
bash: line 310: /root/.nvm/nvm.sh: No such file or directory
=> Close and reopen your terminal to start using nvm or run the following to use it now:
export NVM_DIR="/root/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"  # This loads nvm`
root@OrangePI:~#
This is the output. I ran with curl -k (because I had problems with SSL certification).

@filyps98 you can install nvm as any user, since by default it installs under $HOME, which every user should have full control of.
That explains it, however - if you have problems with SSL certifications, nvm simply isn't going to work. You need to fix your system's SSL certificate authorities such that the first curl command works without -k.

Please follow up here if after fixing that, you still have trouble!

Today I had the same issue trying to install nvm using curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
In my case, it was a permission issue, because I installed curl using sudo snap install curl instead of sudo apt install curl


Removes static dependencies on readthedocs envioronment file conflicting with readthedocs.org

Coverage remained the same at 87.062% when pulling 71d4363bda78d790ba38d1b04ef92ae14fd7f527 on INM-6:fix/docs into 7ebd0c8579b3004ab2cea59431beb44aa03bf7f4 on NeuralEnsemble:master.

Coverage remained the same at 87.062% when pulling 71d4363bda78d790ba38d1b04ef92ae14fd7f527 on INM-6:fix/docs into 7ebd0c8579b3004ab2cea59431beb44aa03bf7f4 on NeuralEnsemble:master.

Coverage remained the same at 87.062% when pulling 71d4363bda78d790ba38d1b04ef92ae14fd7f527 on INM-6:fix/docs into 7ebd0c8579b3004ab2cea59431beb44aa03bf7f4 on NeuralEnsemble:master.

Coverage remained the same at 87.062% when pulling 71d4363bda78d790ba38d1b04ef92ae14fd7f527 on INM-6:fix/docs into 7ebd0c8579b3004ab2cea59431beb44aa03bf7f4 on NeuralEnsemble:master.

Coverage remained the same at 87.062% when pulling 71d4363bda78d790ba38d1b04ef92ae14fd7f527 on INM-6:fix/docs into 7ebd0c8579b3004ab2cea59431beb44aa03bf7f4 on NeuralEnsemble:master.


NuGet instructions folder possibly incorrect

The instructions for setting up NuGet claim that the folder to use for caching is $(Pipeline.Workspace)/.nuget/packages, but when we restore the items they appear to be going to C:\Users\VssAdministrator\.nuget\packages, which is the user profile of the build agent.
We're using the hosted build images, and the NuGet restore task

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

ID: 77c20289-dab2-7a6e-4f63-4b30eaff2c71
Version Independent ID: d75cc196-90c1-8291-9907-ff405bde4edf
Content: Pipeline caching - Azure Pipelines
Content Source: docs/pipelines/release/caching.md
Product: devops
Technology: devops-cicd-release
GitHub Login: @ramiMSFT
Microsoft Alias: rabououn

Pipeline.Workspace is the local path on the agent running your pipeline where all directories are created. This variable has the same value as Agent.BuildDirectory. See Agent variables for details.


bug(windows): NRPT DNS rules sometimes persist after reboot

Describe the bug
I had my x64 Windows laptop sleeping or possibly shut down all weekend. I started it up just now, and Task Manager reports 3 hours of uptime, and Powershell shows that the NRPT rules for Firezone are in effect, breaking my DNS.
To Reproduce

Sign in to Firezone
Hold the computer's power button for about 10 seconds until it forces a shut down. (Ignore the Windows "slide to shut down" screen)
Open the Start Menu and ask Windows to reboot.

To fix, open and close Firezone. You may need to reconnect to Wi-Fi, since Windows sometimes disconnects Wi-Fi if there's no Internet. (it seems)
Expected behavior
Expected Firezone NRPT rules to be removed on shutdown.
Screenshots / Logs

Platform (please complete the following information)

Component (i.e. macOS client / Linux client / Gateway / Admin portal): Windows Client
Firezone Version (e.g. 1.0.0 or N/A): Probably Version 1.0.1 (bc7203e) and newer. All the recent builds have the NRPT feature
OS and version: (e.g. Ubuntu 22.04 or N/A): Windows 11
Deployment method: (e.g. Docker / Systemd / App Store or N/A): Possibly MSI from CI, MSI from release page, or built from source.

Additional context
Add both to the manual checklist:

Soft reboots (Start Menu)
Hard reboots (holding power button)

There's at least two things to fix:

We aren't catching any "system is shutting down" hint from Windows and using it to trigger cleanup like we should
If we really do crash or the system loses power, nothing cleans up our rules

My plan is to catch the reboot / shutdown signal if it's easy, so at least that case is fixed. Then set up a system service that clears the Firezone NRPT rules when the system starts. That service will be needed later for #3712 anyway.

I tested it manually on my x86_64 Windows laptop, using the unreleased Firezone Version 1.0.4 (26b181e)
Looks fixed!


HTTP /status page - incorrect rtr-connections count

Routinator 0.11.2
On HTTP status page (/status) rtr-connections: seems to be incorrect count. (off by 1?)
I have four RTR connects, verified and up, yet rtr-connections on status page only shows 3.

Thank you for the report!
Interesting. There’s nothing obviously wrong with the code, so I guess I have to dive a bit deeper …

I think I fixed the issue in #811 and thus in 0.12.0-rc1, but since I was never able to reproduce it, I am not entirely sure. I will close the issue now, but please do re-open it if the problem persists.


Handling URL's ending with .ico extension

Versions

nuxt: v2.15.4
node: v15.4.0

Reproduction
I have a URL that ends with a ".ico" extension. Nuxt handles it as a static file and returns 404 with content-type: image/gif.
https://storespy.net/android/us/game/action/app/magnetico-bomb-master-3d/ball.magnet.ico
What is Expected?
I want to check routes first and accept as static file only if it's not defined in routes.

@ysb This behaviour comes from serve-placeholder middleware which is designed to provide a fast response for 404s on assets rather than hitting your Nuxt app to render a 404 page. See docs and this comment for how to disable this bheaviour:
export default {
  render: {
    fallback: {
      static: {
        handlers: {
          '.ico': false
        }
      }
    }
  }
}

Thanks @danielroe


Morning session: Peer-to-peer code review

🎖 Code Is Well structured
✅ Module being used
✅ DRY code
Suggested Changes 👨💻

[ ] Please fix the warning message on add book button
[ ] Please remove the overflow from book list

Great work! I liked the modularized code :+1:  :+1:  :+1:


Fix improper line wrapping in the presence of medial newlines

Fixes #2019.

Thanks for the prompt fix!


Add missing masks to PL action

Hi Marian, do you mind to have the PTF test also planned for this work?

Hi Marian, do you mind to have the PTF test also planned for this work?

Yes, I have a few in mind - for each routing type, but I'll need to fix the param order first because it will cause all sorts of issues.


Old Wallpaper after system shutdown

When I shutdown the system and boot up again, the wallpaper returns to the old one that i had set befor installing Splashify
Windows 10x64 Enterprise
Lenovo W541

+1

+1


relationship between VAEAC and CVAE in my problem

Thanks for sharing with your great work!
First, I will describe my problem. I want to use some generative model (VAEAC or CVAE) to predict future trajectory, say 3 seconds, given the past 2 seconds trajectory, and this is the case that mask variable b in VAEAC is constant in my problem.
The generative process of VAEAC is similar to the generative process of CVAE: for each object
firstly we generate z ~ p (z|x1-b; b) using prior network, and then sample unobserved features
xb ~ p(xb|z; x1-b; b) using generative network. So VAEAC still uses three trainable network, recognition network, prior network and generation network, latent variable z is sampled from recognition network during training and from prior network duding test. So does VAEAC has the same problem as CVAE that VAEAC can have good reconstructions of y given z  sampled from recognition network with q(z|x; b), while samples of y given z  sampled from recognition network with p(z|x1-b; b) are not realistic.
So my first question is: is VAEAC exactly the same as CVAE in my case?
My second question is: in arbitary condition case, what is the difference between VAEAC and CVAE except for introducing distribution p(b), the regularization in latent variable distribution and consideration of missing features in input? Is the loss of VAEAC is equal to that of CVAE?
My third question is: If we want to generate different output, so we need to sample different latent variable z  for different output?

Furthermore, explanations in GaussianCategoricalLoss class has a conflict with that in the
README.md,

GaussianCategoricalLoss class in prob_utils.py:

For example, if one_hot_max_sizes is [3, 1, 1, 2], then the distribution
parameters for one object is the vector
[p_00, p_01, p_02, p_03, mu_1, sigma_1, mu_2, sigma_2, p_30, p_31],
where Softmax([p_00, p_01, p_02, p_03]) and Softmax([p_30, p_31])
are probabilities of the first and the fourth feature categories
respectively in the model generative distribution, and
Gaussian(mu_1, sigma_1 ^ 2) and Gaussian(mu_2, sigma_2 ^ 2) are
the model generative distributions on the second and the third features.

README.md:

For example, for a dataset with a binary feature, three real-valued features and a categorical
feature with 10 classes the correct --one_hot_max_sizes arguments are 2 1 1 1 10.

Thank you for your interest! I answer your questions below in the text.

So does VAEAC has the same problem as CVAE that VAEAC can have good reconstructions of y given z sampled from recognition network with q(z|x; b), while samples of y given z sampled from recognition network with p(z|x1-b; b) are not realistic.

We don't observe this problem in our experiments. Furthermore, Gaussian Stochastic Neural Network and Hybrid Model proposed as a solution for this problem in CVAE paper sometimes even decrease the model's quality in terms of NLL and the diversity of generated samples in our experiments. We devoted the Appendix C of our paper to the analysis of these effects; you can find more information there. In a nutshell, we don't recommend using GSNN and Hybrid Model when your target conditional distribution has multiple local maximums which are different enough.

is VAEAC exactly the same as CVAE in my case?

You are right, with constant b VAEAC turns into CVAE. VAEAC has additional regularization in latent space, but it is not very important in practice.

in arbitrary condition case, what is the difference between VAEAC and CVAE

The difference is that CVAE is not applicable to the arbitrary condition case, because it requires to fix the structure (roughly saying, the dimensionality) of random variables x and y (or x_{1-b} and x_b in VAEAC notation) at the training stage. VAEAC is an extension of CVAE designed to handle the arbitrary conditioning case at both training and testing stage. So in the arbitrary conditional case the losses are different (or even incomparable because they are related to different problems). But with constant b VAEAC loss turns exactly into CVAE loss (if we forget about regularization in the latent space).

If we want to generate different output, so we need to sample different latent variable z for different output

Yes, that is what you need to do.

explanations in GaussianCategoricalLoss class has a conflict with that in the
README.md

It is just two different examples of one_hot_max_sizes, but it is probably better if function docstring and README consider the same example, thank you for noticing this.


Cannot pick a common CRS, since assets have multiple CRSs: asset 'overview'

lib/python3.9/site-packages/stackstac/prepare.py in prepare_items(items, assets, epsg, resolution, bounds, bounds_latlon, snap_bounds)
142                     out_epsg = asset_epsg
143                 elif out_epsg != asset_epsg:
--> 144                     raise ValueError(
145                         f"Cannot pick a common CRS, since assets have multiple CRSs: asset {id!r} of item "
146                         f"{item_i} {item['id']!r} is in EPSG:{asset_epsg}, "
ValueError: Cannot pick a common CRS, since assets have multiple CRSs: asset 'overview' of item 1 'S2B_11UQS_20210501_0_L2A' is in EPSG:32611, but assets before it were in EPSG:32612.

What's the issue here? The error message is telling you what's wrong and what you need to do to fix it.

can we add feature to pick of of the epsg for user automatically, or based on the search area size in the UTM zone?

There already is a feature to pick the EPSG automatically—when it's reasonable to do so without warping the input data. We're not going to automatically reproject (and therefore alter) input data unless you explicitly ask for it by specifying epsg=.
However, we could support epsg="utm", epsg="albers", etc. and automatically pick the appropriate UTM zone, Albers parameters, etc. for the input data (or raise an error if it won't fit well in that projection). Perhaps even epsg="auto" or epsg="equal-area" to pick an appropriate equal-area projection covering the footprint of the input data (UTM small-scale, or Albers medim-scale, or a global equal-area projection for global-scale).
Notice though that since your input data is already in two different UTM zones (11 and 12), epsg="utm" would probably give you an error here too.
If you'd want this feature, can you open a separate issue describing this in more detail?

i would like to see automated process to choose one of the UTM zones, in my case

Depending on your data, it's quite possible UTM is an inappropriate projection to use (your data may be larger than one zone, so using any UTM zone might introduce too much distortion at the edges).

If you have two, how do you pick?  Calculate one with the most - if several, say all of South Australia - the most middle part?  Work with something that covers them all and split them back out later makes more sense, if that is what you want to do?

Closing this due to inactivity, and there not being a clear problem. If we want to discuss helpers for automatically picking UTM zones or large-scale projections, let's open a separate issue.


Between two sets

Coverage decreased (-12.2%) to 85.088% when pulling 5b6f8a89efa4d1d5e0e1c1ed79c77102b7ab5344 on between-two-sets into 3836a4232d17dac176c6ff05e6cd06c206d64fa7 on master.


Update info for STO EA features that are now GA STO-6711

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the CODEOWNERS.
What Type of PR is This?

[ ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6564d1acc0e55f02a813f643--harness-developer.netlify.app


Preprocessing script failed at certain EMD IDs

Hi Nabin,
python cryo2struct/preprocessing/get_atoms_label.py EMD_9 failed for 9613 9604 9576 9608 9611 9612 9110 9693 9634 9383 and possibly some others (I stopped collecting until 9383).
Would be great if you could take a look if this is the case at your end. Thanks!

Similarly, get_amino_labels.py EMD_9 failed for 9383.
EMD_9/9383
/ibex/user/luod/anaconda3/envs/cryo2struct_data/lib/python3.9/site-packages/Bio/PDB/PDBParser.py:395: PDBConstructionWarning: Ignoring unrecognized record 'END' at line 3305
  warnings.warn(
Killed

Could you please provide details about your system configuration, including the amount of total available memory? Were there any other memory-intensive programs running on your system concurrently with the preprocessing script? I ran the same script on similar maps without encountering any issues. My suspicion is that the problem might be related to memory, especially considering the size of the maps, which require a bit more memory compared to others. Additionally, please check and if possible provide system logs for any messages related to the termination of the script.  From Google, exit code 137 does relate to memory, though.

Thank you for the screenshot. Seems like it is getting killed during the saving process. Could you please confirm if you have enough disk space to create that file ?

Hi Nabin, Thanks! I figured it out upon your hint about the memory. I was using a node within a supercomputer via slurm's interactive srun. Even though the node has a large memory, it does not allocate enough if I do not specify it in the commands. The first command below results in the error, and the second solves it. Thanks!
srun -p batch --pty --time=4:00:00 --cpus-per-task=1 --gres=gpu:v100:1 bash -l
srun -p batch --pty --time=4:00:00 --cpus-per-task=1 --gres=gpu:v100:1 --mem=700G bash -l


Add build information into build

What's up?
It could be useful to have the commit & date of a build in the comment, rather than just the version number.
IIUC vergen enables that, with a build.rs
If anyone would like an interesting addition which involves cargo, this could be a good one. It looks like it's not that much code.
Probably we want lots of info on prqlc --version like this example, and then in the comment in the SQL we want the commit hash in addition to the latest tag iff it's not on a tag.

I think I looked into this a long time ago, but I suspect that if we have cache enabled this may not work as well as we think.

I suspect that if we have cache enabled this may not work as well as we think.

Interesting.
It looks like it'll rerun the build (I think just for the specific crate) if the current HEAD changes:

Will emit cargo:rerun-if-changed=.git/HEAD if the git feature is enabled. This is done to ensure any git instructions are regenerated when commits are made.

So committing will rerun the build. That's not too bad, I guess depending on often folks commit code locally. I think it's equivalent to making a no-op change to a file, which recompiling from takes 6.48s locally. (NB: compiling all our crates takes 40 seconds in CI, but doesn't take advantage of incremental builds)
If that's correct, and that's all the costs we'd bear (or am I missing others?), I'd say it's worthwhile, but not a particularly strong view.


Loading siad fails : <IP_ADDRESS>:53: no such host

Loading...
(0/6) Loading siad...
listen tcp: lookup localhost on <IP_ADDRESS>:53: no such host

port 53 is open on my machine : netstat -anp | grep <IP_ADDRESS>:53

tcp        0      0 <IP_ADDRESS>:53            <IP_ADDRESS>:*               LISTEN      -
udp       0      0 <IP_ADDRESS>:53            <IP_ADDRESS>:*                                  -

cat /etc/hosts

<IP_ADDRESS>	local.martin.com
<IP_ADDRESS>	ldlc

I followed the steps in that article:
https://blog.sia.tech/how-to-run-a-host-on-sia-2159ebc4725
Please help me getting started as a host.
Thank you

hi Martin,
I am not a core-dev but i have set up the sia host server a few times. can you let me know what the output is of the following three commands to help us diagnose the problem?
siac host -v
ifconfig
cat /etc/resolv.conf
these are all to look at your network status because it looks like you have a network configuration problem

does localhost resolve to the correct address?
What arguments are you supplying to siad?

siac host -v

Could not fetch host settings: no response from daemon

the top line of my /etc/hosts is always this for my sia host servers ```<IP_ADDRESS>       localhost

top line of /etc/hosts that always works for me with regards to localhost name resolution:
<IP_ADDRESS>       localhost

Ok that's what i thought, it works now thanks!

you're welcome @martinbs


High Startup Activation Time

Visual Studio Code Version : 1:20.0
Code Settings Sync Version : 2.8.7
Operating System : Windwos 10
Occurs On: Startup
Proxy Enabled: No
GIst Id: Not relevant
I recently took a look at the running extensions page of vs code and noticed, that settings sync by far exceed every other extension's startup activation time. I have every setting of settings sync that would automatically do anything on false, so it's not downloading, uploading or checking if there is a new configuration (or at least it shouldn't). See image:

Duplicate of #472

Feel free to discuss it there.


Error - [tsc] --noImplicitAny   Raise error on expressions and declarations with an implied 'any'  type.

I am Unable to debug my SharePoint online SPFx web part using Hosted Workbench. The panel will not contain the SPFx + Terminal windows will raise exception.
I am working on a SharePoint SPFx web part inside Visual Studio code. The SPFx version is "version": "1.14.0",.. now i am trying to debug the code inside a hosted workbench, so i tried this inside the project directory:-
 gulp serve --nobrowser
but i got those errors and exceptions:-
16:19:12] Working directory changed to C:\
Build target: DEBUG
Normalized project rootPath from "C:\" to C:
[16:19:15] Using gulpfile C:\gulpfile.js
[16:19:15] Starting 'serve'...
[16:19:15] Starting gulp
[16:19:15] Starting subtask 'configure-sp-build-rig'...
[16:19:15] Finished subtask 'configure-sp-build-rig' after 3.85 ms
[16:19:15] Starting subtask 'spfx-serve'...
[16:19:15] [spfx-serve] To load your scripts, use this query string: ?debug=true&noredir=true&debugManifestsFile=https://localhost:4321/temp/manifests.js
[16:19:15] Starting server...
Starting api server on port 5432.
Registring api: /workbench
Registring api: */*
[16:19:15] Finished subtask 'spfx-serve' after 266 ms
[16:19:15] Starting subtask 'pre-copy'...
[16:19:15] Finished subtask 'pre-copy' after 63 ms
[16:19:15] Starting subtask 'copy-static-assets'...
[16:19:15] Starting subtask 'sass'...
[16:19:15] Server started https://localhost:4321
[16:19:15] LiveReload started on port 35729
[16:19:15] Running server
[16:19:15] Finished subtask 'copy-static-assets' after 49 ms
[16:19:15] Finished subtask 'sass' after 41 ms
[16:19:15] Starting subtask 'tsc'...
[16:19:16] [tsc] typescript version: 3.2.4
[16:19:16] [tsc] Version 3.2.4
[16:19:16] [tsc] Syntax:   tsc [options] [file...]
[16:19:16] [tsc] Examples: tsc hello.ts
[16:19:16] [tsc] tsc --outFile file.js file.ts
[16:19:16] [tsc] tsc @args.txt
[16:19:16] [tsc] tsc --build tsconfig.json
[16:19:16] [tsc] Options:
[16:19:16] [tsc] -h, --help                                         Print this message.
[16:19:16] [tsc] -w, --watch                                        Watch input files.
[16:19:16] [tsc] --pretty                                           Stylize errors and messages using color and context (experimental).
[16:19:16] [tsc] --all                                              Show all compiler options.
[16:19:16] [tsc] -v, --version                                      Print the compiler's version.
[16:19:16] [tsc] --init                                             Initializes a TypeScript project and creates a tsconfig.json file.
[16:19:16] [tsc] -p FILE OR DIRECTORY, --project FILE OR DIRECTORY  Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'.
[16:19:16] [tsc] -b, --build                                        Build one or more projects and their dependencies, if out of date
[16:19:16] [tsc] -t VERSION, --target VERSION                       Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'.
[16:19:16] [tsc] -m KIND, --module KIND                             Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'.
[16:19:16] [tsc] --lib                                              Specify library files to be included in the compilation.
[16:19:16] [tsc] 'es5' 'es6' 'es2015' 'es7' 'es2016' 'es2017' 'es2018' 'esnext' 'dom' 'dom.iterable' 'webworker' 'webworker.importscripts' 'scripthost' 'es2015.core' 'es2015.collection' 'es2015.generator' 'es2015.iterable' 'es2015.promise' 'es2015.proxy' 'es2015.reflect' 'es2015.symbol' 'es2015.symbol.wellknown' 'es2016.array.include' 'es2017.object' 'es2017.sharedmemory' 'es2017.string' 'es2017.intl' 'es2017.typedarrays'
'es2018.intl' 'es2018.promise' 'es2018.regexp' 'esnext.array' 'esnext.symbol' 'esnext.asynciterable' 'esnext.intl' 'esnext.bigint'
[16:19:16] [tsc] --allowJs                                          Allow javascript files to be compiled.
[16:19:16] [tsc] --jsx KIND                                         Specify JSX code generation: 'preserve', 'react-native', or 'react'.
[16:19:16] [tsc] -d, --declaration                                  Generates corresponding '.d.ts' file.
[16:19:16] [tsc] --declarationMap                                   Generates a sourcemap for each corresponding '.d.ts' file.
[16:19:16] [tsc] --sourceMap                                        Generates corresponding '.map' file.
[16:19:16] [tsc] --outFile FILE                                     Concatenate and emit output to single file.
[16:19:16] [tsc] --outDir DIRECTORY                                 Redirect output structure to the directory.
[16:19:16] [tsc] --removeComments                                   Do not emit comments to output.
[16:19:16] [tsc] --noEmit                                           Do not emit outputs.
[16:19:16] [tsc] --strict                                           Enable all strict type-checking options.
[16:19:16] Error - [tsc] --noImplicitAny                                    Raise error on expressions and declarations with an implied 'any'
type.
[16:19:16] [tsc] --strictNullChecks                                 Enable strict null checks.
[16:19:16] [tsc] --strictFunctionTypes                              Enable strict checking of function types.
[16:19:16] [tsc] --strictBindCallApply                              Enable strict 'bind', 'call', and 'apply' methods on functions.
[16:19:16] [tsc] --strictPropertyInitialization                     Enable strict checking of property initialization in classes.
[16:19:16] Error - [tsc] --noImplicitThis                                   Raise error on 'this' expressions with an implied 'any' type.
[16:19:16] [tsc] --alwaysStrict                                     Parse in strict mode and emit "use strict" for each source file.
[16:19:16] [tsc] --noUnusedLocals                                   Report errors on unused locals.
[16:19:16] [tsc] --noUnusedParameters                               Report errors on unused parameters.
[16:19:16] Error - [tsc] --noImplicitReturns                                Report error when not all code paths in function return a value.
[16:19:16] [tsc] --noFallthroughCasesInSwitch                       Report errors for fallthrough cases in switch statement.
[16:19:16] [tsc] --types                                            Type declaration files to be included in compilation.
[16:19:16] [tsc] --esModuleInterop                                  Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'.
[16:19:16] [tsc] @<file>                                            Insert command line options and files from a file.
[16:19:16] Finished subtask 'tsc' after 899 ms
[16:19:16] Starting subtask 'post-copy'...
[16:19:16] Finished subtask 'post-copy' after 398 μs
[16:19:16] Starting subtask 'configure-webpack'...
[16:19:16] Error - 'configure-webpack' sub task errored after 16 ms
 Cannot read property 'name' of undefined
  Request: '/temp/manifests.js'
[16:20:12] Server stopped
[16:20:12] The following tasks did not complete: serve
[16:20:12] Did you forget to signal async completion?

and when i chose Run >> Hosted Workbench inside VS Code:-

a new window will open and i will sign in >> but will get this message:-

and the SPFx web part i am developing will not appear in the toolbox.. any advice on this please?

Sorry, but tasks defined in a gulpfile are not something we handle in the core gulp repo.


Add KeyArrayValue to flagx

This change is

Pull Request Test Coverage Report for Build 1123

23 of 26 (88.46%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.07%) to 93.998%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

flagx/keyarrayvalue.go
23
26
88.46%

Totals

Change from base Build 1103:
-0.07%

Covered Lines:
2036

Relevant Lines:
2166

💛  - Coveralls


Expose audit endpoint

What does this PR do?

Exposing an existing audit rest endpoint to the client
Bumped (aligned) PG docker-compose version from 9.3 to 9.4
Method added to demo
Cucumber test added
Version & Changelog updated

What ticket does this PR close?
Hopefully could close this open TODO: https://github.com/conjurinc/appliance/blob/c0f56006ac3916fc03ec351670945bbd639c3a24/features/step_definitions/client_steps.rb#L12
Any background context you want to provide?

This is a prerequisite for running audit related tests on appliance.
This PR is blocked by PR Deploy audit table in Main DB as part of pussom deployment #1173

How should this be manually tested?
Feel free to start and run tests in the container & demo app
Q&A:

What about pagination? sorting? filtering?
Can be done as next step?
Why we are blocked by other PR?
OSS audit solution is not yet implemented. In order to test audit rest endpoint using "test.sh" you need to have audit database (or messages table).

@uCatu: code looks good. A couple other open items:

[ ] Jenkins tests currently show it's failing
[ ] Needs a version bump and changelog entry
[ ] Will need to be released to RubyGems (which will require a Git tag with the version).

@uCatu: code looks good. A couple other open items:

[ ]  Jenkins tests currently show it's failing

Jenkins tests will fail until
Deploy audit table in Main DB as part of pussom deployment #1173
will be merged to master since there is no messages table in OSS :)
see tests error:
Sequel::DatabaseError (PG::UndefinedTable: ERROR:  relation "messages" does not exist LINE 1: SELECT * FROM "messages" ORDER BY "timestamp" DESC
it's a prerequisite to this PR

[ ]  Needs a version bump and changelog entry

Added as a separate commit, could not run bin/release not on master.

[ ]  Will need to be released to RubyGems (which will require a Git tag with the version).

Will need assistance with this step

@uCatu I am not versed in this codebase enough to give you a good review so I'll leave it to someone else, but this shouldn't go into master with this commit history and needs to have that cleaned up before merging.

Thank you for reminding me to use DRAFS PR - now that the PR is ready I cleaned the history.
Soon I'll remove WIP & [do not merge]

@uCatu Got time to finish this up sometime soon? Have the matching Conjur OSS changes been merged?

Spoke with @uCatu on Slack. Audit work has been placed on hold for the time being so I'm closing this PR.


Unify all the information regarding profile that would be required

Is your feature request related to a problem? Please describe.
Currently, a profile is used in different projects and they are not necessarily the same.

Telos Wallet
 App Telos - currently disabled

Describe the solution you'd like

All data fields used in the profile for all repositories
How the information is displayed
How the information is saved and retained

Additional context
The output of this task should be a uniform list of fields

The fields in the smart contract profiles are:

account_name: string
avatar: string
bio: string
display_name: string
is_verified: number
status: string


Update pubspec.yaml

Update path_provider package

The current version of this project doesn't seem to be using path_provider, so perhaps it can be removed


Suggested changes to DocC

These are my suggestions to revise the documentation in your PR.  As these are fairly extensive I put them in a PR.
Feel free to accept all, pieces, or reject these changes.  I did not review or update anything in Section 2 of Core.
IMPORTANT I reverted Morgan's last change as it was causing liblint to fail for me.  Feel free to revert my revert if you merge this into your PR.

Codecov Report

Merging #157 (68b3a2e) into docc (26caa0d) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             docc     #157   +/-   ##
=======================================
  Coverage   91.27%   91.27%
=======================================
  Files          94       94
  Lines        2373     2373
=======================================
  Hits         2166     2166
  Misses        207      207

Continue to review full report at Codecov.

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

I was able to fix the CocoaPods lib lint by excluding the .docc file.  As such, I just committed a revert of my revert.


Template for people to have a proper format for bug fix, pull requests, new feature addition etc.

Field
Value

About
Template for people to have a proper format for bug fix, pull requests, new feature addition etc.

Title
Feature request

Is your feature request related to a problem? Please describe.
New Contributors are not able to follow a proper format to create issue for bug fixes, pull request,  new feature additions etc.

Describe the solution you'd like
I can provide ".github" folder with all the necessary templates required it will not only help the contributors but mentors as well

Additional context
I am from GSSOC'23 you can assign this issue to me

@Ritesh-Dabral @nirajacharyaa @debopriyadey @asifurrahaman754 Please assign this issue to me.


[Feature request] Update numbered headers for file

1. Request
It would be nice, if would be possible to create or update numbered headers for all file, not for part of the file after carriage position.
2. Justification
I never need to create or update numbered headers for part of file, I update/create headers for all file.
I want update automatically my numbered headers, if I save file. I use Sublime Hooks for it.
If:

I save file by default Windows shortcut Ctrl+S,
my carriage not in begin of the file.

Headers update for part of a file, not for all file.
3. Settings
For example, I have a file SashaSmartHead.md. It content:
# Sasha First

## Sasha Second|

# 1. No, Sasha First

| — is a carriage position.
4. Steps to reproduce
Ctrl+Shift+P → Markdown Numbered Headers:Insert/Update Headers Nums.
5. Actual behavior
# Sasha First

## Sasha Second

# 1. No, Sasha First

6. Expected behavior
If: Ctrl+Shift+P → Markdown Numbered Headers:Insert/Update Headers Nums For File.
# 1. Sasha First

## 1.1. Sasha Second

# 2. No, Sasha First

Thanks.

thanks for your great advice!
may be I can provide an option to let users to select whether to update all the file content or part of the file content.

sorry for late reply !
i had added an option format_all, you may set it to true to invoke processing all the file content.

you may follow this guide to install the new version by commit

Status: :x: Still doesn't work for me
1. New data

Markdown Numbered Headers 1.1.1

my User/MarkdownNumberedHeaders.sublime-settings file:
{
    "dottype": ".",
    "format_all": true,
    "logging": true
}

2. Actual behavior
As in first post.
Console output:
'run insert/update---------------------'
"[[1, '1. No, Sasha First', 32, 1]]"
"[1, '1. No, Sasha First', 32, 1, '1']"
'update'
# 1. No, Sasha First
'end run--------------------'

Thanks.

When I insert an ordinal, the #  in the code is also inserted a ordinal, which is obviously not what I expected:
\```r  for(i in l){     test <- whichSignatures(tumor.ref = sigs.input,signatures.ref = signatures.cosmic,sample.id=i,signature.cutoff=0,contexts.needed = TRUE,tri.counts.method = 'default')     res <- test$weights       write.table(res,"cosmic.weight.txt",sep="\t",col.names=F,row.names=T,quote=F,append=T) } \```


Problem with npm 2.5.1 and jsdoc not using semver

Heyho,
I'm using jsdoc in multiple projects, and developed with nodejs 0.10 and npm 1.4.14 . In this versions I had my dependency set to:
"jsdoc": "^3.3.0"

which worked perfectly, but now I updated to nodejs 0.12 and npm 2.5.1 and this doesn't work anymore.
npm tells me there is no compatible version found, which is correct in that way, that the versioning is not semver like.
The only way is to install a specific version (like 3.3.0-beta1), but not use the cool features of npm.
Is there a plan to skip this (horrible) versioning with alpha and beta releases, and commit fully to semver, to make this work?
I think a lot of people will run in this trouble, because it's common to use npm versioning helpers for most recent versions. (Not even ~ works, non of the npm comperators work I guess)
Any thoughts?

As stated in the README, you can use<EMAIL_ADDRESS>to pick up the latest alpha/beta release.
I don't intend to continue with alpha/beta releases in the future. That was a stopgap to deal with the fact that 3.3.0 was a huge project that's taken literally years to complete, and people wanted a way to install reasonably recent bits from NPM, even if they were unstable.
Sorry, but I have no plans to move to strict semver. For the time being, JSDoc will continue to use traditional major/minor/bugfix versioning.


[Bug]: C# emitter should not fail if no client is there

Describe the bug
I understand we cannot generate a client, but the error should be nicer than this:

Reproduction
Do tsp init and pick "Empty project"
Checklist

[x] Follow our Code of Conduct
[x] Check that there isn't already an issue that request the same bug to avoid creating a duplicate.
[x] Check that this is a concrete bug. For Q&A open a GitHub Discussion.
[x] The provided reproduction is a minimal reproducible example of the bug.

By the way, Python got the same issue, so @msyyc can tell what error message we did

already fixed by https://github.com/microsoft/typespec/pull/5200


Update to support DDEV_PHP_VERSION in config and defaults

The Problem/Issue/Bug:
We'd like to be able to support more than one PHP version.
How this PR Solves The Problem:
Introduce the php_version variable in our config, default it to 7.1, pass it to nginx-php-fpm-local, which as of https://github.com/drud/docker.nginx-php-fpm-local/pull/43 can support php versions 5.6-7.2
Manual Testing Instructions:
in a fresh site, set php_version: 5.6 or whatever in your .ddev/config and start it. Note that docker-compose.yml must be deleted for this to work, as a new docker-compose.yml needs to be generated.
Automated Testing Overview:
There is no new testing at this point.
Related Issue Link(s):
https://github.com/drud/docker.nginx-php-fpm-local/pull/43  provides the actual functionality.
Release/Deployment notes:

[ ] Update to a real nginx-php-fpm-local tag after https://github.com/drud/docker.nginx-php-fpm-local/pull/43 is pulled (and a release created and an image pushed)
[ ] php-xdebug does not yet seem to be supported by php-7.2, so step-debugging doesn't yet work with it.

Added to project board. I agree that we need to be able to target multiple versions of PHP. I know we leaned towards not supporting too many container variants, but some of this might be inevitable.

@rickmanelius this ends up not maintaining any container variants. Thanks for adding!

I think this and the related https://github.com/drud/docker.nginx-php-fpm-local/pull/43 are related for people's review. @rickmanelius should try it out because it's a significant change to our offering. @tannerjfco and @beeradb have long-term ownership in this area, Especially Tanner, so will probably want to look. @cweagans should look because his territory!

php-xdebug does not yet seem to be supported by php-7.2, so step-debugging doesn't yet work with it.

We're gonna have a bad time here. I looked into this a bit and Xdebug 2.6.0 alpha just came out. It adds PHP 7.2 support, but also drops PHP5 support. If we need to support earlier versions of PHP, we're going to need some logic around which xdebug to install and how to install it.
Given that 7.2 introduces some headaches, I'd recommend disallowing 7.2 as a PHP version choice until we figure out how to fully support it.

Rebased to upstream/master after the pkg/platform/local->pkg/ddevapp refactor went in.

Rebased after ddev version changes went in.

Rebased after #569 (Refactor config into ddevapp)

Rebased after generic apptype management went in, #574

I played with this and I'm pretty happy with it. I'm about 50/50 on separate containers vs bundling everything together, but this seems like a good way to go in the short term. I think we should maybe spend a bit of time on our container/runtime strategy going forward, especially if we plan to move into non-PHP applications. It might be worthwhile to look into phpenv (especially since other languages have similar tools for switching language versions as well - rbenv, nodenv, pyenv) if we want to continue with the single container approach, but this is definitely a good starting point. Having the ability to switch PHP versions is an immediate win, and we can always refactor later should the need arise.
That said: I'm still a little concerned with xdebug and 7.2. IMO, if we advertise xdebug support as a feature, it should be available in any possible configuration of our tooling. If that means we hold off on 7.2 support in the short term, I'm in favor of that. As an end user, if I attempt to use 7.2 and xdebug together, it'll be a bit of a wtf moment. While it's not really our fault, I'd still lean toward only rolling out new PHP releases when they fully support everything we're doing in our stack.

OK, php7.2 was removed from the docs here and the option removed from the container.
The container has been updated, and this should be ready for final approach.


update: Update EFS lab to install addon in content

What would you like to be added?
Update the EFS lab to install the EFS CSI driver addon using the AWS CLI instead of doing it in Terraform. The EBS lab has already been updated, see:
https://github.com/aws-samples/eks-workshop-v2/blob/main/website/docs/fundamentals/storage/ebs/ebs-csi-driver.md
And:
https://github.com/aws-samples/eks-workshop-v2/blob/main/manifests/modules/fundamentals/storage/ebs/.workshop/cleanup.sh#L5
Any IAM roles etc. required by the addon should still be created in Terraform.
Why is this needed?
This better illustrates how EKS addons make it easy to install components like the EFS CSI driver.

Acknowledging this enhancement. I will take ownership.

This is resolved with the latest published version


Can you drive multiple stripes using one arduino?

I’m thinking of having two strips of pixels that are individually driven using two separate pins. Is this possible without using two arduinos?

Yes, you can make two different objects with different names that are on different pins.  You would probably want separate color buffers for them as well.
We use GitHub issues to keep track of bugs and features requests in the library.  If you need more help getting your project working I suggest posting your details on the Pololu forum.

I apologise for using the wrong platform, but thank you for your help.


Do not copy images if no images exist

If I remove the images directory the workflow fails because it cannot find the images to copy.
I think the same applies to the docs directory.
The workflow must work on img and docs directories only if they exist and have some content.

Great point! I've updated the workflow to check if these folders exist, and then skip the associated tasks.
The workflow is messier than I'd like, but everyone is free to delete these steps in their repo if they don't plan on using the folders.
Thanks for reaching out!


Strengthening ExampleInstrumentedTest.kt

ISSUES:

Limited Tests
Hardcoded Strings
Naming Conventions
Commenting

BETTERMENT:
-Expand Test Coverage
-Improve Error Messages
-Use Constants for Values
-Naming & Documentation

Pls help me contribute @yuvrajsinghgmx

Pls help me contribute @yuvrajsinghgmx

Sorry @EvanSingee my exam are on so i will not be able to help you but still you can ask anything if you get stuck somewhere.
@Muhasif-Hafiz Would you be able to help him in this ??

I just wanted you to help in assigning the issue.
Thanks for it @yuvrajsinghgmx
I'll do it by myself and PR by tomorrow.
Pls do add labels for the same issue.

@yuvrajsinghgmx okay i will take care about it


Route to external host without port?

I love the simplicity of this tool, and am currently using it to route requests to my static site and api hosted on the same server.
However i'd like to also route traffic to a Object storage bucket which has the url pattern https://eu2.contabostorage.com/access-key:bucket-name/filename.jpg
I'm having trouble routing from mysite.com/images/filename.jpg as the NPM dashboard wont allow for a hostname with no port.
When I add port 443 for example the url is https://eu2.contabostorage.com/access-key:bucket-name/:443
Is there any solution for routing to an external domain like this? I need to be able to pass the filename as a path variable too.
Many Thanks.

Perhaps some pictures may be helpful. I'm not able to understand what you are putting where in the UI and what you expect to happen from those fields.


How to train with large datasets?

I am trying to use a massive CSV (1M+ rows), with the X input having 400 dimensions. It's technically working but I had two main questions:

It seems like the GPU is bottlenecked a bit by the CPU - I'm only seeing 35% GPU usage vs 100% single core CPU. If I run in CPU mode, I see around 22% CPU (across 64 cores). Any suggestions on improving this?

The data is so large that we are reading the csv in chunks of 1000 and calling train. Is this the right approach? What is the best way to train with this big data? What about the  <bias_trainable, sp_trainable, and sb_trainable> parameters?

model = KAN(width=[400,64, 32, 16,1], grid=10, k=4, seed=0, device=device, bias_trainable=False, sp_trainable=False, sb_trainable=False)
for chunk in chunks:
...< data processing >....
data_dict = create_data_from_chunk(chunk)
model.train(data_dict, opt="LBFGS", steps=1, device=device, update_grid=False)

I can save a checkpoint, but I don't know how to use the trained model either. Is there a "predict" function to use?

I had the same problem, I couldn't find the API for prediction after training the model.

I had the same problem, I couldn't find the API for prediction after training the model.

My research is in the area of time series forecasting (tabular data), where the training result of the model is a mathematical expression, and therefore its prediction results are obtained by bringing the data from the test set into the expression.
However, the forecasting performance is very, very, very unsatisfactory and I am still trying to adjust the network structure and parameters.

building on the GPU training I tried running it on my CPU and ran out of compute when running it with GPU on colab for the device.ipynb code got this error

I had the same problem, I couldn't find the API for prediction after training the model.

Did you handle this situation?


[Bug]: System tray not showing after system startup

Version

[X] I'm using version 1.13.1

Known issues

[X] I've checked Known issues

Existing issues

[X] I've checked Existing issues

What operating system are you using?
Linux
Operating System Version
Kubuntu 22.04
Reproduction steps

Add stretchly to your startup apps;
Boot;
stretchly works on the background, but no system tray.

Expected Behavior
System tray should show up after boot.
Actual Behavior
System tray doesn't show up after boot. You have to manually restart the app for it to appear.
Relevant log output
No response
Preferences
No response
Additional information
This didn't happen on version 1.13.0.

Code of Conduct

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

Thanks for the report! I have noticed the same with my Debian Sid and KDE. It does not happen with XFCE. TBH not sure what could be an issue here.

Adding some flag to stretchly that will run preffeneces window would be somehow minimizing impact of this bug.

That could be done, should be easy.

I've added option to start Pref window from command line. Also, on my system, with the update of KDE, this bug has dissipated, so it makes me think it was not related to the Stretchly/Electron.

My Ubuntu Budgie 23.04 (uses budgie-wm) uses the "AppIndicator Applet" where the icon for Stretchly doesn't show up either.
In StatusNotifier it does show up, but seems to be very buggy (big icons, duplicated icons from the AppIndicator Applet which cannot properly be disabled)


Fix getInfo subscription cornercases

Description:
Improve synced_to_chain status polling
Other:
Add ability to execute tasks immediately after they are added via scheduler (runImmediately flag)
Fix react hook warning and comments typos

Motivation and Context:
If the user connects to a wallet that is already synced, it will continue to do the fast polling for up to 10 minutes or so - until the next block comes in.
Problem is that the info stream only emits data when something in the result changes, so when we first set it up if the chain is already synced then no event will be emitted until block_hash changes

How Has This Been Tested?
Manually. Connecting to different types of wallets

Types of changes:
Bugfix/Refactor

Checklist:

[x] My code follows the code style of this project.
[x] I have reviewed and updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes where needed.
[ ] All new and existing tests passed.
[x] My commits have been squashed into a concise set of changes.

Coverage remained the same at 22.813% when pulling e6b05f597cf0b1a30dfc8425703932960562c9e1 on korhaliv:fix/info-subs into 837c62fd56e4be5e83a50241f4fd1c1be2a851d0 on LN-Zap:master.


Please note a delay in the documentation

FYI there is potentially a 20-35 minute window after you make these policy/configuration changes before it works... you might want to update the documentation accordingly so future admins going through this are aware or not scratching their heads for a while before it starts working. Thanks, great feature!
Chris
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 1a2d44d9-f737-c619-a0b9-cf48755cd2ca
Version Independent ID: 2b6d043e-52fd-d066-d599-3eff99c47756
Content: Sign in with email as an alternate login ID for Azure Active Directory
Content Source: articles/active-directory/authentication/howto-authentication-use-email-signin.md
Service: active-directory
Sub-service: authentication
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

@c016smith
Thanks for your feedback! I have assigned this issue to the author who will investigate and update as appropriate.

Thanks for the feedback, @c016smith
The engineering team is still looking at being able to determine a specific time interval this may create, but I've add a callout to the doc for now that there's a delay before users can correctly sign in.
#in-progress

Awesome, thanks!


Update Social Card with New Logo

The social card image needs to be updated with the new logo. Please replace the existing social card at the following path:
/docs/static/img/social-card.png

Tasks:

Replace the existing social card image with the new one.
Upload the editable version of the image (e.g., PSD, AI, or any other format) so that future modifications can be easily made.

Current Path:

Friendly ping. @Nataliagros


fix kasthuri data map

As we go, need to migrate everything to one place.
e.g., non ramonified raw segments live in kasthuri11segments, annotation

done, finally.


Bump conditional auth functions dependency

Bump conditional auth functions dependency

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/1256777798

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/1256777798
Status: success


ci: Update CI settings for release

Codecov Report

Merging #7 (f103e3f) into main (f7d4eaa) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main       #7   +/-   ##
=======================================
  Coverage   96.21%   96.21%
=======================================
  Files           4        4
  Lines         132      132
  Branches        9        9
=======================================
  Hits          127      127
  Misses          4        4
  Partials        1        1

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


+vterm/toggle & +vterm/here Stop Working After Opening =mu4e

What did you expect to happen?
vterm can be used before & after opening mu4e (either in a popup window, or in the current window)
What actually happened?
Attempting to open a vterm window after starting mu4e causes the UI to flash as if something is happening, but vterm does not open.
The Messages buffer contains no error/warning indicating what might be happening.
Describe your attempts to resolve the issue
Not using mu4e is the only thing that makes vterm work for me at the moment.
Steps to reproduce

Configure the mu4e module
Open mu4e with C-c M M
Open vterm with C-c o t or C-c o T

System Information
https://pastebin.com/jVbk8KAs

You can see my doom config here: https://github.com/jterk/dotfiles/tree/main/doom/.doom.d
mu4e is configured with:
(setq +mu4e-backend nil)
(set-email-account!
 "Employer"
 '((mu4e-sent-folder . "/Employer/[Gmail]/Sent Mail")
   (mu4e-drafts-folder . "/Employer/Drafts")
   (mu4e-trash-folder . "/Employer/Trash")
   (mu4e-refile-folder . "/Employer/[Gmail]/All Mail")
   (smtpmail-smtp-user<EMAIL_ADDRESS>   (user-mail-address . "jterk@employer.com")))

This was a problem with macOS 12.3 beta 3; fixed in 12.3 beta 4


[BUG] End crystals can deal damage to team members

What is the bug?
Hello, using end crystals you can deal damages to your team mates.
# This is used to toggle if teams can attack members of their own team
# - If this is enabled, members of the same team will not be able to damage each other
# - If you change this feature, you will need to restart the server for the value to update (does not work with /teama realod)
#
# Possible values: [true, false]
disableCombat: true

# This will by extension of disable combat also stop players from applying negative potion effects to members of their team
# - If disableCombat is set to false (above) potion effects will never be disabled
# - If you change this feature, you will need to restart the server for the value to update (does not work with /teama realod)
#
# Posssible values: [True - Negative potions should be disabled for members of the same team, False - Negative potions are allowed for memebers of the same team ]
disablePotions: true

# This is used to toggle if players can harm themselves with potions or arrows (while they are on a team)
# - If this is disabled, players cannot apply negative potion effects to themselves or hit themselves with arrows
# - If you change this feature, you will need to restart the server for the value to update (does not work with /teama realod)
# - If a player is not on a team, they will hit themselves with potions regardless of what value this opion takes
#
# Possible values: [true - Potion effects will damage the player who threw them, false - Potion effects will not damage the palyer who threw them]
playerDamageSelf: true

Expected Behaviour
Ender crystals shouldn't deal damage to team members.
How to Reproduce

Just use end crystals to deal damage to your team members

Error message
No response
Output of /teama version
28.08 13:53:30 [Server] INFO [BetterTeams] Storage Method: com.booksaw.betterTeams.team.storage.storageManager.SeparatedYamlStorageManager
28.08 13:53:30 [Server] INFO [BetterTeams] Minecraft Version: git-Paper-386 (MC: 1.18.2)
28.08 13:53:30 [Server] INFO [BetterTeams] Current plugin version: 4.4.1
Additional Information
No response

Sadly, it seems that the person who triggered the end crystal explosion is not tracked. So this bug cannot be fixed until mojang / spigot provides the ability to get the source of an end crystal explosion

and can you may try to suggest it to spigot?


List literals require type annotation

This wasn't required until about 2 weeks ago.
Before it was derived from the content when possible.
Is this an intentional change or a regression?

@leafpetersen

Perhaps it's related to some enabled linter rule.
I have
  strong-mode:
    implicit-casts: false
    implicit-dynamic: false

and all linter rules enabled except
#    - always_specify_types
#    - avoid_as
#    - directives_ordering
#    - public_member_api_docs

I'm guessing that this is in a top level variable initializer, or a class or instance field initializer?
We are rolling out some changes to top level inference over the next two releases.  These changes fix some outstanding issues with top level inference, but restrict it's power for the time being.   Many places where inference was being done for top level variables and instance fields using initializers will now need either an explicit type annotation, or some additional type annotations in the initializers.  This will be a hint for the 1.23 release, but will become errors in the 1.24 release.  We hope to be able to relax these restrictions at least partially in a future release.

Thanks a lot for the explanation.
Feel free to close the issue.


Fixing typo in status page

I think OpTelemetry was meant to be OpenTelemetry

@jonshaffer please sign the CLA

Thanks for the fix @jonshaffer. Are you in a position to sign the CLA soon?

Thanks for the fix @jonshaffer. Are you in a position to sign the CLA soon?

I think I've signed it like 3 times but I'm not sure how those updates are reflected in this PR?

I tried signing this while logging into my LF account a couple times through individual and corporate. Eventually the EasyCLA check passed when I signed this while not authenticated on LF.


Is there any tool / endpoint or any solution to collect metrics from TGI image and filter these metrics?

I am currently running a TGI container and collecting  metrics on its performance using /metrics endpoint. However, I only want to collect metrics for specific times and days. Is it possible to add a filtering feature to the TGI container that allows me to specify a time range and/or specific days of the week for which metrics should be collected?
For example, I would like to collect metrics between 9am-5pm, Monday through Friday. Will the metrics be reset each day, or will they continue to accumulate from the start time/day of the container? Additionally, are there any existing tools or methods that can be used to achieve this functionality?

Usually, you scrape the /metrics route with Prometheus.
Then, you can use PromQL and/or Grafana to filter and display the metrics/aggregates you are interested in.
Tutorial: https://prometheus.io/docs/prometheus/latest/getting_started/#configure-prometheus-to-monitor-the-sample-targets


HOTFIX Corrigindo Documentos da viabilidade técnica

Pull Request Test Coverage Report for Build 462

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

Totals

Change from base Build 460:
0.0%

Covered Lines:
76

Relevant Lines:
165

💛  - Coveralls


One confused error

Dear author, I am a novice student who just got into Pyronn, and I am in the process of learning and studying the code.
last week when I tried to run the 'example_cone_3d' code in PYRO-NN-master folder,and an error was encountered,which confused me a lot.
Then I went to the declaration of 'get_spawning_popen( )' , finding that getattr function get an argument 'spawning_popen' indeed ,but it returned the None value  and finally caused this TypeError as follow :
Could you please pay some attention to this question ? I 'm incrediably looking forward to your answer, thanks a lot,wish you good health and all the best.

class AuthenticationString(bytes):
def reduce(self):
from .context import get_spawning_popen
if get_spawning_popen() is None:
raise TypeError(
'Pickling an AuthenticationString object is '
'disallowed for security reasons'
)
return AuthenticationString, (bytes(self),)

_tls = threading.local()
def get_spawning_popen():
return getattr(_tls, 'spawning_popen',None)

Sorry, but I cannot follow. Can you please posst the error code ?


Updated syntax

#feature# moves towards the final syntax
Will require cleanup and TODOs will move to issues

Approved