runtime: panic marked free object in span[1.17]

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

$ go version
go version go1.17.12 linux/amd64

Does this issue reproduce with the latest release?
Yes, reproduced with 1.17.13.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/ulin/.cache/go-build"
GOENV="/home/ulin/.config/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GOMODCACHE="/home/ulin/gopkg/gow/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/ulin/gopkg/gow"
GOPRIVATE=""
GOROOT="/home/ulin/bin/go"
GOSUMDB="off"
GOTMPDIR=""
GOTOOLDIR="/home/ulin/bin/go/pkg/tool/linux_amd64"
GOVCS=""
GOVERSION="go1.17.12"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/home/ulin/dl/tmp/exporter/poc/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build4248681014=/tmp/go-build -gno-record-gcc-switches"

What did you do?

Using go build  to compile the following PoC.
package main

import (
        "fmt"
)

type TaskRunner struct {
        limitChan chan struct{}
}

func NewTaskRunner(concurrency int) *TaskRunner {
        return &TaskRunner{
                limitChan: make(chan struct{}, concurrency),
        }
}

func (rp *TaskRunner) Schedule(task func()) {
        rp.limitChan <- struct{}{}

        go func() {
                var a [125]int
                defer Recover(
                        func() {
                                <-rp.limitChan
                        },
                        func() {
                                a[0] = 1
                        },
                )

                task()
        }()
}

func Recover(cleanups ...func()) {
        for _, cleanup := range cleanups {
                cleanup()
        }

        if p := recover(); p != nil {
                fmt.Println(p)
        }
}

func main() {
        schd := NewTaskRunner(10)
        for {
                schd.Schedule(func() {
                        j := 0
                        for i := 0; i < 2000; i++ {
                                j += 1
                        }
                })
        }
}

Run the following script to launch 90 processes. The count can be small, 90 only to fast the reproducing.
for i in $(seq 1 90); do
    ./poc &>> poc-$$.log&
done
    echo "poc-$$.log"

What did you expect to see?
The 90 processes can run forever without any panics.
What did you see instead?
Found panics, the stderr back trace as follow:
runtime: pointer 0xc0002f5fa0 to unused region of span span.base()=0xc00047c000 span.limit=0xc00047dff8 span.state=1
runtime: found in object at *(0xc0001def90+0x0)
object=0xc0001def90 s.base()=0xc0001de000 s.limit=0xc0001e0000 s.spanclass=4 s.elemsize=16 s.state=mSpanInUse
 *(object+0) = 0xc0002f5fa0 <==
 *(object+8) = 0xc0002f5f90
fatal error: found bad pointer in Go heap (incorrect use of unsafe or cgo?)

runtime stack:
runtime.throw({0x49c418, 0x6})
        /home/ulin/bin/go/src/runtime/panic.go:1198 +0x71 fp=0xc000093df8 sp=0xc000093dc8 pc=0x42f991
runtime.badPointer(0x7fe4b63a8090, 0xc0002b7ba0, 0xc0001def90, 0xc000093ec0)
        /home/ulin/bin/go/src/runtime/mbitmap.go:367 +0x150 fp=0xc000093e48 sp=0xc000093df8 pc=0x4108d0
runtime.findObject(0xc00003e400, 0xc000093f08, 0x418d70)
        /home/ulin/bin/go/src/runtime/mbitmap.go:409 +0xa6 fp=0xc000093e80 sp=0xc000093e48 pc=0x410a66
runtime.scanobject(0xc000023698, 0xc000023698)
        /home/ulin/bin/go/src/runtime/mgcmark.go:1280 +0x190 fp=0xc000093f18 sp=0xc000093e80 pc=0x41b190
runtime.gcDrain(0xc000023698, 0x3)
        /home/ulin/bin/go/src/runtime/mgcmark.go:1047 +0x1ba fp=0xc000093f70 sp=0xc000093f18 pc=0x41aa1a
runtime.gcBgMarkWorker.func2()
        /home/ulin/bin/go/src/runtime/mgc.go:1269 +0xa5 fp=0xc000093fc0 sp=0xc000093f70 pc=0x417c25
runtime.systemstack()
        /home/ulin/bin/go/src/runtime/asm_amd64.s:383 +0x49 fp=0xc000093fc8 sp=0xc000093fc0 pc=0x458b89

goroutine 93390 [GC worker (idle)]:
runtime.systemstack_switch()
        /home/ulin/bin/go/src/runtime/asm_amd64.s:350 fp=0xc0003aaf60 sp=0xc0003aaf58 pc=0x458b20
runtime.gcBgMarkWorker()
        /home/ulin/bin/go/src/runtime/mgc.go:1256 +0x1b1 fp=0xc0003aafe0 sp=0xc0003aaf60 pc=0x4178d1
runtime.goexit()
        /home/ulin/bin/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc0003aafe8 sp=0xc0003aafe0 pc=0x45ac01
created by runtime.gcBgMarkStartWorkers
        /home/ulin/bin/go/src/runtime/mgc.go:1124 +0x25

goroutine 1 [chan send]:
runtime.gopark(0xc00009aef8, 0x40b8c5, 0x68, 0x9a, 0x6)
        /home/ulin/bin/go/src/runtime/proc.go:366 +0xd6 fp=0xc00009ae78 sp=0xc00009ae58 pc=0x432436
runtime.chansend(0xc000094060, 0xc00009af40, 0x1, 0x47e36f)
        /home/ulin/bin/go/src/runtime/chan.go:257 +0x425 fp=0xc00009af00 sp=0xc00009ae78 pc=0x404765
runtime.chansend1(0x48c480, 0xc0001be708)
        /home/ulin/bin/go/src/runtime/chan.go:143 +0x1d fp=0xc00009af30 sp=0xc00009af00 pc=0x40431d
main.(*TaskRunner).Schedule(0xc0000b2018, 0x49c800)
        /home/ulin/dl/tmp/exporter/poc/poc.go:22 +0x32 fp=0xc00009af50 sp=0xc00009af30 pc=0x47e312
main.main()
        /home/ulin/dl/tmp/exporter/poc/poc.go:67 +0x67 fp=0xc00009af80 sp=0xc00009af50 pc=0x47e767
runtime.main()
        /home/ulin/bin/go/src/runtime/proc.go:255 +0x227 fp=0xc00009afe0 sp=0xc00009af80 pc=0x432067
runtime.goexit()
        /home/ulin/bin/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00009afe8 sp=0xc00009afe0 pc=0x45ac01
goroutine 2 [force gc (idle), 2 minutes]:
runtime.gopark(0x0, 0x0, 0x0, 0x0, 0x0)
        /home/ulin/bin/go/src/runtime/proc.go:366 +0xd6 fp=0xc00003afb0 sp=0xc00003af90 pc=0x432436
runtime.goparkunlock(...)
        /home/ulin/bin/go/src/runtime/proc.go:372
runtime.forcegchelper()
        /home/ulin/bin/go/src/runtime/proc.go:306 +0xad fp=0xc00003afe0 sp=0xc00003afb0 pc=0x4322cd
runtime.goexit()
        /home/ulin/bin/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00003afe8 sp=0xc00003afe0 pc=0x45ac01
created by runtime.init.7
        /home/ulin/bin/go/src/runtime/proc.go:294 +0x25

goroutine 3 [GC sweep wait]:
runtime.gopark(0x49ca01, 0x5264a0, 0xc, 0x14, 0x1)
        /home/ulin/bin/go/src/runtime/proc.go:366 +0xd6 fp=0xc00003b7b0 sp=0xc00003b790 pc=0x432436
runtime.goparkunlock(...)
        /home/ulin/bin/go/src/runtime/proc.go:372
runtime.bgsweep()
        /home/ulin/bin/go/src/runtime/mgcsweep.go:182 +0xd8 fp=0xc00003b7e0 sp=0xc00003b7b0 pc=0x41f2d8
runtime.goexit()
        /home/ulin/bin/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00003b7e8 sp=0xc00003b7e0 pc=0x45ac01
created by runtime.gcenable
        /home/ulin/bin/go/src/runtime/mgc.go:181 +0x55

goroutine 4 [runnable]:
runtime.gopark(0xc00003bfb8, 0x0, 0x0, 0x0, 0x0)
        /home/ulin/bin/go/src/runtime/proc.go:366 +0xd6 fp=0xc00003bf80 sp=0xc00003bf60 pc=0x432436
runtime.goparkunlock(...)
        /home/ulin/bin/go/src/runtime/proc.go:372
runtime.bgscavenge()
        /home/ulin/bin/go/src/runtime/mgcscavenge.go:314 +0x288 fp=0xc00003bfe0 sp=0xc00003bf80 pc=0x41d548
runtime.goexit()
        /home/ulin/bin/go/src/runtime/asm_amd64.s:1581 +0x1 fp=0xc00003bfe8 sp=0xc00003bfe0 pc=0x45ac01
created by runtime.gcenable
        /home/ulin/bin/go/src/runtime/mgc.go:182 +0x65

...

More information:

