Retry popen on 127 osx

Close https://github.com/microsoft/vcpkg/issues/21905 bullet point 1.
Code 127 normally means command not found, but that does not really makes sense here. Sometimes (not often) unzip returns 127 and sometimes not, when you retry it the return code is 0. I have no idea what the problem could be, but this implements a workaround by retrying the command once on mac when the return code is 127.

I merged https://github.com/microsoft/vcpkg-tool/pull/305 since it seems obviously positive. I am less convinced about arbitrarily retrying: child processes are not guaranteed to be idempotent.
If we want to implement a retry around "unzip" specifically on mac, I think that would be reasonable. It should not be implemented for all processes though.

Thanks, LGTM!


[Bug] branch_protection_rule trigger has an unexpected value

Summary
The branch_protection_rule trigger in 4-add-branch-protections.yml has an unexpected value branches (Ln 14).
How to reproduce

Open this repository on VS Code.
Enable the GitHub Actions extension.
Open the PROBLEMS panel.
See error.

Additional context
Add any other context about the problem here.

@sinsukehlab Thanks for opening an issue! I'll get it triaged for review ⚡


[Feature] Setting up Lets Encrypt

Rather than setting up a self-signed certificate, it'd be better to setup Lets Encrypt.
Since a domain/sub-domain is already set while configuring, might as well not make a self-signed cert.

Thanks for sending the future request.
What ACME Challenge Type would you like to use?
HTTP-01 is simpler, but it requires exposing the kubernetes cluster to the Internet, which raises security concerns.
So I'm a big fan of DNS-01, but in any case, I think the cert-manager which is the popular ACME client can coexist well with AWX Operator.
Anyway I'll give it a try :)

DNS-01 makes sense. Thank you :)

@Lvl4Sword
Added the guide acme/README.md and added link to this guide in README.md on root of repo.
Feel free to re-open this issue or create new one if you have any concerns. Thanks!


Do we ever need Dshlw and Shlw?

Type of issue:  other enhancement
What is the use case for changing the behavior?
Seems like Dshlw and Shlw are not necessary anymore while these two are introduced by the PadWidths pass:
https://github.com/freechipsproject/firrtl/blob/67eb4e2de6166b8f1eb5190215640117b82e8c48/src/main/scala/firrtl/passes/PadWidths.scala#L44
The problem is if we apply PadWidths, generate high firrtl code, and run high firrtl passes again, we run into match errors like:
[error] (run-main-2d) scala.MatchError: shlw (of class firrtl.Shlw$)
[error] scala.MatchError: shlw (of class firrtl.Shlw$)
[error]         at firrtl.passes.CheckHighForm$.checkHighFormPrimop$1(Checks.scala:75)
[error]         at firrtl.passes.CheckHighForm$.firrtl$passes$CheckHighForm$$checkHighFormE$1(Checks.scala:152)

However, there's no point of having these two operators anymore in the current firrtl. Just search them  in github, and they'll appear only three times(in their definition, PadWidths, and Emitter).
Impact: no functional change
Development Phase: proposal
Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. Stack Overflow, gitter, etc)

Yeah this is a good question. I thought they had some differing semantics from Dshl and Shl but they appear to be emitted the exact same way, @azidar are these still needed?

BTW, I recently noticed that PadWidths is not supposed to be applied before other high-level passes, which is frustrating when I need to recover all verilog signals for my transforms. Is it a little bit relevant?

A fix to #270 will take care of this.

Subsumed by #1410


Extend CI to build a desktop release

macOS
Linux
Windows

What platforms should we support? for the Legends of Lightning Tournament?

What platforms should we support? for the Legends of Lightning Tournament?

If possible, I would aim for macOS, Linux and Windows. If Windows makes any troubles, I'd drop it immediately :)

Should we still keep that ticket. If we really want to go for desktop I would rather build another UI for desktop instead of making it fit for desktop and mobile.

Should we still keep that ticket? If we really want to go for desktop I would rather build another UI for desktop instead of making it fit for desktop and mobile.

Why would you make a different UI? this app is perfectly usable on desktop, and that blend seems to be direction of the UIs everywhere (e.g. just look at the new macOS - design language is taken straight out of ipadOS). given that we will likely not have many desktop users, I would just keep the same desktop.

Should we still keep that ticket? If we really want to go for desktop I would rather build another UI for desktop instead of making it fit for desktop and mobile.

Why would you make a different UI? this app is perfectly usable on desktop, and that blend seems to be direction of the UIs everywhere (e.g. just look at the new macOS - design language is taken straight out of ipadOS). given that we will likely not have many desktop users, I would just keep the same UI.

fair enough, will be challenging though, and the app in its current design is IMHO not ready to be shipped to desktop. We designed primarily with mobile in mind and never thought about what to do to make this also work on desktop.
I still think having separate UIs for mobile and desktop makes our lives easier. but that's just my opinion - happy to take that up into a discussion.


Correctly document supported SDK versions to Dart 3

The latest version of this package currently requires a Flutter version that also supports Dart 3 (e.g. Flutter 3.10+). Running pub get with lower versions of Flutter fails with package resolution conflict error that is not easy to understand. This change correctly documents the necessary SDK to successfully resolve this package, and fails with a meaningful error if it doesn't.

I also recommend bumping the minor or major version in semantic version scheme the next time dependencies are upgraded. This will inform your users that might be potential breaking changes.


Can you   provide input pipeline?

Can you provide input pipeline? Thanks!

Thank you for your consideration ... Input pipeline procedure is provided in the paper ... The dataset itself is restricted and unfortunately, cannot be shared.

@astorfi Thanks. Maybe you can show a example. Gived one person's five utterances, how to get the MFECs feature and save it in hdf5?Thanks!

@wuqiangch I will try to provide the input pipeline process very soon ... However, this is very database related and is bot necessarily customizable.

@wuqiangch The input pipeline has been added.

@astorfi Thanks!
But  I have some questions:
1.How to get mfec feature(feature_mfec.npy), using speechpy.lmfe() function?
2.In your code "feed_to_hdf5" ,you also using features of one sound file to generate one 3D data,not 20 different utterances?
3..Does it work for one channel data?

Yes, I used SpeechPy for feature extraction. The running example is available in the package documentation.
"feed_to_hdf5" is supposed to generate one 3D data but I should add it also embed 20(or arbitrary) different utterances belonging to the same speaker.
On what sense you mean one channel data? If you mean 1 speaker utterance instead of 20 for example,  I should say yes.

@astorfi It means that the sound file has only one channel. It is work ?

Yes ... But certainly, the input pipeline must be customized!

@astorfi Did you use the feature cube vector which contains the static, first and second derivative features?

@wuqiangch The default for my experiments is 20 utterances per speaker ... feature_mfec.npy is for the whole sound file uttered by the speaker. From that, the features will be extracted frame-wise ...For your question "If 20 utterances have different frames, how to generate a 3D sample" : It is related to the input pipeline. The dimensionality of the input should be correct. The rest is how to connect frames with speaker utterances and form a cube.

@astorfi Thanks!
Did you normalize the data by minus the mean and dive the std of of the whole train data ?

@wuqiangch No ... Normalization did not make major changes in accuracy ... So I left it as it was ... Although definitely there is no harm doing data standardization for sure!

@astorfi Have test the mfcc feature? how much worse than mfec feature?

@wuqiangch
1- I do not remember by heart how much MFEC is better but I am sure it was better due to locality property.
2- There is a MATLAB package for Voice Activity Detection named VOICEBOX.
3- It is just a sample dataset for running the code. For sure you must create numerous frames from one sound file.
4- You can use overlapping frames for generating more utterances. However, 150 training cubes for a speaker is a lot! It's like 150 faces per subject for image classification,

@astorfi There is someting wrong with my train.
ch 1, Minibatch 1602 of 160266 , Minibatch Loss= 90.3591, TRAIN ACCURACY= 0.000
Epoch 1, Minibatch 1603 of 160266 , Minibatch Loss= 87.1957, TRAIN ACCURACY= 0.000
Epoch 1, Minibatch 1604 of 160266 , Minibatch Loss= 82.7143, TRAIN ACCURACY= 0.000
Epoch 1, Minibatch 1605 of 160266 , Minibatch Loss= 77.0610, TRAIN ACCURACY= 0.000
Epoch 1, Minibatch 1606 of 160266 , Minibatch Loss= 70.3649, TRAIN ACCURACY= 0.000
Epoch 1, Minibatch 1607 of 160266 , Minibatch Loss= 62.7404, TRAIN ACCURACY= 0.000
Epoch 1, Minibatch 1608 of 160266 , Minibatch Loss= 54.2896, TRAIN ACCURACY= 0.000
Epoch 1, Minibatch 1609 of 160266 , Minibatch Loss= 45.1031, TRAIN ACCURACY= 0.000
Epoch 1, Minibatch 1610 of 160266 , Minibatch Loss= 35.2619, TRAIN ACCURACY= 0.000
Epoch 1, Minibatch 1611 of 160266 , Minibatch Loss= 24.8381, TRAIN ACCURACY= 0.000
Epoch 1, Minibatch 1612 of 160266 , Minibatch Loss= 13.8962, TRAIN ACCURACY= 0.000
Epoch 1, Minibatch 1613 of 160266 , Minibatch Loss= 2.5730, TRAIN ACCURACY= 0.000
Epoch 1, Minibatch 1614 of 160266 , Minibatch Loss= 0.0001, TRAIN ACCURACY= 100.000
Epoch 1, Minibatch 1615 of 160266 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 100.000
Epoch 1, Minibatch 1616 of 160266 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 100.000
Epoch 1, Minibatch 1617 of 160266 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 100.000
Epoch 1, Minibatch 1618 of 160266 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 100.000
Epoch 1, Minibatch 1619 of 160266 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 100.000
Epoch 1, Minibatch 1620 of 160266 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 100.000
Epoch 1, Minibatch 1621 of 160266 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 100.000
Epoch 1, Minibatch 1622 of 160266 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 100.000
Epoch 1, Minibatch 1623 of 160266 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 100.000

@wuqiangch I believe it's very unstable ... Let it run for 50 epochs at least ... Then we can investigate it more.

what's  wrong ?
Epoch 79, Minibatch 1028 of 3756 , Minibatch Loss= 8.6112, TRAIN ACCURACY= 0.000
Epoch 79, Minibatch 1029 of 3756 , Minibatch Loss= 7.6331, TRAIN ACCURACY= 0.000
Epoch 79, Minibatch 1030 of 3756 , Minibatch Loss= 6.8144, TRAIN ACCURACY= 0.000
Epoch 79, Minibatch 1031 of 3756 , Minibatch Loss= 5.6934, TRAIN ACCURACY= 0.000
Epoch 79, Minibatch 1032 of 3756 , Minibatch Loss= 12.7493, TRAIN ACCURACY= 0.000
Epoch 79, Minibatch 1033 of 3756 , Minibatch Loss= 16.9590, TRAIN ACCURACY= 0.000
Epoch 79, Minibatch 1034 of 3756 , Minibatch Loss= 16.2862, TRAIN ACCURACY= 0.000
Epoch 79, Minibatch 1035 of 3756 , Minibatch Loss= 15.8414, TRAIN ACCURACY= 0.000
Epoch 79, Minibatch 1036 of 3756 , Minibatch Loss= 15.1954, TRAIN ACCURACY= 0.000
Epoch 79, Minibatch 1037 of 3756 , Minibatch Loss= 14.0057, TRAIN ACCURACY= 0.000

