Make sure to build avante (missing avante_templates) stack traceback

I get this error when trying to use avante.nvim on my mac. on my linux machine it works fine. My avante config is the exact same as the one provided in the readme
E5108: Error executing lua: ...hs/.local/share/nvim/lazy/avante.nvim/lua/avante/llm.lua:59: Make sure to build avante (missing avante_templates)
stack traceback:
[C]: in function 'error'
...s/.local/share/nvim/lazy/avante.nvim/lua/avante/path.lua:75: in function 'get'
...hs/.local/share/nvim/lazy/avante.nvim/lua/avante/llm.lua:59: in function 'stream'
...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:1260: in function 'handle_submit'
...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:1313: in function <...local/share/nvim/lazy/avante.nvim/lua/avante/sidebar.lua:1303>

if you're using build = ":AvanteBuild source=false" like I am, I had same issue. My cargo version was 1.72 after running rustup update cargo was updated to 1.80 and then AvanteBuild works and builds binary correctly.

This issue has been resolved, see details: https://github.com/yetone/avante.nvim/issues/474


module 6

Hey @tilacog reminder that I'll review this once I'm back from break the week of Jan 4th.


[SPARK-9126][MLLIB] do not assert on time taken by Thread.sleep()

Measure lower and upper bounds for task time and use them for validation. This PR also implements Stopwatch.toString. This suite should finish in less than 1 second.
@jkbradley @pwendell

Merged build triggered.

Merged build started.

Test build #37573 has started for   PR 7457 at commit 739f5bd.

The timing logic looks good to me.

Merged build triggered.

Merged build started.

Test build #37585 has started for   PR 7457 at commit 4b40faa.

LGTM but maybe wait for Patrick to be sure

LGTM

Test build #37585 has finished for   PR 7457 at commit 4b40faa.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class UnresolvedAttribute(nameParts: Seq[String]) extends Attribute
abstract class Star extends LeafExpression with NamedExpression
case class UnresolvedAlias(child: Expression) extends UnaryExpression with NamedExpression
case class SortOrder(child: Expression, direction: SortDirection) extends UnaryExpression
trait AggregateExpression extends Expression
trait PartialAggregate extends AggregateExpression
case class Min(child: Expression) extends UnaryExpression with PartialAggregate
case class Max(child: Expression) extends UnaryExpression with PartialAggregate
case class Count(child: Expression) extends UnaryExpression with PartialAggregate
case class Average(child: Expression) extends UnaryExpression with PartialAggregate
case class Sum(child: Expression) extends UnaryExpression with PartialAggregate
case class SumDistinct(child: Expression) extends UnaryExpression with PartialAggregate
case class First(child: Expression) extends UnaryExpression with PartialAggregate
case class Last(child: Expression) extends UnaryExpression with PartialAggregate
trait Generator extends Expression
case class Explode(child: Expression) extends UnaryExpression with Generator
trait NamedExpression extends Expression
abstract class Attribute extends LeafExpression with NamedExpression
case class PrettyAttribute(name: String) extends Attribute
abstract class LeafNode extends LogicalPlan
abstract class UnaryNode extends LogicalPlan

Merged build finished. Test PASSed.

Merged into master. Thanks for reviewing!

Test build #37573 has finished for   PR 7457 at commit 739f5bd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.


complexFilter and mutliple output

Hi,
https://github.com/fluent-ffmpeg/node-fluent-ffmpeg/blob/master/lib/options/custom.js#L193
This line is problematic when we want to add complex filters on each output.
Nico.