If the var a [125]int line and the 2nd Recover argument are removed, no panics will occur;
If set GOEXPERIMENT=noregabi no panics will occur;
The kernel is 4.18, and can be reproduced on Ubuntu18.04(Linux version 4.15.0-163-generic (buildd@lcy01-amd64-021) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #171-Ubuntu SMP Fri Nov 5 11:55:11 UTC 2021)

does this reproduce with 1.18 or 1.19?
1.17 is no longer supported

1.18 didn't reproduce in 4h. I'm trying with 1.19.

CC @golang/runtime.

1.19 didn't reproduce either.

May be solved by this commit: https://github.com/golang/go/commit/0a0e3a3dea72d8d64d4250c9f7649da3b942eae5

May be solved by this commit: 0a0e3a3

confirmed.

Interesting. I'm not sure that 0a0e3a3 was expected to fix anything, making me wonder if we actually fixed or just masked a problem.
cc @mdempsky

Yeah, 0a0e3a3 wasn't meant to fix anything, but maybe improved escape analysis in some cases and masked the issue.
I'm curious if changing the Recover call to:
                cleanups := []func() {
                        func() {
                                <-rp.limitChan
                        },
                        func() {
                                a[0] = 1
                        },
                }
                defer Recover(cleanups...)

changes things at all?
I could believe the 16-byte object is the backing array for the variadic function call.

Yeah, 0a0e3a3 wasn't meant to fix anything, but maybe improved escape analysis in some cases and masked the issue.
I'm curious if changing the Recover call to:
                cleanups := []func() {
                        func() {
                                <-rp.limitChan
                        },
                        func() {
                                a[0] = 1
                        },
                }
                defer Recover(cleanups...)

changes things at all?
I could believe the 16-byte object is the backing array for the variadic function call.

Yes, you're right. After changing Recover's arguments to a predefined slice, the issue no longer reproduced. Changed the arguments to add 1 more a[0]=1 function, the back trace message looks like this:
runtime: found in object at *(0xc0003d3f68+0x0)
object=0xc0003d3f68 s.base()=0xc0003d2000 s.limit=0xc0003d3ff8 s.spanclass=6 s.elemsize=24 s.state=mSpanInUse
 *(object+0) = 0xc0005eff98 <==
 *(object+8) = 0xc0005eff88
 *(object+16) = 0xc0005eff78

The elemsize becomes 24 bytes.

Thanks. There's a lot of subtlety to how escape analysis, defers, and variadic functions interacted before.
Internally, the compiler rewrites
defer f(arg)

into something like:
f_tmp, arg_tmp := f, arg
defer func() { f_tmp(arg_tmp) }()

However, this rewriting was happening later in the compiler, after escape analysis. It's possible there was a misalignment between how escape analysis was analyzing the original form and the data flow of the resulting form.
The effect of that change was to move the rewriting to before escape analysis, so that escape analysis can see how we actually rewrote the statement, rather than inferring how it should be rewritten.


webdash config

this is required for #34 to work as expected

[x] when you install webdash globally, you won't have any webdash.json in your project, so webdash config will generate a configuration in the current working dir
[x] also update documentation

this needs to be tested as a global webdash


simplify .travis.yml

the only reason base julia uses the complicated matrix include setup
is to avoid doing i686 builds on osx, which is irrelevant here

Coverage remained the same at 71.351% when pulling 5d3e289ad20459c713e71b2eb683380a1737310a on tk/simplifaml into 3c80c5d998142218a49c4cfcfe02213c40aa6ced on master.


learning git hub.

hi there,
I am learning git hub.

hi there, I want you to add few more lines in the description.


Feat: Send mail on contact submission

Fixes Issue
fixes #1596

Changes proposed
Added a feature of sending mails to owner when the user submits the contact form to improve user experience. The functionality is implemented using emailjs in contact.jsx file.
Screenshots
form submitted and alert appears:

mail sent to owner in this format:

Note to reviewers
Please review the changes made and merge it.

Summary by CodeRabbit

New Features

Introduced email functionality in the Contact page, allowing users to send emails directly through the app.

Bug Fixes

Corrected event handling functions in the Navbar component, ensuring proper interaction behavior.

this feature is already added

kindly solve the conflict

pull the code first then try to solve

I've resolved the conflicts.

due to the multiple merge its happen again
kindly solve this last time then I'll merge it

@codervivek5 resolved the conflicts.


[DOCS] Fix mistake in getting started.

What changes were proposed in this pull request?
The current getting started exists some mistake. If the default data source not exists a database named default, then we should tell users how to config the default database.
This PR will fix the issue.

LGTM


Highlight Project Press Coverage

I rule and have completed some work on Case Manager that's ready for review!
Started a doc to track positive coverage of our project in the press!
This pull request makes the following changes:

created docs/PRESS.md with entries for the coverage following the hackathon

No issue.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #982   +/-   ##
=======================================
  Coverage   97.55%   97.55%
=======================================
  Files          40       40
  Lines         859      859
=======================================
  Hits          838      838
  Misses         21       21

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 8bca0ec...346a9de. Read the comment docs.

HYPEEEEEEEEEEEE


Add --worker-count option to Minipresto provision command

Minipresto should be able to provision a multi-node cluster if specified. Example:
minipresto provision -c snowflake-jdbc elasticsearch --worker-count 2

The resulting workers should be built using the Docker SDK, as forcing this through Compose would get messy real quick (Compose ought to be used where it is absolutely needed). The high level flow of this should look like:

Provision everything before the workers
Spin up n worker containers from the standard Starburst Presto image (with Presto server only and no CLI)

Copy everything from coordinator's etc/presto/ directory and make necessary modifications to those files (mainly node.properties and config.properties)

This should ideally be done by copying coordinator volumes to the worker containers, but this may not be possible given the lack of labels on non-persistent volumes

Apply label sets to worker containers
Run a health check to verify worker connectivity to the coordinator

This will be a semi-substantial lift, but will improve the flexibility of the tool in a way that doesn't bind us more to Compose shell commands.
Update
After some messing around, it's looking like volume copying might be impossible with the way things are currently set up. The current idea is to:

Copy all volumes from coordinator to worker
Modify config.properties and node.properties in the worker node(s)

This would be nice and simple, but for simple volumes, there is no accessible link between non-persistent volumes mounted to a container and the container itself. For example, if we mount an elasticsearch.properties file to the coordinator, we cannot detect that relationship through the SDK and copy that to the new worker.
I am thinking of how best to tackle this. The very ugly and inefficient brute force technique would be to copy the entire etc and plugin directories from the coordinator to the host filesystem, then copy those files to the worker. This would be less than ideal...

Closing this for now. Minipresto is not intended to create a distributed cluster, as that opens the door for users productionizing the tool. Best to stay with a local/testing model for now.


[Service Bus] Avoid filling the buffer to not let the receiveMessages hanging

ISSUE #11633
Problem and proposed solutions - https://gist.github.com/HarshaNalluru/0736842ac5d4024a889fdd82be015dc1
This PR attempts to implement and test option 5 from the above GIST.

What's the benefit of going with option 5 from your gist over option 1? I don't see a description of what the pros/cons of each options is, and why you chose option 5 of 6.
Looking at this PR, since you're just using an array as basically a count, I'm not sure why you wouldn't use a counter instead.

Hmmm.. you're right that option 1 and option 5 are the same if I'm not using the ids in option-5.
Count might just be enough to know the buffer's state.
Coming to the pros/cons..
I started implementing option-5(or option-1) since that requires the changes exclusively in the Service Bus SDK.
The rest of the options need updates at "rhea".
Option 2 and Option 6 talk about allowing to configure the circular buffer size, no matter which way we pick, this change should happen independently.
Option 1 and Option 5 are equivalent(maintaining all the ids vs just the count).
So, we just have to pick between Options 3, 4 and 5

Option 3 - Rhea provides us with a new buffer_overflow event
Option 4 - Rhea allows accessing the buffer size at the SB SDK level
Option 5 - Tracking the count at SB SDK

I personally like Option 4 as it would not require us to maintain a copy/buffer-state when compared to Option 5.
And might need less convincing to do at rhea when compared to Option 3.

Closing in favor of #14060


yabai: could not access accessibility features! abort.. after rebooting computer.

I keep getting the error yabai: could not access accessibility features! abort.. when I run cat /usr/local/var/log/yabai/yabai.err.log.
Here is a screenshot of what my accessibility settings look like. I also keep getting the popup saying yabai would like accessibility permissions. Clicking deny just spawns a new, identical window.

I have already tried reinstalling yabai and installing yabai from --HEAD but with no progress. I am currently on MacOS 12.3 on an M1 Max MacBook Pro if that helps in debugging.

fixed it by following these steps

Hi @SxC97,
I am having the same problem as you had. I try the reference steps but it's not working.
In specific, I uninstalled everything, the reinstalled yabai again as follows:
curl -L https://raw.githubusercontent.com/koekeishiya/yabai/master/scripts/install.sh | sh /dev/stdin
ls -l $(which yabai) # -rwxr-xr-x@ 1 tqminh  wheel  1683792 Jul 30 22:02 /usr/local/bin/yabai

then I ran yabai --start-service and gave the accessibility. However I still got yabai: could not access accessibility features! abort.. in the log file. I tried the codesign command:
codesign -fs 'yabai-cert' /usr/local/bin/yabai

but got the error: error: The specified item could not be found in the keychain.
Would you mind helping me to take a look at this? Thank you for your consideration.

Hi @trqminh, I took a look at your issue and I think the issue here is that either you didn't create a self-signed certificate, or you created it with a different name than "yabai-cert". I would double check to make sure you followed the steps laid out here correctly.
https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(from-HEAD)

Thank you very much @SxC97. It is working now!!


Asking for datasets for reproduction

Hello, I have a question about reproduction of ClarifyDelphi.
According to the source code, two datasets 'data/train_social_chem_with_prefix_t5.jsonl' and 'data/dev_social_chem_with_prefix_t5.jsonl' seem needed.
They are relevant to "args.dataset_train" and "args.dataset_val" in clarifydelphi/Code/arguments.py, respectively.
However, I can find them nowhere. Could you please explain how I can get these datasets?

You can get these train and dev files from the SocialChemistry dataset:  .
Because t5 uses prefixes, we added the prefix: "question: " to each of the situations. I hope this helps, let me know if you have more questions!

Thanks for answer.
For another question, in the line 128 of the code "clarifydelphi/Code/reward.py", a sentence fusion model seems to be loaded with the line "model_dict_fusion = load_model_t5('checkpoint-11000', cuda_devices=[2])".
How can I obtain this model?

Thank you for your answer. It is really helpful.
For the last question, how do I train a sentence fusion model in the line 128 of the code "clarifydelphi/Code/reward.py"?
Training this model seems to require texts called Fusion (e.g., "refraining from doing something bad when you’re angry" in the paper), which I think not contained in the SocialChemistry dataset.
The paper states that "We train a model to distill fusion in-context examples obtained from GPT-3 (text-curie-001)", but I will be grateful If I could have more explanation.
Thank you.

Thank you, I uploaded the distilled fusion data to the github so you can use it to train your fusion model: https://github.com/allenai/clarifydelphi/tree/main/Data/fusion

Thank you. This will be helpful a lot.


[feat]: Add Avatar Group

Feature description
Feature Request: Add Avatar Group Component
Description:
I would like to request the addition of an Avatar Group component to the Shadcn UI component library. The Avatar Group component would allow for the display of multiple avatars in a single group, which is useful for representing groups of users or contacts.
Functionality:

Ability to add multiple avatars to the group.
Customizable size and spacing between avatars.
Support for different layouts (e.g., horizontal, vertical, grid).
Clickable avatars that can trigger events or display more information.

Use Case:
This component would be particularly useful in social networking apps, messaging apps, and collaboration platforms where displaying groups of users is common.
Implementation Ideas:

Use a flexbox or grid layout to position the avatars.
Provide props for setting the size, spacing, and layout of the avatars.
Allow for adding avatars dynamically (e.g., via an array of avatar URLs).

Example from antd is attached below:

Affected component/components
avatar
Additional Context
Additional details here...
Before submitting

[X] I've made research efforts and searched the documentation
[X] I've searched for existing issues and PRs

Hi. I would love to take on this issue and work on implementing the Avatar Group component. I'm making this open source contribution as part of a university course, and part of the requirement is to have test coverage. Does the shadcn-ui library use some sort of golden test coverage with image diffs for regression testing on UI components?

I have a working draft implementation of that, tomorrow i’ll post here

Would love to see it! Needed it from shadcn only as i don't want to install one more UI Library

Here's my initial implementation.
Pretty raw code, but maybe it will help you guys creating your own components
avatar-stack.zip

Looks good!

#503

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

Oh no, this has gone stale.😱😱
This would be a great feature to have in ShadCN; just like the MUI avatar groups and many other component libraries

Let’s reopen it.

Would love to see this feature

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

Let’s reopen it.

closed again :(

Hope we have this feature.


Oracle JDBC error

Please answer these questions before submitting your issue.

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

Question

What do you want to know?
Whether Oracle jdbc supports, which version is supported by the highest.
I find apm-oracle-10.x-plugin-1.0.0 .
If I use it, do I have to delete jdbc-common-plugin.

Bug

Which version of SkyWalking, OS and JRE?
SkyWalking Version:6.0.0-beta
OS:linux
JRE:oracle 1.8

Which company or project?

What happen?
I can't see the DB information again on the Dashboard.

And can't trace any SQL statement information.
When I see the log of agent(skywalking-api.log),I found this error log:
InstMethodsInter :  class[class oracle.jdbc.OracleDriver] after method[connect] intercept failure java.lang.ClassCastException: oracle.jdbc.driver.T4CConnection cannot be cast to org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.EnhancedInstance         at org.apache.skywalking.apm.plugin.jdbc.JDBCDriverInterceptor.afterMethod(JDBCDriverInterceptor.java:45)         at org.apache.skywalking.apm.agent.core.plugin.interceptor.enhance.InstMethodsInter.intercept(InstMethodsInter.java:105)         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java)         at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:156)         at com.alibaba.druid.filter.stat.StatFilter.connection_connect(StatFilter.java:218)         at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:150)         at com.alibaba.druid.filter.FilterAdapter.connection_connect(FilterAdapter.java:786)         at com.alibaba.druid.filter.FilterChainImpl.connection_connect(FilterChainImpl.java:150)         at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1560)         at com.alibaba.druid.pool.DruidAbstractDataSource.createPhysicalConnection(DruidAbstractDataSource.java:1623)         at com.alibaba.druid.pool.DruidDataSource$CreateConnectionThread.run(DruidDataSource.java:2468)

