fix(deps): update module cuelang.org/go to v0.10.0

This PR contains the following updates:

Package
Type
Update
Change

cuelang.org/go
require
minor
v0.9.2 -> v0.10.0

Release Notes

cue-lang/cue (cuelang.org/go)
v0.10.0
Compare Source
This release includes experimental support for the embed proposal, many fixes for the new evaluator and modules, as well as many other fixes and enhancements.
Evaluator
CLs 1195897, 1196094, 1198356, 1198736, and 1198860 fix crashes with CUE_EXPERIMENT=evalv3 as reported by users.
CLs 1199272, 1199273, and 1199340 fix spurious "field not allowed" error regressions in the new evaluator.
CL 1198566 fixes a performance regression introduced in CUE v0.6 where cue cmd and tools/flow became many times slower on some inputs.
CL 1198350 ensures that all interpreter errors, such as those from @embed attributes, include position information.
Embed proposal
With CUE_EXPERIMENT=embed, CUE now supports the embedding of non-CUE files within a CUE package. See the embed proposal and its design document for details, as well as the new how-to guide for the feature.
Modules
The cue help documentation for modules and inputs has been expanded, and a number of error messages when using or publishing modules are now more helpful.
A new concept guide on CUE language versions documents the language.version field in cue.mod/module.cue files.
CL 1198249 adds support for an @ignore file attribute to unconditionally ignore a file when loading packages or calculating dependencies.
CL 1198003 teaches the CUE loader to support symbolic links when loading from local directories, matching the behavior before CUE_EXPERIMENT=modules was introduced.
CL 1198143 tweaks cue mod init without an argument to create a module with the module path cue.example rather than an empty path that made the module file invalid.
CL 1197530 fixes the behavior of build tags, and also adds support for parentheses in build tag expressions.
CL 1197531 implements better caching when evaluating dependencies, which should speed up evaluation of modules that use multi-directory packages.
Go API
CL 1196721 disallows importing or loading packages with an underscore qualifier like foo.com/bar:_, as it was never intended behavior. Users should use the new embed proposal instead.
CL 1198555 adds a cue/load.Config.SkipImports option to avoid loading instances from import statements. This particularly helps cue fmt, where the loading caused unwanted slowness and unnecessary errors.
CL 1196820 adds a cue.LanguageVersion function to obtain the current version of the language spec that the Go module implements.
CL 1197160 implements considered support for build tags in modules. Build tags are considered false when outside the main module.
CL 1198686 fixes cue/load so that it no longer produces extra invalid packages when Config.Package was set to * and nested packages were loaded.
CL 1198351 fixes a bug in astutil.Sanitize where unused imports were not being fully removed from ast.File, causing errors in cue trim where all uses of an import were removed.
CL 1198494 speeds up the Path method on wrapped errors, which causes noticeable speed-ups in some edge cases.
CL 1198157 fixes cue/parser to accept keywords as valid selectors, aligning with the language specification.
Encodings
Initial support for TOML is included in this release, including support in cmd/cue and an experimental Go package. See the issue tracker for remaining work in this space.
CLs 1199309, 1199139, 1199306, 1199214, 1199398, 1199308, and 1199309 resolve a number of issues when decoding JSON Schema files.
CLs 1196332, 1199094, and 1199103 fix the JSON decoder to provide correct position information when decoding JSONL files or encountering a syntax error.
CL 1198874 fixes the loading of JSON files to reject multiple newline-delimited values, as those ar only allowed in NDJSON or JSONL files.
CL 1198876 teaches the YAML decoder to decode empty documents as null, aligning with the YAML spec and fixing panics when loading empty YAML files.
CL 1196291 tweaks the YAML decoder so that comments following a field are attached to the entire field.
CL 1196436 tweaks the textproto decoder to correctly handle required and optional fields.
CLs 1195628 and 1199054 ensure that cue/format prints the correct white space before and after comments.
CL 1195884 teaches cue/format to preserve comments associated with ... ellipsis expressions.
CL 538624 fixes a bug where cue/format would start a CUE file with white space if it began with a clause.
CL 1196134 fixes a bug in cue/format where a comment at the start of a CUE file would sometimes be indented.
CL 1196135 fixes a bug in cue/format where index or selector expressions could cause extra tab indentation.
Builtins
CL 1196212 adds a list.Reverse function to reverse the elements of a list.
CL 1197452 tweaks tool/exec.Run so that its errors are unambiguous when any command arguments contain white space.
CL 1198636 tweaks path.Match and tool/file.Glob to reject ** wildcard patterns as unsupported, to avoid confusion and allow future changes to their behavior. Note that this change may break uses of ** patterns, which behaved like *.
cmd/cue
CL 1196822 adds a --language-version flag for cue mod init and cue mod edit to set the language.version value.
CL 1197185 teaches cue mod resolve to work on the current module when no arguments are given.
CL 1196370 teaches cue mod registry to gracefully shut down when interrupted.

Full list of changes since v0.9.0

