Improve balanceTx test coverage for error cases

[x] Add unit tests for:

Unresolved inputs
PastHorizonException from validity intervals
Bad redeemers

[x] Tweak comments

Comments

See commit history
Preparation for #3255

Cardano.Wallet.Shelley.Transaction
  balanceTransaction
    [...]
    when passed unresolved inputs
      fails with some error [‐]
        # PENDING: currently silently ignored
      with redeemers
        fails with RedeemerPointsToUnknownScriptHash [✔] (20ms)
    when validity interval is too far in the future
      with some Plutus redeemers
        fails with TimeTranslationPastHorizon [✔] (35ms)
      with no redeemers
        succeeds to balance [✔] (76ms)
    when a redeemer is missing
      balancing succeeds (currently) [✔] (101ms)
    when the input a redeemer is pointing at doesn't exist
      fails with ErrAssignRedeemersTargetNotFound [✔] (35ms)

Issue Number
Preparation for https://input-output.atlassian.net/browse/ADP-1655

bors try

Thanks @jonathanknowles !
bors r+


Pflickin/refresh

Updated the Python logging to use the new Opencensus azure packages.
Removed uwsgi in favor of gunicorn.
Updated the R base image to use a supported GDAL base.
Several modifications to the ai4e_service and examples.
Change python images to use guid task ids.
Update R example and update SAS library for latest Azure Storage library.

Updated the Python logging to use the new Opencensus azure packages.
Removed uwsgi in favor of gunicorn.
Updated the R base image to use a supported GDAL base.
Change python images to use guid task ids.
Several modifications to the ai4e_service and examples.
Image version updates and documentation.
Update R example and update SAS library for latest Azure Storage library.
Removed separate app insights key requirement.
Added versions to all pip packages within requirements.txt files.
Resolved issues in the task manager (missing task, utc time, etc.)


[feature] Support memoizing a method conditionally

Summary
Support the following use case to allow clients to raise an error RedisMemo::WithoutMemoization if they don't want to memoize a method based on certain method args.
def method(without_memoization: false)
end

memoize_method :method do |_, without_memoization|
    raise RedisMemo::WithoutMemoization if without_memoization
    depends_on ....
  end
end

Change the behavior so that instead of throwing an error when an Arel dependency isn't memoized, fall back to calling the original method without memoization.
Also refactor a bit so that we extract dependencies before creating the future.

Testing
Existing specs pass, also added a few specs to test this behavior.

Codecov Report

Merging #28 (72e62dd) into main (dca6f3b) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #28      +/-   ##
==========================================
+ Coverage   96.92%   97.01%   +0.08%
==========================================
  Files          30       30
  Lines        1854     1875      +21
==========================================
+ Hits         1797     1819      +22
+ Misses         57       56       -1

Impacted Files
Coverage Δ

lib/redis_memo/memoizable/dependency.rb
100.00% <ø> (ø)

lib/redis_memo.rb
97.05% <100.00%> (+0.08%)
:arrow_up:

lib/redis_memo/future.rb
98.36% <100.00%> (ø)

lib/redis_memo/memoize_method.rb
96.92% <100.00%> (+0.14%)
:arrow_up:

spec/memoizable/dependency_spec.rb
100.00% <100.00%> (+0.54%)
:arrow_up:

Continue to review full report at Codecov.

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


Add member struct to project

FIXES https://github.com/drone/drone/commit/bff58346771c6f17b6de1bcedc71e9cd25ccc499

LGTM


How use infer custom rules

I study infer custom rules，
totorial url ： https://fbinfer.com/docs/next/checker-linters/#demo
code  file name is  "cast.c "
application file code：
int main(){
int n = 5000;
char c = n;
}
rule file name is  "implicit_cast.al"
rule code:
DEFINE-CHECKER Implicit_cast = {
SET report_when =
WHEN has_type("char") AND has_type("int") HOLDS_EVENTUALLY
HOLDS-IN-NODE ImplicitCastExpr;
SET message = "Implicit cast loses integer precision: 'int' to 'char'";
SET severity = "WARNING";
};
run my code with command line:
infer --linters-developer-mode --linters-def-file implicit_cast.al -- clang -c cast.c
show tips:
xxxx      unknown option '--linters-developer-mode'.
Infer version v1.1.0-9eed1a92b9
Copyright 2009 - present Facebook. All Rights Reserved.
Usage: infer command [options]
See infer --help for more information.

AL is no more, after having been deprecated in version 1.0.0 (and then 1.1.0). Looks like we forgot to remove the corresponding documentation from the website, sorry about that!

OK, Thank you。 I  have another question about:
Can I use infer default AL rule ?
for example scan
@property(nonatomic, strong) id  delegate;

RETAIN_CYCLE error.

RETAIN_CYCLE is not an AL rule, you can get it reported by either biabduction or pulse.


BIGTOP-3507: CVE-2020-13957 mitigation backport

Fix unauthenticated configset uploads security risk. Patch in SOLR-14663
is backported to v6.6.6
Change-Id: I40c6f7d0edae057acd2182174dbf5fea84c0b825
Signed-off-by: Jun He<EMAIL_ADDRESS>

Thanks for reviewing and merging this, @iwasakims


Try implementing this lib with delta-rs

I played around with delta-rs and think that'd be an even easier way to implement the Delta read functionality.
Here's how we can get all the files that need to be read into the Dask DataFrame.
from deltalake import DeltaTable

dt = DeltaTable("tmp/some-delta-pyspark")
dt.files() # list of files

This to_pyarrow_dataset function may be useful. There is also a to_pyarrow_table function.
What do you think @rajagurunath?

Hi @MrPowers,
That's a great Suggestion. 👍
We initially discussed  integrating delta-rs and dask here, and at that
time, we are facing some problems to read data from s3, AzureFS, GCFS.
Now I think there was explicit support for the pyarrow filesystem to read from a different backend.
After your Suggestion, Now I have started working on delta-rs integration, and currently trying to figure out how to parallelize IO using Dask (reading multiple parquet files). if we rely on delta-rs to_pyarraow_dataset function all the parquet files are read in the same thread (Dask task) I guess. so planning to take all the advantages of delta-rs and implementing only the parallel reading function using Dask Delayed separately.
Any other Suggestions for parallelizing the deltalake read using Dask ?
And Once again thanks for trying this out and opening an issue here.

@rajagurunath - I actually think this is going to be super easy.
Think this will work:
from deltalake import DeltaTable
import dask.dataframe as dd

dt = DeltaTable("tmp/some-delta-pyspark")
ddf = dd.read_parquet(dt.files())

The read_parquet method takes a list of file names.
Can you try and let me know if it works?

Sounds good, keep me posted ;)

Hi @MrPowers,
Integrating delta-rs and dask work was almost completed,
if you have some time can you please review the PR created here https://github.com/rajagurunath/dask_deltatable/pull/3. and let me know your suggestions for the same.
Thanks in Advance.


Request: Formatting of numbers in alerts

Please add some formatting to numbers that are shown in the alerts, either by adding a separator (126,432,761) or by formatting the number with a unit (126K) as the number below is hard to read at a glance.
Array read operations per second (126432761) exceeded the  configured monitoring threshold.

Request sent to Development.

Added to next release.


Fix setting monitorAggregationLevel to max reflects via CLI

This PR fixes setting MonitorAggregationLevel to max to correctly
reflect through CLI.
Fixes: #12000
Signed-off-by: Swaminathan Vasudevan<EMAIL_ADDRESS>

Coverage increased (+0.01%) to 37.024% when pulling 49d6138a83772633cab562d99d18e4fa7b2a6dcb on soumynathan:set-monitor-aggregation-level-max-properly into 477c4872cb4af11156df600d3092b7bd6aaf5a1d on cilium:master.

Marking as needs-backport/1.7 since this was reported against 1.7.4 in #12000

test-me-please

I think the core of the issue here is that previously the format function for MonitorAggregationLevel didn't have a field for max. @soumynathan correctly fixes this. IMO, I don't think it matters whether we create a new level (in this case it is a 4) to fix this bug, of course assuming no datapath implications. Only the formatting is affected as it seems to be a cosmetic bug, I believe.
Now what we are dealing with is whether we want to allow the user to specify max and if we should spit a warning msg to inform them that max aggregation hasn't been implemented (or similar). When I briefly synced with @joestringer on this, currently max is just a placeholder until we actually implement it.