Please submit oracle plugin issue to
https://github.com/OpenSkywalking/java-plugin-extensions

FYI @ascrutae


Add instructions for use and setup of plugs

any luck on the instructions yet

Fixed with commit d341268bd872e5e8428eaa2f97563ee6e346cf7a /cc @marvinstuart


Improve authenticated requests usage query performance

Preflight Checklist

[X] I could not find a solution in the existing issues, docs, nor discussions
[X] I have joined the ZITADEL chat

Describe your problem
Scaling with the current usage queries on each request is hard.
Describe your ideal solution
As a user, I want my requests to be performant, also when I have quotas enabled and millions of access logs so that I have no performance issues when I scale my usage.
Acceptance Criteria

[ ] The number of access logs doesn't impact the performance of requests.

Version
No response
Environment
ZITADEL Cloud
Additional Context
Suggested solution:
Create projection.quotas

The current quota configuration is projected.

Create a sub-projection projection.quotas.usage_periods

Fields: period_start, usage
Provide a function like AddIncrementOrInsertCurrentUsageToTransaction(transaction, quota.Unit, int64). If the current period doesn't exist, it inserts it, else it increments its usage field.
Provide a function CurrentUsage(quota.Unit) int64
Maybe create an index on the usage periods sub-projection?

Use the new projection

Call CurrentUsage(quota.Unit) int64 from interceptors
Call AddIncrementOrInsertCurrentUsageToTransaction() from logstore debouncer. Use the same transaction to write access logs and to increment the quota usage.
Also call AddIncrementOrInsertCurrentUsageToTransaction() if emitting logs is not debounced is used.

as discussed with @eliobischof @fforootd
Single transaction in debouncer is not required.
Debouncer writes data to the defined units of the usage periods. currently only authenticated requests
interceptor queries latest usage quotas and returns error if quota.limit < quota_usage.sum
follow up:
split access log and quota usage so that it's not required to write access logs to enforce quotas. it's currently hard coupled because quota is enforced using the access logs (timeseries query)


allow unicode passwords in PreemptiveBasicAuthScheme

Hmm I think this is a bit too simplistic. From what I remember the standard says that "iso-8859-1" is to be assumed by default. I'd be happy to accept a PR that makes this configurable though, but in its current form this PR may lead to backward incompatibilities.
Also sorry for the very late response.

hi @johanhaleby thanks for feedback. I am not going not insist on this PR and ready to close it because I am not really familiar with the standard. Just a few things for your information:

Unicode passwords like "☠ЪZz12345" work well with swagger API client running against springboot services (not sure if springboot and swagger follow standards but both are quite common)
I use rest-assured for testing but now I cannot test unicode passwords with rest-assured
It seems ok to have iso-8859-1 by default but for rest-assured client there is no way to change password encoding, it is static final, so its not default, but hardcoded value and for the testing context feels a bit too restrictive


Track infra performance, e.g. build time, test time, flaky rate, median time of a PR gets merged etc.

Mirrors the P2 task of the go/flutter-infra-planning

CC @digiter @Hixie
@dnfield : can you link your test reporter work here? I think it's a nice step toward this. Thank you!

It's related to the code that uses https://github.com/flutter/flutter/blob/master/dev/bots/flutter_compact_formatter.dart

Fixed by Keyong. Closing.


Fixed timeSyncMode parameter in MasterParams so that it only performs Time Syncs when set

The timeSyncMode parameter in MasterParams is supposed to allow a master to ignore a time sync when an outstation sets NEED_TIME in the IIN bit when set to None.  However, this parameter is never actually used or checked, and in the current implementation will always start a time sync when the NEED_TIME bit in the IIN is set. I fixed this parameter so it will only perform time syncs when the parameter is set to SerialTimeSync.

Hi Trevor, thanks for noticing this issue, sorry it's taken me so long to get back to you.
I think I would rather see this parameter get applied inside inside the MasterContext itself instead of making the task have to be aware of it.
In other words, we could change
https://github.com/automatak/dnp3/blob/2.0.x/cpp/libs/src/opendnp3/master/MasterContext.cpp#L238

if (iin.IsSet(IINBit::NEED_TIME))
{
switch (this->params.timeSyncMode)
{
case(TimeSyncMode::SerialTimeSync):
this->tasks.timeSync.Demand();
default:
break;
}
}
Do you see any reason this wouldn't work?

Hi! I think this will work just as fine. I will make this change and push it

To keep the commit history cleaner, I commited just the fix:
https://github.com/automatak/dnp3/commit/660d1fd5ce704cda0e329494ceefaa34e77d9b80
Thanks again for identifying this issue.


Network Threat Analytics - Traffic Drop Detector

Purpose
Traffic Drop Detector is used to detect unreasonable amount of flows dropped or blocked by Network Policy for each endpoint, and reporting alerts to admins. It helps identify potential issues with the Network Policy, as well as helps identify potential security threats and take appropriate action to mitigate them.
Tasks
P0 items:

[x] Add the Snowflake UDF implementation of Traffic Drop Detector, which works with the Snowflake datasource. We likely only check in the initial/one-time version for now, which needs to be triggered by user like Policy Recommendation. - #148

P1 items:

[ ] Add the Spark implementation of Traffic Drop Detector, which works with the ClickHouse datasource.
WIP, probably targeting v0.6v0.7 release.
[ ] Add the periodical version of Traffic Drop Detector on Snowflake. We will leverage Snowflake Task to execute Traffic Drop UDF periodically like once a day, and write down the detection result into a table. This will need to implement a series of CLI commands to let user create/check/delete Snowflake Task, check detection result, etc.
WIP, probably targeting v0.6 release. We are investigating the snowpark implementation of NTA/NPR, lower the priority of this item.

Closed this issue for now as P0 items finished.


Is there a way to enable CORS on the development server?

❓Question
Is there a way to enable CORS on the development server?

Excellent thanks


[Gatsby Cloud] Shutdown Dev Site on Amplify: ETA Aug

After we fully migrate this site to Gatsby and the feature to allow build previews to be created by forked PRS is available we can shut down our instance of this site on Amplify
Acceptance Criteria

[x] confirm the fork PR feature is available from Gatsby
[x] Shutdown site on Amplify
[x] Remove Amplify webhook & integration
[x] Remove amplify.yml from repo

Removed from amplify


Traversal now uses associated types

We need to change our Traversal impls from using type parameters to using associated types.
I also change the foreach fn signatures to use where clauses while I was at it.

@csouth3 Great work as usual :)

:heart:


Set seed for primitive based machine learning tests

In the recently added primitive based machine learning tests we forgot to set a seed on the Aer primtives. This has been causing a non-zero failure rate in CI as the the rng values cause poorer quality results than expected by the test tolerance. This commit sets a fixed seed via run option in the aer primitive initialization to ensure we're running with a stable rng output and the tests will pass consistently.

Thanks for spotting and fixing the issue.


⚠ Bofrost.fr has degraded performance

In da92c0b, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1137 ms

Resolved: Bofrost.fr performance has improved in a32faaf.


Bugfix for French prompts and pythia models

prompt lengths were not consistent for the pythia tokenizer

This is a very small change, I'm just going to merge


Update msal-net-token-cache-serialization.md

In non-asp.net core scenario, do not use a static CCA object. Instead, create 1 app per request.

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

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

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

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

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

#sign-off


[nixio] save waveforms of SpikeTrainProxy objects if available.

Hi Julia tell me when ready.

Hi @samuelgarcia Sorry for the delay. Ready from my side :)


Request: Add Support For TE Metals

@MikeLydeamore
Please add Support for thermal expansion metals.
It's strange that you can't cast thermal expansion metals in a thermal expansion machine

Wow. Dead project is dead. Wish i had checked this before i made quests for that machine ...


Cookie with CORS not working on Safari even if allowed in safari settings

Note: for support questions, please use one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.
Do you want to request a feature or report a bug?
Bug report
What is the current behavior?
On safari : Cookies aren't saved when using $cookies or $cookieStore when script is within an iframe from an other domain (CORS).
CORS cookies are allowed in safari configuration.
If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).

http://jsfiddle.net/nomzs9jp/
Doesn't works on safari 10, even with cross domain cookies allowed.

https://jsfiddle.net/ARTsinn/Xbasz/
Which is similar, works perfectly on safari with same configuration.

What is the expected behavior?
What is the motivation / use case for changing the behavior?
Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.
Doesn't works on Safari 10 with angular 1.5 and 1.6
Older version not tested
Other information (e.g. stacktraces, related issues, suggestions how to fix)

The Angular demo uses a very very old version of Angular (that is no longer supported). Are you saying that the very same example does not work with the latest 1.5.x or 1.6.x version?