This is my process:
For one person, I extract features of  all its all sound files and  stack all frames of all all sound files . I only chose 1000 3D training samples (20,80,40) of each person.

You are in epoch 80!! For any training data, it should slightly go to convergence level so far! I don't think it's related to the code! Although you are using my code. I would say check the implementation in detail. Like if you are missing something or you modified anything by mistake. Also check learning rate too. It's weird to my eyes.
Please stay in touch. I will do my best to help.

--num_epochs=1000 --batch_size=128
I usd LibriSpeech dataset with about 2500 pesons. For each person ,I chose 1000 training sample.
I have trained it for three days using gpu. But the acc is always zero.

@astorfi Can your share your pretrainded mode?

@wuqiangch Unfortunately not ... Because it's been trained on a non-publicly available dataset.

@wuqiangch  Do you use batch normalization? What about data standardization? What is the initial learning rate?

@astorfi I dont change anything in the model as you provide. I dont use data standardization ,only using the orignal mfec feature. I dont change the  initial learning rate(you set it 10).

@wuqiangch Actually I lost the thread ... The point is, regardless of my code, and even the architecture me and you are using, with such a huge training training data, you should be able to get to the point of convergence at least for training even if you get 0 percent accuracy for evaluation!
I do not know if you are creating your data in a correct way. Even with that, I believe training accuracy should be increasing in any sense.

@astorfi ，I used the feature(two persons) you provided.-num_epochs=1000 --batch_size=32
Epoch 1000, Minibatch 1 of 25 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 0.000
Epoch 1000, Minibatch 2 of 25 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 0.000
Epoch 1000, Minibatch 3 of 25 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 0.000
Epoch 1000, Minibatch 4 of 25 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 0.000
Epoch 1000, Minibatch 5 of 25 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 0.000
Epoch 1000, Minibatch 6 of 25 , Minibatch Loss= 0.1261, TRAIN ACCURACY= 60.000
Epoch 1000, Minibatch 7 of 25 , Minibatch Loss= 0.2102, TRAIN ACCURACY= 100.000
Epoch 1000, Minibatch 8 of 25 , Minibatch Loss= 0.2102, TRAIN ACCURACY= 100.000
Epoch 1000, Minibatch 9 of 25 , Minibatch Loss= 0.2102, TRAIN ACCURACY= 100.000
Epoch 1000, Minibatch 10 of 25 , Minibatch Loss= 0.2102, TRAIN ACCURACY= 100.000
Epoch 1000, Minibatch 11 of 25 , Minibatch Loss= 0.2102, TRAIN ACCURACY= 100.000
Epoch 1000, Minibatch 12 of 25 , Minibatch Loss= 0.2102, TRAIN ACCURACY= 100.000
Epoch 1000, Minibatch 13 of 25 , Minibatch Loss= 0.2102, TRAIN ACCURACY= 100.000
Epoch 1000, Minibatch 14 of 25 , Minibatch Loss= 0.2102, TRAIN ACCURACY= 100.000
Epoch 1000, Minibatch 15 of 25 , Minibatch Loss= 0.2102, TRAIN ACCURACY= 100.000
Epoch 1000, Minibatch 16 of 25 , Minibatch Loss= 0.2102, TRAIN ACCURACY= 100.000
Epoch 1000, Minibatch 17 of 25 , Minibatch Loss= 0.2102, TRAIN ACCURACY= 100.000
Epoch 1000, Minibatch 18 of 25 , Minibatch Loss= 0.2102, TRAIN ACCURACY= 100.000
Epoch 1000, Minibatch 19 of 25 , Minibatch Loss= 0.2102, TRAIN ACCURACY= 100.000
Epoch 1000, Minibatch 20 of 25 , Minibatch Loss= 0.2102, TRAIN ACCURACY= 100.000
Epoch 1000, Minibatch 21 of 25 , Minibatch Loss= 0.0210, TRAIN ACCURACY= 10.000
Epoch 1000, Minibatch 22 of 25 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 0.000
Epoch 1000, Minibatch 23 of 25 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 0.000
Epoch 1000, Minibatch 24 of 25 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 0.000
Epoch 1000, Minibatch 25 of 25 , Minibatch Loss= 0.0000, TRAIN ACCURACY= 0.000
TESTING after finishing the training on: epoch 1000
Test Accuracy 1000, Mean= 75.0000, std= 43.301

You std is a lot ... You may have to do mean subtraction and standardization of the data ... It's not defined in the code by default.

@astorfi  I did mean subtraction and standardization of the data .But it not work too.You can use the feature(two persons) you provided to train the model and show me the result. Thanks!

@wuqiangch Please run the recently updated run.sh file to see the results.
Moreover, regardless of my architecture, you should be able to modify the hyperparameters to get almost perfect results at least on training. It's just a softmax!

hello! I could not find the pipeline preparation example.
Do you mind telling me where is it?
thank you in advance


Problem with typings

dom-testing-library version: 3.8.1

Problem description:
Typings for query by role are named with a T inside (queryByTRole, queryAllByTRole, getByTRole, getAllByTRole) which makes TS compiler fail.

Suggested solution:
Rename exports in typings/queries.d.ts.

Hi @jenovs, thanks!
Could you make a PR to fix that please?

Hi @kentcdodds,
I'm trying to push my PR, but I'm getting this error:
git push --set-upstream origin pr/fix-typings

ERROR: Permission to kentcdodds/dom-testing-library.git denied to jenovs.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

What am I doing wrong?

I ended up editing the file on GitHub.

That's fine.
In the future, maybe this'll be helpful to you :) http://makeapullrequest.com

:tada: This issue has been resolved in version 3.8.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


chore(main): release 0.72.5

:robot: I have created a release beep boop
0.72.5 (2024-09-04)
Full Changelog: https://github.com/BLSQ/openhexa-app/compare/0.72.4...0.72.5

This PR was generated with Release Please. See documentation.

:robot: Created releases:

0.72.5
:sunflower:


Issue with compile data action

Compile data action not working on state_code_initial or state_code_initial_fixFigures

Fixed as of Merge #68


In-memory engine: add metrics for prepare for write duration

What is changed and how it works?

Issue Number: Ref #16141

What's Changed:
add metrics for prepare for write duration

Related changes

[ ] PR to update pingcap/docs/pingcap/docs-cn:
[ ] Need to cherry-pick to the release branch

Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Release note

None

/retest-required

/retest-required


Fix potential deadlock issues for flushLog

New Pull Request Checklist

[x] I have read and understood the CONTRIBUTING guide

[x] I have read the Documentation

[x] I have searched for a similar pull request in the project and found none

[x] I have updated this branch with the latest master to avoid conflicts (via merge from master or rebase)

[x] I have added the required tests to prove the fix/feature I am adding

[x] I have updated the documentation (if necessary)

[x] I have run the tests and they pass

[x] I have run the lint and it passes (pod lib lint)

This merge request fixes / refers to the following issues: ...
The loggerQueue is public, once the user call flushLog in the loggerQueue, deadlock will occur.
...

I'm not sure this is really a problem. The loggerQueue is public for custom logger implementations, not for arbitrary use.
Given that flushLogs needs to be fast, we should probably skip this check. Calling flushLogs from the loggerQueue is a programmer error.
I could imagine having an assertion to track calls to this methods happening from the loggerQueue, so that in DEBUG builds, developers are informed about the mistake (instead of just deadlocking).

From this code:
- (void)queueLogMessage:(DDLogMessage *)logMessage asynchronously:(BOOL)asyncFlag {

    dispatch_block_t logBlock = ^{
        dispatch_semaphore_wait(_queueSemaphore, DISPATCH_TIME_FOREVER);
        // We're now sure we won't overflow the queue.
        // It is time to queue our log message.
        @autoreleasepool {
            [self lt_log:logMessage];
        }
    };

    if (asyncFlag) {
        dispatch_async(_loggingQueue, logBlock);
    } else if (dispatch_get_specific(GlobalLoggingQueueIdentityKey)) {
        // We've logged an error message while on the logging queue...
        logBlock();
    } else {
        dispatch_sync(_loggingQueue, logBlock);
    }
}

case1
dispatch_sync(DDLog.loggingQueue, ^{
    DDLogInfo(@"info");
});

case2
dispatch_sync(DDLog.loggingQueue, ^{
    [DDLog flushLog];
});

If you think calling flushLogs from the loggerQueue is a programmer error. Is the error that programmer queueLog in loggerQueue ?
So I think case2 is OK.

In other words, we should not focus on how programmer use it in a wrong way, but make the program stronger enough.

Doing dispatch_sync(DDLog.loggingQueue, ^{ /*anything*/ }) is something you shouldn't do at all (unless you're writing your own logger - in which case you would still not flush all logs).
The header docs for DDLog.loggingQueue states, that it is there for custom loggers. Apart from that, DDLog.loggingQueue is under the jurisdiction of DDLog and there is no guarantee that arbitrarily dispatching onto it won't lead to deadlocks.
It is true, that this might prevent a potential deadlock. But at the cost of performance, which in this case is quite relevant, given that it is e.g. called from application termination handler - and this has to be fast.
The check in queueLogMessage: asynchronously : is not as critical, given that it's only relevant for synchronously logged messages (which by default are only error messages).
Long story short: This would optimize a place that needs to be fast and with which we never had any issues so far (AFAIK).

I get your idea,  how about to set an assertion if programmer use in in a wrong way?

Yes, that's what I meant by this:

I could imagine having an assertion to track calls to this methods happening from the loggerQueue, so that in DEBUG builds, developers are informed about the mistake (instead of just deadlocking).

/run_checks


Move DB Bucket definitions to consumer packages

Is your feature request related to a problem? Please describe.
DB Bucket entries are all defined in the db package. Some of these entries are used in the beacon node (lodestar package), some are used in the validator (validator package).
The db package should really only be used to define the abstract db logic, and doesn't need to know which buckets exist for all downstream db consumers.
Describe the solution you'd like
Move bucket entries to the lodestar and validator packages.
Describe alternatives you've considered
Leave as is
Additional context
See https://github.com/ChainSafe/lodestar/blob/master/packages/db/src/schema.ts#L8-L70

Sounds good, we can add a test in the lodestar and validator repos to ensure the Buckets don't overlap


adding GetAccountAtBlockHeight API definition

Closes: #4110
Description
This PR adds a new API call - GetAccountAtBlockHeight

For contributor use:

[X] Targeted PR against master branch
[X] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[X] Updated relevant documentation
[ ] Re-reviewed Files changed in the Github PR explorer
[ ] Added appropriate labels