all: minor code cleanups by @mvdan in dc3ba30
internal/ci: test and release with Go 1.23.0 by @mvdan in 40da936
cue/errors: avoid simple duplication when gathering errors by @cuematthew in ee85bb9
cmd/cue: do not panic on empty jsonl inputs by @mvdan in 93670d7
cmd/cue: prefer ndjson over ldjson by @mvdan in 8b3cc67
cmd/cue: expand the embed help section by @mvdan in ecda391
encoding/jsonschema: fix panic on impossible enum by @rogpeppe in 4760f3b
encoding/jsonschema: fix issue 3176 by @rogpeppe in 6694c55
encoding/jsonschema: add test case for issue 3176 by @rogpeppe in 2122b51
encoding/jsonschema: add test cases for nested values by @rogpeppe in 0bd8619
encoding/jsonschema: better "type excluded" logic by @rogpeppe in 7ca1a14
encoding/jsonschema: fix type exclusion test by @rogpeppe in 5fde360
encoding/jsonschema: add test cases for excluded types by @rogpeppe in 89c7b4b
encoding/encoding/jsonschema: allow type number with int enum by @rogpeppe in bdf9be8
encoding/jsonschema: only one error per URL by @rogpeppe in 8e99f5e
encoding/jsonschema: support legacy id field by @rogpeppe in 709741d
encoding/jsonschema: schema version support by @rogpeppe in 6c26e3c
encoding/jsonschema: add test for numeric enum with type by @rogpeppe in 52ae410
mod/modregistry: return empty list for Versions with invalid name by @rogpeppe in f00a023
cmd/cue: add test for bad path lookup by @rogpeppe in 9a9dd17
encoding/jsonschema: implement MapURL by @rogpeppe in bddcb54
internal/core/adt: fix validator closedness issue by @mpvl in c683420
internal/core/adt: add test for issue 3332 by @mpvl in c8ff441
internal/core/adt: still process pattern for closeContext by @mpvl in 81740d5
internal/core/adt: split conjunct trees based on prefix by @mpvl in 8e02b92
internal/core/adt: add tests for closedness by @mpvl in 53bbdad
internal/core/debug: simplify logic of debug visualization by @mpvl in 2e312df
internal/core/adt: show # only on original defintion node by @mpvl in 6cc01b0
encoding/json: fix positions when Decoder.Extract finds bad syntax by @mvdan in a093c9b
cmd/cue: add test case for bad jsonl syntax error positions by @mvdan in 5e19deb
cmd/cue: suggest cue mod fix on all commands to add language.version by @mvdan in 40eed23
encoding/jsonschema: fix decoding of $id by @haoqixu in 915059d
cue/format: keep blank between ast.EmbedDecl and comment by @haoqixu in a6f1b76
encoding/json: fix location for JSON syntax error by @haoqixu in 596a8c3
cmd/cue: add test cases for embedding files inside symlink dirs by @mvdan in 677ece8
cmd/cue: add a test for embedding symbolic links by @mvdan in 4d941df
cmd/cue: implement cue import --dry-run by @mvdan in bcbc7cd
encoding/toml: support error positions by @mvdan in 334a6fe
encoding/toml: mimic indented CUE multi-line strings in test strings by @mvdan in 1ec257c
update golang.org/x/... and ociregistry for rc.1 by @mvdan in c15144f
encoding/jsonschema: decode required properties as required fields by @haoqixu in c4697bd
all: delay compiling global regexes and templates by @mvdan in 252a666
cmd/cue: add testscript for the jsonl file type by @mvdan in 4c7aecf
cmd/cue: speed up get_go_json_compat.txtar by @mvdan in 20d3c9c
cmd/cue: use fewer go/packages Need bits in get go by @mvdan in 3260084
internal/encoding/yaml: decode empty inputs as "null" by @mvdan in 30a5c79
internal/core/adt: fix panic triggered by using wrong condition by @mpvl in cd689ef
encoding/toml: support decoding keys named "_" by @mvdan in cf18d6f
internal/encoding: decode json files as a single JSON value by @mvdan in e8e6f04
cmd/cue: add TOML to a couple of help topics I forgot about by @mvdan in 0dccbf3
cmd/cue: add testscript to interpret empty files as various filetypes by @mvdan in db92bf8
cmd/cue: fix all "flag used without being added" bugs by @mvdan in 0bd038c
all: use simpler for loop iterations by @mvdan in 0d9d541
internal/ci/check: bump yuin/goldmark by @mvdan in dfe07b8
internal/core/adt: don't signal cleared schedulers by @mvdan in 0d4258e
encoding/jsonschema: add test case for issue 3351 by @mvdan in 95c818c
encoding/jsonschema: port txtar tests to cuetxtar by @mvdan in 44bc1ab
internal/cuetdtest: make M.Flags (internal) public by @cuematthew in 91929bd
cue/interpreter/embed: forbid ** via pkg/path.Match by @mvdan in 187fb1a
pkg: forbid ** in path.Match and tool/file.Glob by @mvdan in 987a85e
pkg: add test cases for ** in file patterns or globs by @mvdan in 25bb3d4
cue/load: do not create packages unnecessarily for files outside package directory by @rogpeppe in a4abb05
cue/load: add test case for issue 3306 by @rogpeppe in f472fd2
cue/load: implement SkipImports mode by @rogpeppe in 88306e2
all: make use of the new slices.Clone and cmp.Or Go 1.22 APIs by @mvdan in 55d1cb1
internal/core/adt: use a named vertexStatus constant rather than 0 by @mvdan in 862fcf1
cmd/cue: hook up encoding/toml for import and export by @mvdan in 9b91188
encoding/toml: add first implementation of an encoder by @mvdan in 54f2cce
internal/core/dep: use a new visitor.marked map when recursing by @mvdan in 34739e9
tools/flow: add test case for issue 2559 by @mvdan in 51bf6f2
tools/flow: add to task stats in the first initTasks call by @mvdan in bc41b25
internal/core/runtime: do not hide positions in interpreter errors by @rogpeppe in f7b7aaf
cmd/cue: add test case for embedded file error by @rogpeppe in bfcfff3
internal/cuetxtar: Correct nesting of tests by @cuematthew in dc199f5
internal/cuetxtar: Be noisier if DebugArchive is faulty by @cuematthew in b77c599
internal/core/walk: Clarify Visitor.Before documentation by @cuematthew in aa8e810
cmd/cue: do not initialize cmd.Command twice in cue cmd by @mvdan in 3f84ba6
cmd/cue: test that cue cmd --cpuprofile works by @mvdan in 17b3e52
cue/errors: make wrapped.Path faster by bypassing unnecessary reflection by @mxey in e68bd63
all: start using Go 1.22's loop var scoping and reflect.TypeFor by @mvdan in 055405a
internal/core/adt: do not require closeContext.group to be non-nil by @cuematthew in c8f3cad
cmd/cue: point "help get" text at CUE-specific cmd by @jpluscplusm in 5de5b42
cue/ast/astutil: update ast.File.Imports properly in Sanitize by @mvdan in 8145bdd
cmd/cue: add tests for symbolic links by @rogpeppe in 23fc4b1
internal/buildattr: implement @ignore attributes by @rogpeppe in e00557b
cmd/cue,internal/buildattr: add tests for @ignore tags by @rogpeppe in d502843
internal/ci: ensure internal/_e2e isn't broken in CI by @mvdan in 00879f0
internal/ci: ensure commit messages do not @-mention users by @mvdan in cf6641c
cue: add a regression test for a default elimination bug fixed in evalv3 by @myitcv in 97eeee4
internal/ci: copy how internal/vcs sets a clean env for git tests by @mvdan in 9025f67
internal/_e2e: remove unused import by @mvdan in 6a9997f
cue/cmd: ensure flags are added if they are used by @cuematthew in 657d5ec
internal/ci/checks: rewrite from bash to Go by @mvdan in 32013a7
internal/ci: move commit check script to a separate file with tests by @mvdan in daf98a0
all: make use of some more Go 1.22 std APIs by @mvdan in af83dad
drop go1.21, start testing on go1.23rc2 by @mvdan in 1aaf802
cmd/cue: use default module name for cue mod init by @rogpeppe in b3c12b3
mod/module: improve error messages for bad module path by @rogpeppe in 3e9d805
cmd/cue: add tests for module path errors by @rogpeppe in f7e48bb
cmd/cue: add a reference to the Central Registry from cue help modules by @rogpeppe in 8986233
cmd/cue: add information about import paths to cue help inputs by @rogpeppe in e9bc377
cue/parser: accept keywords as selector by @haoqixu in 682ff0e
all: replace internal/txtarfs with txtar.FS by @mvdan in e2054df
internal/vcs: show stderr when git exits with an error by @mvdan in d0724a0
internal/mod/modimports: remove duplicate test txtar file entry by @mvdan in 243da87
cue/literal: use strconv.IsGraphic by @mvdan in acdd41f
cue/load: avoid one stat call when loading a valid module by @mvdan in efdb072
cue/load: add test coverage for loading a legacy cue.mod file by @mvdan in 28c6219
internal/mod/modpkgload: symbolic links can be valid CUE files too by @rogpeppe in f5b905c
internal/mod/modpkgload: propagate CUE syntax error by @rogpeppe in a36cc32
cmd/cue: fix panic on bad syntax by @rogpeppe in af808c3
cmd/cue: better error message for mismatched publish version by @rogpeppe in b513fc2
cmd/cue: improve error message for malformed module path by @rogpeppe in 9a88d06
README: point to cuelang.org for install docs by @jpluscplusm in f2066e3
internal: remove some deprecated type/method usages by @cuematthew in e1f552f
cue: use Value.Err in examples using Compile APIs by @mvdan in 719893f
mod/module: allow versionless module path in CheckPath by @rogpeppe in 3a379b7
cmd/cue: add test case for issue 3262 by @rogpeppe in 56d6987
mod/modload: ignore _test.cue files in dependencies by @rogpeppe in 7793367
cmd/cue: fix link in embed help text by @rogpeppe in 77ac696
mod/modfile: use fixed language version for Fix by @rogpeppe in 6f2bfb4
cue/load: implement shared syntax cache by @rogpeppe in fc16ef8
cue/load: move syntax cache into fileSystem by @rogpeppe in afa222f
cue/load: use constructor for fileSystem by @rogpeppe in f787af8
internal/buildattr: stop at package clause and support parentheses by @rogpeppe in 5cbddef
internal/buildattr: add tests by @rogpeppe in 1bb894b
cue/load: CUE files only contain a single *ast.File by @rogpeppe in 75d4005
cue/load: move towards unified syntax cache by @rogpeppe in 14deefa
cue/load: remove import comment parsing by @rogpeppe in b03789f
cue/load: clean up allTags by @rogpeppe in 59fe2e4
interpreter/wasm,internal/filetypes: fix wasm awkwardness by @rogpeppe in d5d4815
cue/load: cache file names only by @rogpeppe in 4a8f673
internal/filetypes: speed up common case by @rogpeppe in fed43b0
cmd/cue: handle signals and perform a graceful shutdown for mod registry by @haoqixu in 27adbac
bump go-internal to get the latest testscript fixes by @mvdan in 695fefc
cue/interpreter/embed: don't allow hidden files in glob by @mpvl in 8bedc2b
pkg/tool/exec: document how Run.cmd works with string versus list by @mvdan in 7e1f140
update Go dependencies for the upcoming alpha by @mvdan in f6be8a8
internal/ci: bump Go and goreleaser versions for the upcoming alpha by @mvdan in 16c45d3
core/adt: simplify duplicate NumKind and NumberKind consts by @cuematthew in 304530f
pkg/tool/exec: show command arguments in errors as a Go slice by @mvdan in 38269ec
cmd/cue: test tool/exec.Run with arguments involving spaces by @mvdan in 5903ec8
core/adt: rename CompositKind to CompositeKind by @cuematthew in 95802d3
cmd/cue: add a forwards compatibility test case for bugfix releases by @mvdan in 2a96988
cue/interpreter/embed: respect module boundaries by @rogpeppe in 6056916
README: link to Slack and Discord via cuelang.org by @jpluscplusm in ddfe8eb
cue/interpreter/embed: require type if glob extension not specified by @myitcv in 2c8ee2f
cue/interpreter/embed: fix handling of dir matching glob by @myitcv in 970d10f
cmd/cue: do not allow embedding of CUE file types (for now) by @myitcv in a0f2cac
cmd/cue: add test case for embedding of CUE file type files by @myitcv in 868c110
cmd/cue: provide initial text for 'help embed' by @myitcv in 5c8be53
cmd/cue: document CUE_EXPERIMENT=embed by @myitcv in e460eb0
tools/trim: convert inline tests to txtar by @cuematthew in 8079151
doc/ref/impl: fix order of arguments in δ partial feature function by @cuematthew in 4eecacd
cmd/cue: make mod resolve work with no args by @rogpeppe in dbe24df
cue/load: better treatment for build tags with respect to modules by @rogpeppe in 79c1739
internal/buildattr: factor out from cue/load by @rogpeppe in 7ca3925
internal/ci: remove debug logging of commit message by @myitcv in f1f0963
cmd/cue: implement --language-version flag for cue mod edit and init by @rogpeppe in e9b2c29
mod/modfile: deprecate LatestKnownSchemaVersion by @rogpeppe in 71eb3be
cue: add LanguageVersion by @rogpeppe in a9009e8
cue/interpreter/embed: add support for embedding by @mpvl in 6594f45
cue/ast,spec: document that package _ is equivalent to missing package by @rogpeppe in c7f9334
disallow explicit underscore import path qualifiers by @rogpeppe in 1c381a0
cue/load: do not consider anonymous packages when checking package qualifier by @rogpeppe in 5ab2d73
cmd/cue,cue/load: add tests for underscore packages by @rogpeppe in 9295a20
internal/core/runtime: new attribute name for extern by @mpvl in b70e543
internal/filetypes: split ParseFile by @mpvl in a1c1cd7
pkg/list: add Reverse function by @NoamTD in f42327c
cue/load: clarify the docs for Config.ModuleRoot by @mvdan in a94d22f
README: simplify a bit, add new website links, add Discord invite by @mvdan in fecf80d
encoding/protobuf/textproto: correctly decode required/optional fields by @haoqixu in dec1786
encoding/json: fix position for jsonl by @haoqixu in 16c15d1
remove navbar.md and its supporting logo by @mvdan in 0d69846
cmd/cue: remove unnecessary fields and do not use filepath.WalkDir by @mvdan in db5c6bf
cue/format: prevent vertical tabs from causing extra indentation by @mvdan in 1f197eb
cue/format: avoid indenting a lone leading comment by @mvdan in d70f9d7
cue/...: remove remnants of /block/ comment support by @mvdan in 0cf2060
update github.com/emicklei/proto by @mvdan in 1d70939
cue/format: add test cases for issue 2496 by @mvdan in 59e276a
internal/cueversion: bump LanguageVersion for v0.10 by @mvdan in 525e18b
cmd/cue: correctly import comments after a field key by @haoqixu in cc7cb90
cmd/cue: forbid cue help help in favor of cue help by @mvdan in 859f1f6
cue/encoding/jsonschema: fix staticcheck errors by @NoamTD in b095ecb
cmd/cue: parse module.cue file in non-strict mode by @rogpeppe in b44f02f
cmd/cue: add test for mod edit strictness by @rogpeppe in 3eafda7
cue/load: fix loading when Config.Package does not match default package by @rogpeppe in ac34157
cue/load: add tests for issue 3213 by @rogpeppe in 4111b3e
cue/load: add Config.AcceptLegacyModules by @rogpeppe in 63d1318
mod/modfile: always allow missing major version in module field by @rogpeppe in 1795a49
internal/ci: always check that git is clean when we finish by @mvdan in b44ef61
cue/format: omit whitespace before the first clause by @mvdan in 95035da
encoding/toml: implement support for table arrays by @mvdan in 8a6194a
cue/format: add a regression test for issue 1544 by @mvdan in 475f692
cue/format: rewrite TestFiles with testscript by @mvdan in 08b1ce0
internal/core/adt: fix pointer comparison issue in equalTerminal by @mpvl in 1376fa8
internal/core/adt: fix lifetime tracking of shared closeContext by @mpvl in 2785aa4
internal/core/adt: update TestX to include language version by @mpvl in 8fdc65e
cue/format: preserve comments associated with ellipsis by @NoamTD in 9bd3e17
cue/format: add tests for ellipsis comments in fmt -s by @NoamTD in da2a575
cue/format: ensure a newline after every comment by @mvdan in b423a27
pkg/path: add missing param declaration by @NoamTD in e09cb31

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

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

This PR has been generated by Renovate Bot.

ℹ Artifact update notice
File name: go.mod
In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

3 additional dependencies were updated

Details:

Package
Change

github.com/rogpeppe/go-internal
v1.12.0 -> v1.12.1-0.20240709150035-ccf4b4329d21

github.com/emicklei/proto
v1.10.0 -> v1.13.2

golang.org/x/oauth2
v0.20.0 -> v0.22.0


Docs update

Pull Request Test Coverage Report for Build 640512930

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

Totals

Change from base Build 640047244:
0.0%

Covered Lines:
1713

Relevant Lines:
6738

💛  - Coveralls


Alpha Engine