It apparently works with with 1.5.
So it's a mistake from me.
I've understand what's append, safari must be restarted when changing "tier cookies parameters" (reload / close tab doesn't works)
Sorry for that

No worries :smiley:
Thx for getting back!


Device conflict with original Hue devices

Many thanks for this great project and great examples. I just have a problem when I use it with original philips hue bulbs in same network.
In espalexa on a 8622 I created 7 dimmable devices named as  ("J2","J3","J4" - "J8")
On the hue bridge I have 20 bulbs named eg. as "couchlicht", "deckenleuchte", "bodenleuchte"....
Espalexa device "J5"  has conflicts with hue device,"deckenleuchte"
When I put "J5" and "J2"in a alexa group, I have "deckenleuchte " and "J2" in this group ("J5" I can not add)
Wenn I delete the original hue bulb "deckenleuchte" I can use "J5" without any problem.
Is there any posibility to change the device Id für my "J5"in espalexa?  Changing the name do not help. It must be any conflict with any background id and that both device use the same one.
Best regards

You may find that your issue is solved if you take the Espalexa.h file from mrhill's branch (look in the pull requests tab).
It solved a similar issue for me where alexa was confused with devices in a group.

I did some tests today. I defined my device "J5" with the following and then set the Id to 20 (before it was 01) for test:
J5 = new EspalexaDevice("J5",J5Changed,  EspalexaDeviceType::dimmable);
espalexa.addDevice(J1);
J5->setId(20);
The change of Id has no influence.
The conflict is still with the same light "bodenleuchte"
I found out that the order of defining device is rootcause:
espalexa.addDevice(J2);
espalexa.addDevice(J3);
espalexa.addDevice(J4);
espalexa.addDevice(J5);       // this is my problem device
espalexa.addDevice(J6);
espalexa.addDevice(J7);
espalexa.addDevice(J8);

when I change the order of adding devices it is every time the 4th device:
espalexa.addDevice(J5);
espalexa.addDevice(J3);
espalexa.addDevice(J4);
espalexa.addDevice(J2);       // this is my problem device
espalexa.addDevice(J6);
espalexa.addDevice(J7);
espalexa.addDevice(J8);

Any Idea how I can solve this?


Initial documentation of uplc.md.

I have added some paragraphs documenting the lexical and syntax modules. The dynamic semantics has an introduction roughly explaining how the rules from IOG' specification are represented as K rules.

@ChristianoBraga I set this PR's label to the automerge label so it should be merged automatically


Improve language in Readme

I’ve added some improvements to the language in the readme to make it look more professional

Thank you very much!


suppress solutions

Add option to bake_numbered_exercise to be able to suppress solutions.

@kswanson33 Thank you for an advice with safe navigation operator :slightly_smiling_face: PR is ready for rereview.

@jpslav Thank you for comments. I added requested changes. PR is ready for review.

Thanks @wilkus27 !


Tabs

Working on implementation of mdTabs...
[Error] Error: [$compile:multidir] Multiple directives [mdTabs (module: material.components.tabs), sfField] asking for new/isolated scope on: <md-tabs md-dynamic-height="" md-border-bottom="" sf-field="0">
http://errors.angularjs.org/1.4.7/$compile/multidir?p0=mdTabs&p1=%20(module%3A%20material.components.tabs)&p2=sfField&p3=&p4=new%2Fisolated%20scope&p5=%3Cmd-tabs%20md-dynamic-height%3D%22%22%20md-border-bottom%3D%22%22%20sf-field%3D%220%22%3E
http://localhost:63342/angular-schema-form-material/bower_components/angular/angular.js:68:32
assertNoDuplicate@http://localhost:63342/angular-schema-form-material/bower_components/angular/angular.js:8563:29
applyDirectivesToNode@http://localhost:63342/angular-schema-form-material/bower_components/angular/angular.js:7942:32
compileNodes@http://localhost:63342/angular-schema-form-material/bower_components/angular/angular.js:7598:36
compile@http://localhost:63342/angular-schema-form-material/bower_components/angular/angular.js:7505:27
internalRender@http://localhost:63342/angular-schema-form-material/bower_components/angular-schema-form/dist/schema-form.js:2639:19
render@http://localhost:63342/angular-schema-form-material/bower_components/angular-schema-form/dist/schema-form.js:2589:27
http://localhost:63342/angular-schema-form-material/bower_components/angular-schema-form/dist/schema-form.js:2672:19
$digest@http://localhost:63342/angular-schema-form-material/bower_components/angular/angular.js:15818:43
$apply@http://localhost:63342/angular-schema-form-material/bower_components/angular/angular.js:16097:31
done@http://localhost:63342/angular-schema-form-material/bower_components/angular/angular.js:10546:53
completeRequest@http://localhost:63342/angular-schema-form-material/bower_components/angular/angular.js:10744:15
requestLoaded@http://localhost:63342/angular-schema-form-material/bower_components/angular/angular.js:10685:24
	(anonyme Funktion) (angular.js, line 12477)
	(anonyme Funktion) (angular.js, line 9246)
	$digest (angular.js, line 15844)
	$apply (angular.js, line 16097)
	done (angular.js, line 10546)
	completeRequest (angular.js, line 10744)
	requestLoaded (angular.js, line 10685)

@marvinosswald I started looking at it and ended up adding some very basic support for tabs, so you can see what was required, I would really appreciate it, if you have time, to add support for the options like dynamic height, stretching, pagination, initial active tab, disabled etc...
I haven't looked into what else there is an not into those options deep enough to have much input at this stage, but feel free to let @davidlgj or myself know if you have any thoughts or questions on how to approach it.

Thank you very much, will look into this hopefully this weekend.

@marvinosswald you're getting the error since the first element in your template (in this case md-tabs) is asking for a private scope. The sfField builder adds a sf-field directive to the first element in the template. So you might have to wrap the md-tabs directive in a div or something else.
You probably already seen it, and I'm not sure if it helps, but the builder function for the bootstrap decorator tabs is here: https://github.com/Textalk/angular-schema-form-bootstrap/blob/develop/src/bootstrap-decorator.js#L13


[FEATURE]  Complex query and multi Keys/values getOrSet

Problem
Hello, I'm not sure, but I've searched almost all caches. No cache has a similar mechanism to support complex queries. Usually it's simple key values.
But this brings a problem. It seems that the display of the list makes it inconvenient to use the values in the cache.
Secondly, even Key/Value often does not support obtaining multiple Key/Value at one time at the API level. For requirements like this, you need to extend the GetOrSet method yourself, right?
Solution
var values=GetOrSet(keys,()=>GetFromDB(keys,..));
Alternatives
create a extension method maybe ?
Additional context

Hi @sgf , and thanks for using FusionCache!
FusionCache is based on the common .NET abstractions IMemoryCache and IDistributedCache, as explained in a similar issue here:

FusionCache has been designed to use the 2 common caching abstractions in .NET: IMemoryCache and IDistributedCache, so that any available impl (mostly for IDistributedCache of course) could've been easily used, without anyone having to explicitly create an implementation of, say, a custom IFusionCacheLayer or something like that.
Of course this has advantages - like the one mentioned above - but also disadvantages, like being limited to the features defined in those abstractions.

Because of this, any feature of FusionCache must be either available in those abstractions or implementable on top of them, so the feature you are asking is not doable with the (current, at least) design of FusionCache.
Let me know if this helped.


Negative Age

Hi, I run inference with your checkpoint but all my outputs are negative ?
Y said that You hadn't used any preprocess with labels right ?

We did not apply preprocessing to the age prediction labels in our methodology. Additionally, there have been no reports of issues regarding negative outputs from either our team or others in this field. Given the lack of further information on this matter, I am closing this issue. However, please feel free to provide additional details or raise new concerns if necessary.


ibm-sw-tpm2: backport openssl-3.1 support

Without the change build fails against openssl-3.1 as:
   >                  from Tpm.h:78,
   >                  from CryptEccMain.c:64:
   > TpmToOsslMath.h:79:5: error: #error Untested OpenSSL version
   >    79 | #   error Untested OpenSSL version
   >       |     ^~~~~

Description of changes

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Bleh, doesn't seem like ofborg looks for commands in review comments.
@ofborg build ibm-sw-tpm2 tpm2-tss


Think that I found a bug on Parallel iterator

First, sorry if I forgot something, but it's 1:18 AM and I start feeling tired and I need to sleep.
For the moment, I don't know if this is something that happens only on my machine. But even on another project with similar codebase, it breaks running on the golang official docker image.
To replicate the bug, run the test TestParallelShouldNotPanic with the following command
GOEXPERIMENT=rangefunc go test -v ./... -count=1 -run TestParallelShouldNotPanic

This command disables test caching and runs only the specified test function. Also, the test initially doesn't even run because when you are appending on the slice it doesn't really append anything and the condition doesn't event executes.
As I put on my commit:

fix:iterators seems to not be concurrent
initially if the iteration has just a conditional it doesn't panic. After putting some code
like fmt.Println (which I think that adds some latency) the yield function call panics. I
think that iterators are not designed to run multiple yield functions at the same time.

Hey @4strodev
Thanks for raising this.
The parallel iterator is expected to crash now due to changes made to how the function iterators now working. The Go team added in a panic if they detect parallel iteration taking place in order to prevent the feature running concurrently.
I'll add a note on the project readme!


Fix: Datasets with many rows fail to load due to incorrect variable type

Issue
Fixes #3925
MAX_NUMBER_OF_ROWS is defined with a float literal, thus if a dataset has more than MAX_NUMBER_OF_ROWS, rowCount() returns a float instead of int and the dataset does not load.
>>> type(10e6)
<class 'float'>

Fix
Set limits as integers, not floats.

Thanks a lot for that fix.
I wasn't aware of that.
I maybe depend on the Python version.

Be careful i have sckatched your changes

Thanks for the fix!
That can also depends on pyqt versions, and it's not something we're getting into so often.


Opening some Blazor WASM apps spams the requirement of having a debug extension

Project I reprod on:
BlazorApp35.zip

@NTaylorMullen out of curiosity, is this a tooling issue? It was tagged as such but on first glance seems like it might be out of our scope.

I believe this has been resolved. I was not able to repro in C# extension v1.23.15.

Thanks Safia, I'll close out the issue then.


Add constraint on duration in to availability.

We had said that we would just include this in the unavailability but
that seems silly as we can capture it directly (it's essentially a
generic form of unavailability).

Coverage remained the same at 100.0% when pulling c2e3d9d22cd744ff200aa68aff9db7bf5fe47b4c on talk-duration into 80485d15c33583276ef53d2ee922584da1d9acb7 on master.

Coverage remained the same at 100.0% when pulling e503595d37529c58f4013c1531321725c23e8210 on talk-duration into 80485d15c33583276ef53d2ee922584da1d9acb7 on master.


Opening Keyboard in child view pushes parent view up - Android Fullscreen mode

Ionic version:  (check one with "x")
[ ] 2.x
[x] 3.x
[ ] 4.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
Current behavior:

My app is opened on an Android device in fullscreen mode (available on Samsung S8 for example)
I have a Home Page with a list of items
I have a Child Page with an ion-input

When opening the Child Page from the Home Page using navCtrl.push(), then clicking on the input, the keyboard and the Android action bar appear.

When I have finished writing, the keyboard and the Android action bar disappear.

=> This action makes it so the Home Page view is pushed up, and I cannot not scroll at the top of this page anymore.
Expected behavior:
The usage of the keyboard in Android fullscreen mode does not pushes the previous view up.
Steps to reproduce:

Use the repo below and get an Android device where you can put the app in fullscreen mode
Build and open the project on your Android device
When the app opens, click on "Item 1" to open the Keyboard Page
Click on the input to make the keyboard appear, then close it
Go back to the Home Page using the back button
You will notice that the view is pushed up and you cannot access "Item 1" anymore

Related code:
https://github.com/antoine92190/keyboard-fullscreen
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
cli packages: (/usr/local/lib/node_modules)

    @ionic/cli-utils  : 1.13.0
    ionic (Ionic CLI) : 3.13.0

local packages:

    @ionic/app-scripts : 3.0.0
    Ionic Framework    : ionic-angular 3.7.1

System:

    Node : v6.11.4
    npm  : 3.10.10
    OS   : macOS High Sierra

Misc:

    backend : pro

I have a similar problem, if you go to a child page (navCtrl.push()) that has a prompt alert, when go back to home view the scrolling will get stuck and you cannot slide the screen up or down.
Tested with android device (6.0.1).
cli packages: (/node_modules)
@ionic/cli-utils  : 1.12.0
ionic (Ionic CLI) : 3.12.0

global packages:
cordova (Cordova CLI) : 7.0.1

local packages:
@ionic/app-scripts : 3.0.0
Cordova Platforms  : android 6.2.3
Ionic Framework    : ionic-angular 3.7.0

System:
Android SDK Tools : 26.0.2
ios-sim           : 6.0.0
Node              : v8.1.3
npm               : 5.3.0
OS                : macOS Sierra
Xcode             : Xcode 8.3.3 Build version 8E3004b

Misc:
backend : pro

hi,
can u try the native-keyboard plugin from the ionic framework . here is the link: https://ionicframework.com/docs/native/native-keyboard/ this might solve the problem. The keyboard issue there in ionic for a long time. After doing research i found that this plugin solve most of such problem .

Related to #13028

Having the same issue. With ionic-angular 3.7.1, the entire screen moves up when ionic-native keyboard shows (from a ion-textarea input).
on all iOS devices. for Android works fine

Fixed in ionic 3.8.0


python312Packages.ufoprocessor: normalize pname

Description of changes
part of #245383
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

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

17 packages built:

deltachat-desktop
nomnatong
noto-fonts-color-emoji
python311Packages.afdko
python311Packages.afdko.dist
python311Packages.nototools
python311Packages.nototools.dist
python311Packages.ufoprocessor
python311Packages.ufoprocessor.dist
python312Packages.afdko
python312Packages.afdko.dist
python312Packages.nototools
python312Packages.nototools.dist
python312Packages.ufoprocessor
python312Packages.ufoprocessor.dist
twitter-color-emoji
whatsapp-emoji-font


Use Storage parameter of $systemd::journald_settings to handle storage

Following up on  #127
It does not look needed to add a new parameter for journald persistend, when this is actually handled by $systemd::journald_settings in the key 'Storage'.
Also, creation of the folder should be done only if Storage=auto , otherwise this is handled by journald itself (as per man page)

@brunoleon can you take a look at the failing spec tests?

Hi @brunoleon, we're going to revert https://github.com/camptocamp/puppet-systemd/pull/127 and I think this PR can then be closed. Please reopen / create a new one if you think we should merge it.

I agree with your choices @bastelfreak
Just tried to made behavior more systemd compatible.
Thanks for you module


22-Create job form-REFIK GULAK

Description

Create database job table
Create  post "/api/job" API
First tamplate of post job form UI

Related to
Make sure you include the issue number with a hash sign # so Github can link this PR to the right issue, like this:
Fixes #22
Checklist:

[x ] My code follows the style guidelines of this project
[x ] I have carefully reviewed my own code
[x] I have commented my code
[x] I have updated any documentation

Run npm install and check in your package.json and package-lock.json files

Fast forward this branch by merging main into it


Malformed manipulation data at DataObject::writeManipulation()

https://github.com/silverstripe/silverstripe-framework/blob/1c18d9505f8e7eb19de41d2888a44917e30919d3/model/DataObject.php#L1351-L1358
Line 1357 changes the manipulation command to 'update' (from 'insert') for new DataObjects. However, it assumes that $baseTable is still valid after the above call to 'augmentWrite' which can/does alter the table being written to.
This can result in final manipulation data that looks like:
{
    "BaseTable_Live": {
        "fields": {
            ...
        },
        "command": "insert",
        "id": 1234
    },
    "BaseTable": {
        "command": "update"
    }
}

It looks to me like the order could just be swapped, but I'm not 100% on that.

Hi @maxime-rainville, I'm working from scraps and memory here, but in short, I wanted to specifically avoid writing versions of a particular object that doesn't need them, and this was the only way I could figure out how to do that:
$oldMode = Versioned::get_reading_mode();

// write to stage
Versioned::reading_stage('Stage');
$obj->forceChange();
$obj->writeWithoutVersion();

// write to live
Versioned::reading_stage('Live');
$obj->forceChange();
$obj->writeWithoutVersion();

Versioned::set_reading_mode($oldMode);

Writing to the stage worked fine (as I recall), but the write to live resulted in the malformed data in the first post.
I'm working in SS 3.7, but if I'm right about the order being wrong, then it's present on 4.x too.
Currently I'm writing versions and then removing them which is far from ideal. But perhaps there's a better way to do this that I'm not aware of?

Off the top my head, I would think that reading_stage shouldn't affect write operations. But I may be telling porkies.
Just clarifying what your end goal is. Are you trying to completely write over an existing version of your record? If that's the case, I don't think writeWithoutVersion will help you .. my understanding is this will only update the main table without touching the _Live or _version tables.

@maxime-rainville I took my inspiration for that code from:
https://github.com/silverstripe/silverstripe-cms/blob/338c512e154a37936185dd24bf9073c9186f0543/code/model/SiteTree.php#L2407-L2413
In any case, I'd still assert that the malformed data is still something that shouldn't occurr and that, on the surface, it looks like swapping the order is a suitable fix. But I could be wrong and am happy to be overruled by those in the know.
Can I ask how you'd go about writing something to draft + live, but not the version table?
Cheers.

@maxime-rainville In short, a large volume of imported events (i.e. Pages) which need not retain their versions as they are hosted elsewhere. Reducing db writes in the import job and db bloat are the main reasons.

So you want your Event object to extend SiteTree however, you don't need to it to be versioned.
If practical, I would keep the event data on a separate not-versioned object and add a has-one relation to that. Otherwise, I might let new versions be created normally, but then run a manual query to purge all but the latest version.
On a side note, I just tried your original example on SS4.
        /** @var SiteTree $page */
        $page = SiteTree::get()->byID(100);

        Versioned::withVersionedMode(function() use ($page) {
            Versioned::set_stage(Versioned::DRAFT);
            $page->forceChange();
            $page->writeWithoutVersion();

            Versioned::set_stage(Versioned::LIVE);
            $page->forceChange();
            $page->writeWithoutVersion();
        });

I didn't get any issues with malformed manipulation data. So it looks like this doesn't affect SS4.
We only do critical and security fixes for SS3. I don't think this issue would qualify.

That's pretty much what I'm doing now.
Oh well, I'll close this one off.


add Travis support

Thanks for the Travis config script. I will take a bit of time to learn about this.
BTW your localua script is cool. Will try it.

Yes, I used localua because it's simpler than what I used to build Lua earlier (and we only need 5.3 here).

Any reason why this PR is still outstanding?

Any reason why this PR is still outstanding?

I have never used Travis before and didn't look into it yet.
So, no good reason, I guess :-)