At latest always means sealed in our case, i assume? Do we want to add the option to do any state query at finalized? I'm guessing that's usually not desire, but for some applications that are trying to be optimistic, it's possible,

GetAccount could have an is_sealed option as part of the request and in that case the access node gets the block id of the sealed or the final block. But what should be done for GetAccountAtBlockHeight, how to determine that the block at height is sealed or finalized? Should I check the height against the height of the latest sealed block?

At latest always means sealed in our case, i assume? Do we want to add the option to do any state query at finalized? I'm guessing that's usually not desire, but for some applications that are trying to be optimistic, it's possible,

I have created an issue for this - https://github.com/dapperlabs/flow-go/issues/4150. I might have to think this through a little.


Support TLS renegotatiation?

The VPN server I connect to requires renegotiation. gof5 fails with tls: no renegotiation.
I am not familiar with go, but I managed to find the solution on the internet
--- gof5-0.1.4/pkg/client/http.go       2021-10-29 13:19:18.000000000 +0200
+++ src/gof5-0.1.4/pkg/client/http.go   2022-02-02 11:27:31.593142532 +0100
@@ -35,6 +35,7 @@
 func tlsConfig(opts *Options, insecure bool) (*tls.Config, error) {
        config := &tls.Config{
                InsecureSkipVerify: insecure,
+               Renegotiation:      tls.RenegotiateOnceAsClient,
        }

        if opts.CACert != "" {

and it works for me. Is there any reason to not enable it by default for everybody?

I'd rather add this option into the config. Can you prepare a PR?

Alright, I will try to.


logot only works with the default loguru logger?

Thanks for your work.
Is it possible to configure loguru or does logot only work with a pre-configured default logger?
# test_logger.py
import sys
from typing import Callable

import pytest
from logot import Logot, logged
from logot.loguru import LoguruCapturer
from loguru import logger
from rich.logging import RichHandler

@pytest.fixture(scope="session")
def logot_capturer() -> Callable[[], LoguruCapturer]:
    return LoguruCapturer

def test_capture(logot: Logot):
    """
    Works
    """
    # Log an error message with the default logger
    logger.info("foo bar")
    logot.assert_logged(logged.info("foo bar"))

def test_capture_setup_logger(logot: Logot):
    """
    Does not work
    """
    # Remove all handlers added so far, including the default one.
    logger.remove()
    # Console handler
    logger.add(sink=sys.stderr, level="DEBUG", format="{message}")

    # Log an error message
    logger.info("foo bar")
    logot.assert_logged(logged.info("foo bar"))

def test_capture_setup_logger_rich(logot: Logot):
    """
    Does not work
    """
    # Remove all handlers added so far, including the default one.
    logger.remove()
    # Console handler with rich formatting
    logger.add(
        sink=RichHandler(
            log_time_format="[%X]",
            rich_tracebacks=True,
            tracebacks_show_locals=True,
        ),
        level="DEBUG",
        format="{message}",
    )

    # Log an error message
    logger.info("foo bar")
    logot.assert_logged(logged.info("foo bar"))

Errors:
$ test_capture_setup_logger
AssertionError: Not logged:
[INFO] foo bar

Captured stderr call:
foo bar

$ test_capture_setup_logger_rich
AssertionError: Not logged:
[INFO] foo bar

Captured stderr call:
[01:02:03] INFO     foo bar                                    test_logger.py:42

Loguru docs:

You should remove() it first if you plan to add() another handler logging messages to the console, otherwise you may end up with duplicated logs.

Log capture works by adding a loguru handler using loguru.logger.add(). When you call logger.remove(), you're actually removing the logot log capturing handler! So that's what's breaking your log capture.
What you can do is this:
def test_capture_setup_logger():
    # Remove all handlers added so far, including the default one.
    logger.remove()
    # Console handler
    logger.add(sink=sys.stderr, level="DEBUG", format="{message}")

    with Logot().capturing() as logot:
        # Log an error message
        logger.info("foo bar")
        logot.assert_logged(logged.info("foo bar"))

So this isn't anything to do with the default handler... this is just about the order of logger.remove() and Logot.capturing() calls.

I'm curious what you're trying to test here? Is this just a simplified example? logot log capture doesn't care about any other added sinks, so your console handler isn't being tested. logot is there to test that a logging call has been made, not that it's been output to any particular sink.
If there is some general logger configuration you want to apply to all your tests, you can do it in a session fixture like this:
@pytest.fixture(autouse=True, scope="session")
def _setup_loguru():
    logger.remove()
    logger.add(sink=sys.stderr, level="DEBUG", format="{message}")

This session fixture will be run before the logot fixture, so won't interfer with log capture.

I'm curious what you're trying to test here? Is this just a simplified example?

Yes, I was trying to figure out why the actual test does not work.
The log shows that the expected message does not match the format of the captured stderr call. And I'm stuck on that.
In fact, there was an error in the test itself.
Everything works. Thank you very much.


feat(runtime): pass slot fallback into slot elements

Previously, we introduce if condition to the slot trait, which helps
render slot element conditionally. But it is not easy for a component
developer to implement fallback UI of a slot, because neither the
if condition is true or false, the slot elements function will return
the ImplWrapperMain component.
This patch brings a new way to implement fallback UI: pass the
fallback UI as the second parameter of the slot elements function.
So in the ImplWrapper, we can fall back to the passed in UI.
Before:

After:

Currently I only migrate the Tabs' code to the new fallback way, if this works, we can migrate other slot elements to this way,


Global variable switch error

Hi @ilcato ,
I updated my fibaro hc3 plugins to 1.1.10, and i get an error:
[3/29/2021, 11:16:01 AM] [FibaroHC3] Error fetching updates:  TypeError: Cannot read property 'value' of null
at GetFunctions.getBool (/homebridge/node_modules/homebridge-fibaro-hc3/src/getFunctions.ts:83:22)
at Poller. (/homebridge/node_modules/homebridge-fibaro-hc3/src/pollerupdate.ts:69:33)
at Generator.next ()
at fulfilled (/homebridge/node_modules/homebridge-fibaro-hc3/dist/pollerupdate.js:19:58)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
This feature worked in previous version.
thx

Fixed, it will be available in version 1.1.11

1.1.11 published. @KJTamas can you check the issue?

Hi,
Sorry, but not working…
3/30/2021, 4:13:31 PM] [FibaroHC3] Setting value to device:  Test  parameter: On
[3/30/2021, 4:13:32 PM] [FibaroHC3] There was a problem sending command  pressButton to G
In Home app i press Test button, (default = ON),  button status turn to Off, in log appears the action, and button status change back to on. In HC3 i can't see any event.
Br,
Tamas

On 2021. Mar 30., at 11:17, ilcato @.***> wrote:
Closed #40 https://github.com/ilcato/homebridge-fibaro-hc3/issues/40.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/ilcato/homebridge-fibaro-hc3/issues/40#event-4526279312, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZXHCB5DLMR2VXD7X6SRD3TGGJKTANCNFSM4Z7GHW7A.

@KJTamas can you test 1.1.12?

Hi,
It’s all right! It’s working.
thx

On 2021. Mar 31., at 7:59, ilcato @.***> wrote:
@KJTamas https://github.com/KJTamas can you test 1.1.12?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/ilcato/homebridge-fibaro-hc3/issues/40#issuecomment-810789927, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEZXHCCXOCCCRFSBH7SW4ATTGK25DANCNFSM4Z7GHW7A.


iptv card not showing picon

iptv card not showing picons, reference there and match; picon downloaded demon,
import to stb (picon+iptv bouquet)  picons correctlly showing on TV screen

How can I reproduce it?

Please, show how looks the reference of one of the channels and name of picon file also.

in windows 10 - reference on iptv channel not match (not showing) same as on picon , but when you send bouquet to STB all showing correct! please see screen shot haw reference looks

forget mentioned references are copy from epg configuration
also showing just part of reference see picture

can not change reference manually, in iptv or channel bouquet....did you blocked this options

did change reference in bouquet , still cannot see picon
only first number in ref. are diferent 4097 vs 1 should not cause problem ?

only first number in ref. are diferent 4097 vs 1 should not cause problem ?

Yes, that's the cause. Just drag and drop the desired picon from the picons  list (Picons->Explorer tab) to the selected services in the bouquet list, or vice versa the selected services to the desired picon. Your case revealed an important flaw in work with picons. This can be fixed, but... I think it should be combined with this.

This can be fixed, but...
waiting form new version for w10

 Just drag and drop the desired picon from the picons list (Picons->Explorer tab) to the selected services in the bouquet lis
if you drag picon to iptv channel will be created other picon with reference of iptv 4097_1_....  Dont think is right way

if you drag picon to iptv channel will be created other picon with reference of iptv 4097_1_.... Dont think is right way

It's all right here. The question is only to the first digit, but it is also acceptable.

test version 3.1.0
picons showing for IPTV channels list - Thank you


Support some notion of exclusive terminal access

For input processing scenarios, one might either subscribe to TerminalReader.InputRead or call TerminalReader.ReadBuffer directly. The latter will have higher overhead, especially if the event handler needs to fire off a task to prevent blocking. The former will have lower overhead but will essentially take over standard input. (Both are valid options.)
For the latter case, we need a way to formalize the exclusive access to the terminal such that anyone else attempting to access it will get an exception.

ReaderWriteLockSlim not working in async methods is throwing a wrench in my approach here...


Update README.md

Update the Install section to reflect the process of using version v1.0.0-preview4

Thanks!

No, thank you for this awesome work! I just came across this but looks pretty cool, taking it for a spin and see how it goes.

Let me know how it goes. I am sure there is a lot to improve.

Sure thing, if I find something I'll bring it up.


No Input node does not return STOP event

Describe the bug
Python Node with no input always return None on .next()  although we would want it to return STOP event so that we can gracefully stop it.
import pyarrow as pa
from dora import Node

node = Node()

node.send_output("data", pa.array([1, 2, 3, 4, 5]))

event = node.next()

assert event is not None, "we should expect a STOP event"
assert event["type"] == "STOP", "we should expect a STOP event"

nodes:
  - id: no_input
    path: no_input.py
    outputs:
      - data

  - id: terminal-print
    build: cargo build -p terminal-print
    path: dynamic
    inputs:
      data: no_input/data

That is expected with our current design. The event channel returns None as soon as all inputs of the node have been closed. This allows nodes to stop when they are no longer needed. The Stop event signals that the dataflow was stopped early as a consequence of a stop command. So it signals that the event channel might close sooner than usual.
We could of course special-case nodes with no inputs and keep their event channels open as long as the dataflow runs. However, such behavior differences would be inconsistent and surprising, and also difficult to document clearly. Another disadvantage is that next() is a blocking, so that a call without a timeout would block until the user cancels the dataflow.
How about we provide an additional dataflow_stopped function instead? This function could be non-blocking and return true as soon as the manual stop signal was received by the node. So it would be suitable for checking it a loop.


Error: File "/subgen/subgen.py", line 731, in get_audio_tracks

Seems to be an error occured by today... (latest Dec 1 Change)

(I have it set to 'true' went back to 'false' and the error kept occuring, nuked the docker image and pulled fresh with 'false' and same error.)

https://github.com/McCloudS/subgen/blob/3ad1a76c757c0f428b4984dade4e1d8958b5bd6d/subgen.py#L731
Output:
A copy of this license is made available in this container at /NGC-DL-CONTAINER-LICENSE for your convenience.
subgen.env file not found. Please run prompt_and_save_env_variables() first.
subgen.py exists and UPDATE is set to False, skipping download.
Launching subgen.py
INFO:root:Subgen v2024.11.32
INFO:root:Starting Subgen with listening webhooks!
INFO:root:Transcriptions are limited to running 2 at a time
INFO:root:Running 4 threads per transcription
INFO:root:Using cuda to encode
INFO:root:Using faster-whisper
INFO:root:Starting to search folders to see if we need to create subtitles.
Traceback (most recent call last):
File "/subgen/subgen.py", line 731, in get_audio_tracks
probe = ffmpeg.probe(video_file, select_streams='a')
AttributeError: module 'ffmpeg' has no attribute 'probe'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/subgen/subgen.py", line 1175, in
transcribe_existing(transcribe_folders)
File "/subgen/subgen.py", line 1149, in transcribe_existing
gen_subtitles_queue(path_mapping(file_path), transcribe_or_translate, forceLanguage)
File "/subgen/subgen.py", line 798, in gen_subtitles_queue
force_language = choose_transcribe_language(file_path, force_language)
File "/subgen/subgen.py", line 670, in choose_transcribe_language
audio_tracks = get_audio_tracks(file_path)
File "/subgen/subgen.py", line 751, in get_audio_tracks
except ffmpeg.Error as e:
AttributeError: module 'ffmpeg' has no attribute 'Error'. Did you mean: 'errors'?
Traceback (most recent call last):
File "/subgen/launcher.py", line 170, in
main()
File "/subgen/launcher.py", line 165, in main
subprocess.run([f'{python_cmd}', '-u', 'subgen.py'], check=True)
File "/usr/lib/python3.10/subprocess.py", line 526, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['python3', '-u', 'subgen.py']' returned non-zero exit status 1.
End of error, Docker Closed
My work around was to use the older commit, point the docker folder to that and use that.
Git Commit; https://github.com/McCloudS/subgen/tree/d0333e2c012101685a5a132a0e85913dc689b223
Resolution

Download full repo comit at that time.
unpack, and point docker container at that folder (put that in /appdata/subgen and path into docker container as just "/subgen"

Worked fine as a result. :) (no idea how to fix it or what the error is, but an easy solution was just simply rollback in this case.

Same error here:
subgen.env file not found. Please run prompt_and_save_env_variables() first.
subgen.py exists and UPDATE is set to False, skipping download.
Launching subgen.py
2024-12-01 11:18:19,226 INFO: Subgen v2024.11.32
2024-12-01 11:18:19,226 INFO: Starting Subgen with listening webhooks!
2024-12-01 11:18:19,226 INFO: Transcriptions are limited to running 2 at a time
2024-12-01 11:18:19,226 INFO: Running 6 threads per transcription
2024-12-01 11:18:19,226 INFO: Using cpu to encode
2024-12-01 11:18:19,226 INFO: Using faster-whisper
2024-12-01 11:18:19,226 INFO: Starting to search folders to see if we need to create subtitles.
2024-12-01 11:18:19,226 DEBUG: The folders are:
2024-12-01 11:18:19,226 DEBUG: /pve1storage/Media/TV
2024-12-01 11:18:19,274 DEBUG: /pve1storage/Media/TV/New Girl (2011) [tvdbid-248682]/season07-poster.jpg is an image or is an invalid file or path (are your volumes correct?), skipping processing
2024-12-01 11:18:19,275 DEBUG: /pve1storage/Media/TV/New Girl (2011) [tvdbid-248682]/fanart.jpg is an image or is an invalid file or path (are your volumes correct?), skipping processing
2024-12-01 11:18:19,275 DEBUG: /pve1storage/Media/TV/New Girl (2011) [tvdbid-248682]/banner.jpg is an image or is an invalid file or path (are your volumes correct?), skipping processing
2024-12-01 11:18:19,275 DEBUG: /pve1storage/Media/TV/New Girl (2011) [tvdbid-248682]/season05-poster.jpg is an image or is an invalid file or path (are your volumes correct?), skipping processing
Traceback (most recent call last):
  File "/subgen/subgen.py", line 731, in get_audio_tracks
    probe = ffmpeg.probe(video_file, select_streams='a')
            ^^^^^^^^^^^^
AttributeError: module 'ffmpeg' has no attribute 'probe'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/subgen/subgen.py", line 1175, in <module>
    transcribe_existing(transcribe_folders)
  File "/subgen/subgen.py", line 1149, in transcribe_existing
    gen_subtitles_queue(path_mapping(file_path), transcribe_or_translate, forceLanguage)
  File "/subgen/subgen.py", line 798, in gen_subtitles_queue
    force_language = choose_transcribe_language(file_path, force_language)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/subgen/subgen.py", line 670, in choose_transcribe_language
    audio_tracks = get_audio_tracks(file_path)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/subgen/subgen.py", line 751, in get_audio_tracks
    except ffmpeg.Error as e:
           ^^^^^^^^^^^^
AttributeError: module 'ffmpeg' has no attribute 'Error'. Did you mean: 'errors'?
Traceback (most recent call last):
  File "/subgen/launcher.py", line 170, in <module>
    main()
  File "/subgen/launcher.py", line 165, in main
    subprocess.run([f'{python_cmd}', '-u', 'subgen.py'], check=True)
  File "/usr/local/lib/python3.11/subprocess.py", line 571, in run
    raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['python3', '-u', 'subgen.py']' returned non-zero exit status 1.

I can't check it right now, but i think python-ffmpeg needs to be replaced with ffmpeg-python in requirements.txt

I can't check it right now, but i think python-ffmpeg needs to be replaced with ffmpeg-python in requirements.txt

Yeah, that appears to be the issue.  I'll push the new docker images.  Sorry everyone, made some pretty substantial updates yesterday.  Might need to refactor back towards PyAV.


Player Ex causes a blue screen when entering the Abyss Dimension

Player Ex causes a blue screen when entering the Abyss Dimension from The Abyss II mod,
I can only see everything in the dimension when using F1 mode
Here is the GitHub that is also related to the issue: https://github.com/Y3Z0N/theabyss/issues/65
I am using 1.16.5
Mod used: The Abyss II and Player Ex

Hi there,
This version of PlayerEx is no longer supported.
Thanks.


OS portability could be improved

Describe the Bug
Not all OSs keep bash under /bin/, for example OpenBSD puts binaries installed from ports to /usr/local/bin/ (which is very useful). Also, head’s -c flag is not portable.
To Reproduce
(not applicable)
Expected Behavior
Burrow is easy to build on most OSs.
Technical Details
(not applicable)
Additional Context
I will soon create a pull request to address this. I create this issue following  the contribution guide.

Resolved by #1454


FE-54: Add BackButton to /details/[id] route

 FE-54: Agregar componente BackButton a la ruta /details/id


Address Latests Github Actions Dependences in API Repo

https://github.com/department-of-veterans-affairs/notification-api/pulls?q=is%3Aopen+is%3Apr+label%3Adependencies+label%3Agithub_actions

[ ] Correct the github actions dependency issues opened by dependabot

Hey team! Please add your planning poker estimate with ZenHub @ianperera @jakehova @jessecanderson @k-macmillan @kalbfled @maham360 @EvanParish


Error with custom endpoint :AWS_ERROR_MQTT_UNEXPECTED_HANGUP

I am running into awscrt.exceptions.AwsCrtError when I try to connect using custom end point as below
python3 pubsub.py --endpoint  iot.my-domain.com --port 8883 --cert third_thing-certificate.pem.crt --key third_thing-private.pem.key --root-ca AmazonRootCA1.pem --client-id basicPubSub  --topic s
dk/test/Python --count 1

Connecting to iot.my-domain.com with client ID 'basicPubSub'...
Traceback (most recent call last):
  File "pubsub.py", line 133, in <module>
    connect_future.result()
  File "/usr/lib64/python3.7/concurrent/futures/_base.py", line 435, in result
    return self.__get_result()
  File "/usr/lib64/python3.7/concurrent/futures/_base.py", line 384, in __get_result
    raise self._exception
awscrt.exceptions.AwsCrtError: AWS_ERROR_MQTT_UNEXPECTED_HANGUP: The connection was closed unexpectedly.

But if I use the iot end-point eg:a3d6610xxxxty-ats.iot.ap-south-1.amazonaws.com , then I dont see this error.

Hi @baahujain,
I see in your command line arguments port 8883 and use-websockets.
Please try with a valid port+protocol combination, see https://docs.aws.amazon.com/iot/latest/developerguide/protocols.html
On port 8883, you should use MQTT directly, without MQTT.
Also, you can enable AWS IoT logging to CloudWatch - please check there for any connection-related log events.

Hi @Kriechi ,I pasted a wrong command( I edited the post with correct command). Even with the correct command it was failing.
But I could figure out the issue !!
The newly added custom domain (can be seen in settings section of AWS Iot console) was in disabled state . everything worked find after I enabled it.


Set Thanos-specific user agent when communicating with object storage

When Thanos talks to S3-compatible APIs, the user agent is:
Minio (linux; amd64) minio-go/4.0.6

We should include the word 'Thanos', the Thanos version and the instance type (compact, store, etc) in the user agent. Adding the Go runtime version would also be nice to have.
We should try to retain the Minio version (maybe keep minio-go/4.0.6).
For example:
Thanos compact v0.0.1 (go 1.10); minio-go/4.0.6

Makes sense.

Seems like minio doesn't allow for easy replacement of the user agent, so far I managed to achieve Minio (darwin; amd64) minio-go/4.0.9 Thanos/ (go1.10.1) and it seems like version.Version from prometheus/common doesn't seem to play nice with go test . This is my first foray into golang, so comments welcome!


Refactor reduce slice func to use the aggregator and emitter

@benbjohnson @nathanielc

@jsternberg Overall I like the changes, my only concern is using []*FloatPoint instead of []FloatPoint since my most common use case will be to call Aggregate once with a list of points. Using *FloatPoint requires twice the allocations.

+1


Interested in supporting an update to xport to support XPT v8/9

We have an interest in sponsoring an update to xport that supports the features of v8/9.  Please contact me: dsteinfeld (at) agmednet (dot) com to discuss.
Thanks!
Doug Steinfeld

@dsteinfeld Email sent. BTW, my email address is in my GitHub profile.


Any functionality update planned?

Hi, I see there has never been any real functionality other than the signature calculation been added. I wonder if this is planned. At the current state, I would tend just to copy over the few samples lines from the calculator so that I do not need to care about the dependency.

Hello Rainer,
I just don't have any free time to work on these SDK libraries. The primary goal for writing and releasing this code was to get something out there for people who were having problems computing the API signature.


fix: Fix the problem that esbuild service cannot be detected due to childcompiler in webpack

fix: Fix the problem that esbuild service cannot be detected due to childcompiler in webpack
Among the common plugins in webpack, many plugins create child-compiler to build their own chunks.
However, the value of $esbuildservice is not correctly assigned, which causes errors in the
compilation of webpack on the child-compiler,For example, mini CSS extract plugin
Closes #16

Was there reproduction for a case where this is demonstrated to be needed?
Based on the docs here, it sounds like it shouldn't be necessary because child compilers copy plugins from the parent.
On a separate note, it might be worth accessing the service via closure so multiple webpack builds running in the same process can access the same instance of esbuild.

https://github.com/egoist/esbuild-loader/issues/16
repo:
https://github.com/zhusjfaker/esbuild-demo
branch:
master
command:
npm run csr
if u don't Assign an esbuild instance to the child-compiler and run min CSS plugin. You will find the following error
------------------ 原始邮件 ------------------
发件人:                                                                                "egoist/esbuild-loader"<EMAIL_ADDRESS>发送时间: 2020年8月6日(星期四) 凌晨0:53
收件人<EMAIL_ADDRESS>抄送: "zsjax"<439453290<EMAIL_ADDRESS>主题: Re: [egoist/esbuild-loader] fix: Fix the problem that esbuild service cannot be detected due to childcompiler in webpack (#17)
Was there reproduction for a case where this is demonstrated to be needed?
Based on the docs here, it sounds like it shouldn't be necessary because child compilers copy plugins from the parent.
On a separate note, it might be worth accessing the service via closure so multiple webpack builds running in the same process can access the same instance of esbuild.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Let's add a test case next time.
Because of how many points of failure that repo has, it's not proven the bug is rooted there.


Placing Items Vertically Centered

I have images of same width but various heights that I'd like to place vertically centered in the carousel.
The current settings are:
// For the carousel
myCarousel.resizeType = .WithoutResizing(1.0)

// For each image in the carousel
myImgView.contentMode = UIViewContentMode.ScaleAspectFit
myImgView.frame = CGRectMake (0, /* x-offset */
                              0, /* y-offset */
                              width, scaledHeight)

The issue is setting the y-offset to a non-zero would freeze the carousel to scroll.
I tried changing the image content mode to myImageView.contentMode = UIViewContentMode.Center, but the images would not scale correctly.

Hey @dulimarta. Sorry for getting so late back to you. This is a bug because as of now there are few places where the y property is not really coded as it should. I will take a look at it in the next few days!


Makefile convention

Recursive makefiles should import the same options and flags as the original one, so they should be called with $(MAKE) (see https://stackoverflow.com/a/10415993).

thanks,
fixed in https://github.com/majestrate/wterm/commit/18864b6da06f70a98e01d3e429287e54ef8db833


[Express  ] › ⚠  warning   invalid signature

Checklist

Have you pulled and found the error with jc21/nginx-proxy-manager:latest docker image?

No Reason: unable to renew certificate, running version v2.19.9

Are you sure you're not using someone else's docker image?

Yes

Have you searched for similar issues (both open and closed)?

Yes

Describe the bug
In the logs i see several messages like:
[Express  ] › ⚠  warning   invalid signature
Nginx Proxy Manager Version
2.19.9
To Reproduce
Steps to reproduce the behavior:
Just run NPM as normal and check logs
Expected behavior
No warning messages
Screenshots
n/a
Operating System
Docker
Additional context
[3/16/2023] [1:23:37 PM] [Express  ] › ⚠  warning   invalid signature
[3/16/2023] [1:23:38 PM] [Express  ] › ⚠  warning   invalid signature
I have no idea what above messages means so no clue if it can be ignored or not.
It says warning so i guess something is wrong.

same problem

That error isn't part of the codebase and it's been seen before in #775 but the reporter said it fixed itself. I would think it's something related to the JWT given in the API request. Some things to try:

use the new 2.9.21 docker image tag
add the following environment variable to your docker-compose configuration:

  environment:
    DEBUG: 1

and you should see more info in the logs.

Hello,
i have the same errors and did also a DEBUG: 1 and got same messagesa as Marcbacca.
any News?

2.9.22
[3/24/2023] [9:26:49 AM] [Express  ] › ⬤  debug     JsonWebTokenError: invalid signature     at /app/node_modules/jsonwebtoken/verify.js:171:19     at getSecret (/app/node_modules/jsonwebtoken/verify.js:97:14)     at Object.module.exports [as verify] (/app/node_modules/jsonwebtoken/verify.js:101:10)     at /app/models/token.js:71:11     at new Promise (<anonymous>)     at Object.load (/app/models/token.js:65:11)     at /app/lib/access.js:228:20     at new Promise (<anonymous>)     at Object.load (/app/lib/access.js:226:11)     at /app/lib/express/jwt-decode.js:7:10

I had the same error (2.9.22). Restarted the docker container that was/is using the API (in my case homepage gave an API error) and both errors were gone.  Maybe it helps someone.

Can confirm, the patch 3-4 days ago appears to have fixed the issue. Yesterday's/today's updates haven't broken it.. seems to be fixed.

I still have the same issue:
Image used: jc21/nginx-proxy-manager           latest    5b3ff21ccf9
[3/27/2023] [2:52:03 PM] [Express  ] › ⬤  debug     JsonWebTokenError: invalid signature
at /app/node_modules/jsonwebtoken/verify.js:171:19
at getSecret (/app/node_modules/jsonwebtoken/verify.js:97:14)
at Object.module.exports [as verify] (/app/node_modules/jsonwebtoken/verify.js:101:10)
at /app/models/token.js:65:11
at new Promise ()
at Object.load (/app/models/token.js:60:11)
at /app/lib/access.js:228:20
at new Promise ()
at Object.load (/app/lib/access.js:226:11)
at /app/lib/express/jwt-decode.js:7:10

I looked into this further, the warning is just a warning. It will happen when the JWT you use to access the API was encrypted with a different set of keys than is currently on file.
Prior to 2.10, this would be common, especially for those not using a mounted config file, as the keys would be generated after every docker container restart and wiped out.
With 2.10.0, these keys are now saved in the data folder and read from there.
I'll close this for now. If anyone experiences this with 2.10.0 or above AND think it's related to other behaviour, such as not being able to login, then please reopen.

@jc21 thx for looking into this. Not sure what the impact is here, but I'm on npm v2.10.1 and I'm seeing this ⚠ warning invalid signature message about once a minute as I navigate through my system. Here's a screenshot that I'm not sure will help:

Last version and I have also this warning

But this is not only a warning,
because, the UI freeze it's then it's impossible to manage anything
[7/12/2023] [4:19:04 PM] [Express  ] › ⬤  debug     JsonWebTokenError: invalid signature
at /app/node_modules/jsonwebtoken/verify.js:171:19
at getSecret (/app/node_modules/jsonwebtoken/verify.js:97:14)
at Object.module.exports [as verify] (/app/node_modules/jsonwebtoken/verify.js:101:10)
at /app/models/token.js:65:11
at new Promise ()
at Object.load (/app/models/token.js:60:11)
at /app/lib/access.js:228:20
at new Promise ()
at Object.load (/app/lib/access.js:226:11)
at /app/lib/express/jwt-decode.js:7:10

After some investigations two points :
strangely the problem comes from the database name, it seems that we are not able to harden the database" "npm" of the  most EXPOSED service in the network, a very clear security issue, most of the Dockerfile and/or Entrepont scripts needs to be fixed

to be rootless
not hardcoded about all the env variables, everything must be changed


Unable to edit user's groups

Impossible to add a group to a user:
$ ./manage.py cli user update -F username=test -f groups=1,2
Update 'test' ? [Yes|No|All|Cancel] y
FieldError: Cannot update model field <django.db.models.fields.related.ManyToManyField: groups> (only non-relations and foreign keys permitted).

I added usage of ModelAdmin.add_form for add action.


Added Methods for rules 6,7,8, and 9

There are some minor bugs, but it's OK to merged. The bugs will be fixed in the next PR very soon.


Deployment Failuire

My deployment fails with the following error:
[XXX.XX.XX.XX] x Verifying Deployment: FAILED
-----------------------------------STDERR-----------------------------------
package.json<EMAIL_ADDRESS>No description
npm WARN package.json<EMAIL_ADDRESS>No repository field.
npm WARN package.json<EMAIL_ADDRESS>No README data
npm WARN cannot run in wd<EMAIL_ADDRESS>node npm-rebuild.js (wd=/bundle/bundle/programs/server)
=> Starting meteor app on port:80

assert.js:93
  throw new assert.AssertionError({
        ^
AssertionError: "undefined" === "function"
    at wrapPathFunction (/bundle/bundle/programs/server/mini-files.js:77:10)
    at Object.<anonymous> (/bundle/bundle/programs/server/mini-files.js:108:24)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/bundle/bundle/programs/server/boot.js:9:13)
    at Module._compile (module.js:456:26)

=> Redeploying previous version of the app

-----------------------------------STDOUT-----------------------------------

To see more logs type 'mup logs --tail=50'

----------------------------------------------------------------------------

Its my first ever deployment. Please, be little bit more descriptive than you would normally be. Thanks

Assuming you have a vps: ssh into your server and do as the STDOUT says. Type the command: mup logs --tail=50 . Read each line of the output to pinpoint the issue. My hunch is that you will find something in your mup.js is not supported.

@sgatlf Thanks for your suggestion. I have updated npm package to the latest 3.10.8 but still no luck Here is the mup logs:

Thanking again for your time and help

I have managed to get rid of the error by using  a docker image  suggested here by abernix kadirahq/mup here: https://github.com/meteor/meteor/issues/7475. Even though I my app is successfully deployed and verified now it's still not live and shows nginx welcome page.

Do you have nginx setup on the server to direct request, before mup setup?

cd yourapp
meteor
xxx.xx.xxx.xx:3000. Now if it show up that way. You miss up some where like i did but i gave up on using nginx. I had my nginx set up first tho. Hope that help you out a little.

@sgatlf Yes I am hosting on digitalocean (Ubunut & nginx). I followed this https://gist.github.com/jamiewilson/4e1d28f9a200cb34ad59 tutorial to the word and I was running into the Verfication failure error and I solved it with the solution I mentioned in my previous comment.
@Deadlyweed Yeah you are right it works by following the http://url.co.uk:3000. How did you fix this.
Thanks a lot to both of you for your time. I hope one day I will give something back to this community.

Instead of site-enabled I use /sites-available per http://julian.io/how-do-i-host-multiple-meteor-apps-on-one-digitalocean-droplet/
Although, since you are editing the file directly I would think it should still work. But I like the symlink way in case I need to take the address down for any unknown reason.
Otherwise do some double checks:
Use command sudo nano /etc/nginx/sites-enabled/yourappname.com.conf
Verify :3000 port is specified in proxy_pass http://yourappname.com:3000;
Ensure that updates were made by using command sudo services nginx reload
In mup.js verify 3000 port is specified under the env object PORT: 3000,
If this doesn't work post your mup.js and your nginx yourappname.com.conf file with personal information redacted so that I or someone else can help you troubleshoot further.

@sgatlf Here are the contents of myapp.com.conf & mup.js
myapp.com.conf
server {
listen 80;
server_name ifix.co.uk;
access_log /var/log/nginx/app.dev.access.log;
error_log /var/log/nginx/app.dev.error.log;
location / {
proxy_pass http://<IP_ADDRESS>:3000;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header X-Forwarded-For $remote_addr;
}
}
mup.js
module.exports = {
servers: {
one: {
host: 'XXX.XX.XXX.XX',
username: 'USERNAME',
pem: '/Users/gitMonk/.ssh/id_rsa'
// password:
// or leave blank for authenticate from ssh-agent
}
},
meteor: {
name: 'myApp',
path: '/Users/gitMonk/Desktop/projects/myApp',
dockerImage: 'abernix/meteord:base',
servers: {
one: {}
},
buildOptions: {
serverOnly: true,
},
env: {
ROOT_URL: 'http://myapp.co.uk',
PORT: 3000,
MONGO_URL: 'mongodb://localhost/meteor'
},
//dockerImage: 'kadirahq/meteord'
deployCheckWaitTime: 600

},
mongo: {
oplog: true,
port: 27017,
servers: {
one: {},
},
},
};
I am able to reload nginx with sudo nginx -s reload doesn't recognise sudo services nginx reload.
Problem still persists.

@gitMonks I never got it to work right.
This might help you both out. The tutorials i used for nginx
they use the todos app in the tutorial from meteor web site
https://www.digitalocean.com/community/tutorials/how-to-deploy-a-meteor-js-application-on-ubuntu-14-04-with-nginx

Try in conf file:
proxy_pass http://<IP_ADDRESS>:3000;
Also, in mup.js file try changing server information to:
servers: {
      one: {
        host: 'xxx.xx.xxx.xx',
        username: 'yourusername'
      },
},

And env information to:
env: {
  PORT: 3000,
  UPSTART_UID: 'meteoruser',
  ROOT_URL: 'http://myapp.co.uk',
  MONGO_URL: 'mongodb://localhost/meteor'
},

Just an observation not related to the issue, do you mean to have 600 deployCheckWaitTime or did you mean 60 ?

People suggested in some forums that they were able to resolve the Verification failure by increasing the deployCheckWaitTime to 80. I was so frustrated that I made it 600. Now that should give you an idea how much I am appreciating your help. :))

@sgatlf Sorry no luck even with these settings. By the way proxy_pass was already http://xxx.xx.xxx.xx:3000. Did you literally mean http://<IP_ADDRESS>:3000
I opened a support ticket with digitalocean and they have come back with the following message:

Thank you for contacting us! You can adjust the Nginx configuration as desired. You're basically configuring a reverse proxy. This may help as a reference:
https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-as-a-web-server-and-reverse-proxy-for-apache-on-one-ubuntu-16-04-server
If you have any further questions, do feel free to ask!

Yes proxy pass should point to the local host <IP_ADDRESS>. It appears that you redacted it to xxx.xx.xxx.xx which could have menat that you were pointing it at something else. I just wanted to make sure you were pointing it at http://<IP_ADDRESS>:3000
Self managed hosting can definitely have it's issues and growing pains, which is why Meteor Galaxy managed hosting is a little pricey. But if you get it right yourself, you have learned something and if you continue to use meteor you have saved money over time.
It is alright, hopefully this forum can help someone else along the way.

I found an article that talks about setting up proper url and removing ports. As suggested by you it asks to point at http://<IP_ADDRESS>:3000.
https://johngibby.com/blog/How_to_deploy_your_meteor.js_app_on_Digital_Ocean#removing-port
I copied paste the whole contents but still no luck. I don't know honestly what would help. It's been 3 days I am searching for a solution. But as you say on the brighter side I am learning something valuable.

@sgatlf  I am happy for you to access my server. Maybe you can figure out something please email me  at<EMAIL_ADDRESS>

It is nice to help solve a mystery, but I have a few issues I am combing through myself and probably wouldn't be of much further help. Thank you for the offer of a coffee though. The best advice I can give is check your logs and research the things you do not understand. Also, start over on a fresh slate if it doesn't work after a few hours.

Here is my example. It is successfully loading the meteor app, correctly displaying www in browser, and correctly loading the app requested (I am setting up multiple apps on Linode). Also, this setup has received an A in ssl lab test. Although I have not finished testing everything like mongodb functionality, maybe this can you help you.
domain.com file:
server {
        listen *:80;
        listen [::]:80;
        server_name www.domain.com domain.com;
        return 301 https://www.domain.com$request_uri;
}

server {
        # SSL configuration
        listen 443 ssl http2;
        listen [::]:443 ssl http2;
        # gzip on = speed, gzip off = security
        # gzip off

        server_name www.domain.com domain.com;

        ssl_certificate /etc/nginx/ssl/domain.com/fullchain.pem;
        ssl_certificate_key /etc/nginx/ssl/domain.com/privkey.pem;
        ssl_dhparam /etc/nginx/ssl/domain.com/dhparam.pem;
        ssl_session_timeout 1d;
        ssl_session_cache shared:SSL:50m;
        ssl_session_tickets off;

        ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
        ssl_ciphers 'ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES128-SHA256:ECDHE-RSA-AES128-SHA256:ECDHE-ECDSA-AES128-SHA:ECDHE-RSA-AES256-SHA384:ECDHE-RSA-AES128-SHA:ECDHE-ECDSA-AES256-SHA384:ECDHE-ECDSA-AES256-SHA:ECDHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA256:DHE-RSA-AES128-SHA:DHE-RSA-AES256-SHA256:DHE-RSA-AES256-SHA:ECDHE-ECDSA-DES-CBC3-SHA:ECDHE-RSA-DES-CBC3-SHA:EDH-RSA-DES-CBC3-SHA:AES128-GCM-SHA256:AES256-GCM-SHA384:AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA:DES-CBC3-SHA:!DSS';
        ssl_prefer_server_ciphers on;

        ssl_stapling on;
        ssl_stapling_verify on;

        ssl_trusted_certificate /etc/nginx/ssl/domain.com/fullchain.pem;

        # Increase max-age after setup is solid.
        add_header Strict-Transport-Security "max-age=86400; includeSubDomains" always;

        root /var/www/html/domain.com/public_html;

        index index.html index.htm index.nginx-debian.html;

        access_log /var/log/nginx/domain.com/app.dev.access.log;
        error_log /var/log/nginx/domain.com/app.dev.error.log;

        error_page 401 403 404 /404.html;

        #location / {
                #try_files $uri $uri/ =404;
        #}

        location / {
                proxy_pass http://<IP_ADDRESS>:3000;
                proxy_http_version 1.1;
                proxy_set_header Upgrade $http_upgrade;
                proxy_set_header Connection 'upgrade';
                proxy_set_header X-Forwarded-For $remote_addr;
        }
}

mup.js file:
module.exports = {
  servers: {
    one: {
      host: 'xxx.xxx.xxx.xxx',
      username: 'login username here',
      pem: 'path to .rsa file here',
    }
  },

  meteor: {
    name: 'your unique app name',
    path: 'path to app here',
    servers: {
      one: {
        host: 'xxx.xxx.xxx.xxx',
        username: 'root'
      },
    },
    docker: {
      image:'abernix/meteord:base',
    },
    buildOptions: {
      serverOnly: true,
    },
    env: {
      PORT: 3000,
      UPSTART_UID: 'meteoruser',
      ROOT_URL: 'https://www.domain.com',
      MONGO_URL: 'mongodb://localhost/meteor'
    },
	//If hosting multiple apps ssl will not work with mup
    //ssl: {
    //  crt: 'path to fullchain.pem',
    //  key: 'path to privkey.pem',
    //  port: 443
    //},
    deployCheckWaitTime: 60
  },
  //remove this if you have setup mongodb separately
  mongo: {
    oplog: true,
    port: 27017,
    servers: {
      one: {},
    },
  },
};

Also, the "default" configuration file is in /etc/nginx/sites-available/ which points toward the welcome to nginx page. That is probably what is giving you issues and blocking you from seeing your app. You can remove the symlink between /etc/nginx/sites-available/ and /etc/nginx/sites-enabled or move/remove the "default" file from /etc/nginx/sites-available.

You are right, If  I try to change the settings in my /etc/nginx/sites-available/default. I still have the port problem:
/etc/nginx/sites-available/default

In the shell run the command:
ls /etc/nginx/sites-available/

And also run:
ls /etc/nginx/sites-enabled/

And reply with what is printed out to screen.
Also, run: (you may not need sudo)
sudo mv /etc/nginx/sites-available/default ~/
sudo service nginx reload

Then clear history in your browser or use incognito mode and then reload your app url.

ls /etc/nginx/sites-available
default myapp.com
ls /etc/nginx/sites-enabled
default myApp.com.conf
contents of these files are
/sites-available/default
 Default server configuration
#
server {
        listen 80 default_server;
        listen [::]:80 default_server;

```        # SSL configuration
        #
        # listen 443 ssl default_server;
        # listen [::]:443 ssl default_server;
        #
        # Note: You should disable gzip for SSL traffic.
        # See: https://bugs.debian.org/773332
        #
        # Read up on ssl_ciphers to ensure a secure configuration.
        # See: https://bugs.debian.org/765782
        #
        # Self signed certs generated by the ssl-cert package
        # Don't use them in a production server!
        #
        # include snippets/snakeoil.conf;

        root /var/www/html;

        # Add index.php to the list if you are using PHP
        index index.html index.htm index.nginx-debian.html;

        #server_name *.mydomain.co.uk;

        location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
                try_files $uri $uri/ =404;
        }

        # pass the PHP scripts to FastCGI server listening on <IP_ADDRESS>:9000
        #
        #location ~ \.php$ {
        #       include snippets/fastcgi-php.conf;
        #
        #       # With php7.0-cgi alone:
        #       fastcgi_pass <IP_ADDRESS>:9000;
        #       # With php7.0-fpm:
        #       fastcgi_pass unix:/run/php/php7.0-fpm.sock;
        #}
       # deny access to .htaccess files, if Apache's document root
        # concurs with nginx's one
        #
        #location ~ /\.ht {
        #       deny all;
        #}
}

# Virtual Host configuration for example.com
#
# You can move that to a different file under sites-available/ and symlink that
# to sites-enabled/ to enable it.
#
#server {
#       listen 80;
#       listen [::]:80;
#
#       server_name example.com;
#
#       root /var/www/example.com;
#       index index.html;
#
#       location / {
#               try_files $uri $uri/ =404;
#       }
#}
server {
    listen 80;
    # to redirect all subdomains use *.yourdomain.com instead of www.yourdomain$
    server_name *.mydomain.co.uk;
    return 301 $scheme://mydomain.co.uk$request_uri;
}

/sites-available/myapp.com
blank
/sites-enabled/myapp.com.conf
server {
    listen 80;
    server_name mydomain.co.uk;
    access_log /var/log/nginx/app.dev.access.log;
    error_log /var/log/nginx/app.dev.error.log;
        location / {
            proxy_pass http://<IP_ADDRESS>:3000;
            proxy_http_version 1.1;
            proxy_set_header Upgrade $http_upgrade;
            proxy_set_header Connection 'upgrade';
            proxy_set_header X-Forwarded-For $remote_addr;
        }
}

/sites-enabled/default
# Default server configuration
#
server {
        listen 80 default_server;
        listen [::]:80 default_server;

        # SSL configuration
        #
        # listen 443 ssl default_server;
        # listen [::]:443 ssl default_server;
        #
        # Note: You should disable gzip for SSL traffic.
        # See: https://bugs.debian.org/773332
        #
        # Read up on ssl_ciphers to ensure a secure configuration.
        # See: https://bugs.debian.org/765782
        #
        # Self signed certs generated by the ssl-cert package
        # Don't use them in a production server!
        #
        # include snippets/snakeoil.conf;

        root /var/www/html;

        # Add index.php to the list if you are using PHP
        index index.html index.htm index.nginx-debian.html;

        #server_name *.mydomain.co.uk;

        location / {
                # First attempt to serve request as file, then
                # as directory, then fall back to displaying a 404.
                try_files $uri $uri/ =404;
        }

        # pass the PHP scripts to FastCGI server listening on <IP_ADDRESS>:9000
        #
        #location ~ \.php$ {
        #       include snippets/fastcgi-php.conf;
        #
        #       # With php7.0-cgi alone:
        #       fastcgi_pass <IP_ADDRESS>:9000;
        #       # With php7.0-fpm:
        #       fastcgi_pass unix:/run/php/php7.0-fpm.sock;
        #}
       # deny access to .htaccess files, if Apache's document root
        # concurs with nginx's one
        #
        #location ~ /\.ht {
        #       deny all;
        #}
}

# Virtual Host configuration for example.com
#
# You can move that to a different file under sites-available/ and symlink that
# to sites-enabled/ to enable it.
#
#server {
#       listen 80;
#       listen [::]:80;
#
#       server_name example.com;
#
#       root /var/www/example.com;
#       index index.html;
#
#       location / {
#               try_files $uri $uri/ =404;
#       }
#}
server {
    listen 80;
    # to redirect all subdomains use *.yourdomain.com instead of www.yourdomain$
    server_name *.mydomain.co.uk;
    return 301 $scheme://mydomain.co.uk$request_uri;
}

Below are the steps I would take.
Whether you need it now or not it is good practice to use symlinks between sites-enables and sites-available. Refer to this explanation: http://serverfault.com/questions/527630/what-is-the-different-usages-for-sites-available-vs-the-conf-d-directory-for-ngi
The directory /etc/nginx/sites-enabled/ should not have any files in it, just symlinks.
First backup both directories to some temporary directory of your choice.
Remove or unlink the files in /etc/nginx/sites-enabled.
unlink /etc/nginx/sites-enabled/myapp.com.conf
or
rm /etc/nginx/sites-enabled/myapp.com.conf
Remove all files in /etc/nginx/sites-available.
Now create a new mydomain.co.uk.conf file in /etc/nginx/sites-available and use the following:
server {
    listen *:80;
    server_name *.mydomain.co.uk mydomain.co.uk;
    return 301 http://www.mydomain.co.uk$request_uri;
}
server {
    listen *:80;
	server_name *.mydomain.co.uk mydomain.co.uk;

	access_log /var/log/nginx/app.dev.access.log;
    error_log /var/log/nginx/app.dev.error.log;

	root /var/www/html/mydomain.co.uk/public_html;

	index index.html index.htm index.nginx-debian.html;

	location / {
		proxy_pass http://<IP_ADDRESS>:3000;
		proxy_http_version 1.1;
		proxy_set_header Upgrade $http_upgrade;
		proxy_set_header Connection 'upgrade';
		proxy_set_header X-Forwarded-For $remote_addr;
	}
}

After saving, make the symlink through the command:
sudo ln -s /etc/nginx/sites-available/mydomain.co.uk.conf /etc/nginx/sites-enabled/mydomain.co.uk.conf

Strangest update!
I think Gods of nginx have listened to my prayers. Couple of minutes after posting my last comment, the app started working at mydomain.co.uk without the :3000.  All my files contents somehow got deleted including the defaults.  I have just blank files now
I am confused, happy and terrified all at the same time. I need to deploy some updates but I am not doing it yet until I understand what the heck was going wrong.
I'll definitely follow your advice and try the steps if I run into problems.
Thanks a million for helping me out!


require pull image have to login

I build system using portus + registry to manage private docker hub

registry: 2.3.1
portus: build from source, I have cloned image since 5 days ago

But I face a issue that: I have to login to push image to hub repository, but when I pull image, i do not have to login. But I want to user have to login to pull image from my own private repository.
How to configure to portus require login to pull image?
Thanks

Have a look at the namespace documentation and this screenshot. I guess you have set the namespace public.


Bump catch2 version to allow builds on Apple M1

What does this implement/fix? Explain your changes.
This updates catch2 version which caused the build on Apple's M1 to fail
Any other comments?
Generally, builds run fine, I've both built against the official Python 3.9 with universal binaries which was just released, miniforge's python3.9 and a miniforge's 3.8 environments.
For people trying to build this on the M1 I would recommend getting all binary dependencies with miniforge.
Code signing caused issues as well - unfortunately the fix suggested in the rdkit docs didn't work so I had to sign all .dylibs using an actual apple developer account (codesign -f -s "<yourid>"  $HOME/miniconda3/lib/*/*.so)

@naefl Thanks for this!
I'm still waiting for my Mini with an M1 to arrive, so it's great that you took care of making things work.


Get rid of attribute_topic

99% sure it doesn't do anything. Confirm then remove.

Fixed with an accidental push to main :(


Feature Request: Add epoch timer to staking page

Describe the feature you'd like to request
Add an epoch timer to staking page
Describe the solution you'd like to see
Simple block at the bottom of the page, similar to past page
Additional information
No response


Decal Material appears to make texture below transparent

Current Behavior
When a decal material is applied to a base textured surface, the decal material appears, but the material under it is turned transparent.

Expected Behavior
A decal is to be placed on one face of a cube.  The cube has been textured already and appears properly in the simulator.  I make up a decal using an image editor (Krita, in my case) and set the non-decal area to transparent (i.e. alpha mask).  I save the image as a .png file and as a .tif file.
I follow the discussion in the SDK manual for decals and, in edit mode, select a face of the textured cube for placement of the decal.  I create a new material slot in edit mode and assign it to one selected face of the cube.  I set that material slot to MSFS Meterial Params and the Type to Decal.
I follow the SDK manual instruction and load my decal texture into the Base Color slot.  I use the UV Editor to position the decal.  I expect the decal to appear with the main block texture underneath it, but the base texture behind the decal is transparent in the Blender 3D view - my base texture is not showing around the decal as expected.
I check that the Draw Order Offset of the base texture is 0 and then I set the Draw Order Offset of the  decal to a higher number so it will be drawn above the base texture.
I bring up the cube in the simulator Scenery Editor and place the cube object in a scene.
I expect to see the cube with texture on all six sides and my decal placed on the selected face.
What I see instead is my decal on a transparent surface, and, because that face is tranparent I see everything behind the cube faces in the rear.
Steps To Reproduce

Create a cube.
UV unwrap and apply an image texture to the entire cube.
Create a decal image - one with color and an alpha layer to control transparency.  Save the image as both a .png and a .tif for later experimentation.
Select the cube and set Edit Mode.  UV unwrap one face, and add a material slot, assigning that slot to the selected face.
Load the decal image into the Base Color input as instructed.  Use UV Edit to place the decal properly.
Export the cube and invoke the compiler either with fspackagetool.exe or start the simulator and compile through the Project Editor.
Select a location and place the cube.
Note that the decal is placed on a totally transparent face, and, since the main material is not double-sided, you can see through the cube.

Environment
Computer: Dell G7 laptop
OS: Windows 10 Home
SDK: <IP_ADDRESS>
Exporter: 1.1.6 (Release)
Blender: 3.1.0
Simulator: <IP_ADDRESS> Store, Basic Version
Years of experience with Blender: 6+

Anything else?
It is entirely possible that I am doing something wrong, but I've spent a week now studying the problem.
I have watched and analyzed the node trees produced, and I see no difference between the Standard and the Decal node trees.
I have looked at the glTF files produced and see that the Draw Order Offset has been properly exported for each material.
I have been using simple .png images as my own "homebrew" decals on low LOD objects for a long time now with no problems.  Those materials were all Standard.  I have also used the same decal image saved as .tif.
I have used the Detail Color slot (RGB and Alpha) in the Standard type to great advantage with no trouble.
Is anyone using the Decal material successfully?  I can find very little on the subject, and I know there was no useable Decal material in the original (as improved by many) exporter.
I no longer have a license or working copy of 3DSMax to make comparisons.  Does Decal work there?
I will attach a .blend file and a couple of screenshots, hoping that will help.  I apologize for the size of the screenshots, but I wanted any labels to be readable.  I may also attach a package of my making.  In that package, the cube will be placed at the approach end of Rwy 34, KHPN on the centerline, but that may not be of use to you.
While playing around with rewiring the node tree, I noticed some instances where the mapped texture appeared as the pink checkerboard in the simulator, while appearing as a true decal in Blender, and I recalled someone having trouble with migrating windshield scratches. One attached screenshot in that post showed that pink checkerboard.
This is a truly versatile exporter - a much better UI than before, and I have re-exported many of my bridges with it while polishing them.  Thanks for all the hard work
pt-modellib-decalfailuredemo.zip
Test Decal Nodes.zip
.

You're doing one thing wrong and that's applying the decal to the face which has the base material. A decal should be applied to a separate polygon to the main material. In edit mode, duplicate the face you want to apply the decal to and offset it by a millimetre or more from the original face. Then apply a decal material to that newly created face.
Here's an example file:
decal_example.zip

Yes, that's an old trick.  The implication of the SDK instructions is that
there are two or more draw calls for the dacaled face; that's why there is
a Draw Order setting.  That's what I'm asking.  If you look at the node
tree, the best way to apply an overlaid texture is to put the texture in
the Detail image slot.  I've used that a lot for added effects, but you
then have to route the Detail Alpha to the final node (called Base Color
Multiplier and then change its mode to Mix.  You also need to disconnect
the Alpha input to the Principled node.  This will give you two textures
overlaid on the face.  However, it does not export.  That's where the pink
checkerboard comes in.  I did not go into this in my writeup, since it is
peripheral.
I notice that your example did not have any texture at all, just a cube
with 7 faces.  If you intended to show a decal texture over another you
need to Pack them in the .blend file, then I would unpack them.  I'll add
some here to complete the example.
If the SDK implies that there will be two texture draw calls, ordered, then
I would like the exporter to work that way.  Your method works, but, as
implied by your two textures having the same Draw Order, it's not optimal
by a long shot.
Thanks for your attention to my issue, though.
On Fri, May 6, 2022 at 8:07 AM BrianDavos @.***> wrote:

You're doing one thing wrong and that's applying the decal to the face
which has the base material. A decal should be applied to a separate
polygon to the main material. In edit mode, duplicate the face you want to
apply the decal to and offset it by a millimetre or more from the original
face. Then apply a decal material to that newly created face.
Here's an example file:
decal_example.zip
https://github.com/AsoboStudio/glTF-Blender-IO-MSFS/files/8639820/decal_example.zip
—
Reply to this email directly, view it on GitHub
https://github.com/AsoboStudio/glTF-Blender-IO-MSFS/issues/146#issuecomment-1119546497,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYMD7LFJ7LELRANJO5FTFJDVIUDP5ANCNFSM5VH54QRA
.
You are receiving this because you authored the thread.Message ID:
@.***>

A node tree solution for this would be nice. A "decal" texture slot with a naming convention. So you can use multiple decals mixing it together in one blender material. :)

I'm working on just that, but I think there's a fundamental problem: Blender can display two textures on one surface using a mask - either in Mask or Blend mode.  Multiple layers can be implemented in Blender using a chain of these node setups.  That's a simple graphics processor call, and the Detail Color entry does this for one layer as long as the underlying texture is an image.  However, the implication of the SDK Decal instruction page is that the Simulator can make multiple draw calls (implying an underlying mask/blend mechanism) on one surface.  That seems to me like a less processor-intensive solution than a long node chain or an entire extra surface that has to be treated as a separate object.
If someone could confirm that this multiple draw call mechanism exists, then it is worth creating a new Blender node that can 1) show the intended action in Blender but 2) export this as the data set needed to feed the multiple draw call mechanism.
So, the final requirement would be: Blender can display multiple, ordered textures in order but still export them so the Simulator mechanism can utilize them as separate, ordered draw calls utilizing their respective alphas.
Thanks, Mikeaat, for suggesting this.

My apologies to BrianDavos: the old-fashioned way seems to be the only way.  If the simulator was able to do what I supposed it could from reading the Instructions and internally overlay multiple textures/decals on one surface/face at runtime, I would be happy.  I am able, however, to leave the extra faces co-planar with the base face and not have z-fighting if I am sure to use the Draw Order settings properly.  If I change the Draw Order of my to overlaid decals, their order reverses, as expected.  If I scale a face, however, the flickering comes back.  Attached is a picture showing the drawing order being reversed between the grunge and the text.  The Decal Material works as stated.
I withdraw my issue.


Game ratings & rating quantities now based on "recent" instead of "all" ratings

Description
Sometime in late July, ESGST started updating game ratings with the "Recent" Steam ratings instead of the "Overall" Steam ratings.  This seems to affect more games as time goes on, so I suspect it only kicks in when the rating is updated from ESGST's cache.  I still see quite a few games that reflect all ratings in my list, but the majority have either lost their ratings entirely (no recent ratings) or have a much smaller number of ratings (and different percentage) than they should.
Steps to Reproduce

Enable the Ratings game category feature (8.2.26 & <IP_ADDRESS>)
Go to SteamGifts
Look at a game with a rating and rating quantity
Visit the Steam game page
Note that the rating quantity and positive percentage corresponds to

For example, as of this writing, the giveaway for Lovecraft's Untold Stories shows me "90% (10)".  When I go to the game's Steam page, I see that there are 10 recent reviews (90% positive) and 483 overall reviews (84% positive)
Expected Behavior
The rating and rating quantity should be based on the "Overall" ratings.  IN my Lovecraft's Untold Stories example, I should see "84% (483)"
Console Errors
None appear relevant (LOTS of themes.js errors that appear to be caused by ForecastFox extension. None appear related to ESGST).
Screenshots

Note, the game shows up with the same "recent" ratings on the SteamGifts main page list.
System (please complete the following information):

ESGST Version: Extension 8.9.0
Browser + Version: Firefox 90.0.2 (64-bit, Windows 10)

Additional Context
SteamGifts forum sub-thread on this bug

Just adding a +1 -- I see the same problem here.
Cheers!

@rafaelgomesxyz https://github.com/JustArchi/ESGST/commit/5183f5c3c0af9d6954de689a0296ae539d24b40e + https://github.com/JustArchi/ESGST/commit/8d42dff14698ed8504ac6d57ba79f9edbf3f74ea for this issue.

@rafaelgomesxyz https://github.com/JustArchi/ESGST/commit/203d7dcde9777a427feee9100e482a014b489b61 for this one.

@rafaelgomesxyz JustArchi@203d7dc for this one.

Doesn't work for me :( Still showing only the recent rating.


Upgrade tfstate-lookup to v0.2.3

Hello,
tfstate-lookup v0.2.3 has a nasty bug fixed which caused incorrect lookups for resources with single element in a list or map.
Could you upgrade this dependency in vals, please?
TIA.

@mumoshu Please?...

@dex4er Sorry for the delay! I found this change after merging #61 which had upgraded that package to 0.4.0.
I should have been more responsive but I had been overwhelmed by a lot of actions and events on other projects. Sorry about that.
Well, anyway- the original issue you wanted to resolve via this PR should be resolved via #61 now. So I'm closing this as resolved. Thanks again for your contribution :bow:


Could not load translate provider "gct"

I get this error when trying to run the strapi application. I have added apikey

Hi @KindCoder-no,
I had no idea anyone other than myself and the company I work for were using this plugin. To be honest, when I set this up I did kind of the bare minimum to get a gct provider set up for strapi-plugin-translate since I was in a rush at the time and I haven't really looked at this repo since then.
I will be back on the project where we are using this plugin within a couple of weeks and I do plan to clean it up and ensure everything is playing nice with any updates that have happened with strapi-plugin-translate since I last looked at it and I will be in a much better position to assist with issues here at that point.
If you find anything in the code causing issues for you and you have a fix for it, I welcome your pr.
My intention was for this project to be temporary until I find time to include the plugin in the strapi-plugin-translate project. If you are up to the task, feel free to start that process, I'm sure the contributors over at strapi-plugin-translate would love another contributor and a gct plugin in their repo.
Sorry, I can't be of more immediate help.

@KindCoder-no it seems you can solve the issue by using the full name of the plugin in the provider field:
... translate: {     enabled: true,     config: {       provider: '@shawnvogt/strapi-provider-translate-gct',       ...     } }


Only add access-control-allow-origin:* if no access-control-allow-origin exists

basically just to make the extension safe for general use.

That would prevent the addon from overriding headers which do not allow your origin, which seems counter to its purpose.
I might also add that "safe for general use" is conceptually at odds with what we're doing here, so I'm curious as to what issue we're trying to solve.
Perhaps you could present some use-case to better explain how this is an improvement and how it won't bring people here to complain that the addon stopped working if such a change was implemented.

the reason ACAO:* isn't the default is because someone decided corporate networks are good, and webfont DRM (... which is a result of those not being cross-origin by default (i.e. unlike images and scripts and whatnot), rather than the other way around).
this change probably wouldn't cover every use-case, but it'd be a safe default for users not on a corporate network. we can then rebrand the extension "DRMTools" and get webapps to use it like they used to use flash and java.

You do realize this a development tool meant for developers ? It's not something to be used permanently like https everywhere and certainly not by the general populace.
The sole purpose of this extension is to completely ignore CORS as much as possible.
Safety is literally not a concern because, again, the user-base is supposed to be developers.
I honestly don't see how this would improve rather than limit the core functionality of the addon.

it'd help make the addon unnecessary.

If that's the goal, your best bet is to go to the W3C and tell them CORS was a poorly thought idea and they should feel bad about it.


Update mock data to have more current dates

Context:
If you visit our public demo, you can view an example of our dashboard with generated mock data that allows you to explore CCF's features. We currently have mock data in our packages/client/stub-server folder that is used to seed the demo app and mock the api routes.
To improve this experience, we should use more current dates for the mock data.
A/C's:

[ ] When I go to demo.cloudcarbonfootprint.org, I see data from Jan 2021 to Sept 2022

Tasks:

[ ] Update the dates of the footprint data in the mockData.json package to have more recent dates.

Out of Scope

Changing or modifying the estimations, names, or other information of the footprint data as that is covered in https://github.com/cloud-carbon-footprint/cloud-carbon-footprint/issues/532

✨Bonus✨
It would be great to have the dates generated upon deployment of the app so that they are always up to date. This would be getting a jump start on this issue: https://github.com/cloud-carbon-footprint/cloud-carbon-footprint/issues/749
Hint: Our application is deployed using Github Actions. You can view the .github/workflows/demo-app.yml for an idea on how to go about this.

Hi @ericksod and @4upz
I can work on the issue.
As a part of this issue, #749 will also get resolved.


refactor and split input fn

closes #68
cosmic_edit_bevy_events has been decoupled into input_mouse and input_kb, and moved to input.rs
Moved lib.rs around, ordered as enums > structs > plugin > functions
would appreciate a macOS test please @StaffEngineer :)

selection for auto-height element is broken, on main I can select text on this code changes I can't :/

Cool, so if editor has readonly text should be selectable if there is no readonly and it's not active - it shouldn't.... this is gonna be important for placeholder implementation.

Yeah, currently the mouse just ignores readonly as mouse doesn't write to buffer. Placeholder should be possible with this implementation, if as soon as it's active the placeholder text will get deleted. Holding placeholder on empty buffer might need a bit of wrangling but there's always a way


Really make the mod compatible with 1.17

You marked the mod as compatible with 1.17 but its actually not as it requires java 17 but minecraft 1.17 uses java 16

Sorry about that! After I did it, I thought that might be a problem but then forgot and didn't check.
Don't versions below 1.17 actually use java 8?

Versions below 1.17 still use java 8 yes

So would it make sense to lower the version to java 8?

I don't know whether its java 1.8 or 8 in fabric.mod.json so i decided to just completely remove the java dependency.

Yeah that's fine

Loom 12 requires java 17 it seems. Well it's probably not important anyway

Right, that's a java 16 feature

Finally!

I'm gonna download 1.15 and test if it works

It seems to work

Thank you!


Moving EnvHandler and Pesonality to frameworks.

Proposal: Moving EnvHandler and Personality to frameworks package.
Reasoning: OpinionFramework and VotingFramework need to access to EnvHandler and Personality, which requires them to import agents package. But, TeamSevenBiker needs to import frameworks creating a circular dependency which Go can't resolve. Moving EnvHandler and Personality into frameworks will resolve this.

Looks good


Wire IQCare V4 Migration to V6 Error Log

WireMigrationLog - Error.txt

There is still the same error:
WireMigrationLog - Error 2.txt