I see this is taken from the Alpha Engine project. What start is your implementation as I would be interested to know how your looking to re-adapt it. It looks like your integrating some indicators as well like the HMA - are you using them to know when to enter the trade? Thanks.

After backtesting the alpha engine I was not able to get better results than simple MA crossover. Because I ported the code from Java without having a deep understanding of the alpha engine mechanics I did not want to continue down this road (how to debug something that I don't understand?).
All the indicators were for comparing different strategies.
I am currently working on a different version of prosperpy but I am still pondering making it public.

If you decide to make it public I'll let you know how I go with my backtesting with tick data. Unfortunately I use mt4, so can only assist with an EA for that platform.


1835 - null safe join on csv lookup

Pre-review checklist
I have ensured that:

[ ] Code runs successfully in the development environment.
[ ] New code is tested to prove that it works. If not, justify reasoning.
[ ] New code is documented using type hinting and following the numpydoc docstring format.
[ ] New code follows the project naming standards.

Overview of changes

Post-review checklist
As I merge these changes, I have:

[ ] Updated the related Jira ticket, including approximate time spent (including review).
[ ] Moved the related Jira ticket to Done.

Null safe comparison was required on the old value, rather than the ID. Updated this and test to confirm it works.


[BUG]: streamdeck_ui.lock is never released/deleted

In raising this issue I confirm that

[X] I have fully completed the issue template
[X] I have searched open and closed issues for duplicates
[X] I have read the Contribution Guidelines
[X] I have read the Code of Conduct
[X] I have read the Documentation

Describe the bug
Once streamdeck-ui have exited properly by using "exit" in interface or sending signal SIGTERM to terminate the process you still can find the lock file streamdeck_ui.lock (/tmp/streamdeck_ui.lock on my system).
Steps to reproduce the behavior

Launch streamdeck-ui
Exit streamdeck-ui
ls -l /tmp/streamdeck_ui.lock

Expected behavior
Lock file shouldn't exist any more once streamdeck-ui have terminated.
Screenshots
No response
System Information

OS: Gentoo Linux
Desktop environment: openbox
Python version: 3.11
streamdeckui version: 2.0.15

Stream Deck Version
XL

I would chalk this up as a design decision, not a bug. The application uses a semaphore. The presence of the file is not what provides the locking mechanism; it's the acquisition of the lock via fcntl.flock on the file descriptor.

Even if it a semaphore the file used for locking need to be deleted on application exit.
/tmp is not mandatory flushed especially if it is not a tmpfs mount point.

I would agree that while deleting the lock file on application exit is generally good practice for cleanliness and clarity, in this specific scenario, given the use of the /tmp directory and the advisory nature of the locking mechanism, not deleting the file should not pose a significant issue.
Other than the file persisting in your /tmp directory are you experiencing any adverse impacts? For example, the application being unable to acquire a lock when it otherwise should be able to.

I decided to try and contribute something with a small pull request for this "event". https://github.com/streamdeck-linux-gui/streamdeck-linux-gui/pull/209
It certainly has no real effect on the application, but it does appear better to remove the file once the application terminates.

I have multiple accounts on my Linux workstation, one for work, and one for personal use. I log in for work in the morning, then I log out and log in with my personal account. Every day, I have to manually delete the lock and socket files before I can use my Streamdeck. It's pretty frustrating.
Can we at maybe create the lock and socket files with maybe the username, like /tmp/workacct_streamdeck_ui.lock plus /tmp/workacct_streamdeck_ui.sock and /tmp/homeacct_streamdeck_ui.lock plus /tmp/homeacct_streamdeck_ui.sock? Then, even if you don't delete the lock and socket files on exit, it won't hurt anything.


Add data-testid to job-related components

Why:

Cypress tests in xp-registration involving these components require this attribute

Release Type: Dev Improvement

Fixes https://x-team-internal.atlassian.net/browse/XP-3689
Description

Cypress best practices require the use of the data-testid attribute, rather than className or id
The components required to run the View Jobs Board E2E have had the data-testid attribute added to them in accordance with previously established naming conventions.
The affected components are listed below in "Impacted areas of application"

Checklist
Before submitting a Pull Request, please make sure the following is done:

[x ] set yourself as an assignee
[x] set appropriate labels for a PR (In Review or In Progress depending on its status)
[x] move respective JIRA issue to the PEER REVIEW column
[x] Flow typechecks passed (npm run flow)
[x] Snapshots tests passed (npm run jest) (NOTE: This is temporarily disabled. Skip it.)
[x] check cleanup tasks (https://github.com/x-team/xp/labels/cleanup) and take a suitable small one (if exists) in a related area of the current changes
[x] if added a new UI component that is meant to be used directly by other apps, remember to export that from the appropriate bundle file: src/index.js and/or src/registration.js
[x] component's documentation (.stories.js file) is changed or added accordingly to reflect any new or updated use cases and/or debug cases
[x] if you've fixed a bug, make sure to also include a new story that will expose declarations with problematic data that caused the bug in the first place, so that we can assure that no regressions will pop up on future interactions
[x] if any snapshots have been changed, verify that component still works and looks as expected and update the changed snapshot (NOTE: This is temporarily disabled. Skip it.)
[x] manually tested the app by running it in several different browsers (Firefox, Chrome, Opera, Safari, MS IE/Edge, etc.) and checked nothing is broken and operates as expected!

Related PRs

branch
PR

XP-3623-E2E-View-Jobs-Board | XP Registration
Steps to Test or Reproduce

N/A
Impacted Areas in Application

src/components/ui/ApplicantScreenNotification.js
src/components/ui/HeaderBar.js
src/components/ui/JobApplicationCard.js
src/components/ui/JobCard.js
src/components/ui/Modal.js
src/components/ui/WelcomeHero.js
src/components/ui/EmptyState.js
Screenshots

Hey @marlovr Could you please resolve those merge conflicts before we take it further?

Hey @marlovr Please rebase with develop by keeping in mind changes from here https://github.com/x-team/xp-ui/pull/532 where we basically removed /lib/* files from the repo, gitignored then and we auto generate them now on a consumer side when installing xp-ui. This makes the process less error-prone and no need to generate manually anymore.

Hey @nicksp I've rebased onto develop :) Hopefully it will be all good now!

Closed as duplicate of XP-3689-Add-data-testid-attribute-to-job-related-components


[1.15.2] Server crash with anvil

Minecraft 1.15.2
Forge 31.2.45
Apotheosis 3.3.8
Crash report https://paste.ubuntu.com/p/dB7TnWtR92/

MC 1.15.2 is not supported (somehow you have a null enchantment on your anvil, it looks like, so you may need to nuke said item)


Orphaned edges keep floating around during redraws

Discord username
No response
What type of issue is this?
Permanent – Ocurring repeatably
Is this issue blocking you from using Enso?

[ ] Yes, I can't use Enso because of this issue.

Is this a regression?

[X] Yes, previous version of Enso did not have this issue.

What issue are you facing?
Best to explain with a video
https://user-images.githubusercontent.com/292128/226371697-392180e3-9f1d-48d5-ae5d-705cc6670a99.mp4
Expected behaviour
This has degraded quite significantly recently. We shouldn't leave such orphaned edges floating around.
How we can reproduce it?
As per video
Screenshots or screencasts
No response
Enso Version
develop
Browser or standalone distribution
Chrome
Browser Version or standalone distribution
110.0.5481.10
Operating System
Linux
Operating System Version
No response
Hardware you are using
No response

Duplicate of #5095


Build background + injection timeslide catalogues

For the test set decided by #27 ,  build a catalogue of timeslides generating ~10s of years worth of background, as well as a mirror catalogue of the same data with signals injected into it.
What is the order of magnitude of the number of injected signals we want in order to generate meaningful ROC curves? Given the length of each injection, how much background data will this require?

Yes. Will close now.


Ingress controller: watch secrets referenced by ingresses

Extend the platform/kube.Controller to watch secrets referenced within ingresses, and provide change notifications so that the proxy could be reloaded when a referenced secret changes.
Extend the proxy/envoy.ingressWatcher to subscribe for these notifications and reload certs/Envoy accordingly.
This can be used for in-place updates of TLS certificates stored in kube secrets.

Priority for this issue is probably low at this point. I'm opening it mostly to capture this idea for later.

Resolved by https://github.com/istio/manager/pull/563


add $input-placeholder-font-color in foundation_and_overrides.scss in rails

hi,
I am using foundation-rails-<IP_ADDRESS>, and I find the placeholder color is too light by defaults. However I can't find some variable concerned in foundation_and_overrides.scss
After some grep work, I find the $input-placeholder-font-color is defined in _form.scss
$input-placeholder-font-color: #cccccc !default; //line 26

...

// line 488
// style placeholder text cross browser
    ::-webkit-input-placeholder {
      color: $input-placeholder-font-color;
    }

    :-moz-placeholder { /* Firefox 18- */
       color: $input-placeholder-font-color;
    }

    ::-moz-placeholder {  /* Firefox 19+ */
       color: $input-placeholder-font-color;
    }

    :-ms-input-placeholder {
       color: $input-placeholder-font-color;
    }

Should it be defined in the foundation_and_overrides.scss for convenience or to remind us the existence of it??

I agree, this is a necessary addition.

I see the variable in version 5.5.3 of the gem: https://github.com/zurb/foundation-rails/blob/v<IP_ADDRESS>/vendor/assets/stylesheets/foundation/_settings.scss#L652
This _settings.scss file is used in foundation_and_overrides.scss. Unfortunately, since the settings file can't auto-update itself in between patches, you'll need to add the variable yourself.


poiana comment has a broken link to contributing guide

What is wrong with the website or needs to be cleaned?
The link now points to https://github.com/falcosecurity/falco-website/blob/master/CONTRIBUTING.md and results in 404.
Update the link to https://github.com/falcosecurity/.github/blob/master/CONTRIBUTING.md

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle stale

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close.
Provide feedback via https://github.com/falcosecurity/community.
/lifecycle rotten

/remove-lifecycle rotten

We have to take care of our beloved @poiana :)
PS
Since it's a prow's plugin related issue I'm moving this issue to test-infra


Add MicroBadger badge

We saw your image on Docker Hub at rubicks/ros-dev, and we thought you might like this badge for your GitHub readme showing the image contents.
The badge shows the number of layers and download size of your Docker image, and links to our site where you can see the contents of each layer.
As you're using an automated build it will also show up in your Docker Hub description.

Please open an issue first.


Update sparse ARPACK functions min ncv value

Number of Lanczos vectors (parameter ncv) used in sparse.linalg.eigen
functions was set to a minimum that can cause convergence errors,
incorrect return values and performance issues. This has been updated to
a standard (c.f. Matlab, Julia, Mathematica) value of 20.
This closes #5612.

@@            master   #5813   diff @@
======================================
  Files          235     235
  Stmts        43347   43347
  Branches      8165    8165
  Methods          0       0
======================================
  Hit          33722   33722
  Partial       2594    2594
  Missed        7031    7031

Review entire Coverage Diff as of 87e0f5a

Powered by Codecov. Updated on successful CI builds.

The test failure is real: one of the tests checks that ArpackNoConvergence is raised.

LGTM, apart from the failing test which should be made to use a fixed ncv.

One small comment: for ease of adjusting this in the future, we might factor the logic into a small utility function such as def choose_ncv(k)

Yes looks like test_svd_maxiter() and test_symmetric_no_convergence() failed in test_arpack, both due to lack of raising ArpackNoConvergence. They actually pass on my two machines (convergence can be fickle!) but I will update the tests to use the old ncv values which should fix it.
@jakevdp Agree about factoring the logic into a function, k, n and nnz all can have a noticeable impact on the optimum value of ncv which could be addressed at some point.

Probably also depends on the spectrum etc. of the class of matrices considered, so there's probably no general optimum.

You're probably right, after playing round with a few edge cases that I thought it might be easy to optimise  for there's no obvious pattern.
The latest test failure is I think due to arpack.rst tutorial expecting a ArpackNoConvergence error which no longer occurs. Might be confusing in the context of the tutorial to force one with a low ncv value though.

One final change seems to be needed in an example given in the tutorial, https://travis-ci.org/scipy/scipy/jobs/107459082#L3362

thanks, merged.


Minor Python Fixes

Fix issue with rs400_advanced_mode.get/set_amp_factor()
Fix issue with docstrings on serveral functions

Should fix #4807


Developer experience courses

Moved epic here https://github.com/casper-network/roadmap/issues/89.


Reactivate testing on windows

Figured out the issue-pyarrow causes the reading czi files to fail on Windows.

If you install pyarrow from conda-forge, the issue is fixed.

Oh nice, thanks @joshua-gould !
Did you find in your testing whether this specific to multiview-stitcher or more general and we should raise it at bioio?

It's a general issue that installing pyarrow on Windows breaks reading czi images.

See https://github.com/bioio-devs/bioio-czi/pull/18


feat(api)!: Remove base64 expectation for messages in the API

All the other primitives are dealing directly with bytes I believe so this PR aligns to that.
Signed-off-by: Mathieu Velten<EMAIL_ADDRESS>

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

Project coverage is 90.35%. Comparing base (1ab6f75) to head (db4077a).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #176      +/-   ##
==========================================
- Coverage   90.55%   90.35%   -0.21%
==========================================
  Files          34       34
  Lines        1906     1907       +1
==========================================
- Hits         1726     1723       -3
- Misses        180      184       +4

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

I tweaked the commit message a bit more, it was a bit terse for the changelog, thanks.


Does not work in multi-operator mode

Hello.
It works in normal mode, but not when I put it in multi-operator mode. Is there a solution to this problem?

Make sure you send some more information like version of companion etc.

EventMaster:8.2(Bulld 63872)
Companion:v2.1.3

That function was added later, so upgrade to release candidate or take a beta to test


Runelite problem on fedora 28

[jdamata@localhost Desktop]$ java -version
java version "10.0.1" 2018-04-17
Java(TM) SE Runtime Environment 18.3 (build 10.0.1+10)
Java HotSpot(TM) 64-Bit Server VM 18.3 (build 10.0.1+10, mixed mode)
[jdamata@localhost Desktop]$ cat /etc/redhat-release
Fedora release 28 (Twenty Eight)
Not sure what is causing the issue in the screenshot. Any advice or pointers is welcome.

See https://github.com/runelite/runelite/wiki/Disable-Hardware-Acceleration


V0.12.0.x implement WaitForLock/WaitForLock2

Idea is pretty simple: try to wait for lock if you need it but can't acquire it right now. Solution however is not very elegant, I know... But anyway, this seems to work for me until now: 5h mixing, no locks or new issues so far.
Testing wanted!
Notes:

currently covers most common locks only - cs_main, cs_wallet, cs_vNodes
some TRY_LOCK-s are not covered intentionally - they are ok to fail
reverts https://github.com/dashpay/dash/commit/171c0b145a5a5644f2b955b3196c1a66093801f5 and https://github.com/dashpay/dash/commit/c7077dc9d42c7930147e9385e0a883bbf1d4e2fa
drops TRY_LOCK for updateMnTimer() - not sure how it got there, could be old copy/paste...

naahhh, hangs again... closing


Vue.js export

I'm trying to get vue.js Single File Components to run under the vue-cli environment.
I've written a Webpack loader that can transcrypt SFCs, but I have a problem - I can't control how Transcrypt does Javascript exports.
To get the build pipeline to run properly I must export the component as part of export default, like so-
class HelloWorld:
	def data(self):
		return {'count': 0}

__pragma__('js', """
export default {
	components: {
		HelloWorld: HelloWorld,
	},
}
""")

__pragma('js', ...) silently fails if you have export default or module.exports within it. I'm not sure if this is intended behavior.
I can work around this by putting the Python code in a separate file, and then importing it with JavaScript in the .vue instead-
import HelloWorld from '../test.py';

export default {
	components: {
		HelloWorld: HelloWorld,
	},
}

This does work, but it's obviously messy and unpleasant to do.

Use this instead:
__pragma__('js', '{}', """
export default {
	components: {
		HelloWorld: HelloWorld,
	},
}
""")

Using text that has brackets in it will fail if used in the second parameter, as it is used for string formating and {} is reserved (like in "My {} is {}".format("name", "Peter"))

@avosirenfal Does this solution work for you?
@AlexECX Thanks!

related:
https://github.com/QQuick/Transcrypt/issues/665

This worked for me:
// App.vue
<template lang="pug">
    div
        button {{ msg }}
</template>

<script>
    export default require('./app.py').HelloWorld()
</script>

app.py
class HelloWorld:
    js_name = 'HelloWorld'   # vue component name

    def data(self):
        return {
            'msg': 'Hello World From Python!'
        }

Closing since there have been no further comments for a while.


Improve speed by using 11ty serverless

intro to it at 11ty meetup
https://www.youtube.com/watch?v=nlbdRUIgyjo

individual renders are now the "default" when using @rocket/engine


[Bug] Losing modifers after going through end portal

Describe the bug
Losing heart/armor/armor toughness modifer after going through end portal
To Reproduce
Get some Armor Toughness by dying as True Immortal, go through end portal (in the end dimension)
Expected behavior
They should stay
Screenshots / Logs
https://user-images.githubusercontent.com/87891239/228647989-069cc87e-ea61-468e-a965-93246be243ad.mp4
Used Mod Version
v1.1.1-1.19.2

As it seems Heart / Armor Modifiers were unaffected in the clip. However the Command did report the armor toughness to have vanished.
This was resolved before by a periodic check once every 10 seconds to counteract these sudden changes, mostly by the end portal. Now they will also be forcefully done upon using any immortality command.
Could you test, whether this resolved the issue, so I can push this release?
immortality-1.1.2-1.19.2.zip

As it seems Heart / Armor Modifiers were unaffected in the clip. However the Command did report the armor toughness to have vanished.
This was resolved before by a periodic check once every 10 seconds to counteract these sudden changes, mostly by the end portal. Now they will also be forcefully done upon using any immortality command.
Could you test, whether this resolved the issue, so I can push this release?
immortality-1.1.2-1.19.2.zip

Okay, I'll test it as soon as I arrive home.
Also, I think this issue may be related to this: https://bugs.mojang.com/browse/MC-181604
Recently I made mod to fix this, but it isn't published yet

As it seems Heart / Armor Modifiers were unaffected in the clip. However the Command did report the armor toughness to have vanished.
This was resolved before by a periodic check once every 10 seconds to counteract these sudden changes, mostly by the end portal. Now they will also be forcefully done upon using any immortality command.
Could you test, whether this resolved the issue, so I can push this release?
immortality-1.1.2-1.19.2.zip

Okay, I'll test it as soon as I arrive home. Also, I think this issue may be related to this: https://bugs.mojang.com/browse/MC-181604 Recently I made mod to fix this, but it isn't published yet

Yeah it's because when using the End Portal, internally you don't technically teleport to the Overworld, it is more like your Player is 'cloned' to the Overworld and this process is only retaining some of your data, thus losing status effects and modifiers.
If only that is the issue, it should now be resolved, as I've combated the NBT save retention with Cardinal Components. So this likely only needs reapplication on the End Portal usage, which should be done by an Event, but I'm not sure how to get an 'used End Portal' event, so I'm using this roundabout way.
Let me know, if the update resolved the issue.

As there has been no Feedback, I presume 1.1.2-1.19.2 has fixed the issue


Applications are painfully slow to even start.

This is really starting to get an issue, as it slows down developing, testing, everything.
Running e.g.,
 python simtools/applications/validate_file_using_schema.py --help

Take >3 sec for me. This should just print help.
Running
python -X importtime simtools/applications/validate_file_using_schema.py --help

shows that it us due to extensive importing (see attachment).
In this example, it is e.g., not clear why ctapipe is imported.
import.txt

To do further, this looks like that this is almost exclusively due to ctapipe.
I suggest to remove anything related to ctapipe from simtools.utils.general and move it into a separate module. The general module is used a lot, but not very often for the hdf5 functionality.
@VictorBarbosaMartins - is it fine for you if I move this out of general.py?

PR #682 addresses most of this issue.
When we discuss the cleanup of general.py, we should address the remaining issues (e.g., moving the coordinate transformations somewhere else will remove the dependency on astropy.coordinates.errors (1/3 of import time). Rest is due to astropy.units, which is something we need.

This looks like that this is almost exclusively due to ctapipe.
I suggest to remove anything related to ctapipe from simtools.utils.general and move it into a separate module. The general module is used a lot, but not very often for the hdf5 functionality.
@VictorBarbosaMartins - is it fine for you if I move this out of general.py?

Hi Gernot. That is probably a good idea, Im fine with it


[DotNetPlanner] shell and build for C# and F#

Summary

rename csharp package to dotnet
Add support for .fsproj extension to enable support for F# language.

How was it tested?
added testdata case for fsharp-hello-world

Current dependencies on/for this PR:

main

PR #134

PR #135   👈

This comment was auto-generated by Graphite.


Compression of binary with UPX failed

Hi,
Do you have an idea why ?

Fatal error: Uncaught PharException: phar "/home/david/poc/castorSampleDoctrine/my-app.linux.x86_64" has a broken signature in /home/david/poc/castorSampleDoctrine/my-app.linux.x86_64:11
Stack trace:
#0 /home/david/poc/castorSampleDoctrine/my-app.linux.x86_64(11): Phar::mapPhar('alias.phar')
#1 {main}
thrown in /home/david/poc/castorSampleDoctrine/my-app.linux.x86_64 on line 11

Have you tested your binary before UPX compression? The SPC library Castor uses has built-in UPX support, though it's not currently utilized.
To implement UPX, consider submitting a PR that adds a flag to Castor's compile command. This should execute bin/spc install-pkg upx for installation and run the SPC command with --with-upx-pack.
Remember to include a warning that the UPX installation only works on Linux and Windows, as per SPC documentation. This would ensure a more robust implementation of UPX compression in the project.

I am going to close here for now due to the lack of feedback. Please let us know when you have more information and we can consider to reopen.


fixed typo

Coverage remained the same at 95.295% when pulling 827e556412c38f469564e607193d432b6c7b243b on kynsi:patch-1 into 94896db87348cc167dc4f5c821bda99c1276a91b on nephila:develop.

Thanks @kynsi !


[Question] Cannot upload a pdf document when installed on Linux locally, how to fix it?

Started server & collector and confirmed "Document Processor" is available
Clicked to upload a pdf document
The locally installed anythingllm keeps displaying "Uploading file ...":

At the same, there was a log in the console of the anythingllm's server:
[backend] info: [CollectorApi] Response could not be completed

Supplementary information:

The server runs on port 13001 and the collector runs on the default port 8888
The file has been successfully uploaded into the designated folder named "collector/hotdir/"
Are there any possible erroneous configurations or other reasons for the problem? How to solve it?

What commands are you using to start the server, frontend, and collector?

yarn dev:server
yarn dev:collector
yarn dev:frontend

Should be all you need.
If the frontend can see the collector is only, then that means that the backend can reach the collector
http://<IP_ADDRESS>:${process.env.COLLECTOR_PORT || 8888}
Since the error message is not verbose the collector is simply responding with anything other than 200 OK
https://github.com/Mintplex-Labs/anything-llm/blob/41522cdfb450fdef503a94351303da3d6d20f917/server/utils/collectorApi/index.js#L65
Are you able to hit http://localhost:8888/accepts in a browser tab? It should return a simple JSON response.
It simply seems like the collector is failing to do even a simple request - like the service is not even running.

@timothycarambat I started the server and collector by executing cd server && NODE_ENV=production node index.js and cd collector && NODE_ENV=production node index.js from anythingllm's home directory.
Before that, I successfully finished executing yarn start according to https://github.com/Mintplex-Labs/anything-llm/blob/master/BARE_METAL.md

:13001/api/workspace/a001e24a-9041-43bd-b3bf-ef8a9398903f/upload:1         Failed to load resource: the server responded with a status of 500 (Internal Server Error)
The upper error message appears in the browser's console when the problem occurs.

By the way, I got 'Not Found' when access 'http://server-ip:13001/' after successfully executing yarn dev:server

That is because in developer the server does not serve the frontend when in development. It only servers the server - so http://server-ip:13001/ => Not found is actually expected.
http://server-ip:13001/api/ping => 200 OK

http://collector-ip:8888/accepts returns OK

Okay so both the server and collector are up and running, but the frontend is apparently not relaying information correctly?
Without modifying any ports or anything run each of these commands in a new terminal tab from the repo root.
yarn dev:server -> runs server on localhost:3001
yarn dev:collector -> runs collector on localhost:8888
yarn dev:frontend -> runs frontend server on localhost:3001
Make sure before booting the frontend that you set the correct VITE_API_BASE in frontend/.env
https://github.com/Mintplex-Labs/anything-llm/blob/79ce26de815b6d91ff2db8ce1a59750c4d6290e0/frontend/.env.example#L1-L3
VITE_API_BASE='http://localhost:3001/api'

The frontend, by default expects the server to be on localhost:3001, and the server expects the collector to be on :8888 by default. All over localhost (127)
https://github.com/Mintplex-Labs/anything-llm/blob/79ce26de815b6d91ff2db8ce1a59750c4d6290e0/server/utils/collectorApi/index.js#L11
Its pretty clear from the history here now the issue is something with your config or how you are running this, not the set up since we run this exact codebase for our Linux based managed hosting and have no issues.
Are you trying to run the app outside of a docker image, but on a Linux server that you want to then access remotely? Or are you trying to run in developer mode to run things locally and make changes? Now, I'm not sure which one you are trying to do! Closing but convo can continue since this is not a bug or feature req


Updated Volto production sites list.

@giuliaghisini w00t! Wow, that's quite an impressive list Giulia! Red Turtle rocks! Thanks for sharing!


Update README.md

Hello,
Developers are finding project information, code snippets and other information related to your repository on kandi. Add your kandi x-ray badge to help more developers discover and adopt your project easily. kandi from Open Weaver (https://kandi.openweaver.com) helps developers find and reuse libraries and code snippets for their application development, adopt readymade projects, and explore solutions across a variety of topics. Thanks!

I am not interested in this.


Showing text select curser instead of pointer when hovering on links.

Describe the bug
When I hover my mouse on links like signup etc. it shows text selecting curser instead of hand pointer.
To Reproduce
Steps to reproduce the behavior:
hover on links
Expected behavior
A clear and concise description of what you expected to happen.
show hand poiner
Environment (please complete the following information):

OS: windows 10
Browser: chrome

Please allow me to solve this.

Hey @vorayash if the project is still active i would like to work on this..

I think it's not active.


No cost in Summary and Route

The cost property received by Vroom is in singular but in the resources Route and Summary this property is defined in plural (costs). So, when computing the solution the cost always is zero.
BTW, great project.
Regards.

This has been corrected in https://github.com/webstacknl/vroom-php/releases/tag/v1.0.6


fix: upgrade html-snapshots from 3.4.0 to 3.4.1

coverage: 99.245%. remained the same
when pulling 119f4b8e5a751efd24370249549f47b4a01e5831 on ef-3.4.1-dp
into 856b3908c0a56c8874e278776f2cafb4184c7814 on master.


add file to define docker environment variables

Description
It is not easy to define env-vars using docker.
How to test?
now we have a file variables.env.  in this file define all variables and run with docker-compose up
Expected behavior
All environment variables defined in variables.env will be loaded

This PR is the same idea https://github.com/ResultadosDigitais/matrix/pull/210


Update README

The current readme is 1) incomplete (missing links (Figma, Trello, proposal(s)), sections describing the architecture of the project are completely missing) and 2) difficult to follow (the how-to-contribute section could be simplified).

[x] Add missing links
[x] Simplify how-to-contribute section
[x] Fix typos and grammar

#42 for simplifying the how-to-contribute section

#42 for simplifying the how-to-contribute section

Reviewed. This looks much better!
I will take care of creating the other sections and I'll invite you to review them then.

Merged with https://github.com/learn-ocean/ocean-academy/pull/57


0.13 docs don't link to 1.0.x

When on http://www.scala-sbt.org/0.13/docs/index.html it seems like you're on the 'Latest version', even though you're not.

there's an option missing on:
https://github.com/sbt/sbt.github.com/blob/master/1.x/docs/index.html#L107
and
https://github.com/sbt/sbt.github.com/blob/master/0.13/docs/index.html#L105
the option is there on:
https://github.com/sbt/sbt.github.com/blob/master/0.12.4/docs/index.html#L83

Related I sent in https://github.com/sbt/website/pull/507 to display outdated warning, but closed it because we thought it's still too soon.

closed by sbt/website#541 and related PR's


ctrl-d should quit fsi

I spent some time this weekend feeling out F# development without Visual Studio, and fsi was used for some functional prototyping via Powershell.
It's intuitive for someone with a *nix background to use ^D to exit something like a repl session, and I think that supporting things like this will go a long way towards attracting primarily *nix developers to the language and environment.

@cartermp
I think this is a feature request or additional feature suggestion. You should go to F# uservoice (http://fslang.uservoice.com) and create new feedback there.

Yes, it's a feature request, though for this case I'd say you could also just send a PR for discussion.
Closing as it's not actually a bug (and we generally track suggestions via fslang.uservoice.com rather than issues).


AS3 doesn't deploy any tenant declarations if any one tenant declaration in invalid

Environment

Application Services Version: 3.41.0
BIG-IP Version: 15.0.1

Summary
AS3 doesn't deploy any tenant declaration and responds with 422 if any one tenant declaration is invalid.
Steps To Reproduce
Steps to reproduce the behaviour:

Submit declaration for two or more tenants in a single POST API call with all valid tenant declarations except one tenant
declaration which is invalid, having a BigIP reference that doesn't exist.
For example a tenant declaration referencing a serverTLS that doesn't exist on bigIP( "serverTLS": "/Common/does-not-exist").
https://x.x.x.x/mgmt/shared/appsvcs/declare/tenant1,tenant2

Observe the following error response:
AS3 responds with 422 code and none of the tenants declarations are deployed.

Expected Behavior
Valid tenant declarations should be deployed, where as error should be thrown only for the invalid tenants.
Actual Behavior
All the tenant declarations fail due to one invalid tenant declaration in the post call.

@arzzon i think i have a good solution to resolve this issue. Since we going to be changing the mutex lock on the AS3 API to the tenant level it could be beneficial for CIS to POST directly to the tenant. This way it could be possible for for CIS to update multiple tenants at the same time. However not sure if CIS could do that. Lets chat


typescript.preferences.importModuleSpecifierEnding

Type: Bug
Setting this preference to 'js' does not append .js to module imports
was working before the latest update
VS Code version: Code 1.76.2 (ee2b180d582a7f601fa6ecfdad8d9fd269ab1884, 2023-03-14T17:55:54.936Z)
OS version: Windows_NT x64 10.0.19045
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4460  CPU @ 3.20GHz (4 x 3200)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: unavailable_offraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: unavailable_offvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
19.85GB (12.31GB free)

Process Argv
--crash-reporter-id 0a93d2fb-4b17-491a-bae5-b0453abc72fb

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

copilot
Git
1.78.9758

vscode-edge-devtools
ms-
2.1.1

powershell
ms-
2023.2.1

pwa-studio
PWA
1.3.3

LiveServer
rit
5.7.9

markdown-all-in-one
yzh
3.5.1

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdf:30486550
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
nodejswelcome1cf:30587006
2e4cg342:30602488
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
2i9eh265:30646982
vsccsb:30677849
defaultazurewalk:30687958
pythonms35:30686772

Seems to work for me. Please provide steps to reproduce the issue

I have created a new windows user on the same machine, and tried to reproduce the bug, but the feature seems to work correctly.
I think that there must be some bad config file on the user the bug is occuring, could you point me to specific config files/folders, which i can delete, because reinstalling vscode did not work.

I have tried deleting all the folders i can locate in the appdata directory of the affected user, but the preference is not taking effect.

The same here, after the last update the automatic import of ts files ignore js extension, typescript not detect this import without js as error, the settings in vscode take no effect, i should delete some internal file or cache?

@MauroVinicius Did you find a way to make it work, i have already tried deleting all the folders i could find for vscode in the appdata directory of the affected user on windows 10, but it is still not working.

unfortunately I didn't find the solution, I'm in the same situation as you needing help, I didn't reinstall vscode because that's a little more difficult for me, I have deadlines to meet with some urgency

Em 2 de abr. de 2023 às 03:55, priyanshuagrawal  @.***>  escreveu:
@MauroVinicius  Did you find a way to make it work, i have already tried deleting all the folders i could find for vscode in the appdata directory of the affected user on windows 10, but it is still not working.
—
Reply to this email directly,   view it on GitHub, or   unsubscribe.
You are receiving this because you were mentioned.Message ID:  @.***>

@MauroVinicius This setting is only about the preferred import style added for auto imports. It will not causes TS to show those imports as errors
@priyanshuagrawal Please share detailed steps to reproduce the problem so we can investigate

I understand, in this case there is some typescript configuration to point this as an error? I looked but I didn't find

@mjbvz you are correct in regard to your earlier comment that this setting is about preferred import style, but could you guide me if possible, what can i do to assist you, because i don't see any way that could help, you trace this issue. i am new to vscode i primarily use vs2019, but i have tried some features of vscode, like workspace splitting to new window, but at the time of writing i am unable to locate such option

@mjbvz have a look, this is the setting i have set in preferences,

and even with that setting i am not getting modules imported with js extension

but before it was working correctly

I have created a new windows user on the same machine, and tried to reproduce the bug, but the feature seems to work correctly. I think that there must be some bad config file on the user the bug is occuring, could you point me to specific config files/folders, which i can delete, because reinstalling vscode did not work.

I have mentioned before that, this issue is specific for the windows user i am currently using.
Issue does not occur on a new user of the same windows machine, with the same vscode.

Please try collecting the TS Server log:

Set "typescript.tsserver.log": "verbose",
Restart VS Code and reproduce the problem
In VS Code, run the TypeScript: Open TS Server log command
This should open a large log file called tsserver.log

This should show if the setting is being set properly

⚠Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this

I generated this log on my pc and hid some sensitive information but my log has about 60,000 lines, even so it would be nice if I didn't have to make it completely public, is there any more private way to send it?
Anyway I looked at the log here and maybe these parts will help you guys a little, screenshots below

Please try collecting the TS Server log:

Set "typescript.tsserver.log": "verbose",
Restart VS Code and reproduce the problem
In VS Code, run the TypeScript: Open TS Server log command
This should open a large log file called tsserver.log

This should show if the setting is being set properly

⚠Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this

Good news, i changed my typescript version in vscode by config typescript.tsdk, my pc use 4.9.4 and my vscode was using 5.02, after i change vscode to 4.9.4 by this config and restart the software the problem was resolved, @priyanshuagrawal try this solution

Good news, i changed my typescript version in vscode by config typescript.tsdk, my pc use 4.9.4 and my vscode was using 5.02, after i change vscode to 4.9.4 by this config and restart the software the problem was resolved, @priyanshuagrawal try this solution

@mjbvz @MauroVinicius many thanks, that helped and i have resolved this issue.


CC0091 wrongly tries to make static methods in structs

Hi.
Another CC0091 bug. It tries to change method in struct that does not only manipulate with static fields.
Code proof:
		struct Foo
		{
			private int _x, _y;

			public void Goo(int x, int y)
			{
				_x = x;
				_y = y;
			}
		}

Goo is here wrongly under warning of CC0091.

Bug confirmed.

Fix confirmed with 1.0.0-rc5-1063 on our codebase. Thanks! Btw is it ok if I write this? Or are your tests enough? :)