There's clearly a bit of confusion around what these settings are and what they mean, and that's partly on me for not documenting; Furthermore I fully anticipate that 99% of users will use whatever is the default so I haven't seen it as a tweak that's worth documenting fully at this point.
Here's the code:
https://github.com/cilium/cilium/blob/a8066cec55fca1a898db1a8d5062af6e0ce12e36/bpf/lib/trace.h#L46-L51
"NONE" on the datapath maps to the none on the daemon, that means send all datapath notifications for receive/transmit packets.
"AGGREGATE_RX" is equivalent to "low" in the daemon. That means stop sending datapath notifications for received packets. All transmitted packets should still cause a notification to be sent.
"ACTIVE_CT" (note ==3) adds connection aggregation which by default limits trigger notifications to once per 5 seconds per connection (unless there's new information like new TCP flags). All dropped packets still trigger notifications.
If someone is particularly careful about the semantics they need from the notifications mechanism, they can lock the value to one of the specific levels to get those semantics.
There is no "maximum" in the datapath, maximum in the daemon is a concept that says "I don't care, give me whatever notifications that the Cilium maintainers think is a reasonable level of filtering". This is part of why there's this "UI bug" right now, because "maximum" isn't a distinct value or setting with its own semantics. Its semantics will change if we introduce additional levels of aggregation (such as sending fewer notifications for dropped packets).

are there any implications in regarding the datapath implementation[...]?

No, the datapath checks against ">=" specific values of aggregation:
https://github.com/cilium/cilium/blob/a8066cec55fca1a898db1a8d5062af6e0ce12e36/bpf/lib/trace.h#L121-L140
In summary, setting to 4 should have no behaviour difference and will retain the semantics we expect. We may need to bump it again in future when adding additional levels, but we can address that if/when we come to that.

I don't really consider this worth backporting since it's been there since Cilium v1.2 and it took until v1.8 (1.5 years+) for anyone to notice.


error message duplication in argumentless program call

I'm opening this issue because:

[X] I have found a bug

[ ] I want to request a feature

[ ] I have a question

[ ] Other

My Go version is: None

My GOPATH is set to: None

qrcp version: 0.6.1
Maybe just for argumentless program call, write only help? What do you think?

Hello @michal037, thanks for reporting these issues! I will take care of all of it in the next few days, cheers.

Fixed in 0.6.2 which will be released in a few days, thanks for reporting!
See the related PR #142


runtime: CGO code EINTR errors at random points on AIX

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

$ go version
go version go1.16.9 aix/ppc64

Does this issue reproduce with the latest release?
1.16.9 is the latest release from IBM.
What operating system and processor architecture are you using (go env)?
go env Output
 go env
GO111MODULE=""
GOARCH="ppc64"
GOBIN=""
GOCACHE="/home/user1/.cache/go-build"
GOENV="/home/user1/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="ppc64"
GOHOSTOS="aix"
GOINSECURE=""
GOMODCACHE="/home/user1/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="aix"
GOPATH="/home/user1/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/opt/freeware/lib/golang"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/opt/freeware/lib/golang/pkg/tool/aix_ppc64"
GOVCS=""
GOVERSION="go1.16.9"
GCCGO="gccgo"
GOPPC64="power8"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -maix64 -pthread -mcmodel=large -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build940967260=/tmp/go-build -gno-record-gcc-switches

What did you do?
Mavimax is working on Enduro/X middleware which has some nice bindings to Golang. Also, Enduro/X uses Golang for network connectivity, etc. The core of Enduro/X is written in C and follows the strict semantics of the Unix operating system, as middleware is used for mission-critical projects (real-time banking transactions, etc). When integrating with C, C code is activated by Go code. And what we have recently seen, that our unit-tests which uses Golang bindings randomly fail on AIX operating system.
When we have investigated this deeper, it founds out that we randomly receive some EINTR errors. One could say that you should add retries/loops on system calls to deal with EINTR (and this might be not a loops only, to restart the system call, timeouts shall be recalculated to reflect time already spent, etc.. - thus additional work). But I guess that is not the correct answer, as firstly somebody could use a lot of code which relay that signals and errors have a meaning, secondly there might be some proprietary libraries used which cannot be modified. I guess Golang shall not impose such behavior that other program C threads see some effects from other threads.
We have created a small program to illustrate this issue:

package main

/*
#include
#include
#include
#cgo LDFLAGS:
// simple C code
void do_some_c_call(void) {

    struct timespec timeout;
    timeout.tv_sec = 0;
    timeout.tv_nsec = 1000;

    if (0!=nanosleep(&timeout, &timeout) && errno == EINTR)
    {
        printf("INTERRUPTED\n");
    }

}
*/
import "C"

import (
        "sync"
)

func main() {

        var wg sync.WaitGroup

        for i :=0; i<100000; i++  {
                wg.Add(1)
                go func() {
                        defer wg.Done()
                            for {
                                C.do_some_c_call()
                            }
                }()
        }
        wg.Wait()
}

And when running on AIX for a few minutes, we get:

$ go run test.go
INTERRUPTED
INTERRUPTED
INTERRUPTED
INTERRUPTED
INTERRUPTED
INTERRUPTED

While on Linux, I was unable to see this output.
We have made test case with GODEBUG="asyncpreemptoff=1" set, then error does not appear on AIX:

$ GODEBUG="asyncpreemptoff=1" go run test.go

(running several minutes).
What did you expect to see?
I expect that in CGO environment, Unix system calls are completed without EINTR errors at random points.
In the above example "INTERRUPTED" shall not be printed in any case.
What did you see instead?
Unix system calls, randomly return error with errno set to EINTR.
In the above example "INTERRUPTED" was printed.
I see that there was a similar case in your unit tests:

https://github.com/golang/go/issues/36996

But here what I report is already a production-grade defect.

See this note from the 1.14 release notes:

A consequence of the implementation of preemption is that on Unix systems, including Linux and macOS systems, programs built with Go 1.14 will receive more signals than programs built with earlier releases. This means that programs that use packages like syscall or golang.org/x/sys/unix will see more slow system calls fail with EINTR errors. Those programs will have to handle those errors in some way, most likely looping to try the system call again. For more information about this see man 7 signal for Linux systems or similar documentation for other systems.

See also asyncpreemptoff at https://pkg.go.dev/runtime for a way to disable these signals for specific Go programs.
Closing because this is working as expected.

Some thoughts:

I just google around, and I see that there are several projects that breaks with introduction of Go 1.14. And probably more software will break, as not all projects are using fresh compilers. Maybe Go compiler somehow can detect that if it links with cgo, then by default enable asyncpreemptoff?

How do you think, if at Go->C entry C code would blocking SIGURG via pthread_sigmask() for the particular thread and unblock when returning to Go (for Go receives call from C), will it break a Go runtime or will work ok? If it would work fine, then maybe Go can do this automatically?


Version 1.0

TODO:

[ ] Session Stats
[ ] AutoGG
[ ] AutoGF (gf <3 or glhf)
[ ] DYK
[x] fabric-loom instead of polyfrost/essential
[ ] New Settings via jGui (RM)

Tubber API in progress

Worker rewrite of tubion-api in progress as well


iNatImport hung on Authenticating

iNatImport intermittently hangs in the state "Authenticating". This has been reported by multiple users. See, e.g.,

Slack General 2014-11-09 09:51 post from @AlanRockefeller
email to webmaster Nov 15, 2024, 10:37 AM
other emails to webmaster.

Tasks

[x] Import until error replicated.
Done. See Comment Below, "Finally reproduced this once."
[x] Review Rails Docs Active Jobs Basics
[x] Review Rails docs Action Cable Overview
Irrelevant
[ ] Review Solid Queue documentation
[ ] Review mission_control-jobs documentation
[ ] explicitly log InatImportController#authorization_response call to perform_later.
[ ] log start of InatImportJob in first line (instead of 2nd)
[ ] include param in above
[ ] job log entries in UTC

Finally reproduced this once.
Import from iNat form:

Your iNat Username (mandatory):
jdcohenesq
Comma separated list of up to 10 observation #s:
251839766

iNatImportsController.rb relevant lines
    def create
      ...
      @inat_import = InatImport.find_or_create_by(user: User.current)
      @inat_import.update(state: "Authorizing",
                          import_all: params[:all],
                          importables: 0, imported_count: 0,
                          inat_ids: params[:inat_ids],
                          inat_username: params[:inat_username].strip,
                          response_errors: "", token: "", log: [])

      request_inat_user_authorization
    end
    ...

    def request_inat_user_authorization
      redirect_to(inat_authorization_url, allow_other_host: true)
    end

    def authorization_response
      auth_code = params[:code]
      return not_authorized if auth_code.blank?

      @inat_import = InatImport.find_or_create_by(user: User.current)
      @inat_import.update(token: auth_code, state: "Authenticating")
      tracker = InatImportJobTracker.create(inat_import: @inat_import.id)

      # InatImportJob.perform_now(@inat_import) # for manual testing
      InatImportJob.perform_later(@inat_import)

      redirect_to(inat_import_job_tracker_path(tracker.id))
    end

iNatJob.rb relevant lines
 queue_as :default

  def perform(inat_import)
    @inat_import = inat_import
    log("InatImportJob<EMAIL_ADDRESS>started, " \
        "user<EMAIL_ADDRESS>
Production Log (with comments):
iNatImportController kicks things off, redirects to iNat for authorization
I, [2024-11-16T03:05:57.085685 #1930905]  INFO -- : Started POST "/observations/inat_imports" for <IP_ADDRESS>
W, [2024-11-16T03:05:57.092088 #1930905]  WARN -- : user=4468 robot=N ip=<IP_ADDRESS>
W, [2024-11-16T03:05:59.358382 #1930905]  WARN -- : TIME: 2.27097318 302 observations/inat_imports create user <IP_ADDRESS>	https://mushroomobserver.org/observations/inat_imports

iNat calls the MO redirect_url (authorization_response) with a code param
I, [2024-11-16T03:06:00.041668 #1930901]  INFO -- : Started GET "/observations/inat_imports/authorization_response?code=rTZwfpSSAI_FrkXlMxfc4LXS4eQEyA7PgfW5lDU78iM" for <IP_ADDRESS>
W, [2024-11-16T03:06:00.049908 #1930901]  WARN -- : user=4468 robot=N ip=<IP_ADDRESS>
W, [2024-11-16T03:06:00.185951 #1930901]  WARN -- : TIME: 0.141724913 302 observations/inat_imports authorization_response user <IP_ADDRESS>	https://mushroomobserver.org/observations/inat_imports/authorization_response?code=rTZwfpSSAI_FrkXlMxfc4LXS4eQEyA7PgfW5lDU78iM

iNatImportController creates (or redirects to?, or I  refresh)
I, [2024-11-16T03:06:01.043386 #1930901]  INFO -- : Started GET "/inat_import_job_trackers/332" for <IP_ADDRESS>
W, [2024-11-16T03:06:01.051281 #1930901]  WARN -- : user=4468 robot=N ip=<IP_ADDRESS>
W, [2024-11-16T03:06:01.253933 #1930901]  WARN -- : TIME: 0.208336236 200 inat_import_job_trackers show user <IP_ADDRESS>	https://mushroomobserver.org/inat_import_job_trackers/332

What is this?
I, [2024-11-16T03:06:01.476088 #1930901]  INFO -- : Finished "/cable" [WebSocket] for <IP_ADDRESS>

I repeatedly click Update Results on the tracker page
I, [2024-11-16T03:06:07.680419 #1930907]  INFO -- : Started GET "/inat_import_job_trackers/332" for <IP_ADDRESS>
W, [2024-11-16T03:06:07.688078 #1930907]  WARN -- : user=4468 robot=N ip=<IP_ADDRESS>
W, [2024-11-16T03:06:07.830947 #1930907]  WARN -- : TIME: 0.148466271 200 inat_import_job_trackers show user <IP_ADDRESS>	https://mushroomobserver.org/inat_import_job_trackers/332
I, [2024-11-16T03:06:18.312283 #1930907]  INFO -- : Started GET "/inat_import_job_trackers/332" for <IP_ADDRESS>
W, [2024-11-16T03:06:18.318410 #1930907]  WARN -- : user=4468 robot=N ip=<IP_ADDRESS>
W, [2024-11-16T03:06:18.443448 #1930907]  WARN -- : TIME: 0.12951742 200 inat_import_job_trackers show user <IP_ADDRESS>	https://mushroomobserver.org/inat_import_job_trackers/332

Job Log last job
:  All of this precedes the events in the production log;
2024-11-15 18:54:03 -0800 == 2024-11-16 02:54:03
So there’s nothing in the job.log for the hung event.
2024-11-15 18:53:53 -0800: InatImportJob 1 InatImportJob 1 started, user 4468
2024-11-15 18:53:53 -0800: InatImportJob 1 Getting SuperImporters
2024-11-15 18:53:54 -0800: InatImportJob 1 Got SuperImporters: ["MO Webmaster", "nathan", "D.TempestThomas", "Joe Cohen"]
2024-11-15 18:53:54 -0800: InatImportJob 1 Obtaining OAuth access token
2024-11-15 18:53:54 -0800: InatImportJob 1 Obtained OAuth access token: Mue*************************************FXM
2024-11-15 18:53:54 -0800: InatImportJob 1 Obtaining jwt
2024-11-15 18:53:54 -0800: InatImportJob 1 Obtained JWT API token: eyJ*****************************************************************************************************************************************************************************************xsg
2024-11-15 18:53:54 -0800: InatImportJob 1 Skipping own-obs check (SuperImporter)
2024-11-15 18:54:03 -0800: InatImportJob 1 Imported requested observations
2024-11-15 18:54:03 -0800: InatImportJob 1 Updating inat_import state to Done
2024-11-15 18:54:03 -0800: InatImportJob 1 Updated user inat_username

InatImport objecct for the hung import.
Note: inat_id is the id requested in the form; token == code param received by authorization_response.
Thus InatImportsController#authorization_response`: received the code which was requested from iNat, updated the iNatImport object with the code and a new state: Authenticating.
irb(main):001> import = InatImport.find_by user_id: 4468
=>
#<InatImport:0x00007f2870395c48
...
irb(main):002> import
=>
#<InatImport:0x00007f2870395c48
 id: 1,
 user_id: 4468,
 state: "Authenticating",
 inat_ids: "251839766",
 created_at: Sun, 22 Sep 2024 22:23:00.935269000 EDT -04:00,
 updated_at: Fri, 15 Nov 2024 22:06:00.153008000 EST -05:00,
 token: "[FILTERED]",
 inat_username: "jdcohenesq",
 import_all: nil,
 importables: 0,
 imported_count: 0,
 response_errors: "",
 log: []>
irb(main):003> import.token
=> "rTZwfpSSAI_FrkXlMxfc4LXS4eQEyA7PgfW5lDU78iM"

jdc notes from Active Jobs Basics:

Rails by default comes with an asynchronous queuing implementation that runs jobs with an in-process thread pool. Jobs will run asynchronously, but any jobs in the queue will be dropped upon restart.

Rails itself only provides an in-process queuing system, which only keeps the jobs in RAM. If the process crashes or the machine is reset, then all outstanding jobs are lost with the default async backend. This may be fine for smaller apps or non-critical jobs, but most production apps will need to pick a persistent backend.

Is it possible that this why some of our emails are not getting sent?

Using the asynchronous queue from a Rake task (for example, to send an email using .deliver_later) will generally not work because Rake will likely end, causing the in-process thread pool to be deleted, before any/all of the .deliver_later emails are processed. To avoid this problem, use .deliver_now or run a persistent queue in development.

Am I doing the wrong thing with exceptions?

Exceptions raised during the execution of the job can be handled with rescue_from
...
If an exception from a job is not rescued, then the job is referred to as "failed".

A failed job will not be retried, unless configured otherwise.
It's possible to retry or discard a failed job by using retry_on or discard_on, respectively.

jdc notes from Solid Queue documentation

We have several types of actors in Solid Queue:

Workers are in charge of picking jobs ready to run from queues and processing them. They work off the solid_queue_ready_executions table.
Dispatchers are in charge of selecting jobs scheduled to run in the future that are due and dispatching them, which is simply moving them from the solid_queue_scheduled_executions table over to the solid_queue_ready_executions table so that workers can pick them up. On top of that, they do some maintenance work related to concurrency controls.
The scheduler manages recurring tasks, enqueuing jobs for them when they're due.
The supervisor runs workers and dispatchers according to the configuration, controls their heartbeats, and stops and starts them when needed.


[example]add bucketing/batchnorm and improved performance for speech_recognition example

add bucketing and batch norm scheme for speech_recognition example to improve training performance
add flexibility to support various optimizer
fix bug in generating bi-graphemes dictionray
add option not to save csv file to improve performane and reduce disk space requirement
and it solves performance issue(speed) related to #6418
and may related to issues #3076, #6115, #2663
when using both bucketing(variable length) and batch norm
although it is not a solution for time-step wise but layer wise approach for batch normalization

@piiswrong I tested on latest build and it works well. Please let me know if there is something to do.

Thanks. LGTM


Show Text Editor Zoom level in decimals

There is a "Window: Zoom Level" setting which defines the zoom level of the window (sidebar, etc.) and a "Editor: Mouse Wheel Zoom" setting which affects the zoom level of text/code when opening the editor.
I often increase the editor zoom level with my mousewheel for screencasts and I would like to use always the same zoom setting, so that code always has the same size in my screencasts. It would therefore help me a lot to be able to specify the zoom level for the text editor as a decimal number.
Settings

This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!

Let's track in #80820


custom m_fields warning when it's missing

would be a nice enhancement to have
however we need to wait for this clangd PR that exposes an api to get the AST
https://github.com/clangd/vscode-clangd/pull/575

with the new fields syntax this isnt as needed anymore, since you get a compile error if you do it the wrong way


Member Directory Not Loading For Android

Oveview
Android version of the app does not load member directory properly once user scrolls to the bottom. Talk to Jason in regards to possible issue.

This bug occurs due to scroll throttling of the scrollviews:
<ScrollView
    onScroll={handleScroll}
    scrollEventThrottle={200}
    showsVerticalScrollIndicator={false}
>

Because the throttling is 200 milliseconds (0.2 seconds), if a user on an Android device happens to reach the bottom of the ScrollView within that 0.2 second interval, they are technically no longer scrolling, meaning the callback is not called. This would have to be fixed by either lowering the throttle and figure out a good sweet-spot with extensive testing, or turning off throttling all together.


NO-TICKET: change libp2p config settings to their default values

This PR changes two config settings to their default values as specified in the libp2p crate.

bors merge


feat: make file scan task serializable

There is a user case of file scan task for the compute engine:

compute the file scan task and shuffle them to the compute node
The compute node does the scan work in parallel

In this case, it required the compute engine could:

Access the FileScanTask directly
Serialize and Deserialize the FileScanTask

I draft this PR to try to make them accessible. Serialize and Deserialize ManifestEntry needs to take more work and I find that the reader only needs the file path in ManifestEntry. Seems the metadata in ManifestEntry is used in the planning phase to prune the file. After the plan is complete, lots of metadata is not needed. We can add the metadata we need for scanning in the future. So I make the FileScanTask to contain the data file path only. Please let me know if this assumption is wrong.

cc @liurenjie1024 @Fokko @Xuanwo @sdd @viirya

This seems reasonable, but perhaps we might want to consider having this as a separate method to the existing plan_files though so that anyone who is using the existing stream of file plan tasks does not get broken by this.

This seems reasonable, but perhaps we might want to consider having this as a separate method to the existing plan_files though so that anyone who is using the existing stream of file plan tasks does not get broken by this.

I think we don't need a separate method for this.🤔 We just need to let FileScanTask be Serialize, Deserialize and then user can use the plan_files() to get the FileScanTask and transfer them to compute node. A simple case may like following to read all files at once. Also user can use the stream interface to have some optimization, e.g. read in stream way.
let plan_file_stream = scan.plan_files();

// read all file scan.
let file_scans = vec![];
#[for_await]
for file_scan in plan_file_stream {
  file_scans.push(file_scan);
}

// send the file scan to the compute node. The compute node can
// read them all at once and use the Reader to read the data.
arrow_reader(stream::iter(file_scans.into_iter()))

I'm in favor of this change since this will keep the API much cleaner. The ManifestEntry will change over time, maybe good to keep Iceberg-specific things out of there. The pattern of the FileScanTask as an interface is proven by Iceberg both in Java as in Python.


GitOps environment

Adding instructions to setup the GitOps environment in the gh-pages.
Once merged the file will be removed from main branch and a link to this branch will be added to the README in main branch.

Can you double-check the commit history?

will redo again tomorrow from a new repo. sorry but it was stale and updated many existing commits in the rebase.


DON'T CLICK ME!

after finishing app, get bluescreen

Yeah we know... Don't click it please
https://c.tenor.com/muj4RR_sPl0AAAAC/homer-simpson-les-simpson.gif


[bug]: no-direct-set-state-in-use-(layout?)-effect should warn only for the set function

Describe the bug
Given a code like that:
const [fn] = useState(() => () => "Function");
// ...
useEffect(() => {
  fn();
}, [...])

If the state is a function, invoking it will result in an error because we do not check which value is being called.
https://github.com/Rel1cx/eslint-react/blob/c4f84dabcd7075fe46ee719c78736d33b23800c2/packages/plugins/eslint-plugin-react-hooks-extra/src/rules/no-direct-set-state-in-use-effect.ts#L65-L69
O.some() will match both data and setData
Reproduction
const [fn] = useState(() => () => "Function");
// ...
useEffect(() => {
  fn();
}, [...])

Expected behavior
It should only warn for calling setState
Platform and versions
@eslint-react: ^1.5.27

Stack trace
No response
Additional context
No response

Yes! Good Catch. Thanks!

Thanks for addressing
I'm curious about the duplication between no-direct-set-state-in-use-effect and no-direct-set-state-in-use-layout-effect. Why they are not a single rule or at least single functionality.

Thanks for addressing
I'm curious about the duplication between no-direct-set-state-in-use-effect and no-direct-set-state-in-use-layout-effect. Why they are not a single rule or at least shared functionality?

There are multiple rules because it gives the user the ability to control whether or not this rule applies to other terms just by switching the ESLint rules on or off, rather than having to add options or exceptions to the single rule to accomplish this.
It also prevents any potential differences between useEffect and useLayoutEffect in future versions of React that might change the behavior of a single rule.
And if other terms such as useLayoutEffect are deprecated, we just deprecate the no-direct-set-state-in-use-layout-effect rule, and the no-direct-set-state-in-use-effect rule doesn't get affected.
Although these benefits are certainly not obvious in the case of no-direct-set-state-in-use-(layout?)-effect, and they are more obvious with some of the other rules in the project such as no-children-* or no-set-state-in-component-did-*.

or at least shared functionality

Agreed, I would extract the shared functionality in one place to avoid modifying the same code in multiple places.


check_ceph_rgw: add client name option

With this option -n|--name a user is able to fetch status from radosgw-admin with name.
Reason: I have noticed that option -i|--id does not lead to the usage of the corresponding client keyring. It falls back to the admin keyring which is not accessible when check runs as user "nagios". With radosgw-admin -n client.name it is possible to use the same keyring defined in "/etc/ceph/ceph.conf" for radosgw. In this case the admin keyring must not be made world readable, instead only the nagios user can be added to the ceph group to access the keyring.

Hi André,
Thanks a lot for this addition.
Can you please update the README.md usage section (https://github.com/valerytschopp/ceph-nagios-plugins/#usage-3) about this new parameter?

Hi Valery, it looks like you have already updated the README.md . Thanks for merging.


UWP build should use winsqlite3 and NOT embed e_sqlite3.dll

Overview
AppCenter uses SQLite to manage its database, but the issue is that the UWP release of this library includes a reference to SQLitePCLRaw.bundle_green instead of using the SQLite library that comes shipped with Windows 10:

This means that by just referencing AppCenter, every single UWP app ends up with a 1.58MB library in its package (e_sqlite3.dll), for each architecture, which is completely unnecessary. The reason why Windows 10 ships with a SQLite library included into it is precisely so that UWP apps can use it directly and avoid shipping their own version in their package.
AppCenter should switch to SQLitePCLRaw.bundle_winsqlite3 in the UWP release (more info here).

I guess that this issue should be moved to https://github.com/microsoft/appcenter-sdk-dotnet

A problem with this approach is that different versions of windows 10 include different builds of winsqlite3.dll, so your code may or may not work depending on which operating system version your end user has.

Instead of forcing all developers to take a dependency on something that can be avoided and increase the size without a real benefit, let developer decide if it really need to use a different version of SQLite than the one provided by the OS.


[KIE sandbox] Edit the DRL rule with KIE sandbox or a similar tool.

Instead of using DMN, we want to use DRL files in the Kogito project to implement rules in line with Kogito, with legacy API support.

Is there any tool similar to Kie Sandbox for DMN that can edit DRL rule files and then commit them to the remote branch (aside from KIE Workbench)?

Currently, your best bet will be using VS Code, I guess. I'll leave it to @mariofusco or @bxf12315 to help you with the best place to develop DRL at the moment, though.


Missing packages installation condition for Windows machine

Getting error while running setup.py file on Windows machine.

Closing this issue.


Predicting Early Hospital Readmission for Diabetic Patients Using XGBoost

Problem Description:
The project aims to predict whether diabetic patients will be readmitted to the hospital within 30 days of discharge. Many hospitals struggle with managing diabetes properly, which leads to frequent readmissions. These readmissions increase costs for hospitals and worsen patient health. By predicting which patients are likely to be readmitted, hospitals can take preventive measures, improving patient care and reducing unnecessary costs.
Model Description:
We will use a machine learning model called XGBoost, which is good at handling complex data and making accurate predictions. XGBoost is chosen because it performs well on medical data and can deal with situations where there are more non-readmitted patients than readmitted ones (class imbalance). The model will be trained on patient data, including demographics, medical history, and treatment details, to predict the likelihood of readmission. We will also use methods like SMOTE to balance the dataset and make the model more accurate.
Estimated Time for Completion:
I will be taking 2 weeks of time to finish this project.

Why?: I want to focus heavily on data pre-processing for much better results.
Then, I will move on to Model development.

Expected Outcome:
The model will help predict which diabetic patients are at high risk of being readmitted to the hospital within 30 days. This will allow hospitals to intervene early, reducing readmission rates, improving patient health, and lowering costs.

@TheUsefulNerd  Two weeks is more than enough time for this project. Let’s aim to get it done in one week instead.

I will complete the project within a week and submit a pull request.

Is it necessary to use a .py file or can I use .ipynb files?

Is it necessary to use a .py file or can I use .ipynb files? For model.py and predict.py, because I will be adding notebooks where I will train my model.

Yes, it is necessary to use the   model.py and predict.py files for model definition and predictions to maintain consistency within the project structure. You can  add your training and experimentation in Jupyter notebooks,  place them in a dedicated notebooks/ directory. This way, we keep the code modular and organized while allowing for interactive development. Let me know if you have any other  queries.

@TheUsefulNerd  assigned

Hey @Pranshu-jais ,
I have been working on this model since a few days. I have got 60% accuracy using XGBoost, the highest among the models I used. Can I take 2 more days to improve the model's accuracy and then submit the PR?

@TheUsefulNerd  Yes, you can .

@Pranshu-jais, I’ve worked on the dataset and achieved an accuracy of 89% using the Random Forest model. However, I’m facing challenges with the recall and precision metrics. Despite oversampling the data and implementing various resampling techniques, I’m still not getting the desired results. I’ve also consulted additional resources, but they address similar issues. Do you think it's acceptable for me to submit the PR?

Yes, you can submit, but make sure your follow the current project structure and provide model_details fxn

Ok, Thanks.

Last question, when do you assign the level 1,2,3 label to the repos?

The levels are assigned after the pr is merged.
Yes, you could do that, if you face any difficulty then you can instead add the proper model details fxn in your notebook as well.

Hey, I am unable to load the prediction form page on streamlit. When I am running my file or any file from "pages" folder, it shows that page_handler is not a directory or file:
"ModuleNotFoundError: No module named 'page_handler'".
Do you know howto fix this error?
@Pranshu-jais @yashasvini121

@TheUsefulNerd, Sorry, but what do you mean by "running a file from the pages folder"? Additionally, you could push your work to your fork so that we can better understand your question.
To run the project as a whole, use the command streamlit run App.py.

Apparently my model.joblib file is larger than 100 mb which I don't know how.....so its not letting me push the commit at all.
@yashasvini121

You will need to compress your joblib file. Consider using the following command:
joblib.dump(your_data, 'your_data_file.joblib', compress=<2,3 etc>)

I have been trying to solve the issues for the last 7 hours and in the end, I get this:
git push origin master
batch response: @TheUsefulNerd can not upload new objects to public fork TheUsefulNerd/predictive-calc
error: failed to push some refs to 'https://github.com/TheUsefulNerd/predictive-calc.git'
Then on the streamlit page all the models are working but mine shows:
ModuleNotFoundError: No module named 'model'
I have checked the file order, I have checked the import statements, the functions used, and variable names...... I tried codes recommended by ChatGPT to enhance it but still got the same errors. I am unable to understand what to do.
I am sorry to ask so many questions, but I really don't know what to do here.

I can’t give a definitive answer without more details, so please share the error screenshot next time for better clarity. However, based on my understanding:
Your master branch might be behind, which might cause merge conflicts. So try this:

Push your changes to a new branch on your fork using:
git push origin HEAD:new-branch

Verify the size of your pickle file—it must be less than 100MB.

Regarding the model import error, I assume you’re trying to import model.py into predict.py (or another file). To fix this, ensure you are using the correct import syntax:
from models.<your-folder-name>.model import ...

For example:
from models.house_price.model import x
# Instead of:  from model import x

Hope this works, let me know if you have any other issue.

Ok, so I deleted the complete repo from my device and cloned it again and made changes again. I am currently facing this issue:

my code:

I did not change any file location.

@TheUsefulNerd, could you also mention the command you ran?
Silly question, but I don't see any issues otherwise. If it still doesn't work, I'll clone it and try it myself.

I directly clicked on run button to run the .py file.
Also I successfully pushed all the code to my forked repo. Can you have a look at it once and tell me where I am going wrong?
Here is the link:
https://github.com/TheUsefulNerd/predictive-calc.git

You cannot click the run button to run the files i.e. you cannot run the files individually. You need to run the whole app. So try streamlit run app.py and then check if your page is working properly in the website. @TheUsefulNerd

Did that too:

Well, it's a spelling mistake error:

ok now I can see the page there, but a new error occurred again, I was facing this error since 2 days:

Instead of from model import DiabetesModel in predict.py line 1, write:
from models.Diabetes_Readmission_Prediction.model import DiabetesModel

Wow! I did the same thing few hours ago and it showed me error and now it works!! I pushed the changes too!!
Thank you so much!!
https://github.com/TheUsefulNerd/predictive-calc.git
What is the next step?

Welcome, Create a model_details fxn as well, either in the notebook or in the model.py. After that create the pr for review.

:) I got another error now:

Hoorah!! Fixed it. No more errors! Submitting the PR for verification.
Thanks a lot @yashasvini121

Hi @yashasvini121 , So, I have been trying to improve my model for the last 5 days. I was able to improve it. Now, the problem is with the model file size (.pkl). I used compress = 9 and then it came as 169.3 mb which exceeds the 100 MB limit of github. I used ChatGPT and got this answer as an alternative:
Store the Model Externally (Preferred)
One common practice is to store large files like models externally (e.g., on a cloud storage service) and reference them in your repository. This way, your repository stays light, and contributors can download the model if needed.
Google Drive / Dropbox / AWS S3 / Azure Blob Storage: Upload the model to one of these services, then provide a link in your repository’s README or code to download it when necessary.
will this be feasible?


there is a error

i had modify the config file :credentials.json
but there two error when i run >>>>python3 download.py "com.evozi.deviceid"
and my python is python3.6
[ERROR][playstore.playstore.Playstore][app_details()] Error for app "mobileSSH.feng.gao": Error retrieving information from server. DF-DFERH-01
[CRITICAL][main][main()] Error when downloading "mobileSSH.feng.gao": unable to get app's details

Hi, are you able to download the app by using directly your phone? I was able to download it using my account so I cannot reproduce the issue.

i can download  on my phone,i wan't to know,Where is the mistake?


Railway deployment button is broken

Quick heads up, on this page of the docs, the Deploy with Railway button doesn't seem to work anymore. It looks like Railway's Umami starter moved from https://github.com/railwayapp/starters/tree/master/examples/umami to https://github.com/railwayapp-starters/umami. I'd make a PR to update it but I don't seem to see the docs anywhere :)

I think I edited the right repo - let me know if there's anything I need to change!


Added Monaco holidays

Coverage: 100.0%. Remained the same when pulling 0c5b9fd6dee29d87ba7b3972aa032f881a58f475 on KJhellico:add-monaco into 1a2e5ee81c934352a3c0c6387a0978c1f8b8915f on dr-prodigy:beta.

Thanks for adding one more country, @KJhellico!


Add psqueues and slack-api haskell packages

Hi, this is my first time adding packages. Please let me know if I need to do anything else.

You have to register the new packages in pkgs/top-level/haskell-packages.nix.

Does that look right?

Very cool, thank you!


[NEW ICON] Twig

Skill Name
Twig
Why?
Twig is a template engine for PHP, It's used with Symfony by default.
Reference Image

Hey @FutRR , I'm working on kinda the same project, but rewritten in go for better performances and is community driven and I think that a twig Icon could be very cool, can you open a issue on it so I work on that asap ? https://github.com/lelouchfr/skill-icons


Incompatible with PHP 7.3

Please test it thoroughly before publishing it to production.
https://www.php.net/manual/en/language.types.declarations.php#language.types.declarations.mixed
The feature is introduced in PHP 8.0, yet it's used widely in the code.
Example error: ( ! ) Fatal error: Uncaught TypeError: Return value of KiteConnect\KiteConnect::getPositions() must be an instance of KiteConnect\mixed, instance of stdClass returned in D:\www\trading\vendor\zerodha\phpkiteconnect\src\KiteConnect.php on line 648
There might be more issues with PHP 7.3. Please test it thoroughly with PHP 7.3.

@ranjanrak Can you take a look at this?

@VarunAgw
The issue seems to be at Composer file, as it's showing the minimum required PHP version as 7.3. Checking on this composer file issue.
We have thoroughly tested this on our local setup including running the added unit tests. Our local setup has PHP 8.0.3. Mostly, we will update the package with the minimum requirement of PHP >=8. For the older PHP version, users can always refer to our older version, as stated in README.

@VarunAgw
The issue seems to be at Composer file, as it has captured the minimum required PHP version as 7.3. Checking on this composer file issue.
We have thoroughly tested this on our local setup including running the added unit tests. Our local setup has PHP 8.0.3. Mostly, we will update the package with the minimum requirement of PHP >=8. For the older PHP version, users can always refer to our older version, as stated in README.

Besides, it's terrible to force people to use PHP 8.0 which was released just 4 months ago.
You have to understand that people run multiple projects other than Zerodha PHP SDK on their development/production machine.
PHP 8 has breaking changes. By upgrading Zerodha SDK, I am not going to break all my other projects whose dependencies are not compatible with PHP 8 yet. You have to give the entire PHP eco-system time to upgrade before forcing such latest standards.

@VarunAgw

PHP 8 has breaking changes. By upgrading Zerodha SDK, I am not going to break all my other projects whose dependencies are not compatible with PHP 8 yet. You have to give the entire PHP eco-system time to upgrade before forcing such latest standards.

Thanks for your input. We are re-evaluating our PHP version compatibility for the recent release.

Return type (used in getPositions and getMargins) mixed is not implemented in php7.3 yet. It's in php8.

getLTP function also is not working in > 7.3. Can you please fix it?

You need to upgrade to PHP > 8.0 for now.

KiteConnect.zip
Here is the PHP 7.3 fixed I made 6 months ago. Feel free to compare it with master before using it.

@ranjanrak But in Requirements section you mentioned 7.3 or greater !!? At least you should update README.
Thanks @VarunAgw

@sathyamoorthi Don't expect too much here. Typical Indian companies attitude.

KiteConnect.zip
Here is the PHP 7.3 fixed I made 6 months ago. Feel free to compare it with master before using it.

Not compatible, still same exception throwing,


It looks like nothing happens when I press the "WSL: Install on Ubuntu-18.04" button on the extension golang.go

procedure

Start Ubuntu 18.04 on WSL2
Connect with VS Code WSL extension
Click the "WSL: Install on Ubuntu-18.04" button on the extension golang.go

Expected result: The display changes to show success or failure or some result
Actual result: No change in display

Sorry, just now I have translated.

Do you see any errors any where else? Any prompts for eg?
Can you also open Output view in the bottom section and check for window and remote logs to see if there are any errors?

Thank you for your reply

Do you see any errors any where else? Any prompts for eg?
Can you also open Output view in the bottom section and check for window and remote logs to see if there are any errors?

The error is not found on the VS Code GUI or in the logs under AppData / Roaming / Code.
The capture immediately after clicking the install button is below.
Nothing is displayed in the "Output view".

Is "remote logs" the logs under AppData / Roaming / Code? If so, it didn't contain the words error or golang.
$ pwd
/c/Users/me/AppData/Roaming/Code/logs/20200929T223251

$ ls -l
total 8
drwxr-xr-x 1 me 197121   0 Sep 29 22:32 exthost1
-rw-r--r-- 1 me 197121 202 Sep 29 22:33 main.log
drwxr-xr-x 1 me 197121   0 Sep 29 22:32 output_1_20200929T223252
-rw-r--r-- 1 me 197121   0 Sep 29 22:32 renderer1.log
-rw-r--r-- 1 me 197121 377 Sep 29 22:33 sharedprocess.log
-rw-r--r-- 1 me 197121 251 Sep 29 22:32 telemetry.log
-rw-r--r-- 1 me 197121 189 Sep 29 22:32 userDataSync.log

$ grep error * -rni

$ grep golang * -rni

$

The same is true for other extensions.

mechatroner.rainbow-csv
raynigon.nginx-formatter

version

VSCode 1.49.2
Windows 10 Home 2004 19041.508

Logs will be available in Output view. Please open the dropdown and select window for window logs and remote server for remote logs.
Please see if there are any errors there.

I got it. I pressed the install button again and tried it, but neither window nor remote server logged anything.
window

remote server

Can you please enable log level to trace using the command Developer: Set Log Level and check the logs.
Also check the logs in Developer tools console - Use command Developer: Toggle Developer Tools


Translation Error

Hi @amy-tabb , thank you for sharing your great work.
I was trying to perform handeye calibration on our robot and camera with your project. The reprojected images seem to be correct, but the translation of the transformation (Z-matrix) seems to be completely wrong. I saw that you mentioned a "bug with regards to the computation of the translation error" in your README. Could you share what the bug was and how I can debug it?
Thank you again for your work.

Hi,
The bug with the translation error was fixed in the summer of 2018, and that bug did not affect the computation of X or Z.  It did affect one of  the tables generated, though.
You can take a look at the full paper + erratum here -- https://arxiv.org/pdf/1907.12425.pdf which details the changes.
Guessing -- the formulation I used switches the usual meaning of X and Z, so take a look at Figure 1 in the paper.
Also, this may (or may not!) be helpful -- to use the calibration with robot encoder info represented in HTM B, you can create a new camera position A-hat via A-hat = ZB(X.inverse()).  This is similar to the cost function in Equation 9.
Let me know if any of this information is helpful. Again, there's no bugs in the code to my knowledge at the moment.
Best,
Amy

Thank you for your help, I took a look at the paper and realized my mistake of not inverting the B matrix (matrix from robot base to hand). This solved my issue. Thank you again for your help and wonderful work.

Oh, awesome.  I love the easy solutions!  Really, let me know if you have other issues.


🐛 [firebase_ui_auth] EmailVerifiedAction can't trigger callback after verify email

Is there an existing issue for this?

[X] I have searched the existing issues and found no duplicates.

What plugin is this bug for?
Firebase UI Auth
What platform(s) does this bug affect?
Android
List of dependencies used.

flutter pub deps -s list

dependencies:
- flutter 0.0.0
  - characters 1.3.0
  - collection 1.18.0
  - material_color_utilities 0.5.0
  - meta 1.10.0
  - vector_math 2.1.4
  - web 0.3.0
  - sky_engine any
- cupertino_icons 1.0.6
- flutter_svg 2.0.9
  - flutter any
  - vector_graphics ^1.1.9+1
  - vector_graphics_codec ^1.1.9+1
  - vector_graphics_compiler ^1.1.9+1
- change_app_package_name 1.1.0
- firebase_core 2.24.2
  - firebase_core_platform_interface ^5.0.0
  - firebase_core_web ^2.10.0
  - flutter any
  - meta ^1.8.0
- firebase_ui_auth 1.11.0
  - email_validator ^2.1.17
  - firebase_auth ^4.15.0
  - firebase_core ^2.24.0
  - firebase_dynamic_links ^5.4.6
  - firebase_ui_localizations ^1.9.0
  - firebase_ui_oauth ^1.4.15
  - firebase_ui_shared ^1.4.1
  - flutter any
  - flutter_localizations any
  - meta ^1.10.0
- firebase_auth 4.15.3
  - firebase_auth_platform_interface ^7.0.9
  - firebase_auth_web ^5.8.12
  - firebase_core ^2.24.2
  - firebase_core_platform_interface ^5.0.0
  - flutter any
  - meta ^1.8.0
- google_sign_in 6.2.1
  - flutter any
  - google_sign_in_android ^6.1.0
  - google_sign_in_ios ^5.7.0
  - google_sign_in_platform_interface ^2.4.0
  - google_sign_in_web ^0.12.0
- firebase_ui_oauth_google 1.2.15
  - firebase_auth ^4.15.0
  - firebase_ui_oauth ^1.4.15
  - flutter any
  - google_sign_in ^6.1.6
- flutter_riverpod 2.4.9
  - collection ^1.15.0
  - flutter any
  - meta ^1.4.0
  - riverpod 2.4.9
  - state_notifier >=0.7.2 <2.0.0
dev dependencies:

flutter_test 0.0.0

flutter any
test_api 0.6.1
matcher 0.12.16
path 1.8.3
fake_async 1.3.1
clock 1.1.1
stack_trace 1.11.1
vector_math 2.1.4
async 2.11.0
boolean_selector 2.1.1
characters 1.3.0
collection 1.18.0
material_color_utilities 0.5.0
meta 1.10.0
source_span 1.10.0
stream_channel 2.1.2
string_scanner 1.2.0
term_glyph 1.2.1
web 0.3.0

flutter_lints 3.0.1

lints ^3.0.0

transitive dependencies:

_flutterfire_internals 1.3.16

collection ^1.0.0
firebase_core ^2.24.2
firebase_core_platform_interface ^5.0.0
flutter any
meta ^1.8.0

args 2.4.2
async 2.11.0

collection ^1.15.0
meta ^1.1.7

boolean_selector 2.1.1

source_span ^1.8.0
string_scanner ^1.1.0

characters 1.3.0
clock 1.1.1
collection 1.18.0
crypto 3.0.3

typed_data ^1.3.0

desktop_webview_auth 0.0.14

crypto ^3.0.3
flutter any
http ^1.0.0
flutter_web_plugins any
plugin_platform_interface ^2.1.4

email_validator 2.1.17
fake_async 1.3.1

clock ^1.1.0
collection ^1.15.0

firebase_auth_platform_interface 7.0.9

_flutterfire_internals ^1.3.16
collection ^1.16.0
firebase_core ^2.24.2
flutter any
meta ^1.8.0
plugin_platform_interface ^2.1.3

firebase_auth_web 5.8.12

firebase_auth_platform_interface ^7.0.9
firebase_core ^2.24.2
firebase_core_web ^2.10.0
flutter any
flutter_web_plugins any
http_parser ^4.0.0
js ^0.6.3
meta ^1.8.0

firebase_core_platform_interface 5.0.0

collection ^1.0.0
flutter any
flutter_test any
meta ^1.8.0
plugin_platform_interface ^2.1.3

firebase_core_web 2.10.0

firebase_core_platform_interface ^5.0.0
flutter any
flutter_web_plugins any
js ^0.6.3
meta ^1.8.0

firebase_dynamic_links 5.4.8

firebase_core ^2.24.2
firebase_core_platform_interface ^5.0.0
firebase_dynamic_links_platform_interface ^0.2.6+16
flutter any
meta ^1.8.0
plugin_platform_interface ^2.1.3

firebase_dynamic_links_platform_interface 0.2.6+16

_flutterfire_internals ^1.3.16
firebase_core ^2.24.2
flutter any
meta ^1.8.0
plugin_platform_interface ^2.1.3

firebase_ui_localizations 1.9.0

flutter any
flutter_localizations any
path ^1.8.3

firebase_ui_oauth 1.4.15

desktop_webview_auth ^0.0.14
firebase_auth ^4.15.0
firebase_ui_auth ^1.11.0
firebase_ui_shared ^1.4.1
flutter_svg ^2.0.9
flutter any

firebase_ui_shared 1.4.1

flutter any

flutter_localizations 0.0.0

flutter any
intl 0.18.1
characters 1.3.0
clock 1.1.1
collection 1.18.0
material_color_utilities 0.5.0
meta 1.10.0
path 1.8.3
vector_math 2.1.4
web 0.3.0

flutter_web_plugins 0.0.0

flutter any
characters 1.3.0
collection 1.18.0
material_color_utilities 0.5.0
meta 1.10.0
vector_math 2.1.4
web 0.3.0

google_identity_services_web 0.3.0+2

meta ^1.3.0
web >=0.3.0 <0.5.0

google_sign_in_android 6.1.20

flutter any
google_sign_in_platform_interface ^2.2.0

google_sign_in_ios 5.7.1

flutter any
google_sign_in_platform_interface ^2.2.0

google_sign_in_platform_interface 2.4.3

flutter any
plugin_platform_interface ^2.1.0

google_sign_in_web 0.12.3+1

flutter any
flutter_web_plugins any
google_identity_services_web ^0.3.0
google_sign_in_platform_interface ^2.4.0
http >=0.13.0 <2.0.0
web >=0.3.0 <0.5.0

http 1.1.2

async ^2.5.0
http_parser ^4.0.0
meta ^1.3.0
web >=0.3.0 <0.5.0

http_parser 4.0.2

collection ^1.15.0
source_span ^1.8.0
string_scanner ^1.1.0
typed_data ^1.3.0

intl 0.18.1

clock ^1.1.0
meta ^1.0.2
path ^1.8.0

js 0.6.7

meta ^1.7.0

lints 3.0.0
matcher 0.12.16

async ^2.10.0
meta ^1.8.0
stack_trace ^1.10.0
term_glyph ^1.2.0
test_api >=0.5.0 <0.7.0

material_color_utilities 0.5.0

collection ^1.15.0

meta 1.10.0
path 1.8.3
path_parsing 1.0.1

vector_math ^2.1.0
meta ^1.3.0

petitparser 6.0.2

meta ^1.9.0

plugin_platform_interface 2.1.7

meta ^1.3.0

riverpod 2.4.9

meta ^1.9.0
stack_trace ^1.10.0
state_notifier >=0.7.2 <2.0.0

sky_engine 0.0.99
source_span 1.10.0

collection ^1.15.0
path ^1.8.0
term_glyph ^1.2.0

stack_trace 1.11.1

path ^1.8.0

state_notifier 1.0.0

meta ^1.1.8

stream_channel 2.1.2

async ^2.5.0

string_scanner 1.2.0

source_span ^1.8.0

term_glyph 1.2.1
test_api 0.6.1

async ^2.5.0
boolean_selector ^2.1.0
collection ^1.15.0
meta ^1.3.0
source_span ^1.8.0
stack_trace ^1.10.0
stream_channel ^2.1.0
string_scanner ^1.1.0
term_glyph ^1.2.0

typed_data 1.3.2

collection ^1.15.0

vector_graphics 1.1.9+1

flutter any
vector_graphics_codec 1.1.9+1

vector_graphics_codec 1.1.9+1
vector_graphics_compiler 1.1.9+1

args ^2.3.0
meta ^1.7.0
path_parsing ^1.0.1
xml ^6.3.0
vector_graphics_codec 1.1.9+1
path ^1.8.0

vector_math 2.1.4
web 0.3.0
xml 6.5.0

collection ^1.18.0
meta ^1.9.0
petitparser ^6.0.0

Steps to reproduce
Steps to Reproduce:

Log in with an unverified email account.

 AuthStateChangeAction<SignedIn>(
          (context, state) {
            if (!state.user!.emailVerified) {
              Navigator.pushNamed(context, RouteName.verifyEmail);
            }
          },
        ),

Navigate to the email verification page.
Verify the email.

class EmailConfirmScreen extends StatelessWidget {
  const EmailConfirmScreen({
    super.key,
  });

  @override
  Widget build(BuildContext context) {
    return EmailVerificationScreen(
      actions: [
        EmailVerifiedAction(
          () {
            debugPrint('EmailVerifiedAction called');

            Navigator.pushReplacementNamed(context, RouteName.authGate);
          },
        ),
        AuthCancelledAction(
          (context) {
            Navigator.pop(context);
          },
        )
      ],
    );
  }
}

Despite email verification, the loading icon still appears.

Expected Behavior
Should trigger EmailVerifiedAction callback or show some UI to trigger it
Actual Behavior
infinity loading indicator
Additional Information

Hi @Trung15010802, I just ran the plugin example app and when I verified the email and returned to the app, I was directed to the profile page.
Do you experience this same issue with the plugin example app?

Hi @Trung15010802, Do you experience this same issue with the plugin example app?
I just ran the plugin example app and when I verified the email and returned to the app, I was directed to the profile page.

I did almost the same as the example app but I didn't use actionCodeSettings. Does that make a difference?

I experienced the same issue. A workaround is to develop your own email verification screen using StreamBuilder that listens to FirebaseAuth.instance.userChanges() stream. As soon as the email is verified (snapshot.data!.emailVerified), you can navigate the user to your desired location in the app.

I did almost the same as the example app but I didn't use actionCodeSettings. Does that make a difference?

I don't think it should, does it work if you configure actionCodeSettings?

I experienced the same issue. A workaround is to develop your own email verification screen using StreamBuilder that listens to FirebaseAuth.instance.userChanges() stream. As soon as the email is verified (snapshot.data!.emailVerified), you can navigate the user to your desired location in the app.

Events are fired when the following occurs:

Right after the listener has been registered.
When a user is signed in.
When the current user is signed out.
When there is a change in the current user's token.
When the following methods provided by FirebaseAuth.instance.currentUser are called:
reload()
unlink()
updateEmail()
updatePassword()
updatePhoneNumber()
updateProfile()

As flutter documentation said, I don't see if emailVerified event

When there is a change in the current user's token.

More on this here

Hi @Trung15010802, if you configure your AuthStateChangeAction like below, does it work?
AuthStateChangeAction((context, state) {
                final user = switch (state) {
                  SignedIn(user: final user) => user,
                  CredentialLinked(user: final user) => user,
                  UserCreated(credential: final cred) => cred.user,
                  _ => null,
                };

                switch (user) {
                  case User(emailVerified: true):
                    Navigator.pushReplacementNamed(context, '/profile');
                  case User(emailVerified: false, email: final String _):
                    Navigator.pushNamed(context, '/verify-email');
                }
              }),

Hi @Trung15010802, if you configure your AuthStateChangeAction like below, does it work?
AuthStateChangeAction((context, state) {
                final user = switch (state) {
                  SignedIn(user: final user) => user,
                  CredentialLinked(user: final user) => user,
                  UserCreated(credential: final cred) => cred.user,
                  _ => null,
                };

                switch (user) {
                  case User(emailVerified: true):
                    Navigator.pushReplacementNamed(context, '/profile');
                  case User(emailVerified: false, email: final String _):
                    Navigator.pushNamed(context, '/verify-email');
                }
              }),

Thank you for your support. But it's doesn't work for me.

Hi @Trung15010802, could you please provide a complete minimal reproducible code sample in a repo that we can clone so that we can investigate this?
Thank you

Hi @tahamaddam, using your code sample, after returning to the app from verifying my email, the app properly redirects me to the home page.
How is your firebase project configured?

Hi @tahamaddam, using your code sample, after returning to the app from verifying my email, the app properly redirects me to the home page.
How is your firebase project configured?

Was this message for me? @danagbemava-nc

Facing similar issue in iOS and I am running example code btw.

Was this message for me? @danagbemava-nc

Sorry @tahamaddam, it was for @Trung15010802

Was this message for me? @danagbemava-nc

Sorry @tahamaddam, it was for @Trung15010802
@utsavDave97, can you test on a physical device to see if you still get this issue?

Yes i have already testes in real device. I configure firebase like this tutorial
https://firebase.google.com/docs/flutter/setup?hl=vi&platform=ios

Labeling for further investigation as I cannot reproduce this locally
cc @lesnitsky, maybe you can offer some insight as to why this is happening

Does this method will still work after Firebase Dynamic Links deprecation in August 2025? Maybe this part must be reviewed / refactored.
ActionCodeSettings has no more sense.
https://firebase.google.com/support/dynamic-links-faq
FYI @danagbemava-nc

Working on my side too, maybe it's something related to Firebase config, did you put the right SHA related to your build on Firebase?

In my case, if you don't leave the app the verification never happens. You have to leave the app and re-open it.
Example:

Register a new account
Email verification screen comes up showing spinner and waiting for verification
I check email on my laptop and verify the email address
Email verification screen still just sits there spinning indefinitely
I exit the app and re-open it and verification screen closes

Hi ,
I am facing the same issue while using web version in mobile chrome.

@timeuser
This is the right explanation so far.

@timeuser is right here. It rechecks when you resume the application. You don't have to fully close the app, you just need to leave the app and return to it and the verification is called.
That is very confusing for the developer, who's pasting a link like this into their browser desktop browser to test (ex: http://<IP_ADDRESS>:9099/emulator/action?mode=verifyEmail&lang=en&oobCode=Kyeuu3GEsDnp6aDarfiZsfoHhk5sVASzf4GK2DWDBZOa8cSydxYRCK&apiKey=fake-api-key)
At the very least they should put this in the readme, perhaps I'll make a for the readme.

Since the page cannot refresh itself upon verification, for a better user experience, inside EmailVerificationScreen, instead of using the loading button in the middle of the screen, can it be replaced with a button to manually trigger the refresh?
Replacing the loading button in this code block
        if (state == EmailVerificationState.pending)
          const Center(child: LoadingIndicator(size: 32, borderWidth: 2))

with something like:
          TextButton(onPressed: () async {
            await controller.reload();
          }, child: Text('Check Status'))

Why can't the EmailVerificationScreen page check the authentication status in real time? For those users who confirm their email from a PC and wait for the app to update, it looks like the app is hanging, which is very confusing.

@aastrouski - If you have a solution you would like to implement, I'd be happy to review. You can open a PR if you wish 😄


Define interface for RGW

My RGW nodes have multiple active interfaces, so is there a legitimate way in ceph-ansible to define interface which we want to use for RGW ?
group_vars/all radosgw_civetweb_bind_ip: "{{ ansible_default_ipv4.address }}" does not solve the purpose
Something similar to monitor_interface: interfacewould be useful

If you know the IP address of the specific interface you could (at least for now) populate your inventory file with something like:
[rgws]
ceph-rgw-01 radosgw_civetweb_bind_ip: x.x.x.x
ceph-rgw-02 radosgw_civetweb_bind_ip: x.x.x.x
ceph-rgw-03 radosgw_civetweb_bind_ip: x.x.x.x

Ultimately we will need something similar to monitor_interface I agree.

Where we need to add these IP addresses? I mean which file?
We are facing similar issue.

@hroogi in your inventory file.
Default is /etc/ansible/hosts.

@leseb Thank you. It worked.

I don't think we will ever have a dedicated feature like monitor_interface, using  /etc/ansible/hosts ansible inventory file is fine.


update integration to trigger new build

Signed-off-by: Zhiwei Yin<EMAIL_ADDRESS>

/approve
/lgtm


Adding Facebook signIn and signup

I have fixed both SignUp and SignIn With Facebook. Added a video and Screenshots for your reference.
https://user-images.githubusercontent.com/62888562/206869749-c93342b5-fc14-4c3b-b0b5-bf65241acf8e.mov

closes #3

Great Work!
Also star the repository if you loved working on this project to save it.

@musavveer Can u tell your github username?
Actually app_id and app_secret values are needed which you sent me on discord


Running go build throws error

Note: I'm using go mod vendor which brings files to workspace folder:

edit: I was messing with the local files, seems to be a problem with cgo package?

Also according to the error message on the build process the file rglfw.c wasnt found, but I could find it here, just dont know how go does to find it:

IMPORTANT: This also happens on Linux (even after installing those packages: apt-get install libgl1-mesa-dev libxi-dev libxcursor-dev libxrandr-dev libxinerama-dev )

I did not use vendor, I'll look at the later

ok, I would like to get some help , cause my job depends on this! I'm trying to running it on the server side, so go vendor is required!

So, I think I found the possible solution for this problem, seems its 100% related to path on the #include stuff, seems that the includes cant reach this folder:

<EMAIL_ADDRESS>

@nonunknown
go mod vendor not support cgo, see this #1571
use vend instead of go mod vendor

WOW, it has worked like a glove in a hand! thanks @chunqian


python: rebuild venv when devenv-profile is updated

Resolves #336
This PR includes 3 changes
22adea33daf57df14debc6cf6bc55b9db1ddfad5 is to resolve #336. It recreates venv each time devenv-profile is updated.
While working on this change I ran into syntax errors in my enterShell script. This resulted in errors like:
$ devenv shell
Building shell ...
Entering shell ...

bash: eval: line 231: syntax error near unexpected token `devenv'
bash: eval: line 231: `export PS1="\[\e[0;34m\](devenv)\[\e[0m\] ${PS1-}"'

It was hard to pin down where the problem actually lays, so I decided to move the venv and poetry scripts from enterShell to separate .sh files. This made the error messages clearer and the enterShell code more readable. See 057b1c019ae27a4cfd5eef37b88a7b20b8ba8bef
Lastly I noticed that there could be problems with running poetry when venv is rebuild. I resolved these in 9590d815a059dfc1dc1a483ddcb21352e472e854.
See the commit messages of the individual commits for further explanation.

@farcaller Is this a viable solution for your use-case? Rebuilding venv should avoid the problems you ran into. It will take a bit longer to activate devenv upon making changes to devenv.nix. In addition, it will remove all ad-hoc python packages that were installed inside devenv using for instance pip install.

Sounds like a reasonable trade-off.

We should probably expose a hook to run after venv has been created, so that you can do pip install -r requirements.txt.


Error: Cannot make SSL context for cert path

When running this task:
- name: Test config before restart icinga 2
  shell: "{{ icinga2_binary }} daemon -C"
  register: configTest
  changed_when: configTest.rc == 0
  notify: Restart Icinga 2

This is the error when running with -vvv:
RUNNING HANDLER [chrnie.icinga2 : Test config before restart icinga 2] ****
task path: /Users/cjefferies/Documents/code/gitlab/ansible/base/roles/chrnie.icinga2/handlers/main.yml:3

9-03-20 18:40:43 +0000] critical/config: 1 error",
    "stdout_lines": [
        "[2019-03-20 18:40:43 +0000] information/cli: Icinga application loader (version: r2.10.4-1)",
        "[2019-03-20 18:40:43 +0000] information/cli: Loading configuration file(s).",
        "[2019-03-20 18:40:43 +0000] information/ConfigItem: Committing config item(s).",
        "[2019-03-20 18:40:43 +0000] information/ApiListener: My API identity: mon.my.int",
        "[2019-03-20 18:40:43 +0000] critical/SSL: Error loading and verifying locations in ca key file '/var/lib/icinga2/certs//ca.crt': 33558530, \"error:02001002:system library:fopen:No such file or directory\"",
        "[2019-03-20 18:40:43 +0000] critical/config: Error: Cannot make SSL context for cert path: '/var/lib/icinga2/certs//mon.my.int.crt' key path: '/var/lib/icinga2/certs//mon.my.int.key' ca path: '/var/lib/icinga2/certs//ca.crt'.",
        "Location: in /etc/icinga2/features-enabled/api.conf: 4:1-4:24",
        "/etc/icinga2/features-enabled/api.conf(2):  * The API listener is used for distributed monitoring setups.",
        "/etc/icinga2/features-enabled/api.conf(3):  */",
        "/etc/icinga2/features-enabled/api.conf(4): object ApiListener \"api\" {",
        "                                           ^^^^^^^^^^^^^^^^^^^^^^^^",
        "/etc/icinga2/features-enabled/api.conf(5): ",
        "/etc/icinga2/features-enabled/api.conf(6):   accept_config = false",
        "",
        "[2019-03-20 18:40:43 +0000] critical/config: 1 error"
    ]
}

I defined the ca host variable like this:  icinga2_ca_host: "mon.my.int" -  This is the master monitoring server that I assume works as the ca for the monitored system.
It looks like it did not create the folder/file: /var/lib/icinga2/certs/ca.crt
The other cert files were created:

/var/lib/icinga2/certs/mon.my.int.key
/var/lib/icinga2/certs/mon.my.int.crt

Any tips would be appreciated.
Thank you,
Chris.

I cleared the certs dir and now I get this:
Error: Endpoint object for 'mon.my.int' is missing.
BTW, basic centos7 on AWS.  I have become sudo.  Selinux is on.

When I run the command from the remote host, I get the same thing
$ /usr/sbin/icinga2 daemon -C
[2019-03-20 22:40:49 +0000] information/cli: Icinga application loader (version: r2.10.4-1)
[2019-03-20 22:40:49 +0000] information/cli: Loading configuration file(s).
[2019-03-20 22:40:49 +0000] information/ConfigItem: Committing config item(s).
[2019-03-20 22:40:49 +0000] information/ApiListener: My API identity: mon.deva.ecm
[2019-03-20 22:40:49 +0000] critical/config: Error: Endpoint object for 'mon.my.int' is missing.
Location: in /etc/icinga2/features-enabled/api.conf: 4:1-4:24
/etc/icinga2/features-enabled/api.conf(2):  * The API listener is used for distributed monitoring setups.
/etc/icinga2/features-enabled/api.conf(3):  */
/etc/icinga2/features-enabled/api.conf(4): object ApiListener "api" {
                                           ^^^^^^^^^^^^^^^^^^^^^^^^
/etc/icinga2/features-enabled/api.conf(5):
/etc/icinga2/features-enabled/api.conf(6):   accept_config = false

[2019-03-20 22:40:49 +0000] critical/config: 1 error

$ icinga2 --version

icinga2 - The Icinga 2 network monitoring daemon (version: r2.10.4-1)

Copyright (c) 2012-2019 Icinga GmbH (https://icinga.com/)
License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl2.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

System information:
  Platform: CentOS Linux
  Platform version: 7 (Core)
  Kernel: Linux
  Kernel version: 3.10.0-514.26.2.el7.x86_64
  Architecture: x86_64

Build information:
  Compiler: GNU 4.8.5
  Build host: unknown

Application information:

General paths:
  Config directory: /etc/icinga2
  Data directory: /var/lib/icinga2
  Log directory: /var/log/icinga2
  Cache directory: /var/cache/icinga2
  Spool directory: /var/spool/icinga2
  Run directory: /run/icinga2

Old paths (deprecated):
  Installation root: /usr
  Sysconf directory: /etc
  Run directory (base): /run
  Local state directory: /var

Internal paths:
  Package data directory: /usr/share/icinga2
  State path: /var/lib/icinga2/icinga2.state
  Modified attributes path: /var/lib/icinga2/modified-attributes.conf
  Objects path: /var/cache/icinga2/icinga2.debug
  Vars path: /var/cache/icinga2/icinga2.vars
  PID path: /run/icinga2/icinga2.pid

I'm  getting the same error.


[D3D9] Silent Hill 2 crash to desktop

In a specific room in Silent Hill 2, pausing the game triggers a crash to desktop with DXVK, presumably because of a specific shader only present in this room. The rest of the game can be played fine with DXVK without issue.
System information

GPU: GTX 1080 Ti
Driver: 442.19
DXVK version: v1.5.4-5-g4291bc9

Apitrace file(s)
http://www.mediafire.com/file/mfe0lvah08md7vg/sh2pc.zip/file
Log files

d3d9.log: http://www.mediafire.com/file/53k801r23bnm0g2/sh2pc_d3d9.log/file

I can't replicate the crash on AMD or NV using that trace. Can you provide a save file at all?

Sure here's the save (structure is ".\Silent Hill 2\data\save" and in case you have your own saves move your Folder01 to desktop temporarily: https://www.mediafire.com/file/x26n64wcllwx2v4/save.rar/file
I doubt it's relevant since apitrace should have covered the bases but this is SH2 using the enhanced edition comminity fixes, not a native and vanilla install of the game. I am pretty sure that should be irrelevant since apitrace d3d9.dll is not conflicting with any mods so the game ran as expected when saving that trace.

Update:
Crash does not occur when the game is running in windowed mode. Only in exclusive fullscreen.

Now Silent Hill 2 crashes if DXVK is installed at all. Here's the log file: https://drive.google.com/file/d/1UNipf8l4c313EafRacF5JsgPJmSp877G/view?usp=sharing
The final line seems to be of importance:
warn:  D3D9DeviceEx::SetRenderState: Unhandled render state D3DRS_ADAPTIVETESS_Y

Seems to miss format converter support for D3DFMT_W11V11U10 = 65, which is missing for the docs here: https://docs.microsoft.com/en-us/windows/win32/direct3d9/d3dformat
but listed in the Win CE one: https://docs.microsoft.com/en-us/previous-versions/ms886236(v=msdn.10)

I've installed the game, the enhanced edition mod and your save game. Which room is it thats supposed to crash?
The only thing that's noticable to me is the extremely overdone film grain and the utterly terrible performance.

Are you sure you configured the game to run in exclusive fullscreen instead of borderless windowed mode? If you're on Linux, it's possible that Linux doesn't have such a mode so it doesn't make a difference.

There isn't even a fullscreen option:

It's in the d3d8.ini that comes with Enhanced Edition.
Regardless of that setting (borderless windowed or exclusive fullscreen) the game crashes on bootup for me so that option doesn't even matter anymore. I just tested it and it crashes with the same error log as before about this:
warn:  ConvertFormat: Unknown format encountered: 65
warn:  ConvertFormat: Unknown format encountered: 65
warn:  ConvertFormat: Unknown format encountered: 65
warn:  ConvertFormat: Unknown format encountered: 65
warn:  D3D9DeviceEx::SetRenderState: Unhandled render state 181
To be clear I'm on Windows. It looks like you're testing on Linux.

If it crashes on Windows but works on Linux, the issue is most likely out of our control anyway.
The game seems to work fine without support for that specific texture format and render state 181 is pretty meaningless.

For what it's worth, render state 181 (t. D3DRS_ADAPTIVETESS_Y) appears to be trying to disable or enable transparency SSAA.
Not sure if NVIDIA drivers actually respond to this as I would not expect it to be done this way.

That comes from https://github.com/elishacloud/Silent-Hill-2-Enhancements/commit/79357608c84b83b4b3f0ab081b02d5f6c8356449.
And from the wording it seems like they are "accommodating to SSAA being enabled", as opposed to enabling themselves the effect in the first place (in turn, presumably to fix https://github.com/elishacloud/Silent-Hill-2-Enhancements/issues/227).


check if the deploy directory is empty or not

An empty deploy directory would generate unexpected results:

It may wipe out gh-pages branch, usually we don't expect that.
In a newly cloned repo, if the folder does not exist, script would
get error like:
fatal: This operation must be run in a work tree
The error is from line "git --work-tree "$deploy_directory" reset
--mixed --quiet"
If remote branch does not exist, 'deploy.sh -s' would also get wrong
result.

To improve it, check if the directory is not empty in the beginning.

glad my script is helpful!

i'm not sure i follow how it may wipe out the gh-pages branch. could you give me an example?
yes, that's not a friendly error. thanks for the PR. i'll push it to master after a couple tweaks.
yes, that probably doesn't work. we should have tests for these edge cases, so i've created issue #6: add tests, one of which should test "non-existent remote deploy_branch". i don't know if or when i'll get around to this, as i'm not even currently using this script.

oh, i think i know what you mean for the 1st one. it will wipe out the contents of deploy_branch, not the deploy_branch itself. i'll check that as a separate condition and let the user override with a flag.


When combining angular-ui validate with regular angular validation, incorrect result

I am using the "password confirmation" validation functionality of angular-ui validate. This works fine, until I add a second validation on the "password" field ng-minlength=.... Once this second validation is added, the password confirmation validate starts incorrectly reporting that the passwords do not match even if they do, as long as the length validation is failing. Once the length validation passes, then and only then does ui-validate correctly set the $error result as well.

UI.Utils modules was split in individuals repositories. If still valid, please consider re-submitting on its dedicated repository: https://github.com/angular-ui/ui-validate
See the README for details.


fix: Prevent whole page scroll when trigger wheel event

Hi, thanks for this wonderful project.
I've found out an issue that the whole page scroll while using wheel to scroll. I think it is not good for the user experience, so I make a pr for this issue.
See what have been changed after my update  ⇩
Before

After

thank you for your time.currently doing a rewrite


Coreboot PCIe issues on V1210

Following up on #41. After I flashed Coreboot, I got a lot of PCIe errors on Linux and FreeBSD (opnsense). The issues sometimes resulted in FreeBSD not being able to bring up NVMe. I flashed back the AMI BIOS, but I thought it was useful to report this issue.
If you have a chance could you please provide some more information. What version of freeBSD/opnsense are you using?
Is opnsense installed on the eMMC or the the NVMe drive? Are there any other components present? Just to verify, these errors are not present when using AMI?
We are investigating the possible cause(s) for this issue.

If you have a chance could you please provide some more information. What version of freeBSD/opnsense are you using?

24.7.7

Is opnsense installed on the eMMC or the the NVMe drive? Are there any other components present? Just to verify, these errors are not present when using AMI?

It's on the NVMe drive. The errors are not present when using AMI.

Thank you for providing additional information.
We are looking into this issues.


v3 pool field and liquidity updates updates

[x] Update existing pools with subgraph data (e.g. when new fields are available)
[ ] updateLiquidity24hAgoForAllPools
[ ] updateLifetimeValuesForAllPools

Update existing pools with subgraph data (e.g. when new fields are available)

Our current general approach is to always use upserts for subgraph syncing and update all the fields in one call. More pool types will add complexity, but we can handle them independently with separate pool-type specific jobs.

Moving "updateLifetimeValuesForAllPools" into separate ticket.


Document "shardID" context field

The shardID field is currently undocumented. The documentation should contain information about what the field means and how it is used by the game.

Closed by 313a72731dcfa8539eeaa0220dc85d2dda7458dc.


Fix headers key to be in lowercase

This fix #321
As stated, node actually transform all headers key into lowercase as per api documentation:
https://nodejs.org/api/http.html#http_message_headers

@dels07 If you could resolve the one indent issues I will pull this in ASAP. Thank you again for doing this PR.


Added validation for metadata_url of the template config  field

Description of changes:
Added initial validation for the metadata_url field for the the template config crd. I will be adding unit tests for this in my next PR.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/lgtm

/lgtm


Incorrect file name in prose

Show where you found the issue
https://ash-hq.org/docs/guides/ash_phoenix/latest/tutorials/getting-started-with-ash-and-phoenix#creating-resources
Share the problematic documentation

Creating the Post Resource
A resource is a central concept in Ash. In short, a resource is a domain model object in your system. A resource defines the data it holds and defines the actions that can operate on that data.
It’s convention to place all the resource in their own resources folder. So when we create Post we will place it in lib/my_ash_phoenix_project/blog/resources/post.ex. So the structure after making the resource should look like so:

That file is actually called lib/my_ash_phoenix_app/blog/resources/post.ex (emphasis on the error)
I noticed because I tried to touch {the_file_location} and it failed because of the wrong folder name.
Additional context
Is all this content in a DB or in static Markdown somewhere? I'd have just opened a PR if I could find it.

Found it ☝


chore(telemetry): check typescript package version and "type" field

Context: https://github.com/prisma/orm-telemetry/issues/17
Internal Slack
Note that other PRs needs to be merged first, see tracking issue.

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


crash on Session.swift. It's weird...

I did that -
let request = AF.upload(multipartFormData: { (formData) in
// ---- create multipart-form data
}, to: url, method: method, headers: headers)
request.responseData { (responseData) in { ... }
When the above phrase is repeated several times-ten times or more, takes crash.

This uploaded screenshot is from debug session at crash.
This problem occurs regardless of iOS version.
I'm using macOS 10.15.7,  Xcode 12.1, Swift5, and Alamofire 5.3.0
Please, Give me a help for this issue.

이 문제의 원인은 Firebase Performance였습니다. 이전 이슈들을 살펴보다 해당 사항에 대한 언급이 있는 것을 보고 제거해 보았는데, 문제 없이 동작합니다!


Use non-deprecated pytest-console-scripts API

This removes a deprecation warning message that appears when running the automated tests.

Not sure why the first workflow has been in "Queue" status for a long time; I'm not able to cancel it either 🤔. I don't think it should be a problem


Add more NowInAndroid performance tests

Fixes:

#26481

Context

Contributor Checklist

[ ] Review Contribution Guidelines
[ ] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[ ] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[ ] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass sanity check: ./gradlew sanityCheck
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Reviewing cheatsheet
Before merging the PR, comments starting with

❌ ❓must be fixed
🤔 💅 should be fixed
💭 may be fixed
🎉 celebrate happy things

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test APT

I've triggered the following builds for you. Click here to see all build failures.

AllPerformanceTestsReadyForRelease build

@bot-gradle test APT

I've triggered the following builds for you. Click here to see all build failures.

AllPerformanceTestsReadyForRelease build

@bot-gradle test APT

I've triggered the following builds for you. Click here to see all build failures.

AllPerformanceTestsReadyForRelease build

Blocked by:

https://github.com/gradle/gradle/issues/26462

@bot-gradle test APT

I've triggered the following builds for you. Click here to see all build failures.

AllPerformanceTestsReadyForRelease build

@bot-gradle test APT

I've triggered the following builds for you. Click here to see all build failures.

AllPerformanceTestsReadyForRelease build

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.


413 Request Entity Too Large

Error description:
in some php forums like SMF, some requests like uploading files I get 413 Request Entity Too Large
Steps to reproduce
Use large urls
In conf.d/uploadsize.conf I change the value of client_max_body_size 100m; to client_max_body_size 100M; or even to 0; to disable it and I keep getting the same error?
Could the error came from the nginx behind the proxy and the proxy just relays it? changing the value dissent differs anything.
I get the error from the proxy since is the one running nginx 1.15.2, the nginx serving the files is on 1.14 and error page show 1.15.2
Is the client_max_body_size being loaded?

I did docket-compose down and docker-compose up -d
Everything stayed the same.
I tried docker-compose down and the
docker system prune
Then ./start.sh to pull and start again
It still says the same error when I try to upload a file

docker exec -it nginx-web nginx -T doesn't show me client_max_body_size, is it suppose to?

Did you enabled it on the .env file?

(>ლ)
You are so patient with my issues, god bless you.

After uncomment USE_NGINX_CONF_FILES=true and relaunch with ./start.sh it was working.
(well, it started showing the same but for 1.14 (nginx of the site, not the proxy), and then it needed to change the php.ini, but it finally worked as expected)

Well... if the issue is in your nginx... you add this line to your nginx conf:
https://github.com/evertramos/nignx-behind-proxy/blob/master/nignx/conf.d/default.conf#L19
Hope it helps!
God bless you too!

Did you enabled it on the .env file?
Uncomment this line in your ".env" file:
USE_NGINX_CONF_FILES=true

And do a compose down and up again.

Thanks guys! A great help for me!

Finally that not work for me...
To soluce the problem I modified the nginx.tmpl to add client_max_body_size 100m;  in all location /{}
I don't know if it's a good practice but it's works

There is not problem to add that into your location! =)

FYI, creating a config file under conf.d is synchronized with  nginx-data directory. But after I removed some config files it kept the old ones in nginx-data and kept giving me this error.
It wold be nice to add functionality to sync properly or deleting nginx-data with a flag like
./start.sh --clean

Please add environment  variable (per docker-compose project) for setting client_max_body_size;
docker-compose.yml file Example:
   nginx:
   build: docker/nginx
   container_name: "myapp_nginx"
   environment:
     CLIENT_NAX_BODY_SIZE: "100m"
     VIRTUAL_HOST: "didarnet.ir"
     LETSENCRYPT_HOST: "didarnet.ir"
     LETSENCRYPT_EMAIL<EMAIL_ADDRESS>
`

So the solution is :

.env : uncomment or set: USE_NGINX_CONF_FILES=true
make sure you have client_max_body_size 100m; in conf.d/uploadsize.conf
shutdown all 3 nginx running containers: docker-compose down -v
restart them again docker-compose up -d:
Creating nginx-web         ... done
Creating nginx-gen         ... done
Creating nginx-letsencrypt ... done

Finally that not work for me...
To soluce the problem I modified the nginx.tmpl to add client_max_body_size 100m;  in all location /{}
I don't know if it's a good practice but it's works

I had to do the same due none of the previous solutions worked for me.
On the newest version, there is no commented "USE_NGINX_CONF_FILES=true" line in the .env file.
Thanks.

@quauhtlimtz... yes there is!
When running the 'fresh-start.sh' script you can set the option '--use-nginx-conf-files' which will enable it just as it did in the past, but the script now is way more 'smoth' and 'smarter' then the old version.
Wait to see the 'server-automation'... you might use it as well.
Cheers!
Thanks for your comment.


Fix README

Now the commands take either an env or a file, so let's at least fix the
README to make it work with files.

This is one of the annoying things about github - the frontpage README.md is from master, and not the most recent release.  So I have to break one or the other :(

yeah; there is an option to deal with that:

create a release branch, make it the default branch.
when making a new release merge master in the release branch and then tag.

Pros:
a. github will show the released readme; it's quite easy to switch the github UI to another branch
b. go get (for go >=1.6) will fetch the default github branch, i.e. people won't be building master accidentally.
Cons:
a. people might send PRs against release; hopefully it's obvious from the name that that would be wrong.
b. one could forget to keep release in sync with the latest release; nothing that some tooling can't help; but it makes everything more complicated.


Call.AnswerAsync gives an error

Describe the issue
Calling AnswerAsync on a call gives an error
Graph SDK (please complete the following information):

1.2.0-beta.1702

Call ID
72202f00-851f-43e2-83bc-752f76268663 time:2020-09-03T18:34:06
Additional context
I see the following error when trying to answer an incoming call with the Graph sdk.
exception: Code: BadRequest
Message: The type 'microsoft.graph.answer' specified in the URI is neither a base type nor a sub-type of the previously-specified type 'microsoft.graph.call'.
Scenario Id: 310fc934-3989-48d4-8c83-ead923bc72ee
Inner error:
AdditionalData:
date: 2020-09-03T18:34:06
request-id: a480a1c1-f5d2-4153-bd33-856eeff6d0c1
I just noticed this happening in the last hour.

+1. We are also running into this issue.

+1. Started seeing the same error this morning as well.

Seeing the same with a customer. Have raised it with the developer, but it's looking like something changed in Graph...

Hi, got confirmed root cause is Graph's bad schema rollout.
They are rolling back the schemas version. I didn't get ETA from them but it should get fixed within one business day.
Sorry about the inconvenience.

We got confirmed from the customers, everything is working fine again.


nan value

I reimplemented in tensorflow, but find it is hard to train.
It is very easy get nan value.
How could to avoid this?

The output loss value:
step 3600, training loss 1.00463
step 3700, training loss 0.970242
step 3800, training loss 0.906492
step 3900, training loss 0.0988686
step 4000, training loss 0.00080747
step 4100, training loss 0.000444604
step 4200, training loss 0.000204534
step 4300, training loss 0.000227041
step 4400, training loss 0.000149651
step 4500, training loss 0.000162705
step 4600, training loss 9.66944e-05
step 4700, training loss 8.69876e-05
step 4800, training loss 6.04607e-05
step 4900, training loss 8.24705e-05
step 5000, training loss 6.02255e-05
step 5100, training loss 4.36621e-05
step 5200, training loss 3.89259e-05
.....
step 18500, training loss 3.72529e-09
step 18600, training loss 7.45058e-09
step 18700, training loss 2.79397e-09
step 18800, training loss 5.58794e-09
step 18900, training loss 3.72529e-09
step 19000, training loss 9.31323e-10
step 19100, training loss 1.86265e-09
step 19200, training loss 2.79397e-09
step 19300, training loss 1.86265e-09
step 19400, training loss 4.65661e-09
step 19500, training loss 2.79397e-09
step 19600, training loss 5.58794e-09
step 19700, training loss 9.31323e-10
step 19800, training loss 1.86265e-09
step 19900, training loss 9.31323e-10
step 20000, training loss -0

What's the meaning of -0 in loss function

I have no experience with TensorFlow. Did you train the model on MNIST or other dataset. It's weird to see loss value to be that low, how's the test loss? And for -0, sorry, I have no idea. Maybe it's related to the implement of SoftmaxLoss in TensorFlow.
For training with LSoftmax. You may refer to the advice given by the author here.

Thanks!
I know nothing about mxnet. I want to test the mxnet code. When I run the program. I got the following output
AttributeError: module 'mxnet.symbol' has no attribute 'LSoftmax'
How to solve it?
I only install mxnet python version by pip. Should I install the c++ version?

I found it is really hard to convergence. I compared my output cos_m_t and other parameters. We have same output, but my model can't convergence. I changed the m value to 1 in which case is the same as original softmax it can convergence, but when I changed the m value to 2, it really hard to convergence.

@auroua Did you find a solution?I also have this problem。

@auroua I also have this problem. How to solve this problem?