I added a bit of CI/test using github workflows a few month ago, but I realize I never updated this PR.
I keep the link to localua, should the need arise.

Actually the best link for localua is https://loadk.com/localua.sh which is always the latest version available.


reformatted markdown files

@Shreeyak wiling to resolve conflicts?

@moorage updated the branch.

arranged list of expressions alphabetically. Matches the website and easier to parse.


Added Essential alerting for router

https://trello.com/c/nrmpJKr4/934-essential-alerting
This is a simple error ratio alert for Router (job="apps/router"). The alert should fire if the overall ratio of errors to requests exceeds 0.1 (i.e. 10%).

This PR has been superseded by https://github.com/alphagov/govuk-helm-charts/pull/466


[Bug]: trakt_userlist ignores sort_by

Version Number
1.17.1-develop32
What branch are you on?
nightly
Describe the Bug
No matter what you set sort_by to for trakt_userlist it will always sort it by rank. The logs show that the builder is using "none" for sort_by regardless of what you put.
Relevant Collection/Overlay/Playlist Definition
collections:
  Trakt Watchlist:
    summary: My Trakt watchlist.
    sync_mode: sync
    collection_order: custom
    trakt_userlist:
      userlist: watchlist
      user: me
      sort_by: released

Logs
https://gist.github.com/mattyteds/2e10b5e9d6c41d7b94378117afe38cad

fixed in 1.17.2


[CARBONDATA-2365] Add QueryExecutor in SearchMode for row-based CarbonRecordReader

Be sure to do all of the following checklist to help us incorporate
your contribution quickly and easily:

[ ] Any interfaces changed?

[ ] Any backward compatibility impacted?

[ ] Document update required?

[ ] Testing done
Please provide details on
- Whether new unit test cases have been added or why no new tests are required?
- How it is tested? Please attach test report.
- Is it a performance related change? Please attach the performance test report.
- Any additional information to help reviewers in testing this change.

[ ] For large changes, please consider breaking it into sub-tasks under an umbrella JIRA.

Build Success with Spark 2.2.1, Please check CI http://<IP_ADDRESS>:8080/job/ApacheCarbonPRBuilder/4048/

LGTM


IGDB plugin failing under Windows 7 due to SSL/TLS error

Describe the bug

As of version 2.6, the IGDB plugin fails to download game metadata on Windows 7, citing a SSL/TLS error.
It does search for game titles correctly, it's the metadata fetching step that fails.
Previous versions of this plugin do not have this issue (tested on v2.4 and v2.5), nor does v2.6 fail if used on Windows 10.
I would assume it's either 809a01e or 09f99d4 that are to blame, as the rest are just localization updates.
To Reproduce

Ensure you are on Windows 7 and have the latest version of the "IGDB metadata provider" plugin (v2.6 as of writing)
Manually add a game. Any game will do, "Splinter Cell" seems to be a decent one
Under "Download Metadata", choose IGDB
Select any of the "Splinter Cell" games presented
The following error message appears: "Failed to download metadata: The request was aborted: Could not create SSL/TLS secure channel."
Download a previous version of the plugin, such as v2.5
Drag-and-drop the .pext file onto Playnite. Install and restart
Repeat steps 2-4
Download succeeds

Screenshots

Initial setup:

Game title search does succeed:

But here the game's metadata download fails:

The expected result, as obtained using v2.5:

Diagnostics ID