It is ok, and you actually help us to make sure. Thanks!


Query works on my pc but doesnt work on my vps

So when I try to query a fivem server (ex. <IP_ADDRESS>) I can get the results but then I run the program on my vps it fails to query the server. How can I fix this?

Please try the following and let us know what happens:
Test querying a different FiveM Server
If 1 fails then check your firewall settings on the VPS.
If 1 succeeds then try to ping and traceroute the server.
If you cannot ping/traceroute the server then it is possible that the server is blocking your IP/Subnet/ASN.


Add tricycle controller demo

After https://github.com/ros-controls/ros2_controllers/pull/345 is merged

Hey @tonynajjar could you please fix the conflict on this one?

Done. What's the preferred way to activate the controllers, via the spawner as done in tricycle launch files or with "ros2 control" as done in differential launch files?

Changed to ros2 control and fixed linters

Done

is the tricycle controller released?

No the PR is still not merged, wanted to offer the maintainers a way to test it with this PR

Weird, I can't reproduce. What version of ros2_control are you using? it should be master

Thanks for the review, I made the last fixes. Yep, let's wait for the other PR to be merged first :+1:

@ahcorde @destogl controller is merged!

Thank you for this example @tonynajjar, do you have any plans to add this example to gz_ros2_control?

No problem! As mentioned here I wasn't thinking of adding it to gz_ros2_control but if it's not too much work I can give it a shot (I don't know how different Gazebo and Gazebo Classic are)

great @tonynajjar, feel free to ping me if you need help


Webview can't handle custom authenticated proxies

VSCode Version: Code 1.17.2 (b813d12980308015bcd2b3a2f6efa5c810c33ba5, 2017-10-16T13:59:46.104Z)
OS Version: Windows_NT x64 10.0.15063
Extensions:

Extension
Author (truncated)
Version

vscode-base64
ada
0.0.1

azuretoolsforvscode
bra
1.3.0

jshint
dba
0.10.15

vscode-eslint
dba
1.4.3

vscode-hasher
dee
1.0.1

xml
Dot
1.9.2

CppSnippets
har
0.0.13

vscode-nuget-package-manager
jmr
1.1.4

azure-functions-tools
joh
0.3.1

vscode-JS-CSS-HTML-formatter
lon
0.2.3

azurecli
ms-
0.3.0

cpptools
ms-
0.14.0

csharp
ms-
1.12.1

azurerm-vscode-tools
msa
0.3.7

Csharp-ASPNETCore
rah
1.0.5

Steps to Reproduce:

Update VSCode
Relaunch opens 'Release Notes' tab but notes are blocked by company intranet trying to launch network sign-in
Sign-in never actually launches, so release notes are not viewable

Reproduces without extensions: Yes

@mjbvz @jrieken  Have you seen this in the webview before? Have we tackled it?

I have never seen that. It looks like custom html that is being served up in place of the release notes? We block popups from webviews so that may be why no prompt is ever shown
@d0nkeyBOB In VS Code with the release notes page showing, can you please run Developer: Webview tools command. Are there any errors in the developer console?

Blocked script execution in 'file:///C:/Program%20Files/Microsoft%20VS%20Code/resources/app/out/vs/workbench/parts/html/browser/webview.html' because the document's frame is sandboxed and the 'allow-scripts' permission is not set.

Yes we disable scripts in the release notes. Does your company proxy normally serve up the Please wait... page in place of the real requested content?

Its a redirect type system on most websites. It usually goes to the auth verification page after this if the site isn't blacklisted.

So we hit https://code.visualstudio.com/raw/v1_18.md using our standard request service which I believe does observe the proxy. After that, the webview appears to be doing the right thing with the contents it gets back. It should never be able to run scripts or launch other windows.
@d0nkeyBOB Do you have any http.proxy* settings or have you configured http_proxy in your environment?

Closing as we need more info to investigate further


Functions/return val (Lesson 7 Task 3) exercise is not to the point

The exercise expects one to understand fib sequence generation algorithm, but not the function "return" mechanism...
I'd propose to take some other example:
def sign(x):
   """ function returns the sign of number: 1 if positive, -1 if negative, or 0
        ps.: return exits fuction, so no further actions happen after it occurs
   """
    if x > 0:
        return 1     # placeholder "return 1"
    if x < 0:
        return -1    # placeholder "return"
    return 0   #  placeholder "0"

https://github.com/JetBrains/pycharm-courses/blob/master/introduction_course_v2/lesson7/task3/return_keyword.py

@dz0 I really like the idea! Thanks.


(maint) Testing GitVersion from external repository

What issue does this PR address?
Does this PR introduce a breaking change?
Please check if the PR fulfills these requirements

[ ] The commit follows our guidelines
[ ] Unit Tests for the changes have been added (for bug fixes / features)

Other information:

@leastprivilege this isn't required any more, so just going to go ahead and close it.


problems with interactive-tool of andi challenge

Your work is wonderful, and we are also doing research on Andi Challenge.
We find that the evaluation tool ’http://andi-challenge.org/interactive-tool/‘ given in the Andi Challenge cannot be correctly opened in the browser. It shows 'An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command'.
Sincerely hope this tool can be used, thank you!

Hi! Thanks a lot for pointing out this problem, we are now aware of the problem and working on solving it, I will update asap once the interactive tool is live again!

Thank you!

Hi, we have a temporary solution, you can now find the tool here: https://andi-app.onrender.com/andi_app
We are aware that the app is now currently extremely slow, you have to wait ~10 secs every time you change a parameter to see the results. We are working on a better solution but we will leave this one open in the meantime.

Thanks a lot for making the tool live again!

Hi! The andi-app is again smoothly running at https://andi-challenge.org/interactive-tool/ .
For a better user experience, I recommend you to run it from the source here: https://andi-app.herokuapp.com/


[fix][test][branch-3.0] fix  testCleanupEmptySubscriptionAuthenticationMap

Motivation
fix unittest testCleanupEmptySubscriptionAuthenticationMap. getTlsFileForClient method not exist in branch-3.0
Verifying this change

[x] Make sure that the change passes the CI checks.

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository:

The branch-3.0 miss #20289. Cherry-pick it would be better


NGOpt8 uses DE if multiobjective

Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to change)