Hey,
ffmpeg does not support multiple complexfilters (at least it didn't when I wrote this implementation).
However you can use a single complexfilter graph for multiple outputs. You can have multiple paths (connected or not) in a graph. Just use the inputs/outputs settings.

Closing for now, please reopen if you still have problems/questions on this matter.

#754


Added Endpoints for Hub Status and Repository resync support.

Proposed changes
Summarize your changes here to communicate with the maintainers and make sure to put the link of that issue
This PR will :
- Add Repository sync support ( To be used if cloned repo doesn't exist locally due to some issue).
- Add Hub status endpoint for getting the status of all myhubs of user.
- Refactored the code for myhub.
Types of changes
What types of changes does your code introduce to Litmus? Put an x in the boxes that apply

[X] New feature (non-breaking change which adds functionality)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices applies)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[X] I have read the CONTRIBUTING doc
[X] I have signed the commit for DCO to be passed.
[X] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works (if appropriate)
[ ] I have added necessary documentation (if appropriate)

Dependency

Please add the links to the dependent PR need to be merged before this (if any).

Special notes for your reviewer:

@chandankumar4 PTAL.


Is This Repo Alive?

We are evaluating using this in our new project. Just wondering is it still under active development? And if so is it compatible with dotnet core 2.1?

That's awesome! We will hold off until then so. Thanks!


The Chat Has Stopped Working,

Describe the bug
When using chat the response from ai briefly flashes and then dissapears.
Environment

OS: windows
SystemSculpt AI Version: Latest (Please ensure you're using the latest version before submitting)

To Reproduce
I have plenty of tokens using Chatgpt - any model with or without a context file and putting in a request in the chat. When i click send it only flashes ai on the screen for a sec and then nothing.  I have tried different computers same result.

Interesting - does this happen every single time, or randomly?

I have a similar issue here - so If I paste a prompt into the chat.
you see the answer for a second and then it disapears.
after paste the same prompt into the chat it works.
I always have to paste the prompt two times into the chat.
Working on 0.6.8 and macOS 12.7


Configuring angular swiper to work with 3.2

I'm submitting a ...
support request
Provide information & explanation
I am trying to install angular swiper directive from here.. https://github.com/ksachdeva/angular-swiper . after installing it with bower, I am not sure how to add the custom css and js scripts for the directive in index.php at laravel side. how can i refer to the css and js in bower componenets ? also how to add it to modules or how to configure it.

please guide

Got code samples?
Make sure to use 3 backticks (and javascript or php after it to show your code) More info
Also make sure to click on the Preview button to double check your code formatting

Laravel & Angular version: 3.2.0

Actually i got it working by adding --save at the end of the command, bower install angular-swiper. ie bower install angular-swiper --save.
Thank you


[Improvement][Doc] Fix typos, tense, formatting, letter case, etc. errors in docs

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Currently our English doc quality is not so good:

We have tons of tense, formatting, punctuation, etc. errors and inconsistency of letter case usage in docs.
Some sentences are ambiguous, misleading or hard to understand.
We need to avoid passive voice in doc writing.
Markdown docs are badly formatted.

Since @zhongjiajie has already migrated all docs from website repo to main repo, and we have spotless to help with the markdown formatting #11384, it's high time that we refactored the docs.
Besides, we need a guideline for DS English docs writing, see: #11161
related: #6535
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

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

We have tons of tense, formatting, punctuation, etc. errors and inconsistency of letter case usage in docs.

I think we better find some way to auto-fix those issues,

Markdown docs are badly formatted

I am not sure how spotless auto-fix this, but I am sure there are some of the docs can not be auto fix, like we have HTML style IMG format, beside the auto-fix tool, maybe we also need a checker for our markdown doc and other CI which I already mention in #6535

We have tons of tense, formatting, punctuation, etc. errors and inconsistency of letter case usage in docs.

I think we better find some way to auto-fix those issues,

Markdown docs are badly formatted

I am not sure how spotless auto-fix this, but I am sure there are some of the docs can not be auto fix, like we have HTML style IMG format, beside the auto-fix tool, maybe we also need a checker for our markdown doc and other CI which I already mention in #6535

@zhongjiajie Thanks for the information, I will take a look at the doc checker you mentioned above : )

We

BTW, spotless fixes markdown using Flexmark

I like this feature, like the auto-fix behavior, but I think we should find out all bad case formats too. I think the second is even more important

I like this feature, like the auto-fix behavior, but I think we should find out all bad case formats too. I think the second is even more important

Agree, it would be better if those embedded stuff in markdown such as html code fragments could be fixed or at least get checked.

I like this feature, like the auto-fix behavior, but I think we should find out all bad case formats too. I think the second is even more important

@zhongjiajie Just for clarification, for tense, formatting, punctuation, etc. errors and inconsistency of letter case usage, I will fix them manually, there is no way for fix those stuff automatically. Only use spotless for markdown formatting.

I like this feature, like the auto-fix behavior, but I think we should find out all bad case formats too. I think the second is even more important

@zhongjiajie Just for clarification, for tense, formatting, punctuation, etc. errors and inconsistency of letter case usage, I will fix them manually, there is no way for fixing those stuff automatically. Only use spotless for markdown formatting.

Yeah, Of cause , but other things like a blank line, HTML syntax img, max cols in each line should be auto-fix if it can


Feathers Auk Chat Example with Authentication

Hi guys thanks for this wonderful project. I'm planning to work with MongoDB, FeathersJS and NuxtJS and I would like to get a solid foundation for my projects. Therefore I started to play with this example and I was wondering if you could add an updated version since FeathersJS Auk is out with major changes in authentication.
Could you please consider adding an example with the latest version of FeathersJS and maybe create the chat example with authentication included and vuex?, that would be super helpful.
Thanks a lot for your great work

We have a lot of work on nuxt.js core right now, so any contribution from the community to update the example is more than welcome :+1:

Sure, I'll let you know once I have it, till then I need to go through the docs and examples. Can't wait for Nuxt 1.0


Reference GeoJSON objects in memory

Updates docs and example notebooks to load geojson Feature Collections in-memory, in place of the local file references.  Closes #165.

Thanks @akacarlyann !


Add command self-update

What is the purpose of this change? What does it change?
It adds a command called self-update which downloads the latest released version of restic from GitHub and replacing the current binary with it. It does not rely on any external program (so it'll work everywhere), but still verifies the GPG signature using the embedded GPG public key.
I've long wanted to add such a thing, but worried about feature creep. So, today I took the opportunity and built something, and it turned out that it's rather easy to do. I hope that this command makes it much easier for users to upgrade restic, reducing a lot of the friction of the current (very manual) process. In addition, it provides users with a nice, clean built-in way that is a bit more secure than just using a shell script and curl: since the GPG key is included in the binary and used during verification, a potential Man-in-the-Middle is detected and the upgrade fails, assuming the initial restic binary has not been tampered with.
By default, the self-update command is hidden behind the selfupdate built tag, which is only set when restic is built using build.go. The reason for this is that downstream distributions will then not include the command by default, so users are encouraged to use the platform-specific distribution mechanism.
Sample run:
$ restic version
restic 0.9.1 compiled with go1.10.3 on linux/amd64

$ restic self-update
find latest release of restic at GitHub
latest version is 0.9.2
download file SHA256SUMS
download SHA256SUMS
download file SHA256SUMS
download SHA256SUMS.asc
GPG signature verification succeeded
download restic_0.9.2_linux_amd64.bz2
downloaded restic_0.9.2_linux_amd64.bz2
saved 12115904 bytes in ./restic
successfully updated restic to version 0.9.2

$ restic version
restic 0.9.2 compiled with go1.10.3 on linux/amd64

So, this PR is meant to gather some feedback on the new command. What do you think?
Was the change discussed in an issue or in the forum before?
https://github.com/restic/restic/issues/1930
Checklist

[x] I have read the Contribution Guidelines
[ ] I have added tests for all changes in this PR
[x] I have added documentation for the changes (in the manual)
[x] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[x] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

Codecov Report

Merging #1949 into master will increase coverage by 4.87%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1949      +/-   ##
==========================================
+ Coverage   45.77%   50.64%   +4.87%
==========================================
  Files         170      170
  Lines       13217    13217
==========================================
+ Hits         6050     6694     +644
+ Misses       6231     5514     -717
- Partials      936     1009      +73

Impacted Files
Coverage Δ

internal/archiver/file_saver.go
85.96% <0%> (-2.64%)
:arrow_down:

internal/backend/rclone/backend.go
64.32% <0%> (-1.76%)
:arrow_down:

internal/restic/node.go
40.31% <0%> (+1.29%)
:arrow_up:

internal/archiver/blob_saver.go
97.53% <0%> (+2.46%)
:arrow_up:

internal/checker/checker.go
68.4% <0%> (+3.86%)
:arrow_up:

cmd/restic/cmd_mount.go
57.14% <0%> (+44.15%)
:arrow_up:

internal/backend/swift/config.go
91.3% <0%> (+54.34%)
:arrow_up:

internal/backend/azure/azure.go
69.45% <0%> (+69.45%)
:arrow_up:

internal/backend/gs/gs.go
73.6% <0%> (+73.6%)
:arrow_up:

internal/backend/swift/swift.go
78.44% <0%> (+78.44%)
:arrow_up:

... and 1 more

Continue to review full report at Codecov.

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

Perhaps this is the wrong place to ask, but I would like it if there was a --dry-run switch on this, so that I can add a restic self-update to my daily cron, and have it stay silent if there are no updates, or send me an email if there are some so that I ran run the update when I next login.
Alternatively, just create a restic-announce mailing list that I can subscribe to to find out when there is a new version.

Interesting idea, thanks. While there is no mailing list, we have a blog at https://restic.net/blog, and GitHub provides an XML/Atom feed for releases here: https://github.com/restic/restic/releases.atom

It is a little funny that 'restic self-update' appear to update the restic binary in the current directory. I would have expected it to figure out which restic binary I am currently executing and update that one.  (You have to look at argv[0] and PATH to figure this out.)
And if this is the expected behavior then running 'restic self-update' in a directory without a restic binary should give an error or at least print a message that a new copy of restic is being written to the current directory rather than updating the restic the user just ran.

Looks like it took more than three years for someone wanting to disable?
See #4100.


kotlinter not able to add spaces to indentation

> Task :shared-http-client:formatKotlinMain
Format could not fix > src/main/java/Http.kt:56:1: Unexpected indentation (4) (it should be 8)

As you've noticed this is a side-effect of the underlying continuation indent support.
I'm assuming based on https://kotlinlang.org/docs/reference/coding-conventions.html you expected it to accept either normal indent (4) or the default continuation indent (8)?
I'll incorporate a new version of ktlint to get a fix when available. Thanks for bringing it to my attention!

I expected that it was actually able to automatically add whatever indentation that it couldn't fix.

@jeremymailen ktlint has pushed version 0.15.1
https://github.com/shyiko/ktlint/releases

ktlint#139 is not included in<EMAIL_ADDRESS>as it hasn't been properly tested. Once we're absolutely sure everything works the way it's supposed to and there are no regressions it will be released, hopefully as part of upcoming 0.16.0.
stability-first

Thank you @DHuckaby! I'll keep an eye out. Yes, as @shyiko points out the fix for this issue hasn't made it into a release yet, but I'll incorporate it when it's available.

It's in!


bug: Badges and Circular progress value not visible in about section

Expected Behavior
Badges and Circular progress value should visible in about section as it is in example/demo site
https://hugo-toha.github.io/#about
Current Behavior
Badges and Circular progress value not visible in about section
Screenshots

I can see them.

In the local setup that was downloaded from the source branch, it is not visible for all browsers.  As it is showing on the site below:
https://hugo-toha.github.io/#about
The screenshot is of the local setup.

@sushil11th I was experiencing the same issue and had to update my local copy of the theme, looks like I go a copy in the middle of a bunch of changes.


feat: formats ambrosia upgrades into tree

The picture of a thousand words:

This is the first layout that came to mind for making an ambrosia tree.  Granted, I may be assuming a pattern, but it's a relatively low-effort proof of concept that still provides some notable improvement.
It plays quite nicely with #524 as well:

No worries if you have another plan in mind or want to use the styling but with tweaks, choose a different layout, or whatever else.  I just figured offering a clear demo of the idea might help.

thank you!


Add CIFS/SMB based file sharing for windows

Needs https://github.com/code-ready/machine/pull/66
Solution/Idea
the default CIFS/SMB feature provided from windows
can be used to share directories over the  network
we can use it to share files between host and  crc
vm
Adds the following config options:

enable-shared-dirs (was present on macOS and linux now added to windows)
smb-share-password

Testing

use the msi from this PR to install crc
run crc config set enable-shared-dirs true and follow the instructions from the validation msg (it should ask to configure smb-share-password first)
run crc config set preset podman and crc setup
crc start with podman preset and bundle from https://github.com/code-ready/snc/pull/565 should succeed (download from openshift CI artifacts)
container with a volume mount should work, e.g: podman run -v /mnt/home/crc/conf:/etc/http/conf httpd

still need to test on a clean vm if the msi is able to set everything up, and also verify the assumption that Private network profile has "File and Printer Sharing" enabled by default on window 10

@gbraad PTAL

Just based on some of the comments from Christophe I say there is still some open issues; code re-use, IP address for use, etc.

Unable to build:
$ make cross
GOARCH=arm64 GOOS=darwin go build -tags "containers_image_openpgp" -ldflags="-X github.com/code-ready/crc/pkg/crc/version.crcVersion=2.8.0 -X github.com/code-ready/crc/pkg/crc/version.oc
pVersion=4.11.1 -X github.com/code-ready/crc/pkg/crc/version.okdVersion=4.11.0-0.okd-2022-08-20-022919 -X github.com/code-ready/crc/pkg/crc/version.podmanVersion=4.1.1 -X github.com/code-ready/crc/pkg/crc/version.commitSha=758f4f3bb " -o out/macos-arm64/crc  ./cmd/crc                                                                                package github.com/code-ready/crc/cmd/crc
        imports github.com/code-ready/crc/cmd/crc/cmd
        imports github.com/containers/gvisor-tap-vsock/pkg/virtualnetwork
        imports github.com/containers/gvisor-tap-vsock/pkg/services/dhcp
        imports github.com/containers/gvisor-tap-vsock/pkg/tap
        imports gvisor.dev/gvisor/pkg/tcpip
        imports gvisor.dev/gvisor/pkg/atomicbitops
        imports gvisor.dev/gvisor/pkg/state
        imports gvisor.dev/gvisor/pkg/state/wire
        imports gvisor.dev/gvisor/pkg/gohacks: build constraints exclude all Go files in /workspaces/crc/vendor/gvisor.dev/gvisor/pkg/gohacks
make: *** [Makefile:94: out/macos-arm64/crc] Error 1

on go version go1.19.1 linux/amd64 on Ubuntu it seems. Reverting to go version go1.18.3 linux/amd64 on Fedora

yes, i think 1.18 will also have issues, we are still on go 1.17 because of https://github.com/code-ready/crc/pull/3343#issuecomment-1245099348

RHEL-8 still have 1.17.12 version of golang in official repo and also as part of go toolset images https://catalog.redhat.com/software/containers/ubi8/go-toolset/5ce8713aac3db925c03774d1 . Internally brew build might fails with those changes.

temp: replace code-ready/machine with anjannath/machine

why?

temp: replace code-ready/machine with anjannath/machine

why?

we need to modify the SharedDir struct, the PR: https://github.com/code-ready/machine/pull/66 on machine repo needs to be merged and then we can remove this commit

use the msi from this PR to install crc

can you describe steps needed to test this without the MSI too? This is also suggested for: https://github.com/code-ready/crc/pull/3308#discussion_r980743590

@cfergeau @gbraad All the review comments are addressed and changes have been made PTALA, thanks!!

PR rebased on top of #3333

/retest

Approved for podman bundle Unable to test for the OpenShift bundle

tested with the new 4.11.7 openshift bundle and working as expected


Which options for observations.type?

The observation table needs to suscintcly summarize all possible observation type we might want to record from what is happing in the field.
We are using a combinaison of observation_type,  device_status and
condition to help us capture all possible situations.
❓ Are the options provided cover all possible cases?
Movebank does not have a great support to describe these "observervation" beside the deployment_end_type and deployment_end_comments.

analysis-end = the end time represents the end of the period of interest;
captured = The tag remained on the animal but the animal was captured or confined;
dead = The deployment ended with the death of the animal that was carrying the tag;
dead/fall-off = The tag stopped moving, and it is not possible to determine whether it is due to death of the animal or unscheduled tag detachment;
equipment-failure = The tag stopped working;
fall-off = The attachment of the tag to the animal failed, and it fell of accidentally;
other = other;
released = The tag remained on the animal but the animal was released from captivity or confinement;
removal = The tag was purposefully removed from the animal;
scheduled-detachment = The tag was programmed to detach from the animal;
transmission-end = The tag stopped transmitting usable data;
unknown = The cause of the end of data availability or transmission is unknown.

How to deal with the follow strange case

[ ] tag never equipped on a bird:
[ ]

Follow-up question, do we make latitude/longitude required?

Follow-up question, do we make latitude/longitude required?

Yes


add a method to extract information from a datasource

There are a number of pieces of information, e,g,

variable names

check variables names and units with CF convention (cold be used to choose from a pre-defined color map: e,g.: temperature/ celsius)
data range for each variable (could be used to build custom color maps)

geographic extent and CRS

That can be extracted from a data source and used when filling a mapfile template, and/or when building a GetMap request.
Will be good to have a generic method for this purpose that can extract that information directly from a data source URL.

This does not apply anymore.


[BUG] Release 2.5.0 breaks Azure Devops pipy install

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
With the new release, the package descritption exceeeds the maximum bytes lengths of azure devops, this is also happens
because of HTTP error 400 Client Error: Bad Request - The package description exceeds the maximum length of 324608 bytes. for url: https://pkgs.dev.azure.com//f9f2f3f2-8e28-4d73-9aaf-6554466d25f7/_packaging/6b3096f7-815b-4372-91c6-aca167f50fd9/pypi/download/pydantic/2.5/pydantic-2.5.0-py3-none-any.whl
This happened with other libraries before (e.g: azure-cli) - adressed on this PR https://github.com/Azure/azure-cli/pull/18485
Example Code
`pip install pydantic` on any azure devops environmnet (artifactory / azure databricks )

Python, Pydantic & OS Version
pydantic 2.5, python 3.10.

Already fixed by #8097


bad error message when building MCMC with sampler on deterministic node

Technically, this error message is correct, but perhaps we can improve things!
code = nimbleCode({
y~dnorm(0,1)
z <- 2*y
})

m = nimbleModel(code)

conf = configureMCMC(m)
conf$addSampler('z')
mcmc = buildMCMC(conf)
Error in if (model$isDiscrete(target)) stop("cannot use RW sampler on discrete-valued target; try slice sampler") :
  missing value where TRUE/FALSE needed

Like I was saying, good defensive programming  =)
It's kind of amusing how misleading the error message is.

@fritzo Exactly what assertion / error catching command should I be using, instead of our standard if(condition) stop('....')?

Updates are on devel.

Post-hoc: That didn't look like a correct error message.  It looked like an error trap whose condition itself failed.

Right -- good point.  Got carried away by the correspondence with the fact
that a deterministic node can be thought of as discrete...
On Mon, May 1, 2017 at 9:31 AM, perrydv<EMAIL_ADDRESS>wrote:

Post-hoc: That didn't look like a correct error message. It looked like an
error trap whose condition itself failed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/nimble-dev/nimble/issues/313#issuecomment-298333845,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACYr3mfWtWkQ5zrJM-hTEGwv0sy3wlqcks5r1d7EgaJpZM4NMS0o
.

In any case, should be sorted out now.
On Mon, May 1, 2017 at 10:07 AM, Christopher Paciorek <
<EMAIL_ADDRESS>wrote:

Right -- good point. Got carried away by the correspondence with the fact
that a deterministic node can be thought of as discrete...
On Mon, May 1, 2017 at 9:31 AM, perrydv<EMAIL_ADDRESS>wrote:

Post-hoc: That didn't look like a correct error message. It looked like
an
error trap whose condition itself failed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/nimble-dev/nimble/issues/313#issuecomment-298333845
,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ACYr3mfWtWkQ5zrJM-
hTEGwv0sy3wlqcks5r1d7EgaJpZM4NMS0o>
.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/nimble-dev/nimble/issues/313#issuecomment-298339306,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AETW4RyJ2UWJySBOtxtLuanka5VxjaVuks5r1ec8gaJpZM4NMS0o
.

@danielturek Regarding assertthat, Perry suggested we hold off until we can verify the package does not add too much overhead. If we do decide to use assertthat, assert_that() may be more appropriate for terse internal error catching than for verbose user-facing error reporting.
But to answer you question, we can use predicates like assert_that(is.___(___)) or define our own error printing using custom predicates and registering them via on_failure(). https://www.r-project.org/nosvn/pandoc/assertthat.html


Mention other open source projects

As you are using wekan and RocketChat, I'd find it nice if you mention these projects on your website, especially on the open source page.
(maybe it is, but after 5min, didn't manage to find it)

Thank you for the feedback.
Our enterprise solution (mongrov.com) uses other open source packages as well (we will add all the packages that we use).
We have opened up this first package on client that uses Rocket.Chat and if you see in this project, we have made it very clear that its tied to Rocket.Chat.

Yes, true, it is part of the description :) Good luck for your business!


chore: bump superset-ui 0.18.24

SUMMARY
Bumps superset-ui 0.18.24

https://github.com/apache-superset/superset-ui/pull/1413
https://github.com/apache-superset/superset-ui/pull/1459
https://github.com/apache-superset/superset-ui/pull/1457
https://github.com/apache-superset/superset-ui/pull/1456
https://github.com/apache-superset/superset-ui/pull/1450
https://github.com/apache-superset/superset-ui/pull/1342
https://github.com/apache-superset/superset-ui/pull/1462
https://github.com/apache-superset/superset-ui/pull/1463
https://github.com/apache-superset/superset-ui/pull/1464
https://github.com/apache-superset/superset-ui/pull/1465
https://github.com/apache-superset/superset-ui/pull/1466
https://github.com/apache-superset/superset-ui/pull/1467

Since https://github.com/apache-superset/superset-ui/pull/1342 requires multiple changes in the superset-frontendcodebase that are implemented in #17379, I suggest closing this one and merging that PR, as it also bumpssuperset-ui` to 0.18.24.


[skip-ci] dev whats-new

[ ] Closes #xxxx
[ ] Tests added
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

Thanks! Sorry, I forgot


Switched broken pypip.in badges to shields.io

Hello, this is an auto-generated Pull Request. (Feedback?)
Some time ago, pypip.in shut down. This broke the badges for a bunch of repositories, including pic2map. Thankfully, an equivalent service is run by shields.io. This pull request changes the badge to use shields.io instead.

Coverage remained the same at 98.174% when pulling 3d18c171dc74b0d5c8cae714272f001e6b039aca on movermeyer:fix_badges into 226f0caa10655d26b832e45243693fa1dd9986c8 on jcollado:master.


[Bug] TS0601 cover

Please use the template and fill in all the data requested below!
Describe the bug
HB is sending the MQTT topic without "/set".

Related devices
Tuya Zigbee Curtain Motor (https://aliexpress.ru/item/4000739390813.html?aff_fcid=8f7004c95a95472d9aef2d1fa3142551-1645286877793-00860-_ASdhwf&aff_fsk=_ASdhwf&aff_platform=default&aff_trace_key=8f7004c95a95472d9aef2d1fa3142551-1645286877793-00860-_ASdhwf&bizType=ProductDetail&businessType=ProductDetail&platform=AE&shareId=40162348846&sk=_ASdhwf&sku_id=12000027106634417&social_params=40162348846&spreadType=socialShare&srcSns=sns_More&terminal_id=940c926ba186444bb786d1e09627863d&tt=MG)
To Reproduce
Steps to reproduce the behavior, for example:

Connect device to zigbee2mqtt.
Try to open/close (run/stop) motor in zigbee2mqtt UI, it works.
Install z2m plugin in homebridge
Device adds in homebridge.
Try to open/close (run/stop) motor, nothing happens.
Device id = 0x2c1165fffe4f03b3. Device friendly name = Bedroom Curtain Motor.

Expected behavior
Expected that motor will run, but nothing happens.
MQTT messages
If possible (and applicable), please provide the following:
HB sends two topics at the moment of pushing button in HB/Homekit

zigbee2mqtt/Bedroom Curtain Motor
{"linkquality":168,"position":100,"running":true,"state":"OPEN"}
zigbee2mqtt/0x2c1165fffe4f03b3/set
{"position":100}

There is an issue that 1st topic is without "/set". Despite I provided the friendly name, the second topic uses the device id instead of friendly name.
I tried to send message with "/set" using the MQTT.fx and it worked.
e.g. zigbee2mqtt/Bedroom Curtain Motor/set {"linkquality":168,"position":100,"running":true,"state":"OPEN"}
HB publish log:
[19/02/2022, 16:24:34] [zigbee2mqtt] Publish to 'zigbee2mqtt/0x2c1165fffe4f03b3/set': '{"position":100}'
Versions used
Please provide the version of the following pieces of software:

This plugin - v1.6.2
Homebridge - v1.3.9
Zigbee2MQTT - v1.23.0
Homebridge Config UI X - v4.41.5

Looks like the "zigbee2mqtt/Bedroom Curtain Motor {"linkquality":168,"position":100,"running":true,"state":"OPEN"}" should be with "/set" and "zigbee2mqtt/0x2c1165fffe4f03b3/set {"position":100}" should be w/o "/set", just getting the current position of curtains...but that's just my guess.

Topics with 0x2c1165fffe4f03b3 are not working, it works only with friendly name

Sorry, but I don't think what you are saying can be true.
There is no code in the plugin that will publish to the device topic.
This is most likely Zigbee2MQTT itself, sending a status update.
The plugin always publishes to /set or /get (as you've probably also seen in the logs from Homebridge).
Can you manually send the message from the logs, the one with just the position being set, to the /set topic also mentioned there?
If manually sending different positions also doesn't get the cover to work, then it might be an issue with the implementation in Zigbee2MQTT itself.

Nothing additional was done in Zigbee2MQTT, moreover I have deleted device from Zigbee2MQTT and added it again before raising the issue. The device
Done some tests:

Sending "position" with set with IEEE.
zigbee2mqtt/0x2c1165fffe4f03b3/set {"position":25}

Failed. Nothing happens.

Sending "position" with set with friendly name.
zigbee2mqtt/Bedroom Curtain Motor/set {"position":25}

Failed. Nothing happens.

Sending "state" with set with IEEE.
zigbee2mqtt/0x2c1165fffe4f03b3/set {"state":"OPEN"}

Passed. Working.

Sending "state" with set with friendly name.
zigbee2mqtt/Bedroom Curtain Motor/set {"state":"OPEN"}

Passed. Working.

Open questions.

What is the parameter to run the motor? Position or state? Currently is seems that state control the motor. At least in Zigbee2MQTT I can control the motor by changing the state.

The plugin uses position to control the position.

Can you provide the device entry from the zigbee2mqtt/bridge/devices MQTT topic?
(note: this is different from zigbee2mqtt/bridge/config/devices)
That should contain the device model and "exposes" information.

Hope that is you requested. Tried to divide this device from others. Btw, attached all config for all devices.
zigbee2mqtt-bridge-devices.txt
{"date_code":"","definition":{"description":"Curtain motor/roller blind motor/window pusher/tubular motor","exposes":[{"features":[{"access":3,"name":"state","property":"state","type":"enum","values":["OPEN","CLOSE","STOP"]},{"access":3,"description":"Position of this cover","name":"position","property":"position","type":"numeric","value_max":100,"value_min":0}],"type":"cover"},{"features":[{"access":3,"description":"Motor speed","name":"motor_speed","property":"motor_speed","type":"numeric","value_max":255,"value_min":0}],"name":"options","property":"options","type":"composite"},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"TS0601_cover","options":[{"access":2,"description":"Inverts the cover position, false: open=100,close=0, true: open=0,close=100 (default false).","name":"invert_cover","property":"invert_cover","type":"binary","value_off":false,"value_on":true}],"supports_ota":false,"vendor":"TuYa"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genTime","genGroups","genScenes","manuSpecificTuya"],"output":["genOta"]},"configured_reportings":[],"scenes":[]}},"friendly_name":"Bedroom Curtain Motor","ieee_address":"0x2c1165fffe4f03b3","interview_completed":true,"interviewing":false,"manufacturer":"_TZE200_nogaemzt","model_id":"TS0601","network_address":31420,"power_source":"Mains (single phase)","supported":true,"type":"Router"},{"definition":{"description":"MiJia wireless switch","exposes":[{"access":1,"description":"Remaining battery in %","name":"battery","property":"battery","type":"numeric","unit":"%","value_max":100,"value_min":0},{"access":1,"description":"Triggered action (e.g. a button click)","name":"action","property":"action","type":"enum","values":["single","double","triple","quadruple","hold","release","many"]},{"access":1,"description":"Voltage of the battery in millivolts","name":"voltage","property":"voltage","type":"numeric","unit":"mV"},{"access":1,"description":"Link quality (signal strength)","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"WXKG01LM","options":[{"description":"The WXKG01LM only reports a button press and release.By default, a hold action is published when there is at least 1000 ms between both events. It could be that due to delays in the network the release message is received late. This causes a single click to be identified as a hold action. If you are experiencing this you can try experimenting with this option (e.g. set it to 2000) (value is in ms).","name":"hold_timeout","property":"hold_timeout","type":"numeric","value_min":0},{"description":"Sometimes it happens that the button does not send a release. To avoid problems a release is automatically send after a timeout. The default timeout is 4000 ms, you can increase it with this option (value is in ms).","name":"hold_timeout_expire","property":"hold_timeout_expire","type":"numeric","value_min":0},{"access":2,"description":"Set to false to disable the legacy integration (highly recommended), will change structure of the published payload (default true).","name":"legacy","property":"legacy","type":"binary","value_off":false,"value_on":true}]

Speaking about the position I also could not control the motor by changing the cursor/value in zigbee2mqtt.

Did you already set the start and end limits of the device?
I remember I also had a Tuya based cover motor in the past, for which I first had to configure the limits on the device, before the position worked correctly.

According to the exposes information you have provided, it should be able to set the position according to Zigbee2MQTT (access: 3 means that the value can be set and will be published by the device, but can not be get):
       {
            "access":3,
            "description":"Position of this cover",
            "name":"position",
            "property":"position",
            "type":"numeric",
            "value_max":100,
            "value_min":0
          }

also had a Tuya based cover motor in the past, for which I first had to configure the limit

not yet, since the rail is on the way. Any idea how it should be done? Should I change the config after installing the rail and motor?
Anyway, I suppose it should works by changing the "position", but it does not.

For the motor I had, I had to use buttons on the motor it self.


[Question]Custom environment doesn't work?

$ saucectl --version
saucectl version 0.10.0
(build 6bb58873784a982d8d8573ee168e7d2c4553a9e4)

I have a custom test env setup (setup.jest.env.js) in my jest.config.js
module.exports = {
  testTimeout: 60000,
  preset: "jest-playwright-preset",
  testPathIgnorePatterns: ["/node_modules/"],
  testMatch: ["**/tests/spec/*.test.js"],
  testEnvironment: "./setup.jest.env.js",
};

//contents of setup.jest.env.js
const PlaywrightEnvironment = require('jest-playwright-preset/lib/PlaywrightEnvironment')
  .default

class CustomEnvironment extends PlaywrightEnvironment {
  async setup() {
    await super.setup()
    console.log("setup started") //this doesn't print while saucectl run, works fine on local jest command

  }

  async teardown() {
    // Your teardown
    await super.teardown()
  }

  async handleTestEvent(event) {
    if (event.name === 'test_done' && event.test.errors.length > 0) {
      const parentName = event.test.parent.name.replace(/\W/g, '-')
      const specName = event.test.name.replace(/\W/g, '-')

      await this.global.page.screenshot({
        path: `screenshots/${parentName}_${specName}.png`,
      })
    }
  }
}

module.exports = CustomEnvironment

Does saucectl support custom evironments?

That's correct. We have our own jest.config.js which we use for the setup. So your custom configuration is not picked up.
Are there any particular features that you need, which forces you to add your own environment extension?

@alexplischke yes, I have a setup to be done before the test suite starts, I can't put it in beforeEach/All because the setup would be common among all the tests, is there a way that I could do it in some other place?


python39Packages.striprtf: 0.0.21 -> 0.0.22

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python39Packages.striprtf is: "A simple library to convert rtf to text"
meta.homepage for python39Packages.striprtf is: "https://github.com/joshy/striprtf"
meta.changelog for python39Packages.striprtf is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 0.0.22 with grep in /nix/store/manpqr5s982gvj4xbaa47615kwyps6if-python3.9-striprtf-0.0.22
found 0.0.22 in filename of file in /nix/store/manpqr5s982gvj4xbaa47615kwyps6if-python3.9-striprtf-0.0.22

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.striprtf
python39Packages.striprtf

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/manpqr5s982gvj4xbaa47615kwyps6if-python3.9-striprtf-0.0.22 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python39Packages.striprtf https://github.com/r-ryantm/nixpkgs/archive/cac775290093081049d349b9b449cae7c6f82d23.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/manpqr5s982gvj4xbaa47615kwyps6if-python3.9-striprtf-0.0.22
ls -la /nix/store/manpqr5s982gvj4xbaa47615kwyps6if-python3.9-striprtf-0.0.22/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python310Packages.striprtf
python39Packages.striprtf

Maintainer pings
cc @aanderse for testing.

Result of nixpkgs-review pr 207529 run on x86_64-linux 1

2 packages built:

python310Packages.striprtf
python39Packages.striprtf


Support serializing open generic parameters in partially closed type

Supporting serializing partially open generics in types like MyType<int,>

There is no longer a Type converter, and as such this issue no longer applies.


Text not visible

Bug Report
Describe the bug
The "Help us spread the word!" text above share buttons section (twitter, linked in etc) is white, the same color as the background, which makes the text not visible. Same thing with the ad above "Are you interested in online Ruby Meetups?" box.
However, on my phone the text shows properly since I use chrome's dark mode and it changes the background color to dark blue.
Expected behavior
The text should not be the same color as the background.
Steps To Reproduce
Disable dark mode if you have it on, go to https://rubymeetup.online/ and scroll down to the share buttons.
Screenshots

With selected text:

Desktop

OS: Ubuntu 18.04
Browser: Chrome Version 80.0.3987.132 (Official Build) (64-bit)

Ah good catch - I'll get that fixed in the morning.

Fixed - thanks @seb1441


Trilu op negative k support

Currently we have a basic implementation of Trilu. We need to support negative k values.

#2212 resolves


fix: shorten lines with 101 characters

Found by the long line syntax linter at #15097.

Thanks 🎉
If CI passes, please remove the label awaiting-CI and merge this yourself, by adding a comment bors r+.
bors d+

bors r+


fix "REPO_FILE" checks always running, also with "dry run" enabled

relates to https://github.com/docker/docker-install/pull/69

These checks were originally added in 3217c543b4c0d54944ec4fb1133510aa8ea06eb7 (https://github.com/docker/docker-install/pull/69),
which added a REPO_FILE variable. While it's with good intent to do a check
if the URL is valid, there are some issues with these checks;
The checks depend on curl, but are executed before pre_reqs are installed,
so will produce an error if curl is not found;
./install.sh
# Executing docker install script, commit:
./install.sh: line 469: curl: command not found
Error: Unable to curl repository file https://download.docker.com/linux/fedora/docker-ce.repo, is it valid?

The checks are currently always performed, also if DRY_RUN=1 is enabled;
DRY_RUN=1 REPO_FILE=no-such.repo ./install.sh
# Executing docker install script, commit:
Error: Unable to curl repository file https://download.docker.com/linux/fedora/no-such.repo, is it valid?

This patch removes the checks to address the above, and to simplify the script.
Running the script will still fail if an invalid URL is used for the .repo file,
which fails the script after the pre_reqs are installed;
With this patch:
When running the script with DRY_RUN=1:
DRY_RUN=1 ./install.sh
# Executing docker install script, commit:
dnf install -y -q dnf-plugins-core
dnf config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
dnf makecache
dnf install -y -q docker-ce docker-ce-cli containerd.io docker-scan-plugin docker-compose-plugin docker-ce-rootless-extras

When running the script with DRY_RUN=1 and an invalid repo, the script
completes successfully, but will show the commands it will run, including
the invalid URL:
DRY_RUN=1 REPO_FILE=no-such.repo ./install.sh
# Executing docker install script, commit:
dnf install -y -q dnf-plugins-core
dnf config-manager --add-repo https://download.docker.com/linux/fedora/no-such.repo
dnf makecache
dnf install -y -q docker-ce docker-ce-cli containerd.io docker-scan-plugin docker-compose-plugin docker-ce-rootless-extras

When running the script with an invalid repo URL, it will fail early (after
installing pre_reqs:
REPO_FILE=no-such.repo ./install.sh

# Executing docker install script, commit:
+ sh -c 'dnf install -y -q dnf-plugins-core'
...

+ sh -c 'dnf config-manager --add-repo https://download.docker.com/linux/fedora/no-such.repo'
  Adding repo from: https://download.docker.com/linux/fedora/no-such.repo
  Status code: 404 for https://download.docker.com/linux/fedora/no-such.repo (IP: <IP_ADDRESS>)
  Error: Configuration of repo failed

thx! let me bring this one in 👍


Fix GetUplinkRepresentor - Detecting incorrect Uplink Representor

GetUplinkRepresentor return wrong uplink representor name when it's not preceding the Vfs representors alphabetical.
Fixes #32

@adrianchiris

Pull Request Test Coverage Report for Build 79

4 of 18 (22.22%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.5%) to 6.139%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sriovnet_switchdev.go
4
18
22.22%

Totals

Change from base Build 78:
0.5%

Covered Lines:
38

Relevant Lines:
619

💛  - Coveralls

can you extend unit tests with additional to cover the new flow for vf/pf representor for both good and bad flow cases ?

@Mmduh-483 Can you add more info in the commit message ?
Today this code works but recent kernel change will break current code logic
so lets explain this properly in the commit message including a link to the kernel change, some explanation about how the kernel change affects userspace and this code and the way you propose to support it


Should move #full_name and similar method in model to decorator

I see a lot method like #full_name in shoppe model. It'll be better to move to a shoppe_decorator.rb.
Checkout this gem https://github.com/drapergem/draper

I don't think Draper would help that much but I'm open to seeing why it would be good


How does one use this?

How exactly am I supposed to use this? Thanx
-latenightz

This isn’t even close to complete. I literally just started on this project this morning with my friend. When finished, we will add a part to the README file about how to use it.

Cool, I'd love to contribute once it gets working!


Slight oversight

[Enter feedback here]
That is great helpful explanation... a little difficult to follow if you are not familiar with all these concepts.
one missing thing was to mention that we need to have AZURE_RG  in the secrets, which was not explicitly mentioned.
The other thing is that assigning a role did not work for me , it did not like the scope, I do not know if it is a versioning problem or something. I had to do it through the portal manually but it worked eventually.

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

ID: 697f2ea2-3710-1e09-2f3d-51394d780158
Version Independent ID: 382e3393-910c-7359-ccd3-fe5f26884288
Content: Deploy Bicep files by using GitHub Actions - Azure Resource Manager
Content Source: articles/azure-resource-manager/bicep/deploy-github-actions.md
Service: azure-resource-manager
Sub-service: bicep
GitHub Login: @mumian
Microsoft Alias: jgao

@assilabdulrahim
Thanks for your feedback! We will investigate and update as appropriate.

@assilabdulrahim - Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can review and update accordingly.

@assilabdulrahim - AZURE_RG is created during step 4 in the "Configure the GitHub secrets" section. I'm uncertain about the issue with the role creation. I recommend executing "Az upgrade" and "Az Login" before running the command. I'll update the article for clarity. Feel free to reach out if you have any further questions.
#please-close


[Error  : Unity Log] IndexOutOfRangeException: Index was outside the bounds of the array.

[14:19:13.6661391] [Info   :Poltergeist] Interacting locally with RadarBoosterDevice(Clone)
[14:19:13.6671526] [Error  : Unity Log] IndexOutOfRangeException: Index was outside the bounds of the array.
Stack trace:
RadarBoosterItem.AddBoosterToRadar () (at :IL_0062)
(wrapper dynamic-method) RadarBoosterItem.DMDRadarBoosterItem::EnableRadarBooster(RadarBoosterItem,bool)
RadarBoosterItem.ItemActivate (System.Boolean used, System.Boolean buttonDown) (at :IL_0008)
Poltergeist.GhostInteractibles.Specific.PropInteractible.InteractLocallyOnly () (at <337da731f924455da7b16da70c81aab1>:IL_001F)
Poltergeist.GhostInteractibles.Specific.PropInteractible.InteractClientRpc (System.Int32 playerID, System.Boolean isBeingUsed) (at <337da731f924455da7b16da70c81aab1>:IL_0115)
Poltergeist.GhostInteractibles.Specific.PropInteractible.__rpc_handler_2503838551 (Unity.Netcode.NetworkBehaviour target, Unity.Netcode.FastBufferReader reader, Unity.Netcode.__RpcParams rpcParams) (at <337da731f924455da7b16da70c81aab1>:IL_0056)
Unity.Netcode.RpcMessageHelpers.Handle (Unity.Netcode.NetworkContext& context, Unity.Netcode.RpcMetadata& metadata, Unity.Netcode.FastBufferReader& payload, Unity.Netcode.__RpcParams& rpcParams) (at <895801699cfc4b4ab52267f31e2a4998>:IL_004E)
Rethrow as Exception: Unhandled RPC exception!
UnityEngine.Debug:LogException(Exception)
Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, __RpcParams&)
Unity.Netcode.ClientRpcMessage:Handle(NetworkContext&)
Unity.Netcode.NetworkBehaviour:__endSendClientRpc(FastBufferWriter&, UInt32, ClientRpcParams, RpcDelivery)
Poltergeist.GhostInteractibles.Specific.PropInteractible:InteractClientRpc(Int32, Boolean)
Poltergeist.GhostInteractibles.Specific.PropInteractible:InteractServerRpc(Int32, Boolean)
Poltergeist.GhostInteractibles.Specific.PropInteractible:__rpc_handler_1197697737(NetworkBehaviour, FastBufferReader, __RpcParams)
Unity.Netcode.RpcMessageHelpers:Handle(NetworkContext&, RpcMetadata&, FastBufferReader&, __RpcParams&)
Unity.Netcode.ServerRpcMessage:Handle(NetworkContext&)
Unity.Netcode.NetworkMessageManager:ReceiveMessage(FastBufferReader, NetworkContext&, NetworkMessageManager)
Unity.Netcode.NetworkMessageManager:HandleMessage(NetworkMessageHeader&, FastBufferReader, UInt64, Single, Int32)
Unity.Netcode.NetworkMessageManager:ProcessIncomingMessageQueue()
Unity.Netcode.NetworkManager:NetworkUpdate(NetworkUpdateStage)
Unity.Netcode.NetworkUpdateLoop:RunNetworkUpdateStage(NetworkUpdateStage)
Unity.Netcode.<>c:b__0_0()

@coderCleric i just trigger this randomly, not in my modpack so u might need to discover this issue by ur own

Hm, okay, that's a weird one. I'll check it out when I start working on the mod more again.

[Info   : Unity Log] startofround: 0; 0
[Warning: Unity Log] Setting linear velocity of a kinematic body is not supported.
[Info   : Unity Log] Running kill player function for LOCAL client, player object: Player
[Info   : Unity Log] A player died. player object: Player
[Warning: Unity Log] Parent of RectTransform is being set with parent property. Consider using the SetParent method instead, with the worldPositionStays argument set to false. This will retain local orientation and scale rather than world orientation and scale, which can prevent common UI scaling issues.
[Error  : Unity Log] IndexOutOfRangeException: Index was outside the bounds of the array.
Stack trace:
Poltergeist.PoltergeistCustomInputs.GetKeyString (UnityEngine.InputSystem.InputAction action) (at <337da731f924455da7b16da70c81aab1>:0)
Poltergeist.SpectatorCamController.UpdateControlText () (at <337da731f924455da7b16da70c81aab1>:0)
Poltergeist.SpectatorCamController.EnableCam () (at <337da731f924455da7b16da70c81aab1>:0)
Poltergeist.Patches.ManageCameraController (StartOfRound __instance, UnityEngine.Camera newCamera) (at <337da731f924455da7b16da70c81aab1>:0)
(wrapper dynamic-method) StartOfRound.DMDStartOfRound::SwitchCamera(StartOfRound,UnityEngine.Camera)
GameNetcodeStuff.PlayerControllerB.KillPlayer (UnityEngine.Vector3 bodyVelocity, System.Boolean spawnBody, CauseOfDeath causeOfDeath, System.Int32 deathAnimation, UnityEngine.Vector3 positionOffset) (at :0)
GameNetcodeStuff.PlayerControllerB.DamagePlayer (System.Int32 damageNumber, System.Boolean hasDamageSFX, System.Boolean callRPC, CauseOfDeath causeOfDeath, System.Int32 deathAnimation, System.Boolean fallDamage, UnityEngine.Vector3 force) (at :0)
GameNetcodeStuff.PlayerControllerB.PlayerHitGroundEffects () (at :0)
GameNetcodeStuff.PlayerControllerB+d__417.MoveNext () (at :0)
UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) (at :0)
[Info   : Unity Log] !!!! DISABLING CAMERA FOR PLAYER: Player
[Info   : Unity Log] !!!! connectedPlayersAmount: 0
[Info   : Unity Log] Adding boxes
[Info   : Unity Log] Slot K
[Info   : Unity Log] Slot L
(I should mention the above pasted code was taken by jumping off the ship upon arrival to Experimentation with only these mods used:
FixPluginTypesSerialization v1.1.1 by Evaisa
BepInExPack v5.4.2100 by BepInEx
CSync v5.0.1 by Sigurd
LethalCompany_InputUtils v0.7.7 by Rune580
Poltergeist v1.1.1 by coderCleric)
Description: I've run into a similar issue. Best I can describe it is that my screen is frozen on the first frame of my player's death. HOWEVER, it is not the entire screen but moreso the CAMERA of my player. My camera is frozen on the first frame of player death but my HUD, audio, and controls work just fine. All three are updated in real time as I'm playing the game, except my camera, where it remains stuck at one frame of player death. So I can spectate other players and use energy just fine, I just can't see anything else. I have checked this mod by using ONLY this mod and its dependencies and I'm still receiving the same error.
Duplication of the error: dying in game; literally just player death by any means
I hope this helps somewhat

@hello-world-42 I've figured out what causes this and have given it its own issue in #34. Basically, this occurs if one of the controls associated with Poltergeist is unbound because the control display doesn't know what to do. I'll fix it in the future, but for now it should be resolvable by making sure that every Poltergeist-related control has a key bound to it.


No escaping of required characters by JSON

No escaping of required characters by JSON according to json.org
escape
'"'
''
'/'
'b'
'n'
'r'
't'
'u' hex hex hex hex

Hi, that's true... I would appreciate if you would contribute this.

+1
Any workaround to share until then?

I ended up having to solve this issue, not sure if this can be useful or not.
Here is an example :
        <doc xml:space="preserve"
             filename="gst/gstelement.c"
             line="1210">Retrieves a pad from the element by name (e.g. "src_\%d"). This version only
retrieves request pads. The pad should be released with
gst_element_release_request_pad().

This method is slower than manually getting the pad template and calling
gst_element_request_pad() if the pads should have a specific name (e.g.
@name is "src_1" instead of "src_\%u").

Note that this function was introduced in GStreamer 1.20 in order to provide
a better name to gst_element_get_request_pad(). Prior to 1.20, users
should use gst_element_get_request_pad() which provides the same
functionality.</doc>


Error with official script

I'm trying to replicate the results from you SRL paper (https://arxiv.org/pdf/1701.02593.pdf). I've been able to get the code to run and train, but at every iteration I get a message saying that there's an error with the official script. When I run the conll evaluation script myself on the output from the model (prediction_09.paste) the first error is a line mismatch at line 634, which is the line immediately after a sentence ("Two - Way Street") with no predicate in it: in the gold file this line is blank, but the system output file has five tab-separated underscores. When I delete the line, other lines later in the file raise another error, "Invalid number of tokens in line."
Do you know how to fix this problem? Or can you explain the parts of the code that write the output, so I can try to figure it out myself? Thanks!

Hi Dan,
just remove from your gold standard all the sentences without predicates and make sure that predictions and gold standard have the same lines (watch out for double newlines, etc.).
It should work.

That worked, thanks!


48 fix today booking on upcoming bookings

fixes #48 . and local auth issues.

I’ve just tested this and it’s still not showing - did you manage to replicate the issue and test it’s fixed?


[Feature] Permissions on emotes

Please it would be helpfull to put group permissions on the use of emotes for example a taxi driver can not play the emotes of the repair or policeman...

https://github.com/ImagicTheCat/vRP/commit/201f5ecd5b36f7d4ba4e7864ebb5ad50155c312c

Thank you !


it show format error when I start piplines

the error like this  "fork/exec /data/pipelines/test1_golang: exec format error"，how can I resolve this error?Thanks

Hi @LaughingXY.
Need a bit more information on this. Does your code compile otherwise? How did you create the pipeline? Did you just put in the binary, or did you for something? Where and when are you getting this error?
Thanks.

Hey @LaughingXY. 🤗
Like @Skarlso already said, your pipeline code would help a lot here so that we can try to reproduce your problem. 😄

Please reopen, if the issue still remains.


Replace 0.12.0 deprecated functions in python, contrib, and models directories

Used this script to get initial changes, and then cleaned up using the diff.

Can one of the admins verify this patch?

Jenkins, test this please.

Whoops- misspelled global_variables_initializer as global_variable_initializer. Will fix when I get back to my rig.

Ok, I fixed the global_variables_initializer typo. Additionally, I took out the changes to python/kernel_tests/scalar_strict_test.py, as the tests in it don't work with the new op. Finally, I noticed there were a few typos elsewhere with global_variables_initializers (extra 's' at the end), so I fixed those as well.

Jenkins, test this please.

Let me know if I should rebase. I don't think the GPU failures were from these changes, but there may be lingering bugs from elsewhere.

I don't think they are, but I will run them again once to make sure they are flakes.
Jenkins, test this please.


crossref-harvester: add parser for the crossref events format

Pull Request Test Coverage Report for Build 247

2 of 19 (10.53%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.6%) to 64.631%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

asclepias_broker/harvester/crossref.py
2
19
10.53%

Totals

Change from base Build 243:
-0.6%

Covered Lines:
1217

Relevant Lines:
1883

💛  - Coveralls

By processing the events from crossref we can give them a working "scholix" like format.
There is an issue that we should consider though before moving further on this: The events endpoint of crossref is not providing us with the type of the publications, the obvious solution to this would be assigning it the default value unknown, but this is bound to change the processing behavior.

Leaving the type as unknown is fine, since the PIDs will get harvested for metadata afterwards.


fix 3.5 -3.8 worflow issues

fixed 3.6-3.8
having issue with 3.5
File "/home/runner/work/fpl/fpl/.eggs/Flask-1.1.2-py3.5.egg/flask/init.py", line 14, in
from jinja2 import escape
File "", line 968, in _find_and_load
File "", line 957, in _find_and_load_unlocked
File "", line 664, in _load_unlocked
File "", line 634, in _load_backward_compatible
File "/home/runner/work/fpl/fpl/.eggs/Jinja2-3.0.0a1-py3.5.egg/jinja2/init.py", line 8, in
File "", line 968, in _find_and_load
File "", line 953, in _find_and_load_unlocked
File "", line 896, in _find_spec
File "", line 1171, in find_spec
File "", line 1147, in _get_spec
File "", line 1128, in _legacy_get_spec
File "", line 444, in spec_from_loader
File "", line 565, in spec_from_file_location
File "/home/runner/work/fpl/fpl/.eggs/Jinja2-3.0.0a1-py3.5.egg/jinja2/bccache.py", line 207
dirname = f"_jinja2-cache-{os.getuid()}"
^
SyntaxError: invalid syntax


file logging is now disabled by default unless the OSVR_FILE_LOGGING_ENABLED environment variable is defined and not set to 0

To be clear, it's not file logging per se that is the problem. It's the asynchronous logging queue which is used by all loggers.  Specifically, this line.
The queue size refers to the number of messages the queue can hold. Right now it's set to 64k messages. We can reduce this drastically to save memory. The value must be a power of two, though (i.e., 2^x).


[Help] Error: Resource not accessible by integration

https://github.com/apache/incubator-doris/pull/6274/checks?check_run_id=3110675706
I have no idea why it happened...
Could you please help me?

Hi @morningman
I suspect that problem may lay in permissions set to secrets.GITHUB_TOKEN.
I will verify which permissions exactly are required and let you know.

@morningman I created working example: https://github.com/apache/incubator-doris/pull/6279
but I need to improve description and documentation

Hi @morningman
I suspect that problem may lay in permissions set to secrets.GITHUB_TOKEN.
I will verify which permissions exactly are required and let you know.

Thanks a lot!
The apache/incubator-doris in an Apache Incubating project. And there are some rules about how to use github action in Apache Project: https://infra.apache.org/github-actions-secrets.html
And I notice that We only allow Actions that are official "Made by GitHub" or local to the Apache org on GitHub.
So I created a ticket to Apache Infra to allow TobKed/label-when-approved-action GitHub Action to be used in ASF GitHub builds. And it has been approved.

Thanks @morningman !


Improve Jitsi

Discussed in https://github.com/OpenSlides/OpenSlides/discussions/6365

Originally posted by 111phil February 17, 2022
Hi! As probably many of you have already experienced, the Jitsy video conference tool is unfortunately quite disappointing.

Many of our participants have trouble using it, e.g. because the browser demands mic and cam access, which only pops up once and then doesn't show up again.
Moreover, if you have different tabs open, it opens new videos for all of them, which is not only annoying, but also waisting a lot of bandwith.
Lastly, it could be helpful, if there was the possibility of showing different videos at the same time (e.g. for deaf sign interpreters).

1 and 2 : I know that the Jitsi apps let you configure things (without the issue of the dialogue disappearing) and also have an option to disable video on start.
Can we provide people with links to the rooms so that they are able to use the Jitsi apps?
That may be one solution.

I know that @tsiegleauq had a lot of trouble with the permissions request of browsers. It is very well possible that there is no "good" solution for this - e.g. if the problem is that people deny the permissions explicitly the first time, browsers may not ask again in the future, since this would lead to potential "permission spam" from certain websites. So the only option is then to go into the browser settings and reset these permissions for OpenSlides. However, there could still be room for other improvements.
I think this is out of scope for the moment and maybe even for OS4. If one really needs this, they can provide a custom live stream where the second video is merged picture-in-picture into the main feed or something similar. I would imagine users which have need for this are also capable of this kind of live feed control.

Point three refers to issue #856. It will be discussed in this context.


Partial fix for ISSUE #170

  <serviceProxy name="A" port="80">...</serviceProxy>
  <serviceProxy name="B" port="80" ip="localhost">...</serviceProxy>
  <serviceProxy name="C" port="80" ip="<IP_ADDRESS>">...</serviceProxy>

A vs B => no solution, only runtime exception with correct error message
B vs C => fixed

Also added :

check if service proxy use the same SSL configuration on the same "ip:port"
test dependencies on Mockito and PowerMock
junit test for HttpTransport

Effectively merged (with adjustments due to in-between changes on master branch).


Actual 1st seasonal. definitely not a lie.

WIP

Despite what the Travis build says, it's still a wip

Feel free to add pokemon sets to the meta, but they have to be based off of a country!

@HoeenCoder Close this PR

Why not just start changing your name and not deleting your account?

Sorry


Some nit fixes to redundant assignment

Signed-off-by: Ankit Kurmi<EMAIL_ADDRESS>Description
Some nit fixes to redundant assignment to reportConfigurationError function under internal/controllers/addon/utils.go :)

/ok-to-test

/lgtm

/retest

/retest-required

/lgtm


How to prevent segment-count being added to MediaInfo?

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm asking a question and not reporting a bug or requesting a feature
[X] I've looked through the README
[X] I've verified that I'm running yt-dlp version 2023.01.02 (update instructions) or later (specify commit)
[X] I've searched the bugtracker for similar questions including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Please make sure the question is worded well enough to be understood
After downloading some videos I will sometimes process them to H265 using Shutter Encoder (which uses ffmpeg). The problem is, some of the videos that are DASH end up having a header written in their info section that causes ffmpeg to fail. Is there a way to prevent this header from being written?
HxxP://YOUTUBE.COM/STREAMING : Segment-Count: 134
The segment count varies, obviously, and is usually followed by a bunch of codes. Whenever ffmpeg encounters one of these, it gets upset and fails to encode the file. I read the documentation about metadata but the way it is worded seems to only apply to MKV. But I'm not adding metadata to my downloads anyway.
If I strip the metadata out of the video using MKVToolNix, ffmpeg will process it so it's not an error with the download, I just need to avoid having that section of the metadata written.
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
N/A this isn't an error

can you post an example URL or youtube ID for a video with which this happens?

I will post one the next time it happens, might be a couple days.

Ok, I found one faster than expected:
https://www.youtube.com/watch?v=jd2WGb8Bvgc
After downloading it as a WEBM using bestvideo and bestaudio, when I open the file in MPC-HC and Click "File / Properties / MediaInfo" there is this line at the top, right under where it says "writing library"
HTTP://YOUTUBE.COM/STREAMING/O : Segment-Count: 701 / Segment-Durations-Ms: 5339,5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339,5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,5339(r=1),5338,4671, /

When I try to run this video through Shutter Encoder to convert to H265 (which uses ffmpeg), the ffmpeg executable just stops (0% cpu for 30 minutes before I killed it). There is a dialog that pops up in Shutter Encoder saying the file is unable to be processed and it simply prints the segment-duration-ms line in the dialog.
If I run the same file through MKVToolNix and remove all tags, the new file processes fine with ffmpeg. Since this only happens with DASH files and that information is not needed to play the video, this is why I was looking to stop it from being added to the file. When I batch process a folder with Shutter Encoder, I don't know which ones might be DASH and which ones aren't.

Run yt-dlp -v jd2WGb8Bvgc --recode mp4 --ppa "videoconverter:-c:v libx265" and show the full verbose output. If this works, the issue is with your encoding software

And to answer your original question, yt-dlp cannot remove that tag from the video file. It's not set by us, but by Youtube

Thanks for the suggestion but it appears it was an issue with Shutter Encoder. I was able to manually convert the file using ffmpeg before I used your code above. The Shutter Encoder developer just released a new version (16.7) that fixes this problem.


[flutter_tools] handle unsafe build outputs

Description
Fixes https://github.com/flutter/flutter/issues/53546
When multiple build configurations output to the same build directory, the normal output cleaning process does not work. Work around this by always deleting the directory.
Explanation:
Consider two build configurations: A & B with a shared output folder outputs/. A outputs a.dart, B outputs b.dart.
Run A. outputs/ contains a.dart.
Run B. outputs/ contains a.dart and b.dart.
B does not have any information that a was output by a prior build, so it cannot be removed accidentally.

This is not a long term solution, but it does ameliorate the immediate problems.

It does a little bit. I thought of a different approach - we could write a hash of the build configuration into the root of each build output. Then if the configuration file is different from the current target, we blow away the directory. (NB: the output directory (build/web, build/macos) not the build directory (.dart_tool/flutter_build/abasdasasd8saha/)
The long-long term solution is to use the unique build directories as outputs and not copy to shared locations, but that is a bigger change. I could probably start doing that for the web builds easily enough. Gradle is okay, because it is a real build system we can describe which files are inputs/outputs and which are detritus

Filled https://github.com/flutter/flutter/issues/53668 and https://github.com/flutter/flutter/issues/53667


@default(dbgenerated(...)) results in never-ending migration change generation

Bug description
I have a field multi_index on a model:
model MyModel {
  key         String
  index       Int @default(0)
  // allows for matrix and tensor-valued keys.
  multi_index Json    @db.JsonB
  value       String?
  image_id    String   @db.Uuid
  image       Image    @relation(fields: [image_id], references: [id])
  created_at  DateTime @default(now())

  @@id([key, image_id, index, multi_index])
  @@map("field")
}

When I add the attribute @default(dbgenerated("NULL")) to multi_index, prisma migrate dev no longer behaves idempotently, generating the following migration over and over, once per each time it is called:
-- AlterTable
ALTER TABLE "field" ALTER COLUMN "multi_index" SET DEFAULT NULL;

How to reproduce
See above
Expected behavior
I would have expected that a single migration gets generated to apply the migration.
Prisma information

// Add your schema.prisma
datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

generator js_cli {
  provider = "prisma-client-js"
  output   = "node_modules/@prisma/client/service-layer"
}

// This is just the relevant model trace with many other models cut out. They can be provided privately at further request

model MyModel {
  key         String
  index       Int @default(0)
  // allows for matrix and tensor-valued keys.
  multi_index Json    @db.JsonB
  value       String?
  created_at  DateTime @default(now())

  @@id([key, index, multi_index])
  @@map("field")
}

Environment & setup

OS: Windows 11 running WSL2 With Ubuntu22.
Prisma Version: Verified occurs with versions 4.8.0, 4.10.1, 4.12.0
Database: Postgres v14
Node.js version: v18.14.0

Prisma Version
4.12.0

Ohhhhh. I think I might have figured it out. If I mark the field ? nullable, that achieves the same result, but it also makes the @@id invalid, since that annotation only works on required fields. I'm wondering if that is perhaps part of it. In any case, I've tried a few different default JSON values as well, such as '{}', and it still goes for infinity.

What happens when you run prisma db pull (for the schema in the initial state)? That should update your schema file to reflect what Prisma understand the state of the database to be.

Looks like it strips off the @db.JsonB and @default(dbgenerated("NULL")) which I assume means that those are implicit defaults. It also makes similar changes across many of my id fields, dropping the @db.Uuid annotation. After doing prisma db pull, the infinite migration script generation glitch disappears.
If @db.JsonB is the default for Json type fields and some kind of json 'null' is the default value, and if @db.Uuid is the default for uuid strings, then I'm content with accepting the changes prisma db pull applied to my schema and closing this issue!

Did you run db pull with the existing schema.prisma in place or did you remove that? That uuid() was removed indicates to me that you probably removed it.

Json @db.JsonB is indeed the default, so we only render Json:

NULL in the database we represent by doing field? instead of field (which impacts both the nullability, and the default - unless you define another one).
And @default(uuid()) is indeed only Prisma side, so when you introspect without an existing usage for a field, Prisma can not know that this is supposed to be uuid() and leaves it out. uuid() is not the default.

Did you run db pull with the existing schema.prisma in place or did you remove that? That uuid() was removed indicates to me that you probably removed it.

Yes, I ran db pull with the existing schema.prisma in place.

I suppose it is also probably worth noting that the SQL migration statement related to the Json @default(dbgenerated("NULL")) is:
-- AlterTable
ALTER TABLE "my_model" DROP CONSTRAINT "field_pkey",
DROP COLUMN "id",
ALTER COLUMN "index" SET NOT NULL,
ALTER COLUMN "index" SET DEFAULT 0,
ALTER COLUMN "multi_index" SET NOT NULL,
ALTER COLUMN "multi_index" SET DEFAULT NULL, <~~~~~~~~~~~~~ This guy!
ADD CONSTRAINT "field_pkey" PRIMARY KEY ("key", "image_id", "index", "multi_index");

However, when I do prisma db pull, the multi_index field is Json (as mentioned previously) but prisma migrate dev does not result in a new migration to reflect the change in nullability, which might also be of some concern

I'm seeing this due to this line in my schema
deleteAfter   DateTime @default(dbgenerated("NOW() + interval '6 months'"))

prisma db pull suggests this, which then stops the neverending schema updates it seems
deleteAfter   DateTime @default(dbgenerated("(now() + '6 mons'::interval)"))

Yes, yours is a "normal" case of this problem @razzeee, where the database just represents the same things slightly different. We have not figured out a good way how to automate fixing that. Ian on the other hand had found a "special" one with NULL that cause the same problem, but for different underlying reasons.

I'm also seeing this when creating a default time in a field:
model UserValidation {
  user_id        String   @unique @db.Uuid
  user           User     @relation(fields: [user_id], references: [id])
  validation_key String
  expires_at     DateTime @default(dbgenerated("CURRENT_DATE + interval '3 days'"))
}

Always creates a migration:
-- AlterTable
ALTER TABLE "UserValidation" ALTER COLUMN "expires_at" SET DEFAULT CURRENT_DATE + interval '3 days';

even when there are no other changes to make to the structure of the tables.
If I run db pull on the db, I get a slightly different syntax written to the schema:
expires_at     DateTime @default(dbgenerated("(CURRENT_DATE + '3 days'::interval)"))
If I replace my version with the version it suggests I no longer get the un-needed migrations.

The solution here is, whenever using dbgenerated to run both a prisma migrate dev and immediately after a prisma db pull. that updates the schema to match what the database actually generated. The preference/fix would be for Prisma to do this automatically when adding/updating a dbgenerate, or at least giving us a flag to do this automatically.
In my specific case with postgresql having the following schema:
accountExpireAt     DateTime          @default(dbgenerated("NOW() + interval '1 year'"))
actually generates
accountExpireAt     DateTime          @default(dbgenerated("(now() + '1 year'::interval)"))
So then every time a prisma migrate dev is run Prisma introspects the database and thinks it's different and creates a new migrate file.


⚠ Bofrost.lu has degraded performance

In 1dcdb79, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1473 ms

Resolved: Bofrost.lu performance has improved in 113caec after 33 minutes.


e2e:serial:tmpolicy: introduce tmPolicyToolbox

Specific functions for specific policies start piling up, which makes maintaining harder and adding policy-specific behavior more complex.
In order to solve that, we introduce tmPolicyToolbox which provides a set of functions/variables per a given policy.
This will make future extension much easier and keeps the amount of
test's parameters smaller and cleaner.
The first commit is essentially the addition of another policy-specific function which was the trigger (or the straw that broke the camel's back so to speak)  for the proposed patch.

@fromanirh Another concern I have is about initializing the new tmPolicyFuncs. This can be a global variable used across all tests.
But instead, we need to recreate it for every Describe container.
This is redundant overhead and maintainship but I couldn't find a better idea.
We can't move into a separate package since it's using internal functions

@fromanirh Another concern I have is about initializing the new tmPolicyFuncs. it can be a global variable that is used across all tests, but instead, we need to recreate it for every Describe container. This is redundant overhead and maintainship but I couldn't find a better idea. We can't move into a separate package since it's using internal functions

it's a legit concern. Please add a comment nearby tmPolicyFuncs to remind us about this. For the time being, let's just recreate it every time.

/approve
/lgtm


Prefix for ES Index

Please answer these questions before submitting your issue.

Why do you submit this issue?
[o] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
We are using a common Elasticsearch cluster for various applications including Skywalking OAP. Wanted to know if there is any way to add a common prefix for all indices like SW or OAP which helps us identify which indices OAP has created.

Was checking the source code and found an implementation of IndexNameConverter and its use here . But this interface is not being implemented for any index name conversion. Can I override this to create a converter which adds a prefix to index names?

application.yml/storage/elasticsearch/namespace is what you want, check https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/backend-storage.md#about-namespace


not works on logseq 0.8.16

There is no boarder on the block with specified tags.

Nothing works in 0.8.17 for me – I don't get colored custom tags or any colored tags at all.
The admonitions picker shows up both via block context menu and the /slash command, and also inserts the tags as expected, but they also have no effect.
Mac OS Ventura 13.1 (22C65)

You were right.
problem solved
Please install the newly released version.
https://github.com/logseq/marketplace/pull/345
(Blocked by security CORS policy. Now that this pull request has passed, it will be unblocked.)


Ambari 23644

With perf merge/optimization. Configurations are sent over to the agent to be cached when certain events occur. One such event is creation of configs for which we have AgentConfigUpdateEvent. This was being triggered in the "updateCluster" code flow but with new APIs we no longer use it. We use a new function called createServiceConfigVerison so need to add the code to trigger the events.
(Please fill in changes proposed in this fix)
Deploy a cluster
(Please explain how this patch was tested. Ex: unit tests, manual tests)
(If this patch involves UI changes, please attach a screen-shot; otherwise, remove this)
Please review Ambari Contributing Guide before opening a pull request.

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1933/
Test FAILed.
Test FAILured.


Input type radio can't fire @click event on v-for child component

Vue.component('addresses', {

 template: `

					<input type="radio" name="address" @click="changeRadio"
					 :checked="address.check" />
					Choose

					{{ address.address1 }}

					{{ address.address2 }}

					{{ address.province }}

					{{ address.city }}

					{{ address.zip }}

 `,

 props: ['address'],

 methods: {
     changeRadio() {
     	alert('test')
            this.$root.$emit('choose-address', this.address.id);
        }
  }
})

It works when I remove the type="radio"
https://jsfiddle.net/39epgLj0/22/

Thanks for filing the issue. Please follow the Issue Reporting Guidelines and provide a minimal JSFiddle or JSBin containing a set of reproducible steps that can lead to the behavior you described.
Why is this required?

https://jsfiddle.net/39epgLj0/22/

@yyx990803 thanks for replying. Issue detail has been updated, I have added JS Fiddle link.

Sorry It was my mistake. This was not an issue with vue.
The problem was I didn't provide an ID for my for in label using materialize
   Vue.component('addresses', {

 template: `

					<input type="radio" name="address" :id="address.id" @click="changeRadio"
					 :checked="address.check" />
					Choose

					{{ address.address1 }}

					{{ address.address2 }}

					{{ address.province }}

					{{ address.city }}

					{{ address.zip }}

 `,

 props: ['address'],

 methods: {
     changeRadio() {
     	alert('test')
            this.$root.$emit('choose-address', this.address.id);
        }
  }
})


update worker.clj-delete "missing-tasks" checking

missing-tasks set is created by two times filter my-assignment map, so i think keys(my-assignment) contains missing-tasks set.
missing-tasks is always empty. (empty? missing-tasks) always return true.
(let [missing-tasks (->> needed-tasks
(filter (complement my-assignment)))]
(when-not (empty? missing-tasks)
(log-warn "Missing assignment for following tasks: " (pr-str missing-tasks))
))

@BuDongDong from what I can tell you are correct on this.  My only comment is that you probably also want to remove  needed-tasks (-> needed-assignment keys) too, as needed-tasks is only used in the code you just deleted.  If you want to file a JIRA for this under STORM in http://issue.apache.org/jira  that would be great.  But I can do that if you would prefer.
Sorry it took so long for me to review this.

After that one minor change I am +1

@revans2 thank you

@revans2 I have filed a JIRA(STORM-527) for this, please see https://issues.apache.org/jira/browse/STORM-527

@BuDongDong I merged this in, but because your repo was deleted the pull request is not automatically recognizing that it was pulled in.  Could you check master and close this pull request if it looks OK.

@revans2 ok, i will close this pull request.


Cow: Watch revisiontown.com

Cow requests the watch of the watch_keyword revisiontown\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

revisiontown\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Makyen in Charcoal HQ


[Renderer] collect waters at map init

Does this fix https://github.com/hzqst/MetaHookSv/issues/215 by any chance?

Does this fix #215 by any chance?

Nah, the "water" in fy_pool_day is literally counted as ordinalry transparent brush instead of water in engine.

No workaround possible?


Completed code for min.js, wrote isEven.js skeleton and test

[x ] Running yarn lint does not trigger any linter warnings
[x ] The test of the method you have fixed is passing
[x ] You have written a new skeleton method for someone else to work on!

Thanks for the contribution @melissa3000 !!

Thank you so much! I really appreciated your patience as I figured out how to get multiple changes into one pull request!!

No problem!


Improve the behaviour of Home in non-vim mode

Previously, pressing Home would always return to the first non-indent character
However, a nicer behaviour once you are at that character is to move to the start of the line instead.
This is consistent with the behaviour of vscode.

Thanks!


Add note about .NET 5 preview

You must install Preview 4 of .NET 5 preview, not Preview 5 or any other preview.

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

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


Remove Chinese characters

A lot of the lyrics contain Chinese characters especially for the song title or band name.  Is there a simple way to auto-remove those characters with a right-click?

or some kind of regex replace

A lot of the lyrics contain Chinese characters especially for the song title or band name. Is there a simple way to auto-remove those characters with a right-click?

Most lyrics contain Chinese characters because the two default online lyrics sources (QQ Music and NetEase Cloud Music) are both Chinese platforms.
It might be a little hard to automate if it's included as part of the scrolling lyrics (but easy to remove manually as they're always at the top), we can also consider a feature that removes the ID tags in LRC lyrics such as:
[ar:Lyrics artist]
[al:Album where the song is from]
[ti:Lyrics (song) title]

You're correct that these characters can be manually removed or even better, just ignored.
Don't sweat it everyone.  I withdraw the request, if that is possible.


Remove dependency on tar2vhd for LCOW differ

This change no longer requires the use of a UtlityVM on Windows to convert the
layer tar to an ext4 vhd for LCOW. This has a significant performance boost
that makes linux/amd64 layer extraction comparable to native Linux performance.
Signed-off-by: Justin Terry (VM<EMAIL_ADDRESS>

Codecov Report

Merging #2704 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2704   +/-   ##
=======================================
  Coverage   43.59%   43.59%
=======================================
  Files         101      101
  Lines       10722    10722
=======================================
  Hits         4674     4674
  Misses       5314     5314
  Partials      734      734

Flag
Coverage Δ

#linux
47.28% <ø> (ø)
:arrow_up:

#windows
40.72% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

Actually, @jterry75 we might need to bump again. See https://github.com/Microsoft/hcsshim/pull/339 for line endings.

@jhowardmsft - Done. Now on v0.7.9

LGTM


Suffix typeof identifier with underscore to accommodate GNUC typeof extension

Compiling bin/sunder-compile with make clean bin/sunder-compile CC=clang or make clean bin/sunder-compile CC=gcc will produce an error as typeof is a GNU extension^1. This error does not occur when using stock CC=c99 or misc/build-debug.sh on Debian Stable, but should be avoided in the case that GCC or Clang are used without altering the default CFLAGS variable. Change the typeof data member in the ast_typespec struct to typeof_.
$ make clean bin/sunder-compile CC=clang
clang -o sunder-compile.o -c -Ideps -DNDEBUG sunder-compile.c
In file included from sunder-compile.c:7:
./sunder.h:709:10: error: expected ';' after struct
        } typeof;
         ^
         ;
./sunder.h:709:17: error: expected '(' after 'typeof'
        } typeof;
                ^
2 errors generated.
make: *** [Makefile:72: sunder-compile.o] Error 1

Completed in b20accb8cfc5fb948c2fc63889b9d9eab13ed2d9.


Dark Mode Support.

Hello.
It would be nice to have a dark mode. It's more comfortable for the eyes as well.

I can look into this.


Fix escaped HTML after<EMAIL_ADDRESS>upgrade

This PR upgrades astro to 0.24.0. Not much has changed, but we do have one page titled Styling & CSS which now gets escaped, rendering Styling & CSS. Using the set:html directive everywhere that renders titles avoids that, but we may need to keep an eye out for any other stray unescaped HTML.

The main motivation for this update for me was that it fixes custom 404 pages:
https://deploy-preview-219--astro-docs-2.netlify.app/not-found
🎉

Thanks for catching these! I'm good to merge to unbreak the escaping, but FYI this appears to be a bug in Astro where strings like this are getting double-escaped. Style & CSS should escape to valid "Style & CSS", but is instead here as "Style &amp; CSS". I'll make sure that we fix that in Astro, and then we can revert some of those fixes here.


[FEATURE REQUEST] priority visualization

I've created rudimentary priority visualization:

P4 - no color
P3 - blue
P2 - orange
PA - red
this helps seeing which tasks are actually important.
I've made a PR, feel free to do with it as you please

Grouping or sorting by priority groups or keywords would also be very useful. For example procurement lists make sense to be grouped together by similar characteristics.