d6e5f564-a87b-494f-b0d5-6d8489bd09f4

Closing as I don't consider Windows 7 and 8 to be supported anymore.


Changing announcement text & redirect

let's keep this updated
no one really knows what unlockable means and what it does. He will learn it once he opens the drop page
thus, we can put something more descriptive

should redirect to this drop: https://canary.kodadot.xyz/ahk/drops/chained

👋


Nothing showing on Facechain tab

Installation was smooth with no errors, but is there supposed to be anything on the Facechain tab? What am I missing? The README instructions are vague on how this thing even works.  Since there are no error prompts, there's nothing else to report. Here's a screenshot. I'm using ReForge WebUI (it's a Forge fork because Forge is long dead).

can you use sdwebui？ we haven't tested using Reforge webui


HttpHelper shouldn't try to serialize a null invokeresponse body

Version
4.4.3
Describe the bug
When an invokeresponse has a null body, we are adding a ContentType header to the response plus "null" in the response body.
Expected behavior
Don't add the ContentType header and leave the body empty.
Additional context
Fix for aspnet.core is in this PR

fixed in 4.4.5 and in master


UI feels sluggish on high latency connections because of fixed wire:loading.delay

Package
filament/filament
Package Version
3.0.46
Laravel Version
10.2.6
Livewire Version
3.0.1
PHP Version
8.2
Problem description
@danharrin First of all, thanks for your hard work on v3!
The default value of wire:loading.delay is 200ms which is ok for users close to the server, since most requests complete before that. However users on the other side of the globe have an additional 300-400ms latency on top of each request. We're in Australia and are developing a resource-intensive app which needs dedicated servers. The only affordable ones are in the US / Europe which means we have to factor that latency into how we build our UIs. Have a look at the ping times from Sydney and you'll see what I mean.
The result is that we get loading indicators for every request Filament makes (which is great) but they don't appear for 200ms (not so great). It makes the whole app feel very sluggish. Our current VueJS dashboard feels snappy by comparison because it displays indicators immediately (even though it takes about the same amount of time to return data).
Expected behavior
It'd be great if we could configure this behavior in config/filament.php. Livewire has multiple values for delays. So maybe:

'wire_loading_delay_disable' => true Removes wire:loading.delay from components

'wire_loading_delay' => 'shortest' Sets it to wire:loading.delay.shortest

'wire_loading_delay' => 'short' Sets it to wire:loading.delay.short
.... etc

And then do something like this to make it reusable?
    public function getWireLoadingDelayAttribute(): string
    {
        if (config('filament.wire_loading_delay_disable')) {
            return '';
        }

        $delayValue = config('filament.wire_loading_delay', '');
        return empty($delayValue) ? 'wire:loading.delay' : 'wire:loading.delay.' . $delayValue;
    }

Steps to reproduce
If testing from US or the UK, just launch any Filament app on a VPS in Australia then click around.
Reproduction repository
https://github.com
Relevant log output
No response

@danharrin Working on a PR for this. I'm thinking of using an Enum. Thoughts?
<?php

namespace Filament\Support\Enums;

enum WireLoadingDelay: string
{
    case none = '';
    case shortest = 'wire:loading.delay.shortest';
    case shorter = 'wire:loading.delay.shorter';
    case short = 'wire:loading.delay.short';
    case default = 'wire:loading.delay';
    case long = 'wire:loading.delay.long';
    case longer = 'wire:loading.delay.longer';
    case longest = 'wire:loading.delay.longest';

    public static function getAttribute(): string
    {
        return match(config('filament.wire_loading_delay')) {
            'none' => self::none->value,
            'shortest' => self::shortest->value,
            'shorter' => self::shorter->value,
            'short' => self::short->value,
            'long' => self::long->value,
            'longer' => self::longer->value,
            'longest' => self::longest->value,
            default => self::default->value,
        };
    }
}


Add toBeSealed matcher

What
Add toBeSealed matcher

Why
Closes #26

Notes
Housekeeping

[X] Unit tests
[X] Documentation is up to date
[X] No additional lint warnings
[X] Add yourself to contributors list (yarn contributor)

Thanks @devanp92 good job!


"Create from yaml" and "Create" buttons are stuck to each other in Secrets page