Motivation and Context / Related issue

How Has This Been Tested (if it applies)

Checklist

[x] The documentation is up-to-date with the changes I made.
[x] I have read the CONTRIBUTING document and completed the CLA (see CLA).
[x] All tests passed, and additional code has been covered with new tests.

Replaced by #922 if ok with you

Deprecated


fix: use recoverable key format

Try out this version of the Hiro Wallet - download extension builds.

Per https://github.com/hirosystems/stacks-wallet-web/issues/2419, use signature with recoverable public key
cc/ @aulneau @pradel to review

Did a test with the build of this pr and was able to extract the public key with the following code and the address generated from the public key is the same as the one injected by the wallet so working fine 🔥
let message = `${domain} wants you to sign in with your Stacks account: ${address}\n`;
message += `URI: ${domain}`;
message += `Nonce: ${nonce}`;
message += `Issued At: ${new Date()}`;
sign({
  message,
  onFinish: ({ signature }) => {
    const publicKey = publicKeyFromSignature(
      hashMessage(message).toString("hex"),
      createMessageSignature(signature)
    );

    const address = getAddressFromPublicKey(publicKey);
    console.log({ address, publicKey });
  },
});

Will this change impact @stacks/connect?

cc @beguene @janniks re: question above ☝

@bgok Yes in a way because the format of the signature returned is different now. With this PR the wallet returns a recoverable signature, therefore connect will also return a different type of signature. But you won't have to change the code you use with connect nor will you have to upgrade the connect package.