Version: master-head((7b948b289)
Steps:

From the dashboard, navigate to "Secrets" tab.
"Create from yaml" and "Create" buttons are stuck to each other. The buttons should be placed with some space between them.

Duplicate of https://github.com/rancher/dashboard/issues/598


Remove SecondaryAttribute::Event

Problem
The enum variant SecondaryAttribute::Event is only used in the aztec_macros, we can remove this and use the is_custom_attribute function
Happy Case
.
Alternatives Considered
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response

We still have the concept of an event in the main compiler however so it wouldn't be a clean removal.
https://github.com/noir-lang/noir/blob/57eae42080d6a928e8010c6bc77489964a5777ef/compiler/noirc_frontend/src/hir/def_map/mod.rs#L195-L205

We still have the concept of an event in the main compiler however so it wouldn't be a clean removal.
https://github.com/noir-lang/noir/blob/57eae42080d6a928e8010c6bc77489964a5777ef/compiler/noirc_frontend/src/hir/def_map/mod.rs#L195-L205

Yeah I think we'd need to have the concept of a primary attribute that is able to put things in the abi, ie #[abi(event)]

The attribute doesn't exist anymore so this issue can be closed.


PLT-108: Script evaluation regression test runner

The runner downloads event dump files, unzips them, and checks the evaluations.
We have about 20k script evaluations per 10k blocks, which, on my 16-core machine, takes between 30s to 1min to check.

I'm still wondering why we don't make the test suite an actual test suite with tasty? Yes, we'd have to pass in the data location with an env var (or assume it), but we get structure and failure reporting for free.

@michaelpj updated to using tasty.


Cannot find module 'gulp-favicons'

I followed the gulp example, and have node v7.7.1, but still getting Cannot find module 'gulp-favicons'. Please see http://stackoverflow.com/questions/42680056/cannot-find-module-gulp-favicons/42680248?noredirect=1#42680248 for greater details.

Turns out I had to resolve my dependencies using Yarn.


wrong readme.md require on application.css.scss

Should´t it be
*= require nouislider
instead of
// require nouislider
?

it should

fixed. thanks.


bau: use general guidance from Ruby guide & add Java guide

Pair: WillPa

I have no particular view on the details of the Java style guide added here.
I would note though that this repository has been viewed so far as just for GOV.UK ("publishing") code, and there isn't any Java code there for this to apply to.
If the GOV.UK tech leadership are happy for this to go here, I'd be fine with that. However, I wonder if this fits better in the gds-tech repo.  A chunk of the text from this repository is reproduced there: https://github.com/alphagov/gds-tech/blob/master/source/documentation/programming-languages.html.md.erb

ah, thanks for the pointer, I'll open a PR there

Opened a PR - https://github.com/alphagov/gds-tech/pull/43


fix EpisodeId groupkey (regexp)

Fixed wrong groupkey in episode url parsing.

works, tested. please approve and merge

Thank you!


cmake fetchcontent fail if there is another dependency that contains protobuf

im using the FetchContent with cmake to manage my dependencies and include or-tools as dependency for my project. but also im using grpc and protobuf
FetchContent_Declare(
        protobuf
        GIT_REPOSITORY https://github.com/protocolbuffers/protobuf.git
        GIT_TAG        v3.13.0
        SOURCE_SUBDIR  cmake
)
## END PROTOBUF ##

## GRPC ##
FetchContent_Declare(
        grpc
        GIT_REPOSITORY https://github.com/grpc/grpc.git
        GIT_TAG        v1.33.x
        GIT_PROGRESS   TRUE
)
## END GRPC ##

## OR-TOOLS ##
FetchContent_Declare(
        or-tools
        GIT_REPOSITORY https://github.com/google/or-tools.git
        GIT_TAG        master
        GIT_PROGRESS   TRUE
        PATCH_COMMAND git apply "${PROJECT_SOURCE_DIR}/patches/or-tools-protobuf.patch"
)

FetchContent_MakeAvailable(protobuf grpc or-tools)

in this case grpc also use protobuf, so when cmake try to make available or-tools  I get the next error
CMake Error at build/_deps/protobuf-src/cmake/libprotobuf-lite.cmake:64 (add_library):
  add_library cannot create target "libprotobuf-lite" because another target
  with the same name already exists.  The existing target is a static library
  created in source directory
  "/Users/samuaz/Projects/itbit/securities-settlement/cpp/third_party/grpc-src/third_party/protobuf/cmake".
  See documentation for policy CMP0002 for more details.
Call Stack (most recent call first):
  build/_deps/protobuf-src/cmake/CMakeLists.txt:250 (include)

So maybe or-tools should check if protobuf already exists?
If  I try with or-tools set(BUILD_Protobuf OFF):
--   No package 'protobuf' found
CMake Error at /Users/samuaz/Library/Application Support/JetBrains/Toolbox/apps/CLion/ch-0/202.6948.80/CLion.app/Contents/bin/cmake/mac/share/cmake-3.17/Modules/FindPkgConfig.cmake:497 (message):
  A required package was not found

How can I handle this, thanks.

currently we are using
https://github.com/google/or-tools/blob/2089add49bf4dff4edf42fffa85afc5b758f44b9/cmake/deps.cmake#L43-L48
I.e. if we are not building Protobuf then we want to find them through find_package()
a possible solution would be to replace the first test by something like this:
if(NOT BUILD_Protobuf AND NOT TARGET protobuf::libprotobuf)

thanks @Mizux right now I'm using the stable branch, I will try with master and apply small patch with your suggestion at FetchContent_Declare time.
Or maybe in my cmake use FetchContent_Populate instead of FetchContent_Declare for the or-tools to make an isolation operation

BTW i'll try to apply this patch on master ASAP since it will allow us to better support super projects incorporating google/or-tools (through FetchContent or add_subdirectory)


Optimize Request: farrow-api-client codegen

For now, the generated code is like this:
import { apiPipeline } from 'farrow-api-client'

...  // type declaration

export const url = '/api'

export const api = {
  /**
   * @remarks get note content
   */
  getNote: (input: GetNoteInput) =>
    apiPipeline.invoke(url, { path: ['getNote'], input }) as Promise<
      GetNoteSuccess | NoteNotExist | NoteIsBroken | SystemError
    >,

  ... // anthor apis
}

in this segment, the url is constant but need pass to api.invoke everytime. IMO, I prefer:
import { createApiPipeline } from 'farrow-api-client'

...  // type declaration

export const url = '/api'
export const apiPipeline = createApiPipeline(url)

export const api = {
  /**
   * @remarks get note content
   */
  getNote: (input: GetNoteInput) =>
    apiPipeline.invoke({ path: ['getNote'], input }) as Promise<
      GetNoteSuccess | NoteNotExist | NoteIsBroken | SystemError
    >,

  ... // anthor apis
}

reason:

generated code splited to file by services
services defined in farrow.config.js and url is independent in each service
one url -> one service -> one file generated -> one api created by createApiPipeline

It looks good!
I will refactor farrow-api-* as you suggest.

farrow v1.8.5 was released with this feature. Now each api has its own apiPipeline, and all api share one root apiPipeline.

farrow-api-client usage


Removed Archive and all related code. Freeze-Dry, Local-Page, Prefere…

I removed all instances of Freeze-Dry, Local-Page, Preferences, Scheduled-Tasks as well as anything referring to them. It doesn't seem to have broken anything on my computer. However may want to just double check everything is good.

Just saw two other places:

src/page-analysis/background/fetch-page-data.js: all the freezeDry calls and checks
src/page-analysis/content_script/index.js: the makeRemotelyCallable call with freezeDry function

Then we can also yarn remove the freeze-dry package which powers the entire archive/freeze-dry process.


chore(description): fixed package description

Looks like a ⌘C ⌘V effect w.r.t. https://github.com/kentcdodds/webpack-validator/ :wink:

Current coverage is 100.00%

Merging #26 into master will not affect coverage as of 607acdd

@@            master     #26   diff @@
======================================
  Files            2       2
  Stmts           43      43
  Branches         0       0
  Methods          0       0
======================================
  Hit             43      43
  Partial          0       0
  Missed           0       0

Review entire Coverage Diff as of 607acdd

Powered by Codecov. Updated on successful CI builds.


task: go back to rhel80 for since we don't run podman tests anymore

EVG is stuck on the 8.9 hosts and we can go back to 80 since we don't need podman

note: Can we add a note to whatever ticket we have tracking adding back those tests (if we ever do)

done


Error when running pg_restore

Bug description
I backed up my Postgresql database to move it to another server using pg_dump --username=postgres --dbname=database -F tar --file=databasebackup.tar --data-only --host=<IP_ADDRESS> --port=5432, which ran fine. But when I try to run pg_restore -c -U postgres -d database -v databasebackup.tar -W --host <IP_ADDRESS>, I get this error:
pg_restore: implied data-only restore
pg_restore: while INITIALIZING:
pg_restore: error: could not execute query: ERROR:  unrecognized configuration parameter "transaction_timeout"
Command was: SET transaction_timeout = 0;
pg_restore: processing data for table "public.User"
pg_restore: while PROCESSING TOC:
pg_restore: from TOC entry 3455; 0 16513 TABLE DATA User postgres
pg_restore: error: could not execute query: ERROR:  relation "public.User" does not exist
Command was: COPY public."User" (id, wallet, bank, "maxBankSize", "lastDaily", "lastWeekly", "lastMonthly", job, "allTime") FROM stdin;
pg_restore: processing data for table "public.Cooldown"
pg_restore: from TOC entry 3456; 0 16524 TABLE DATA Cooldown postgres
pg_restore: error: could not execute query: ERROR:  relation "public.Cooldown" does not exist
Command was: COPY public."Cooldown" (id, action, expires, "userId") FROM stdin;
pg_restore: processing data for table "public.Giveaway"
pg_restore: from TOC entry 3457; 0 16531 TABLE DATA Giveaway postgres
pg_restore: error: could not execute query: ERROR:  relation "public.Giveaway" does not exist
Command was: COPY public."Giveaway" (id, amount, "endsAt", message, entries, channel) FROM stdin;
pg_restore: processing data for table "public.Item"
pg_restore: from TOC entry 3458; 0 16538 TABLE DATA Item postgres
pg_restore: error: could not execute query: ERROR:  relation "public.Item" does not exist
Command was: COPY public."Item" (id, name, description, price, type, rarity) FROM stdin;
pg_restore: processing data for table "public.Lottery"
pg_restore: from TOC entry 3463; 0 16585 TABLE DATA Lottery postgres
pg_restore: error: could not execute query: ERROR:  relation "public.Lottery" does not exist
Command was: COPY public."Lottery" (id, "endDate", "serverId") FROM stdin;
pg_restore: processing data for table "public.LotteryParticipation"
pg_restore: from TOC entry 3464; 0 16592 TABLE DATA LotteryParticipation postgres
pg_restore: error: could not execute query: ERROR:  relation "public.LotteryParticipation" does not exist
Command was: COPY public."LotteryParticipation" (id, "userId", amount, "lotteryId", "createdAt") FROM stdin;
pg_restore: processing data for table "public.LuckyDrop"
pg_restore: from TOC entry 3461; 0 16569 TABLE DATA LuckyDrop postgres
pg_restore: error: could not execute query: ERROR:  relation "public.LuckyDrop" does not exist
Command was: COPY public."LuckyDrop" (id, channel, "messageCount", "lastMessage", "dropCount", dropped) FROM stdin;
pg_restore: processing data for table "public.MinesGame"
pg_restore: from TOC entry 3459; 0 16545 TABLE DATA MinesGame postgres
pg_restore: error: could not execute query: ERROR:  relation "public.MinesGame" does not exist
Command was: COPY public."MinesGame" (id, "user", mines, wager, field) FROM stdin;
pg_restore: processing data for table "public.MineField"
pg_restore: from TOC entry 3460; 0 16552 TABLE DATA MineField postgres
pg_restore: error: could not execute query: ERROR:  relation "public.MineField" does not exist
Command was: COPY public."MineField" (id, x, y, mine, "minesGameId") FROM stdin;
pg_restore: processing data for table "public.Server"
pg_restore: from TOC entry 3462; 0 16577 TABLE DATA Server postgres
pg_restore: error: could not execute query: ERROR:  relation "public.Server" does not exist
Command was: COPY public."Server" (id, "lotteryEnabled", "lotteryChannel") FROM stdin;
pg_restore: processing data for table "public._prisma_migrations"
pg_restore: from TOC entry 3454; 0 16504 TABLE DATA _prisma_migrations postgres
pg_restore: error: could not execute query: ERROR:  relation "public._prisma_migrations" does not exist
Command was: COPY public._prisma_migrations (id, checksum, finished_at, migration_name, logs, rolled_back_at, started_at, applied_steps_count) FROM stdin;
pg_restore: warning: errors ignored on restore: 12

It appears to create the tables, but it doesn't import the actual database data.
How to reproduce

Setup a postgresql database
Use that database for a project with prisma
backup the database using the command mentioned above
try to restore the backup using the command mentioned above

Expected behavior
It should have imported the data correctly and run without errors.
Prisma information

generator client {
  provider = "prisma-client-js"
}

datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

model User {
  id          String     @id
  wallet      Int        @default(0)
  bank        Int        @default(0)
  maxBankSize Int        @default(10000)
  lastDaily   DateTime
  lastWeekly  DateTime
  lastMonthly DateTime
  job         String?
  allTime     Int        @default(0)
  cooldowns   Cooldown[]
}

model Server {
  id             String  @id
  lotteryEnabled Boolean @default(false)
  lotteryChannel String?
}

model Cooldown {
  id      String   @id @default(uuid())
  action  String
  expires DateTime
  userId  String
  User    User     @relation(fields: [userId], references: [id])
}

model Giveaway {
  id      String   @id @default(uuid())
  amount  BigInt
  endsAt  DateTime
  message String
  entries String[]
  channel String
}

model Item {
  id          String @id @default(uuid())
  name        String
  description String
  price       Int
  type        String
  rarity      String
}

model MinesGame {
  id        String      @id
  user      String
  mines     Json
  wager     Int
  field     Json
  MineField MineField[]
}

model MineField {
  id          String    @id
  game        MinesGame @relation(fields: [minesGameId], references: [id])
  x           Int
  y           Int
  mine        Boolean
  minesGameId String
}

model LuckyDrop {
  id           String   @id @default(cuid())
  channel      String
  messageCount Int
  lastMessage  DateTime
  dropped      Boolean  @default(false)
  dropCount    Int?
}

model Lottery {
  id                   String                 @id @default(cuid())
  LotteryParticipation LotteryParticipation[]
  endDate              DateTime
  serverId             String
}

model LotteryParticipation {
  id        String   @id @default(cuid())
  userId    String   @unique
  lottery   Lottery  @relation(fields: [lotteryId], references: [id])
  amount    Int
  lotteryId String
  createdAt DateTime @default(now())
}

Environment & setup

OS: Windows 11
Database: PostgreSQL
Node.js version: v23.3.0

Prisma Version
prisma                  : 5.21.1
@prisma/client          : 5.21.1
Computed binaryTarget   : windows
Operating System        : win32
Architecture            : x64
Node.js                 : v23.3.0
Query Engine (Node-API) : libquery-engine bf0e5e8a04cada8225617067eaa03d041e2bba36 (at<EMAIL_ADDRESS>Schema Engine           : schema-engine-cli bf0e5e8a04cada8225617067eaa03d041e2bba36 (at<EMAIL_ADDRESS>Schema Wasm             : @prisma/prisma-schema-wasm 5.21.1-1.bf0e5e8a04cada8225617067eaa03d041e2bba36
Default Engines Hash    : bf0e5e8a04cada8225617067eaa03d041e2bba36
Studio                  : 0.503.0

Oh, I just forgot to run prisma migrate, my bad


[LFN] Index out of range

I am getting an Index out of range error at index 260 of 256 buffer when using the LFN feature in my no_std firmware.
Any pointers on where stuff goes wrong? It doesn't happen until i am trying to open the file using root_dir().open_file("...").
The error originates at https://github.com/rafalh/rust-fatfs/blob/48d428db7f85e4e25498e2ca64cc984ea8861425/src/dir.rs#L905 and it seems to happen because data.order somehow becomes 0xFF?
I am very unfamiliar with FAT and especially the LFN extension, so any pointers on where to search would be super helpful?

It would be helpful if you posted more information about filesystem that you are playing with, what is there, how did you create, does it have some interesting features like files with very long names or something? Perhaps you could upload an image.
I checked specs and the code and indeed there are some corner cases that are handled improperly.
FAT spec says that maximal length of long file name is 255. Such long name is stored in 20 long directory entries, each holding 13 characters. 13*20 is actually 260 so we have additional 5 characters that could be ignored but current implementation copies them to internal buffer. Everything works fine on non-no_std build because buffer is dynamically allocated to a proper size, but on no_std it is 256 bytes long so index out of range error happens. To be exact it will happen for all file names that are at least 248 characters long. That's a pretty long name and I don't expect this problem to be really common :) But still, code should be improved to handle this case properly.
You also mentioned that data.order is 0xFF. It doesn't make sense unless filesystem is corrupted. order field should be 1-based long dir entry index optionally ORed with 0x40. Are you sure if it really was 0xFF? Because of it was perhaps there is another problem here and I would need raw filesystem or some way to reproduce it to debug it properly.

Repo that replicates the issue in no_std on my laptop: https://github.com/MathiasKoch/rust-fatfs-issue
It might not be the most minimal implementation for it, but it comes very close to my actual application.

I was messing around with you last minimal example and I see now what exactly happens. Because of bad implementation of LfnBuffer when alloc is disabled file was created with 20 long dir entries despite its name being very short. This is the bug you fixed. But without the second bug I described in this issue before (out of range error for filenames > 248 characters or to be more precise with 20 long dir entries) this issue would be unnoticeable (no out of range error would happen).
This issue shows I should enable tests for no_std...
Anyway thanks for your patient testing and contribution! I never really used this lib in a real embedded environment so it's great that it gets some proper testing now thanks to you :)


Request: Add support for fluids from Refined Power mod

It would be awesome to be able to use it with these additional liquids.
Love your mod!

I'll start working on this, but it may be some time because I am strained for free time ATM. For now I think I will try to make my mod compatible to Refined Power (since you asked) and Ficsit Farming (because I use FF :D )

Thanks for working on this! Managing the steam output of large power plants will be so much nicer with this!

Added support for Ficsit Farming and Refined Power. Update to 1.3.0 to get the new version.


mac-14 and mac-12 lost external connection from phone device.

Type of Request
bug
Infrastructure Environment
LUCI, Github, Cocoon scheduler, Autosubmit, etc...
What is happening?
mac-14 and mac-12 lost external connection from phone device.

Steps to reproduce
Step 1:
Step 2:
..
Step n:
Expected results
I expect to see X when Y is finished.

Rebooting both machines above to restore both connections.


Update docker.sh to add a check for existing image before building

Updated docker.sh to use the modification timestamp of Dockerfile to determine if the image needs to be rebuilt.
Added .last_build_timestamp to .gitignore with a comment explaining why it should be ignored.

Can you explain what the timestamp is for exactly?

use the modification timestamp of Dockerfile to determine if the image needs to be rebuilt.
If the Dockerfile file is modified, rebuild the image, and if not, use the image that has already been built

Why not just check if the image exists or not?

Shouldn’t it use an inequality sign instead then?
On Sat, Jun 24, 2023 at 4:37 PM Liyd @.***> wrote:

use the modification timestamp of Dockerfile to determine if the image
needs to be rebuilt.
If the Dockerfile file is modified, rebuild the image, and if not, use the
image that has already been built
—
Reply to this email directly, view it on GitHub
https://github.com/ykdojo/kaguya/pull/17#issuecomment-1605776696, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN2JQ2IT7CAPGUKUE47A53XM522LANCNFSM6AAAAAAZSM62ZA
.
You are receiving this because you commented.Message ID:
@.***>

I meant > or < instead of !=

// 我之前的想法是，只要这个Dockerfile 文件被修改了，就重新构建镜像，但是实际上只要文件有修改，通常修改时间都会大于之前的时间戳！所以使用 '>' 可能是更准确的。

I meant > or < instead of !=

My previous idea was to rebuild the image as soon as the Dockerfile file was modified, but in fact, whenever the file is modified, the modification time is usually greater than the previous timestamp! So using '>' may be more accurate
One more question, do you think this test is necessary? As I used it, I noticed that it would cost more time to build every time, so I submitted this change!

That's interesting because it seems to only take <1s pretty much every time for me:

This is not the case for you?

Your project reminds me of an idea I had - maybe we could collaborate?

@tweyew436 can you describe it and put it in an appropriate place?

That's interesting because it seems to only take <1s pretty much every time for me:
This is not the case for you?

That's interesting because it seems to only take <1s pretty much every time for me:
This is not the case for you?

As shown in the figure, the time consumption of my side tested is about 4s

It looks good to me although I'd ideally like input from someone else. So I'll leave this open for now until we get someone else to take a look, hopefully

ok


Publish Microsoft Authored templates to azure samples browser

Publish function-csharp-ai-textsummarize template to azure samples browser.
@rajeshkamal5050 and @hemarina for notification.

@paulyuk Could you help review this PR and merge it if it looks good?

@paulyuk Could you help review this PR and merge it if it looks good?


Subscribing to MqttServer.ClientAcknowledgedPublishPacketAsync results in two events for every published application message

Describe the bug
After creating an MqttServer instance, I add an event handler for ClientAcknowledgedPublishPacketAsync:
_mqttServer.ClientAcknowledgedPublishPacketAsync += OnClientAcknowledgedPublishPacketAsync;
Every time a message is published to a client and acknowledged by the client, the event handler function OnClientAcknowledgedPublishPacketAsync() is called twice.
Which component is your bug related to?

Server

To Reproduce
Using version <IP_ADDRESS>0 of MQTTnet.
See the description for steps to reproduce.
Expected behavior
When a client receives and acknowledges a message, the ClientAcknowledgedPublishPacketAsync event handler is only called once.
Screenshots
n/a
Additional context / logging
n/a

@chkr1011 Yes, messages were published as QoS 2.

Ok then I assume this is the issue. I will fix this so that the event only gets called after the PUBCOMP message is received because only this message clearly marks the successful end of the transfer process.

@chkr1011 Thank you.


Feature/aws setup - [WIP]

This is working implementation of built-in integration with EMR. Cluster configuration may be placed into context settings(examples) and mist can dynamically spawn EMR-clusters.
This requires introduces new mini-submodules:

agent - simple application for running on EMR master node to guarantee shutdown cluster in case if mist instance was stopped
aws-init-setup - performs initial AWS environment setup(creates if necessary roles, security groups, ssh keys) + generates mist config with this information

This branch is ready for preview and already published here + cloudformation template.
What's left:

[ ] handle context updates in a more elegant way. Not every update should lead to starting a new cluster. Some setting of emr and ours could be updated on working cluster(maxJobs, instanceCount)
[ ] http api for workers was commented. need to reimplement it's.
[ ] rest api for clusters
[ ] provide a way to put several worker-runners into launcher-settings section and allow contexts to use them
[ ] provide a way to configure manual-launcher - the similar like we have for workers

Hi @dos65
i was trying out this patch, but on starting job with required context, its failing with
ERROR 2020-05-09T11:59:33.324 [d5400064-2e35-413b-8b17-32261d930310] FailedEvent with Error:
 java.lang.RuntimeException: Context is broken
	at io.hydrosphere.mist.master.execution.JobActor$$anonfun$io$hydrosphere$mist$master$execution$JobActor$$initial$1.applyOrElse(JobActor.scala:59)
	at akka.actor.Actor$class.aroundReceive(Actor.scala:517)
	at io.hydrosphere.mist.master.execution.JobActor.akka$actor$Timers$$super$aroundReceive(JobActor.scala:24)
	at akka.actor.Timers$class.aroundReceive(Timers.scala:44)
	at io.hydrosphere.mist.master.execution.JobActor.aroundReceive(JobActor.scala:24)
	at akka.actor.ActorCell.receiveMessage(ActorCell.scala:527)
	at akka.actor.ActorCell.invoke(ActorCell.scala:496)
	at akka.dispatch.Mailbox.processMailbox(Mailbox.scala:257)
	at akka.dispatch.Mailbox.run(Mailbox.scala:224)
	at akka.dispatch.Mailbox.exec(Mailbox.scala:234)
	at akka.dispatch.forkjoin.ForkJoinTask.doExec(ForkJoinTask.java:260)
	at akka.dispatch.forkjoin.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:1339)
	at akka.dispatch.forkjoin.ForkJoinPool.runWorker(ForkJoinPool.java:1979)
	at akka.dispatch.forkjoin.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:107)