Manager starter and third-lib version.

Pull Request Test Coverage Report for Build 469

0 of 0   changed or added relevant lines in 0 files are covered.
2 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.4%) to 65.695%

Files with Coverage Reduction
New Missed Lines
%

isle-sofa-boot-starter/src/main/java/com/alipay/sofa/isle/spring/listener/SofaModuleBeanFactoryPostProcessor.java
1
78.95%

runtime-sofa-boot-starter/src/main/java/com/alipay/sofa/runtime/spring/factory/ServiceFactoryBean.java
1
66.67%

Totals

Change from base Build 456:
0.4%

Covered Lines:
1375

Relevant Lines:
2093

💛  - Coveralls


In 1.57.0 Style/RedundantDoubleSplatHashBraces autocorrect doesn't seem right

I updated to 1.57.0, and in my code I see new Style/RedundantDoubleSplatHashBraces offence, on the line:
logger.info('ClassToLog', event: 'perform', **attributes.merge({ worker_id: worker.id }))

Expected behavior
I expect something like
logger.info('ClassToLog', event: 'perform', worker_id: worker.id, **attributes)

Actual behavior
I got
logger.info('ClassToLog', event: 'perform', attributes, { worker_id: worker.id })

And it doesn't even look like correct ruby expression.
Steps to reproduce the problem
just run rubocop -a on above code
RuboCop version
 » bundle exec rubocop -V