Caused by: java.lang.RuntimeException: Unknown settings name default_emr for ctx root_emr_ctx
	at io.hydrosphere.mist.master.execution.ClustersService$$anon$1.start(ClustersService.scala:46)
	at io.hydrosphere.mist.master.execution.ExecutionService$$anonfun$2$$anonfun$3.apply(ExecutionService.scala:119)
	at io.hydrosphere.mist.master.execution.ExecutionService$$anonfun$2$$anonfun$3.apply(ExecutionService.scala:119)
	at io.hydrosphere.mist.master.execution.ContextFrontend.io$hydrosphere$mist$master$execution$ContextFrontend$$gotoStartingConnector(ContextFrontend.scala:345)
	at io.hydrosphere.mist.master.execution.ContextFrontend$$anonfun$awaitRequest$1.applyOrElse(ContextFrontend.scala:70)
	at akka.actor.Actor$class.aroundReceive(Actor.scala:517)
	at io.hydrosphere.mist.master.execution.ContextFrontend.akka$actor$Timers$$super$aroundReceive(ContextFrontend.scala:39)
	at akka.actor.Timers$class.aroundReceive(Timers.scala:44)
	at io.hydrosphere.mist.master.execution.ContextFrontend.aroundReceive(ContextFrontend.scala:39)
	... 9 more

I have kept the conf folder same as present in the release, just modified the context to pick up emr_ctx context instead of default.
Any pointers?

Could you please show your context.conf here? I think there might be some issues with that.

Hi @blvp
Thanks for reply.
I am using following config:
model = Context
name = emr_ctx
data {
  launchData {
    type = "aws-emr",
    launcherSettingsName = "default_emr"
    releaseLabel = "emr-5.17.0"
    instances = [
      {
         instanceGroupType = "master"
         instanceType = "m4.large"
         name = "my-master"
         instanceCount = 1
         market = "onDemand"
      },
      {
         instanceGroupType = "core"
         instanceType = "m4.large"
         name = "my-core"
         instanceCount = 2
         market = "spot"
         bidPrice = "0.035"
      }
    ]
  }
  maxJobs = 1
  maxConnFailures = 1
  workerMode = "exclusive"
  precreated = false
  sparkConf {
    spark.executor.instances = 2
    spark.submit.deployMode = "cluster"
    spark.master = "yarn"
    spark.executor.memory = "1G"
    spark.executor.cores = 2
  }
  downtime = "1200s"
  streamingDuration = "1s"
}

and using 20func.conf as follows:
model = Function
name = hello-mist-scala
data {
    path = hello-mist-scala_0.0.1.jar
    class-name = "HelloMist$"
    #  context = default
    context = emr_ctx
    # context = emr_autoscale_ctx
}

This is creating the function correctly and picking up the required context as well but fails on triggering the function with above error.

Thank you. I will keep you in the loop. Also, could you please join gutter, so we communicate there istead of PR :)

Yes @blvp! Thanks

Hey @blvp  @dos65
Did you guys get a chance to look at this error?


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_e0a30888-96ea-4582-9f8e-6d0c6af9783b/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_e0a30888-96ea-4582-9f8e-6d0c6af9783b.git

Docs Build status updates of commit 8c38090:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Rely on just one XML library

Currently txAWS uses both lxml and the stdlib xml libraries.  This is confusing and results in duplication of efforts.  Pick one and just use it everywhere.

Historically, lxml on PyPy has posed some difficulties, but as things currently stand, lxml works just fine on PyPy, so I suggest we pick that. (Among other things, lxml's XPath support is quite useful in many scenarios, although I don't think it's being used anywhere yet)
Mixing uses of the stdlib ElementTree and lxml.etree is probably going to result in somebody trying to pass objects from the one library into the other library at some point, which is going to result in very confusing failures.