1.57.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.29.0, running on ruby 3.2.2) [x86_64-darwin21]
  - rubocop-factory_bot 2.24.0
  - rubocop-graphql 1.4.0
  - rubocop-performance 1.19.1
  - rubocop-rails 2.21.2
  - rubocop-rspec 2.24.1
  - rubocop-sorbet 0.7.4

In fact, the correct expectation should be
logger.info('ClassToLog', event: 'perform', **attributes, worker_id: worker.id)

I think, as if we have worker_id key in attributes, it should be overridden.

I also get ruby warning, when instead merging two hashes with the same key, I apply autocorrect for this cop, so it's probably should be marked as unsafe.
irb(main):004* def foo(**attrs)
irb(main):005*   puts attrs
irb(main):006> end
=> :foo
irb(main):007> foo(a: 1, **{ b: 2, c: 3}.merge({ c: 33 }))
{:a=>1, :b=>2, :c=>33}
=> nil
irb(main):008> foo(a: 1, **{ b: 2, c: 3}, c: 33)
(irb):8: warning: key :c is duplicated and overwritten on line 8
{:a=>1, :b=>2, :c=>33}
=> nil

This caused a regression for us if the double splat is used with an inline hash that happens to merge at the end so the double splat is still required. This is an example that triggers that warning when it should not:
NotificationService.deliver(
  notification,
  user,
  **{
    a: 1,
    b: 2
  }.merge(notification_params)
)

def notification_params
  { c: 3, d: 4 }
end


I have found the solution to the block rendering problem

The layout action would be executed after all resources finished, like this
$(window).load(function() {
  window.sr = window.ScrollReveal().reveal(cardName, {
      afterReveal: function () {
          if ($postsGrid) {
              $postsGrid.masonry("layout");
          }
      }
  });
});

So if there were any external resources can't be downloaded, the downloading would block the rendering.
My solution is s.setAttribute('external_src', url)
var s = document.createElement('script'); s.async = true;
        s.type = 'text/javascript';
        s.setAttribute('external_src', '//' + window.disqus_shortname + '.disqus.com/count.js');

So that the count.js would not block the load() function.
After layout being executed, we can append a function like this
$(window).load(function() {
    $('[external_src]').each(function() {
        var external_src = $(this).attr("external_src");
        $(this).attr("src", $(this).attr("external_src")).removeAttr("external_src");
    });
});

Hm, I am not a fan of this potential solution as I'm not a fan of using javascript for script injections.
I think there's a way we can use the capabilities of the browser to resolve the issue you're running into and prevent block rendering. I think all I need to do is simply add async to our external dependencies and that should resolve the issue. Since this theme also only supports IE10+ and evergreen browsers, this should resolve the issues. I'll do some more investigation and let you know what I find.
Thanks for your patience @pupboss!


resolves #58

it's kind of impossible for this to work, but it does, so I'm a bit bewildered... and also fascinated that you even thought to try it ;)
pretty sure there's still a real bug deep in here somewhere though, it might not even be a real-world one since this test is so concocted but I'd still like to get to the bottom of it...

I'm still bewildered by this, it should never have done anything and is really fun, but all better now!


microk8s.disable doesn't shut down k8s processes - v1.10.3

I would like to be able to completely shutdown microk8s without uninstalling it, but microk8s.disable leaves kubelet and other processes running.
If I kill them, they restart
ubuntu 18.04 LTS
Name      Version    Rev   Tracking  Developer  Notes
core      16-2.32.8  4650  stable    canonical  core
microk8s  v1.10.3    55    beta      canonical  classic

# microk8s.disable
# sleep 20
# ps x | grep microk | colrm 80

 2046 ?        Ssl  258:16 /snap/microk8s/55/kube-apiserver --v=4 --insecure-bi
 2053 ?        Ssl  110:32 /snap/microk8s/55/etcd --data-dir=/var/snap/microk8s
 2063 ?        Ssl   29:56 /snap/microk8s/55/usr/bin/dockerd -H unix:///var/sna
 2560 ?        Ssl   10:44 containerd -l unix:///var/snap/microk8s/common/var/r
25494 ?        Ssl    0:16 /snap/microk8s/55/kubelet --kubeconfig=/snap/microk8

microk8s.disable

Is for disabling addons like dns, or dashboard
To disable microk8s you'll need to use snap command to do that
snap disable microk8s

Then to enable
snap enable microk8s

I'll update the readme to reflect this. We'll also need to create something like microk8s.io/docs to detail these things further


Grad-Norm spike on transformer depth change

Thanks for open sourcing the code.
I was training some base transformer on fineweb_edu_10bt_shuffled data-set. and xmer_full is the config on the left, and xmer_210m_10L is the exact same code + execution, except that there are 10 layers now.
There is a grad-norm spike as indicated in the earlier figure, which is odd, are there some other configurations I should change? I would assume that xmer_210m_10L would do better on train-loss, but perhaps other than n_layers change, I am missing some other parameters to ensure stability? (The arch and code are the exact same)

Would appreciate pointers, in case there are other parameters that need to change if I increase number of layers, or pointers from your experience on why this spike happens (and hinders loss)
Thanks!

It is difficult to pinpoint the exact source of your instabilities. I recommend carefully examining the learning rate (LR) and weight decay, especially since these issues seem to arise during the warmup phase. For reference, we use 64 GPUs for training the 1B model (which closely resembles your configuration). This setup results in a total batch size in tokens calculated as: batch_size * seq_len * n_gpu, which is 4 * 4096 * 64 = 1,048,576 tokens per step.
I am not sure about your exact configuration, but if you are using a different batch size, you may need to adjust the learning rate accordingly. Specifically, a smaller batch size typically requires a smaller learning rate.

Thank you, this helps a lot!
It might have something to do with the dataset, changing the dataset from fineweb to dclm made the issue go away


Add instructions to fix underline highlight issue

Hi! First of all thanks for your work on this plugin.
I ran into the issue of the highlight being just being an underline of the text and after a while looking into the issues I noticed there was a solution pointed out here https://github.com/RRethy/vim-illuminate/issues/111. I tested the Lua solution myself and got the smooth highlight working.
So I think it'd be great if this was explicit in the README in case one of your users stumbles upon this issue so they can find the solution more easily. 🙌🏼

The underline isn't an issue and doesn't need fixing, it's a conscious decision to set a default value for the highlight groups that are used. The description smooth highlight is no less applicable to underline as it is to whatever the Visual highlight group is (which is probably just a modification of the guibg).
Not only that, but the highlight groups are mentioned in the README.

Not sure whether or not it is an issue or just a custom config to add but I have lazy as package manager for Neovim and as soon as I added this as a plugin module, it worked the way the original poster of this issue mentioned, I just got underline as highlighting, and that looks awful.
After looking into the issues, I found this and by adding the following lines to my init.lua file I got the highlight in the correct way:
vim.api.nvim_set_hl(0, "IlluminatedWordText", { link = "Visual" })
vim.api.nvim_set_hl(0, "IlluminatedWordRead", { link = "Visual" })
vim.api.nvim_set_hl(0, "IlluminatedWordWrite", { link = "Visual" })

I know there is the Highlight Groups section that mentions those groups but it does not mentions which values can be assigned to replace the underline default one.
I think it would be very good to have some guidance on how to tweak this for Neovim in Lua config files.


[Flagfit]: The "new-awesome-wip-feature" flag has expired

Warning
The @FlagType.WorkInProgress created by owner: momomomo111 has expired!
Please consider deleting @FlagType.WorkInProgress as the expiration date has passed on 2022-12-30.
The flag of key: "new-awesome-wip-feature" is used in the awesomeWipFeatureEnabled function.

https://github.com/abema/workflow-test-flagfit/blob/b9094b1a906c362c505d98fbb2f2002ad6d4c165/sample-android/src/main/java/tv/abema/fragfit/SampleFlagService.kt#L16-L25


Update Pulsar drivers to work with 2.4.0 plus fix aggregate latency

In order to get the Pulsar driver to work with 2.4.0, I made the following changes:

Remove the assumption that the cluster name is part of the namespace/topic name. Prior to PIP-10, the cluster name was part of the namespace/topic name. This was confusing for new users who are used to the new naming convention and it doesn't play nice with the REST admin interface.

Changed the global-zookeeper option to configuration-store to match the new name

I also fixed the benchmark calculations for aggregate end-to-end latency. Unlike all the other latency calculations, those were being reported in microseconds, not milliseconds.

I have added a commit this PR to include updates to the Ansible playbooks that configure chrony on the client AWS instances to sync with AWS Time Sync Service. It's important the clocks are synched for the end-to-end latency measurements.  Chrony + AWS Time Sync seems to do a good job keeping the clocks in sync, certainly much better than not having them synced.


feat: dataType.on('updated-docs') when docs update

Emits an array of updated docs for the data type whenever the docs
update (rather than emitting one doc at a time, it waits for indexing to
complete, then emits all the docs that have been updated. If there are
several updates to a particular docId, then only the resolved head
version is returned).
Attaching this listener to a data type that has many values / is
frequently updated will have a performance impact, because large amounts
of data could be read from the database and there is no limit, e.g. if
this was attached to the observation dataType and a new device synced
with a project with 10,000 observations, an attached listener would be
called with 10,000 observations.
The main reason for this feature is for internal use for capabilities,
listening for changes and modifying permissions accordingly, initially in order to implement #268, which requires adding cores as device capabilities are updated.
This is implemented in a particular way with performance considerations in mind. My initial idea was to return all decoded indexed docs from the index writer, but this would have a high performance cost because:

the plan is to move the index writer to a separate worker thread, and sending all docs back over the worker message channel would be expensive.
we are not interested in subscribing to all doc updates (it wouldn't make sense to listen for all observations being updated because it would be too many, particularly after a large sync),
The docs that are indexed could contain multiple versions of a doc id (e.g. all the edits to that doc) and for an 'update' event we're only actually interested in the resolved "head" doc, so we have to re-request the doc from the index anyway (e.g. getByDocId(), which returns the "head").

So, the indexer now returns the docIds of the documents it indexed, then the DataStore de-dupes those and emits them for each schemaName (but only if a listener is attached) when indexing finishes, and the DataType class listens for updated doc ids (but only if a listener is attached) and looks up the docs by those docIds, and emits the updated-docs event.

lgtm. seems like you ran into some potentially gnarly TS issues - think you made the right choice to ignore them 😄

Yeah, I wasted quite a lot of time trying to make TS happy, then just had a realization "why am I bothering". In the internals of functions like these dealing with complex data types, I don't think jumping through hoops to keep TS happy really gains us anything, especially we're hitting limitations of TS. The issue I keep getting frustrated by is trying to narrow a type with arrayOfValidTypes.includes(maybeValidType), but dependent types is often an issue (TS does not support them).


Text unreadable in pdf js

Link to PDF file (or attach file here):
Configuration:

Web browser and its version: Chrome 58
Operating system and its version: Windows 7
PDF.js version:  “1.0.712”
Is an extension:

Steps to reproduce the problem:

We have applied fix provided here - #5148

font.loadedName = 'g_font_' + Math.floor(Math.random() * 999).toString() + (fontRefIsDict ?
fontName.replace(/\W/g, '') : fontID);
still not working
2.
What is the expected behavior? (add screenshot)

What went wrong? (add screenshot)

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

Yes the pdf version is out of date. But for time being I need solution to be fixed in this.
Can you please help to fix this issue in the same code base.
The pdf file is
Legal_Title_Change.pdf


Asset Compressor causes problems on IE9

The asset compressor is actually working now (Yeah, I only just got round to testing it, again...) but on IE9 is seems to refuse to read parts of the CSS file.
I have an assets config like:
<?php
/**
 * Configuration file for the "yii asset" console command.
 * Note that in the console environment, some path aliases like '@webroot' and '@web' may not exist.
 * Please define these missing path aliases.
 */

Yii::setAlias('@webroot', realpath(__DIR__ . '/../web'));
Yii::setAlias('@web', '/');

return [
	// Adjust command/callback for JavaScript files compressing:
	'jsCompressor' => 'java -jar compiler.jar --js {from} --js_output_file {to} --warning_level QUIET',
	// Adjust command/callback for CSS files compressing:
	'cssCompressor' => 'java -jar yuicompressor.jar --type css {from} -o {to}',
	// The list of asset bundles to compress:
	'bundles' => [
		'yii\web\YiiAsset',
		'yii\web\JqueryAsset',
		'yii\bootstrap\BootstrapAsset',
		'yii\bootstrap\BootstrapPluginAsset',
		'common\widgets\QtipAsset',
		'common\widgets\ProdigalAsset',
		//'common\widgets\ColorpickerAsset',
		'common\widgets\FontAwesomeAsset',
		'frontend\assets\AppAsset',
	],
	// Asset bundle for compression output:
	'targets' => [
		'common\widgets\AllAsset' => [
			'basePath' => '@webroot',
			'baseUrl' => '@web',
			'js' => 'js/all-{hash}.js',
			'css' => 'css/all-{hash}.css',
		],
	],
	// Asset manager configuration:
	'assetManager' => [
		'basePath' => '@webroot/assets',
		'baseUrl' => '@web/assets',
		'bundles' => [
			'yii\bootstrap\BootstrapAsset' => [
				'basePath' => '@webroot',
				'baseUrl' => '@web',
				'sourcePath' => null,
			],
			'yii\bootstrap\BootstrapPluginAsset' => [
				'basePath' => '@webroot',
				'baseUrl' => '@web',
				'sourcePath' => null,
			]
		]
	],
];

and for some reason, even though CSS from common\assetsAppAssets exists in the combined CSS and works on IE8/IE11/Another browser, it is completely broken on IE9. You have to actually get IE9 to see this happen, using the compat view in IE11 or whatever won't do the trick.
I think it could be a spacing/string issue in the minified CSS, like in IE9 it reads the CSS slightly differently than other browsers even of its own kind.
Does this seem like a bug?

If it is a bug, it does not belong to Yii itself, sinse it does not perform actual minification of the CSS. You should report it to the CSS compressor authors.

I dunno, this is odd, I change my appasset to:
<?php
/**
 * @link http://www.yiiframework.com/
 * @copyright Copyright (c) 2008 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */

namespace frontend\assets;

use yii\web\AssetBundle;

/**
 * @author Qiang Xue<EMAIL_ADDRESS> * @since 2.0
 */
class AppAsset extends AssetBundle
{
	public $basePath = '@webroot';
	public $baseUrl = '@web';
	public $css = [
		'css/site.css',
	];
	public $js = [
		'js/site.js',
		'js/navbar.js'
	];
	public $depends = [
		'yii\web\YiiAsset',
		//'yii\bootstrap\BootstrapAsset',
		'yii\bootstrap\BootstrapPluginAsset',
		//'common\widgets\FontAwesomeAsset'
	];
}

to comment out those two depends and I change my assest.php to:
<?php
/**
 * Configuration file for the "yii asset" console command.
 * Note that in the console environment, some path aliases like '@webroot' and '@web' may not exist.
 * Please define these missing path aliases.
 */

Yii::setAlias('@webroot', realpath(__DIR__ . '/../web'));
Yii::setAlias('@web', '/');

return [
	// Adjust command/callback for JavaScript files compressing:
	'jsCompressor' => 'java -jar compiler.jar --js {from} --js_output_file {to} --warning_level QUIET',
	// Adjust command/callback for CSS files compressing:
	'cssCompressor' => 'java -jar yuicompressor.jar --type css {from} -o {to}',
	// The list of asset bundles to compress:
	'bundles' => [
		'frontend\assets\AppAsset',
		'yii\web\YiiAsset',
		'yii\web\JqueryAsset',
		'common\widgets\QtipAsset',
		'common\widgets\ProdigalAsset',
		//'common\widgets\ColorpickerAsset',
	],
	// Asset bundle for compression output:
	'targets' => [
		'common\widgets\AllAsset' => [
			'basePath' => '@webroot',
			'baseUrl' => '@web',
			'js' => 'js/all-{hash}.js',
			'css' => 'css/all-{hash}.css',
		],
	],
	// Asset manager configuration:
	'assetManager' => [
		'basePath' => '@webroot/assets',
		'baseUrl' => '@web/assets',
		'bundles' => [
			'yii\bootstrap\BootstrapAsset' => [
				'basePath' => '@webroot',
				'baseUrl' => '@web',
				'sourcePath' => null,
			],
			'yii\bootstrap\BootstrapPluginAsset' => [
				'basePath' => '@webroot',
				'baseUrl' => '@web',
				'sourcePath' => null,
			]
		]
	],
];

and now it works. It's functionality does seem dependant upon Yii2.

Ah ok it is nothing with yii. Turns out it is quite easy to pass the 4095 selector limit that exists on old IE.
But requires me to group css files which is mentioned nit he docs but never actually explain so I will open an issue for that


Add possibility to disable fonts

Reduce reliance on external fonts.

Thank you for the addition.

Thanks awesome for the fast merge. If this is something you would see more, I'll contribute some more options such as piwik or disabling google analytics. (Already in production, but didn't upstream yet.)

Thanks awesome for the fast merge. If this is something you would see more, I'll contribute some more options such as piwik or disabling google analytics. (Already in production, but didn't upstream yet.)

I appreciate any contributions that make the theme more customizable. This theme uses the internal Google Analytics template that is shipped with Hugo. If you don't assign anything to the googleAnalytics then the tracking snippet wont be included.

Awesome. I think the googleAnalytics change maybe in another theme. Will upstream my changes. I appreciate it.


Ambiguous Error Messages in "Add New Product" Page

The error messages on the Add New Product page is vague and ambiguous. Also, each field could use its own error message to improve user's experience.

The UserAdmin page is Currently not active soon I will refactor it and fix all the bugs there


bug(core): evalStore not a constructor error on production build

Seems to be caused by unstorage.getItem() giving back unexpected value (numbers) instead of the content of server asset files which we evaluate and pass to an evalStore, which is expected to be a constructor.

On build:

On dev server:


NuxtTurnstile component not loading Turnstile script as expected

🐛 The bug
While using the NuxtTurnstile component from the nuxt turnstile package, it seems that the Turnstile script isn't loading as expected, throwing an Uncaught TypeError: Cannot read properties of undefined (reading 'render') error.
The problem is here according to the console.
script.mjs?v=be5efb17:33 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'render')
at Object.render (script.mjs?v=be5efb17:33:31)
line:
return window.turnstile.render(element, {
When loading in the cdn script through useHead and using onMounted to wait for when the script is available makes it work. But then the script is loaded 2 times. Resulting in a lot of other undesired behaviour.
useHead({
  script: [
    {
      async: true,
      src: 'https://challenges.cloudflare.com/turnstile/v0/api.js?render=explicit',
    },
  ],
});

onMounted(() => {
  // wait until cloudflare turnstile  is available
  const interval = setInterval(() => {
    if (window.turnstile) {
      clearInterval(interval);
      state.turnstile_loaded = true;
    }
  }, 100);
});

<NuxtTurnstile
  v-if="state.turnstile_loaded"
  v-model="turnstile"
  data-theme="dark"
  class="turnstile mt-2 mb-2"
/>

Maybe you can add in your code to wait for window.turnstile?
🛠 To reproduce
.
🌈 Expected behaviour
That window.turnstile is available before use.
ℹ Additional context
No response

quite strange but i've been able to reproduce it on the playground sometimes. I have a website deployed with nuxt turnstile but no issues for now.

useHead() doesn't seems to run in the plugin because it couldn't retrieve the head object using injectHead()

....wait even more bizarre.... installing the devtools seems to be a workaround wat....

Reopening, see https://github.com/nuxt-modules/turnstile/pull/271#issuecomment-1694692448

I am also facing same issue, it is giving error on manual refresh but with router changes it is working fine

I have tried wth this and works until not getting solve this issue
<template v-if="isLoaded">                     <NuxtTurnstile v-model="token" />                   </template>
mounted() {     setTimeout(() => {       this.isLoaded=true;     }, 500);   },

Using it on my nuxt 3 project. Works fine on SSR but if I navigate to the page that contains turnstile from another page via SPA then it fails. my solution is using <a href instead of <nuxt-link to the page that containing turnstile. that way you will never experience this issue on such cases.

I'm facing the same issue, that the component is not loading when I completely reload the page (no SSR). But the solution from @ajaythakkar works so far as a workaround.
But I use it just on the Turnstile component which seems to be sufficient to get it working.
<NuxtTurnstile v-if="loadTurnstile" v-model="token" />
...
const loadTurnstile = ref(false);
onMounted(() => {
  setTimeout(() => {
    loadTurnstile.value = true;
  }, 500);
});

I've just faced the same issue and resolved it this way (less random than waiting 500ms):
const pageReady: Ref<boolean> = ref(false);

onNuxtReady(() => {
  pageReady.value = true;
});

@harlan-zw this sounds like a use case for @nuxt/scripts, no?
https://github.com/nuxt-modules/turnstile/blob/8cfdd9f4dca613a8744dc79e95fc824abb32cbf8/src/runtime/plugins/script.ts#L97
cc @danielroe

@harlan-zw this sounds like a use case for @nuxt/scripts, no?
https://github.com/nuxt-modules/turnstile/blob/8cfdd9f4dca613a8744dc79e95fc824abb32cbf8/src/runtime/plugins/script.ts#L97
cc @danielroe

See https://github.com/nuxt-modules/turnstile/pull/306

Ahh, that's where I saw that! :see_no_evil: confused it with another repo :smile: Great work :muscle:

The scripts integration was released just now. Would you please try out version 0.9.0 of this module by installing it, adding the @nuxt/scripts module to your project and seeing if this resolves the issue?
@artifex-pro @ajaythakkar @bayramorhan @chris-si @vfrz

I understand this as fixed, reopening possible of course!