[BUG] wash claims sign allows empty versions and revisions

Describe the bug
If you sign an actor with wash, you can not pass a version or a revision and it will still succeed. This will lead to claims that are missing some important information
To Reproduce

Build an actor
Sign the unsigned actor (if you used wash build, it will have already signed for you) with wash claims sign --name myname -c my:custom <path_to_actor>
wash inspect the signed actor file and you'll see a missing version and revision number (example output below)

$ wash inspect composed.component_s.wasm

                         messaging_wit_test - Module
  Account         ABCXOFNZWRHDBAXCKDHGCGCXQT4SVY4565STAV6XJ3GO5VKSWEBZUJ2X
  Module          MDYBCTXIFBRX55ORV6QJMFKSG5ZYV2IM7W5MVCNC77NNCIFEBP76OWLM
  Expires                                                            never
  Can Be Used                                                  immediately
  Version                                                         None (0)
  Call Alias                                                     (Not set)
                                Capabilities
  wasmcloud:messaging2
                                    Tags
  None

Expected behavior
Signing the claims should fail as it is missing version and revision information
Screenshots
If applicable, add screenshots to help explain your problem.
**Environment (please complete the following information) **

OS: MacOS
wash Version 0.20.0

Resolved by #838

Resolved by #838


How to disable colors for days of the week

How do I disable the colors for days of the week (e.g. the top bar when in month view)?
Any help is much appreciated.

Solved!
I used this command :so $VIMRUNTIME/syntax/hitest.vim in vim to display all the current highlight groups, and used /Calendar to search for the names of the highlight groups  I cared about.
Then I ran these commands to set the desired highlight groups to "Normal"
autocmd FileType calendar hi! link CalendarDayTitle Normal
autocmd FileType calendar hi! link CalendarSaturdayTitle Normal
autocmd FileType calendar hi! link CalendarSundayTitle Normal


VB-573: Remove JS back link functionality

Everything apart from first line in assets/js/govukFrontendInit.js can go too; it was added as part of the JS back link stuff.


Add reason code to error message

Summary
fixes #691
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 51.136%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit_ibm_provider/job/ibm_circuit_job.py
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

qiskit_ibm_provider/job/ibm_circuit_job.py
1
48.04%

Totals

Change from base Build<PHONE_NUMBER>:
-0.02%

Covered Lines:
3309

Relevant Lines:
6471

💛  - Coveralls

@SooluThomas fyi


AutoRegression failing with lag value >1

When running
simple_dlm = dlm(data) + autoReg(degree=3, data=data, name='ar3', w=1.0)
simple_dlm.fit()
I get
Traceback (most recent call last):
  File "final.py", line 81, in <module>
    simple_dlm.plotPredictN(date=780, N=51)
  File "/Users/gcgibson/anaconda/lib/python2.7/site-packages/pydlm/dlm.py", line 1139, in plotPredictN
    N=N, date=date, featureDict=featureDict)
  File "/Users/gcgibson/anaconda/lib/python2.7/site-packages/pydlm/dlm.py", line 379, in predictN
    (obs, var) = self.continuePredict(featureDict=featureDictOneDay)
  File "/Users/gcgibson/anaconda/lib/python2.7/site-packages/pydlm/dlm.py", line 328, in continuePredict
    return self._continuePredict(featureDict=featureDict)
  File "/Users/gcgibson/anaconda/lib/python2.7/site-packages/pydlm/func/_dlm.py", line 441, in _continuePredict
    extra = comp.d - len(self.predictStatus[2])
AttributeError: dlm instance has no attribute 'predictStatus'

however, setting ar=1 seems to work fine.

This should have been fixed in the last commit with the current github
version. I don't have my laptop in my hand. Could you give it a try? Thanks
a lot!
I will also verify it once I have access to my laptop.
On Thu, Sep 28, 2017 at 4:58 PM Casey Gibson<EMAIL_ADDRESS>wrote:

When running
simple_dlm = dlm(data) + autoReg(degree=3, data=data, name='ar3', w=1.0)
simple_dlm.fit()
I get
Traceback (most recent call last):
File "final.py", line 81, in
simple_dlm.plotPredictN(date=780, N=51)
File "/Users/gcgibson/anaconda/lib/python2.7/site-packages/pydlm/dlm.py", line 1139, in plotPredictN
N=N, date=date, featureDict=featureDict)
File "/Users/gcgibson/anaconda/lib/python2.7/site-packages/pydlm/dlm.py", line 379, in predictN
(obs, var) = self.continuePredict(featureDict=featureDictOneDay)
File "/Users/gcgibson/anaconda/lib/python2.7/site-packages/pydlm/dlm.py", line 328, in continuePredict
return self._continuePredict(featureDict=featureDict)
File "/Users/gcgibson/anaconda/lib/python2.7/site-packages/pydlm/func/_dlm.py", line 441, in _continuePredict
extra = comp.d - len(self.predictStatus[2])
AttributeError: dlm instance has no attribute 'predictStatus'
however, setting ar=1 seems to work fine.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/wwrechard/pydlm/issues/20, or mute the thread
https://github.com/notifications/unsubscribe-auth/AIDNcvryNnd6QOSqaJ_XwA8jHED8uWahks5snDKIgaJpZM4PoCYB
.

Awesome thanks! It works!


Update flu forecasts 2024-11-27

Automated flu forecast submission from Metaculus

I triggered this one automatically. If all works well then there should be another automated submission coming in about 112 minutes.


Support for session with multiple request adapters and request retriers

[x] I've read, understood, and done my best to follow the *CONTRIBUTING guidelines.

What did you do?
I created a new session passing a RequestInterceptor instance, in my case the following:
class BasicInterceptor: RequestInterceptor {
    func adapt(
        _ urlRequest: URLRequest,
        for session: Session,
        completion: @escaping (Swift.Result<URLRequest, Error>) -> Void
    ) {
        APIKeyRequestAdapter(
            apiKey: Environment.current.apiKey
        ).adapt(
            urlRequest,
            for: session,
            completion: { result in
                switch result {
                case .success(let request):
                    TransactionIDRequestAdapter().adapt(
                        request,
                        for: session,
                        completion: completion
                    )

                case .failure:
                    completion(result)
                }
            }
        )
    }

    func retry(
        _ request: Request,
        for session: Session,
        dueTo error: Error,
        completion: @escaping (RetryResult) -> Void
    ) {
        RateLimitRetryPolicy().retry(
            request,
            for: session,
            dueTo: error,
            completion: completion
        )
    }
}

As you can see, starting already from here, due to completion handlers, the code becomes slightly unreadable.
This BasicInterceptor is the basic one I use for common calls to my service. Whenever I need to be authenticated, I use a subclass of this
class AuthenticatedInterceptor: BasicInterceptor {
    let authenticationProvider: ServiceAuthenticationProviderType

    init(authenticationProvider: ServiceAuthenticationProviderType) {
        self.authenticationProvider = authenticationProvider
    }

    override func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Swift.Result<URLRequest, Error>) -> Void) {
        super.adapt(urlRequest, for: session) { [weak self] result in
            guard let `self` = self else {
                completion(result)
                return
            }

            switch result {
            case .success(let newRequest):
                // if previous adapter succeeded
                // go through next one
                let authenticationAdapter = AuthenticationRequestAdapter(
                    authenticationProvider: self.authenticationProvider
                )

                // call completion from the next one
                authenticationAdapter.adapt(
                    newRequest,
                    for: session,
                    completion: completion
                )

            case .failure:
                // if it failed, stop and call compltion immediately
                completion(result)
            }
        }
    }

    override func retry(_ request: Request, for session: Session, dueTo error: Error, completion: @escaping (RetryResult) -> Void) {
        super.retry(request, for: session, dueTo: error) { [weak self] result in
            guard let `self` = self else {
                completion(result)
                return
            }

            switch result {
            case .retry, .retryWithDelay:
                // previous policy wants to retry
                completion(result)

            case .doNotRetry, .doNotRetryWithError:
                // evaluate next policy
                let authenticationPolicy = AuthenticationErrorRetryPolicy(
                    authenticationProvider: self.authenticationProvider
                )

                // call completion handler from next policy
                authenticationPolicy.retry(
                    request,
                    for: session,
                    dueTo: error,
                    completion: completion
                )
            }
        }
    }
}

As you can see, again, the code becomes more and more complex.
What did you expect to happen?
I would have expected from Alamofire to support an array of RequestAdapter & RequestRetrier per session, instead of a single RequestInterceptor.
What happened instead?
To be honest, I couldn't find any other easy way to handle this and I'm reaching out to you to possibly support multiple interceptors per session.
Another workaround I found is that I could assign BasicInterceptor to Session, while AuthenticatedInterceptor could be assigned to the Request itself, but I'm afraid that, at a certain point, I will need an additional functionality, where two interceptors are not enough anymore.
Alamofire Environment
Alamofire version: 5.0.5
Xcode version: 11.3
Swift version: 5.0
Platform(s) running Alamofire: iOS
macOS version running Xcode: Mojave 10.14.6

You can use our Interceptor type to handle multiple RequestInterceptors.
let interceptor = Interceptor(adapters: [...], retriers: [...])

I'll make a note to make this more clear in our documentation.

Thanks @jshier, that was super helpful.
I would also recommend to document what triggers the next retrier for the interceptor.
I've noticed that it continue to the next retrier only in case the result was .doNotRetry

@dalu93 If you have time, take a look at #3155 and let me know if the changes there would've helped you discover this feature earlier.


Use project.version for internal dependencies

Depends on https://github.com/Activiti/activiti-cloud-build/pull/5


embedControl doesn't support non-ANSI characters

Describe the bug
When I connect into a device with i18n enabled (e.g. non-English language with custom font), the remote connection doesn't properly show the menu characters.
To Reproduce
Use an example for i18n TcMenu project and connect remotely into it.
Expected behavior
I can properly see the characters as expected. In embedControl there is no need to avoid unicode fonts due to memory constraints, etc.

Could you please provide a simple project that has such characters so I can build it and test.
Also, when the project is open in TcMenu Designer, does selecting Preview from the menu work? How do the items show there? That will quickly show us where the issue is. It may just be the Java API is using the wrong string decoding, which is simple to fix.

I will prepare an example for you.

I can see the problem here - com.thecoderscorner.menu.remote.protocol.TagValTextParser#readString
https://github.com/TcMenu/tcMenu/blob/f3eac4abaeb86ec940e487c29bf0f78133472ed4/tcMenuJavaApi/src/main/java/com/thecoderscorner/menu/remote/protocol/TagValTextParser.java#L50
It reads a byte at a time, I'll think about how to do this better.

Fixed by keeping data as bytes until the parsing is complete.


Feature Request: Ability to set default automountServiceAccountToken to false by default

What kind of request is this (question/bug/enhancement/feature request):
Feature request
Description
Ability to set automountServiceAccountToken to false by default on default service accounts during namespace creation.
see:
https://rancher.com/docs/rancher/v2.x/en/security/hardening-2.3.5/#set-automountserviceaccounttoken-to-false-for-default-service-accounts
gz#12522

Yes please!

I would like to have this feature too. It is very difficult to manage this cis requirement from our side.
This issue seems to be the same as #30249


Create Payment Order not working

When using the go library to create a payment order via client.PaymentOrders.New(ctx, mt.PaymentOrderNewParams{...}) in the sandbox environment, the error that comes back from the server is always 422 with the following message:
{
  "errors": {
    "code": "parameter_missing",
    "message": "Type is required",
    "parameter": "type"
  }
}

We're using the go library to create counterparties and external accounts, and those seem to be working as expected. But the synchronous create payment order call is the only one that fails.
When looking at the logs in modern treasury, the request headers has content type multipart/form-data but the body looks malformed when compared to creating payment orders via postman.

Thanks for reporting; this should be fixed in https://github.com/Modern-Treasury/modern-treasury-go/pull/60, which landed a few days ago and will be released soon!

This has been released in v1.2.0!


Update sbt-scalajs to 1.9.0

Updates org.scala-js:sbt-scalajs from 1.8.0 to 1.9.0.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (1.8.0).
You might want to review and update them manually.
website/yarn.lock

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-js", artifactId = "sbt-scalajs" } ]

labels: sbt-plugin-update, early-semver-minor, semver-spec-minor, old-version-remains, commit-count:1

Superseded by #94.


OCPBUGS-29208: Allow configurationpolicy name length up to 253 characters

The Policy config object name is currently limited to 62 characters but should be 253.

/cherrypick release-4.15


Remove now-unnecessary mostRecentlyPlacedChild

Also add a mini stress test of ReactMultiChild here to give more confidence.

cc @jimfb

:+1:


update torchmetrics to catch bug fix

Description
I had issues to compute AUROC on a CPU in a use case where I didn't have enough memory in the GPU.
I opened an issue in tochmetrics: https://github.com/Lightning-AI/metrics/issues/1323
and it has been fixed: https://github.com/Lightning-AI/metrics/pull/1333
Could we upgrade torchmetrics to catch this bug fix?
Version 0.10.3 is not released yet but should come next week.
For future ref: https://github.com/Lightning-AI/metrics/tags
Disclaimer: I have not tried to run the pre-merge tests locally because apparently there are issues with them (https://github.com/openvinotoolkit/anomalib/issues/704)
Changes

[X] Bug fix (non-breaking change which fixes an issue)
[ ] Refactor (non-breaking change which refactors the code base)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist

[ ] My code follows the pre-commit style and check guidelines of this project.
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing tests pass locally with my changes

It's the good old coverage report causing problems : ) so I guess there's nothing breaking because of the version changing.
Although, the current requrirement is
torchmetrics>=0.9.1,<=0.9.3

Is there as specific reason for the <=0.9.3 or is it just for precaution?

The tests are flaky. We still need to investigate. We could merge this one though. Thanks a lot!


Global exclusions from sub-project dependencies not taken into account

In the SBT plugin: if project a excludes thing (with excludeDependencies(thing)), and project b depends on a (via a dependsOn(a)), then thing coming from a will still be included in the classpath of b  (the exclusion above won't be taken into account), which is a problem.

https://github.com/coursier/coursier/commit/bf34774e6104ee5291a677ff67f04624b3d4e6fc should have fixed that.


USER STORY: Edit Options Only Visible to Admin/Creator

As an admin, I will want to have edit option available to only myself and other creators so that users will not be able to have access to edit options and alter the products listed.

[ ] Edit options should not be available when a user is not signed in.
[ ] Edit options should not be accessible to the user role.
[ ] Edit options should not persist after creator or admin signs out.
[ ] Edit options only available to admins/creators that are signed in.

Who is this assigned to and what project does it belong to?


removing agent from init.pp

Pull Request Checklist

Description

The include statement in init.pp for sensu::agent does not allow for configuration of the agent on the backend server.  Removing it from init.pp allows for "resource-like class declarations" in the user's pp file for the backend server.  This allows for configuration customizations like adding subscriptions .
Related Issue

Fixes # .
Motivation and Context

How Has This Been Tested?

General

I don't understand the motivation behind this, could you please elaborate.

I think I've faced what I think is a similar issue.  This is likely the problem:
class { '::sensu::backend': }
class { '::sensu::agent': }

[root@sensu-backend ~]# puppet apply test1.pp
Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Class[Sensu::Agent] is already declared; cannot redeclare (file: /root/test1.pp, line: 2) (file: /root/test1.pp, line: 2, column: 1) on node sensu-backend.example.com

Reversing the order of that puppet code does not suffer from errors because the class resource declaration comes before the include.

That appears to have fixed my issue.  Thanks for the tip.
Regards
Peter Jensen
503 701 1829
Peter Jensen @ LinkedIn
http://www.linkedin.com/pub/peter-jensen/31/869/2b8
veni. vidi. velo.
On Mon, Sep 24, 2018 at 1:36 PM treydock<EMAIL_ADDRESS>wrote:

I think I've faced what I think is a similar issue. This is likely the
problem:
class { '::sensu::backend': }class { '::sensu::agent': }
[root@sensu-backend ~]# puppet apply test1.pp
Error: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Class[Sensu::Agent] is already declared; cannot redeclare (file: /root/test1.pp, line: 2) (file: /root/test1.pp, line: 2, column: 1) on node sensu-backend.example.com
Reversing the order of that puppet code does not suffer from errors
because the class resource declaration comes before the include.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sensu/sensu-puppet/pull/984#issuecomment-424115810,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFk2crcGJxNilCtEEk-ATdyTWRjuFZlBks5ueUI9gaJpZM4WvM3l
.

This is related to mixing resource like class statements and include. If you are not specifying any attributes for the class resource, you should always use include.
for example always use include ::foo instead of class { '::foo'}


Session page broken layout at small widths

The tz-switch component is causing horizontal scrolling.
Either make a wrappable layout, make the font size smaller (eww) or hide the UTC+4 bit at smaller widths.

Fixed


multiple requirement and multiple handlers in ASP Net policy based authorization

Was going through the Policy Based Authorization document https://docs.microsoft.com/en-us/aspnet/core/security/authorization/policies?view=aspnetcore-2.1.
Have a requirement where in I will have multiple requirement and associated handlers. Something like
ReadpermissionReq : IAuthorizationRequirement
WritePermissionReq : IAuthorizationRequirement

Their associated handlers like
Readhandler : AuthorizationHandler<ReadpermissionReq>
WriteHandler : AuthorizationHandler<WritePermissionReq>

Would register them accordingly in Startup.cs.
Have few attributes defined for each such requirement like ReadAttribute: AuthorizeAttribute and using those attributes in my Api endpoint like
[Read]
[HttpGet]
public Foo GetFoo(int id) {}

Question: Which authorization handler will be invoked in this case. I know for a single requirement and handler it's no issue. But in this case, confused as to which handler will be responsible for processing the authorization logic?
Or do I need to something extra to make sure this specific handlers gets invoked in case of specific attribute?
Most of the document referred talks about single requirement/handler only.

Okey ... have a slight idea about this, just confirm whether am correct or not. As said in question every attribute inherits AuthorizationAttribute which accepts a policy in constructor and the same policy is registered in Startup.cs with a specific requirement. As well that requirement has a tight glue with a specific handler.
Thus can I assume that core Authorization pipeline could invoke the specific handler following the chain as mentioned above. @scottaddie or @HaoK

At the lowest level every IAuthenticationHandler is given a chance to look at every requirement (the default implementation of AuthenthenticationHandler<TReq> is what's doing the filtering underneath the covers to only surface TReq).
The glue as you put it is only in some of the implementations to make it easier for the normal case where there's a 1:1 Handler/Req coupling.
There's nothing preventing you from writing one massive Handler that handles all requirements in a big switch statement if you like.

Regarding the [Authorize] that just allows you to specify a policy name, which basically boils down to an Authorize call with the requirements in the policy which all registered  IAuthorizationHandlers in DI have a chance to handle.


Allow changing locale only for active tab

From user request:

That's in fact what I am looking for, no extension I found does that.
Change the language only for a specific tab and even be able to set it as default for that tab and/or url. What means saving that selection somewhere.

Will be in the next release


BUG-75209 openstack: credential with default scope is not allowed any…

… more
NOTE: there is also a related fix in cb-cli, merge request, see issue for merge request.

Depends on: https://github.com/hortonworks/cb-cli/pull/257


TODO: move terrain GPU buffers creation to material

Currently, they are created in Terrain.cpp, however, an existing TerrainMaterial class should be used for that

not relevant atm


issue with script

hello,
i have installed the script today, it was working fine until all of the sudden i started getting this errors:
Traceback (most recent call last):
File "app.py", line 45, in
main()
File "app.py", line 39, in main
behaviour.run(settings['market_pairs'], settings['output_mode'])
File "/app/behaviour.py", line 62, in run
new_result = self._test_strategies(market_data, output_mode)
File "/app/behaviour.py", line 101, in _test_strategies
self.output[output_mode](new_result[exchange][market_pair], market_pair),
File "/app/outputs.py", line 47, in to_cli
if 'is_hot' in analysis['result'].iloc[-1]:
File "/usr/local/lib/python3.6/site-packages/pandas/core/indexing.py", line 1373, in getitem
return self._getitem_axis(maybe_callable, axis=axis)
File "/usr/local/lib/python3.6/site-packages/pandas/core/indexing.py", line 1830, in _getitem_axis
self._is_valid_integer(key, axis)
File "/usr/local/lib/python3.6/site-packages/pandas/core/indexing.py", line 1713, in _is_valid_integer
raise IndexError("single positional indexer is out-of-bounds")
IndexError: single positional indexer is out-of-bounds
then the program ofcourse die. (it happens every run now..)
what should i do?
thnak you!

Are you able to provide which settings you are using so that I can re-create the issue?

Hello,
i have ,anaged to track the problem, it happens with some of the coins.
Had a long list, i did manage to delete 3 or 4 coins that were kiiling the app, but apperantly there are much more (it is impossible to run this on all coins - 100% will kill app)
I am attaching a list that now is working for me:
POWR/BTC,MTL/BTC,NEBL/BTC,POE/BTC,HSR/BTC,VEN/BTC,GVT/BTC,AION/BTC,ELF/BTC,LINK/BTC,SUB/BTC,INS/BTC,ENJ/BTC,NULS/BTC,BCPT/BTC,KNC/BTC,ARN/BTC,AST/BTC,WTC/BTC,CND/BTC,GTO/BTC,RCN/BTC,VIBE/BTC,REQ/BTC,BNT/BTC,VIB/BTC,BTS/BTC,FUN/BTC,GAS/BTC,YOYO/BTC,OST/BTC,ETH/BTC,TRX/BTC,XVG/BTC,SC/BTC,ADA/BTC,ZCL/BTC,XRP/BTC,RDD/BTC,BTG/BTC,LTC/BTC,,ADT/BTC,WAVES/BTC,POWR/BTC,XLM/BTC
all of these working 100% fine.
Here is the full list i had, i already deleted few bads but apparently there are more and i am tired of QA lol.:
EOS/BTC,BCC/BTC,XRP/BTC,ICX/BTC,BNB/BTC,ZIL/BTC,ONT/BTC,NCASH/BTC,IOTA/BTC,BCD/BTC,IOST/BTC,NANO/BTC,MTL/BTC,NEBL/BTC,POE/BTC,HSR/BTC,VEN/BTC,GVT/BTC,AION/BTC,ELF/BTC,LINK/BTC,SUB/BTC,INS/BTC,ENJ/BTC,NULS/BTC,BCPT/BTC,KNC/BTC,ARN/BTC,AST/BTC,WTC/BTC,CND/BTC,GTO/BTC,RCN/BTC,VIBE/BTC,REQ/BTC,BNT/BTC,VIB/BTC,BTS/BTC,FUN/BTC,GAS/BTC,YOYO/BTC,OST/BTC,ETH/BTC,TRX/BTC,XVG/BTC,SC/BTC,ADA/BTC,ZCL/BTC,XRP/BTC,RDD/BTC,BTG/BTC,LTC/BTC,ADT/BTC,OMG/BTC,WAVES/BTC,POWR/BTC,XLM/BTC,ETC/BTC,QTUM/BTC,NEO/BTC,XMR/BTC,DGB/BTC,DASH/BTC,GNT/BTC,DOGE/BTC
some bad apples here hehe
Here are my full settings:
SETTINGS_UPDATE_INTERVAL=1800
EXCHANGES_BITTREX_REQUIRED_ENABLED=true
EXCHANGES_BINANCE_REQUIRED_ENABLED=true
NOTIFIERS_TELEGRAM_REQUIRED_TOKEN=xxxxxx
NOTIFIERS_TELEGRAM_REQUIRED_CHAT_ID=xxxxx
INDICATOR_STOCHASTIC_RSI_0_ENABLED=false
NOTIFIERS_TELEGRAM_OPTIONAL_TEMPLATE= {"exchange": "{{exchange}}", "market": "{{market}}", "candls": "{{analysis.config.cand$ (template is working fine...)
SETTINGS_MARKET_PAIRS=POWR/BTC,MTL/BTC,NEBL/BTC,POE/BTC,HSR/BTC,VEN/BTC,GVT/BTC,AION/BTC,ELF/BTC,LINK/BTC,SUB/BTC,INS/BTC,EN$... see above
CROSSOVER_STD_CROSSOVER_0_ENABLED=false
CROSSOVER_EMA_CROSSOVER_0_ENABLED=false
CROSSOVER_SMA_CROSSOVER_0_ENABLED=false
INDICATOR_VWAP_0_ENABLED=false
cheers

Thanks I'll have a look into it, we had a huge code change earlier this week and it's introduced one or two new issues. This is likely to be related to that.

thanks,
another issue i encounter is in the results being sent to telegram i dont get all indicators, only maximum of 4, sometimes even 3...
here is example: (its's json i send to telegram, sometimes there is rsi indicator instead of another one there, but very very rarely)
{"exchange": "bittrex", "market": "QTUM/BTC", "candls": "1d", {'momentum': '0.00019398'}, "status": "hot" }
{"exchange": "bittrex", "market": "QTUM/BTC", "candls": "1h", {'mfi': '47.98384288'}, "status": "hot" }
{"exchange": "bittrex", "market": "QTUM/BTC", "candls": "1h", {'macd': '-0.00002848'}, "status": "cold" }
{"exchange": "bittrex", "market": "QTUM/BTC", "candls": "1d", {'leading_span_a': '0.00223070', 'leading_span_b': '0.00202448'}, "status": "hot" }
as you can see i get 4 indications, i also have RSI enabled for alerts and all, but still see it only rarely. (for example i think on TRX/BTC its always shown, but not sure.)
please advise.

Could you open that as a separate git issue, it helps me immensely when I can track different issues separately.

Fixed in https://github.com/CryptoSignal/crypto-signal/pull/265

merged


block-routes: disabling create account route

What
changes how the "create account" routes are being blocked, by reserving
routes directly on the system domain instead of by creating a new
domain.
a recent change has prevented the creation of a domain that overlaps
with the system domain, which has broken how the create account routes
were being masked and is preventing the creation of a new env
How to review
After applying it should not be possible to visit:

https://login.$DEPLOY_ENV.dev.cloudpipeline.digital/create_account
https://login.$DEPLOY_ENV.dev.cloudpipeline.digital/create_account.do
https://uaa.$DEPLOY_ENV.dev.cloudpipeline.digital/create_account
https://uaa.$DEPLOY_ENV.dev.cloudpipeline.digital/create_account.do

Consider:

Is anything lost by not reserving the route as a domain?
What will the impact of this change be to an existing long-lived environment that has already managed to create the overlapping domain? We may need to delete the existing domains/routes for this to apply cleanly?

Who can review
Not @chrisfarms

nope, didn't work


Aspire SQL component connection fails when running a query

When I configure the Aspire SQL component using the steps in the readme, the connection fails when attempting to execute a query with this error in the C# code:
SqlException: A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - An established connection was aborted by the software in your host machine.)
I also see this error in the container logs:
ERROR: Unable to set system administrator password: Password validation failed. The password does not meet SQL Server password policy requirements because it is not complex enough. The password must be at least 8 characters long and contain characters from three of the following four sets: Uppercase letters, Lowercase letters, Base 10 digits, and Symbols..
I have attempted to resolve this issue by deleting and repulling the latest image/container, and by adding Trusted_Connection=true to the connection string. @eerhardt  was also able to reproduce this issue.
Apphost code:
var builder = DistributedApplication.CreateBuilder(args);

var sql = builder.AddSqlServerContainer("sql").AddDatabase("sqldata");

var myService = builder.AddProject<Projects.AspireSQL>("aspiresql")
                       .WithReference(sql);

builder.Build().Run();

Web app code:
builder.AddSqlServerClient("sqldata");
Sample queries:
@inject SqlConnection connection

@code {
  protected override async Task OnInitializedAsync()
  {
      connection.Open();
      using(SqlCommand command = new SqlCommand("CREATE TABLE Persons (ID int NOT NULL PRIMARY KEY IDENTITY, FirstName varchar(255), LastName varchar(255));", connection))
      {
          command.ExecuteNonQuery();
      }
  }
}

    var c = _serviceProvider.CreateScope().ServiceProvider.GetRequiredService<SqlConnection>();

    _logger.LogCritical($"got {c}");

    c.Open();
    using (var cmd = new SqlCommand("select 1", c))
    {
        cmd.ExecuteScalar();
    }

@mitchdenny are you able to assist with this?

I think this is a dupe of #971 which is already fixed for preview.2
Can you try using latest daily builds of Aspire packages/workload?

Note also this is a different error message than #971
      Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
       ---> System.ComponentModel.Win32Exception (10054): An existing connection was forcibly closed by the remote host.
         at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
         at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
         at Microsoft.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning(Boolean callerHasConnectionLock, Boolean asyncClose)
         at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
         at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
         at Microsoft.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
         at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
         at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
         at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
         at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
         at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
         at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
         at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
         at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
         at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
         at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
Unhandled exception. Microsoft.Data.SqlClient.SqlException (0x80131904): A connection was successfully established with the server, but then an error occurred during the pre-login handshake. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote host.)
 ---> System.ComponentModel.Win32Exception (10054): An existing connection was forcibly closed by the remote host.
   at Microsoft.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
   at Microsoft.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ThrowExceptionAndWarning(Boolean callerHasConnectionLock, Boolean asyncClose)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
   at Microsoft.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
   at Microsoft.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
   at Microsoft.Data.SqlClient.TdsParser.ConsumePreLoginHandshake(SqlConnectionEncryptOption encrypt, Boolean trustServerCert, Boolean integratedSecurity, Boolean& marsCapable, Boolean& fedAuthRequired, Boolean tlsFirst, String serverCert)
   at Microsoft.Data.SqlClient.TdsParser.Connect(ServerInfo serverInfo, SqlInternalConnectionTds connHandler, Boolean ignoreSniOpenTimeout, Int64 timerExpire, SqlConnectionString connectionOptions, Boolean withFailover)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.AttemptOneLogin(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean ignoreSniOpenTimeout, TimeoutTimer timeout, Boolean withFailover)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.LoginNoFailover(ServerInfo serverInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString connectionOptions, SqlCredential credential, TimeoutTimer timeout)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds.OpenLoginEnlist(TimeoutTimer timeout, SqlConnectionString connectionOptions, SqlCredential credential, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance)
   at Microsoft.Data.SqlClient.SqlInternalConnectionTds..ctor(DbConnectionPoolIdentity identity, SqlConnectionString connectionOptions, SqlCredential credential, Object providerInfo, String newPassword, SecureString newSecurePassword, Boolean redirectedUserInstance, SqlConnectionString userConnectionOptions, SessionData reconnectSessionData, Boolean applyTransientFaultHandling, String accessToken, DbConnectionPool pool)
   at Microsoft.Data.SqlClient.SqlConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.CreatePooledConnection(DbConnectionPool pool, DbConnection owningObject, DbConnectionOptions options, DbConnectionPoolKey poolKey, DbConnectionOptions userOptions)
   at Microsoft.Data.ProviderBase.DbConnectionPool.CreateObject(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.UserCreateRequest(DbConnection owningObject, DbConnectionOptions userOptions, DbConnectionInternal oldConnection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
   at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
   at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
   at Microsoft.Data.SqlClient.SqlConnection.Open()
   at OrderProcessor.OrderProcessingWorker.ExecuteAsync(CancellationToken stoppingToken) in C:\git\aspire2\samples\eShopLite\OrderProcessor\OrderProcessingWorker.cs:line 31
   at Microsoft.Extensions.Hosting.BackgroundService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at Program.<Main>$(String[] args) in C:\git\aspire2\samples\eShopLite\OrderProcessor\Program.cs:line 12
ClientConnectionId:dc0eeb32-a416-4250-abba-2756272129f9
Error Number:10054,State:0,Class:20
         at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection)
         at Microsoft.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection)
         at Microsoft.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)
         at Microsoft.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
         at Microsoft.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)
         at Microsoft.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry, SqlConnectionOverrides overrides)
         at Microsoft.Data.SqlClient.SqlConnection.Open(SqlConnectionOverrides overrides)
         at Microsoft.Data.SqlClient.SqlConnection.Open()
         at OrderProcessor.OrderProcessingWorker.ExecuteAsync(CancellationToken stoppingToken) in C:\git\aspire2\samples\eShopLite\OrderProcessor\OrderProcessingWorker.cs:line 31
         at Microsoft.Extensions.Hosting.BackgroundService.StartAsync(CancellationToken cancellationToken)
         at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
         at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
      ClientConnectionId:dc0eeb32-a416-4250-abba-2756272129f9
      Error Number:10054,State:0,Class:20

@eerhardt and @DamianEdwards  a few things here:
I was able to get the volumemount sample working, and then I retrofitted that setup back onto a simple out of the box solution like the one in my original issue description. I was able to get it working, but with some caveats:

The sql server container never works properly for me unless you manually create a password and pass it in, even though its an optional parameter. Unless you define your own password, you always get this on container startup:

ERROR: Unable to set system administrator password: Password validation failed. The password does not meet SQL Server password policy requirements because it is not complex enough. The password must be at least 8 characters long and contain characters from three of the following four sets: Uppercase letters, Lowercase letters, Base 10 digits, and Symbols..

Shouldn't the default behavior set a secure password to keep that parameter optional? If I set my own stronger password in user secrets and pass it into the method, this issue is resolved using the following code:
// Set in user-secrets
var sqlpassword = builder.Configuration["sqlpassword"];

var sql = builder.AddSqlServerContainer("sql", sqlpassword).AddDatabase("sqldata");

I was only able to connect to the database after creating it manually inside the container using the sqlcmd tool that comes with the image (or through a sql query). This makes sense, but I wanted to confirm what the intended workflow here is with and without entity framework migrations. I'm not using EF in my example.
Based on the volumemount sample - so the assumption is that the database should be stored on a shared volume if the user wants to persist the database between app sessions? The container seems to be destroyed when you stop the app, so you lose the database every time - if they don't want to use a shared volume, they would have to run a script or migration every time the app launches to recreate/seed the database?
Just looking for a confirmation of the intended workflow here for docs purposes.

The SQL generated password issue is already fixed for preview 2.
Correct on the point about volumes and managing the state. In our samples that use a database and EF, we either have code that ensures the database is updated on each launch, or we use a persistent volume and rely on the EF Core middleware to provide the developer a UX for running migrations the first time.

The SQL generated password issue is already fixed for preview 2.
Correct on the point about volumes and managing the state. In our samples that use a database and EF, we either have code that ensures the database is updated on each launch, or we use a persistent volume and rely on the EF Core middleware to provide the developer a UX for running migrations the first time.

Thanks, I remember now that the first one was addressed by https://github.com/dotnet/aspire/issues/971.
We can put together some guidance for this flow for the db components.

Following up after more experimentation - is there a sample somewhere showing how to initially create the database in the container if you're not using Entity Framework? It seems like the injected SqlConnection is already setup to point to a specific database, in this case aspiredb:
var sql = builder.AddSqlServerContainer("sql", sqlpassword).AddDatabase("aspiredb");
The injected SqlConnection works if the database already exists in the container, but it seems as though you can't use an injected SqlConnection to actually create the database if it doesn't already exist because its already pointing to a specific db. Potential work around might be to run a separate startup script with a different connection string - is there an example of how to handle this scenario?
Maybe I am misunderstanding something here.

Following up after more experimentation - is there a sample somewhere showing how to initially create the database in the container if you're not using Entity Framework?

Nope. Today all our samples rely on EF to create the database if it doesn't exist already.

@alexwolfmsft In your sample, you mention for Web app code:
builder.AddSqlServerClient("sqldata")
However, I noticed that AddSqlServerClient is an extension method for IHostApplicationBuilder. Did you manually revert the template's default WebApplicationBuilder, to use the older IHostApplicationBuilder.

IHostApplicationBuilder was a new API introduced in .NET 8. I think you might be confusing it with IHostBuilder?

Right. I shouldn't have said "old". But my question is, in the aspire template, the web app is initialized with WebApplicationBuilder. So to use AddSqlServerClient, should we switch it to use IHostApplicationBuilder. Shouldn't there be an extension extension method for adding Sql Client to WebApplicationBuilder?

Yes, WebApplicationBuilder implements IHostApplicationBuilder, so you should see the AddSqlServerClient method on it if you've referenced the Aspire.Microsoft.Data.SqlClient package.

Note we have a sample now that shows how to configure the various supported database containers to be initialized using their integrated features: https://github.com/dotnet/aspire-samples/tree/main/samples/DatabaseContainers

Given the original issue reported here was about password generation for the SQL resource type, and that was resolved in preview 2 ... we can go ahead and close this issue unless it is still a problem?

Closing ... reopen if necessary.


can't create react app

when i run npx create-react-app, i got an error, here is the error message:
Couldn't find package<EMAIL_ADDRESS>required by<EMAIL_ADDRESS>on the "npm" registry.

have you tried with yarn?

@heyhuzi setimmediate seem to be a valid npm package, so it should be a sporadic issue.  Let us know if you are still having trouble.


Tutorial pipeline will fail second run

The pipeline here will fail after first run as it creates the container on the first run but fails on the second try as it has already been created. The container create command should be put into Prerequisites section instead.

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

ID: 2156af24-387c-e4c9-1326-226a7040eca5
Version Independent ID: 53c8b381-419c-9dd9-2f60-d9e2fd897ae4
Content: Tutorial - Use Azure Storage for build artifacts
Content Source: articles/jenkins/azure-storage-blobs-as-build-artifact-repository.md
Service: jenkins
GitHub Login: @TomArcherMsft
Microsoft Alias: tarcher

@Rulqu  Thank you for your feedback. As our current Jenkins support is limited to security fixes, we're closing this Issue.


Failed create connection with Kylin by kylin jdbc driver 2.5

if (null == connection || connection.isClosed() || (**!this.jdbcUrl.startsWith("jdbc:kylin:") &&** !connection.isValid(5))) {
I changed the code like this.

This bug has been fixed in the dev-0.3 branch


Remove the suppport for specifying block cache for cf manually

Feature Request
For historical reason, we support specifying block cache for each cf for either raft db or kv db. But since we support sharing cache between CFs and dbs (3 years ago), these settings are not practical anymore. They are hard to use and easy to make mistake. We better remove those settings and always enabling share cache for simplicity.

For those users that still use the settings (should be very few if any), it's recommended to migrate to the share cache method and set a total capacity instead.

+1


[composer] fails to load offline in FF

As reported by a discord user, (and repro-d on zhenya's MacOS) FF does not load composer past the progress bar when wifi is disabled.
Discord user's user-agent:

Mozilla/5.0 (X11; Linux x86_64; rv:123.0) Gecko/20100101 Firefox/123.0

update: after coming online, the FF window continues to be stuck despite multiple reloads

Upon further investigation, I found out this is either a bug or intended behavior in Firefox fetch implementation.
When Composer calls fetch to download the automerge wasm module while the network is offline, it crashes with a NetworkError before the request reaches the service worker. Any attempt to call fetch by the shared worker fails, not only calls to download the wasm module. But fetch works normally in the main thread, regardless of the network state.
This is because Firefox has some worker-specific code which checks the network state and returns a network error if it's offline.
You can verify this by running Firefox with the fetch logging module on.
MOZ_DISABLE_CONTENT_SANDBOX=1 MOZ_LOG=Fetch:5 firefox
When the network is offline and Composer is opened, the following line is printed, which matches the line found in the Firefox source code that returns a network error.
[Parent 2: Main Thread]: D/Fetch FetchService::Fetch network offline


Critical: 1.06: Orders can be placed successfully, payement done, but they are not written into JTL SHOP Database

We found out today, that the orders that are placed with 1.06 version, are not written into the jtl shop database and basically, if you don't look at postfinance checkout, you will never see those orders. We were wondered that no orders are coming in anymore those days. The payment has been processed successfully, so we don't talk about orders, that are not paid. That's critical as we got already a few mails from customers that placed orders and we didn't know, that they ordered. That should be fixed with first priority!
Payment before order is set to YES.
Guest checkout and registered checkout is affected.
Checked with TWINT and CreditCard payments over postfinance
The order number the shop gives after payment is successfull is not like the order numbers we give normally:

we normally have something like 11xxx
of course, as there is no order in JTL Shop, customers also don't get any confirmation mail.

hi @PAO1908CH  it was reproduced on our side, we are working on a fix

Both, the shop doesnt know, that there was a order, so the order is not in the shop, and then, of course also not transfered to the wawi.

hi @PAO1908CH it was reproduced on our side, we are working on a fix

perfect, thank you.

hi @PAO1908CH , the hotfix should tackle this issue, could you confirm it ?

Affirm, works here! thanks a lot for this fast fix!
kind regards

hi @PAO1908CH , the hotfix should tackle this issue, could you confirm it ?

Unfortunately, the error that orders are placed into jtl shop even when payment is not successfull is back now with 1.07...
So when I choose a payment method, and cancel it, order is stored into the system and also into the WAWI.


issue: Dead greek key does not work with keybinds

Did you check docs and existing issues?

[X] I have read all the vscode-neovim docs
[X] I have searched the existing issues of vscode-neovim
[X] I can reproduce the issue with an empty init.vim/init.lua and no other vscode extensions (when applicable)

Neovim version (nvim -v)
v0.9.2
Operating system/version
254.3-1-arch
Describe the bug
VSCode Neovim version: v0.6.1
I have enabled the dead greek key to be able to type greek letters quickly as a combination of CTRL+latin letter with
xmodmap -e "keycode 105 = dead_greek dead_greek dead_greek dead_greek"
This works as expected on all text fields in my system. In VSCode however, when I add the lines
{
 "command": "vscode-neovim.compositeEscape1",
 "key": "j",
 "when": "neovim.mode == insert && editorTextFocus",
 "args": "j"
},
{
 "command": "vscode-neovim.compositeEscape2",
 "key": "k",
 "when": "neovim.mode == insert && editorTextFocus",
 "args": "k"
},

to my keybindings.json, so as to use the jk-combination to return to normal mode (which works fine as of itself), the j-key in combination with the CTRL-key will not produce "θ" anymore as it is supposed to, but just "j".
Can this be fixed, or is it in the nature of VSCode's keybindings that this is broken? And if so, is there a viable workaround?
Best, thanks,
Lucas
Steps To Reproduce

xmodmap -e "keycode 105 = dead_greek dead_greek dead_greek dead_greek" (Get proper key ID with  xev | grep keycode)
Add keybindings to VSCode keybindings.json:

{
 "command": "vscode-neovim.compositeEscape1",
 "key": "j",
 "when": "neovim.mode == insert && editorTextFocus",
 "args": "j"
},
{
 "command": "vscode-neovim.compositeEscape2",
 "key": "k",
 "when": "neovim.mode == insert && editorTextFocus",
 "args": "k"
},

Open VSCode Neovim, in insert mode type CTRL+j

Expected Behavior
Dead greek key + j should make "θ" appear in VSCode Neovim, but "j" appears instead.

I think this might be duplicate of another issue, can you try to find it

I think this might be duplicate of another issue, can you try to find it

Oh sorry, I thought I had looked, I will search again

with your settings vs code

Добавьте привязки клавиш в VSCode keybindings.json:

and my settings keymaps.lua
vim.keymap.set("i", "jk", "<ESC>", { noremap = true, silent = true })
this combination works


Extend docs about pool management

Currently, the only info about pooling that I can find in the docs' TOC are about its initial configuration. I know from #55 that some information about the opposite end of the pool's life cycle is also hidden in there, but some topics seem to not be covered yet:

[x] How to create a pool ("see Installation → Config Options → pooling.")
[ ] How to re-configure a pool

[ ] How to change intended pool size bounds
[ ] How to enforce new pool size bounds immediately
[ ] How to set preferred server address for new connections
[ ] How to set server login credentials for new connections

[ ] How to request gentle shutdown of a pool (#649)

[ ] How to check whether knex is trying to abandon its pool
[ ] How to be notified when the pool has been abandoned

[x] How to hastily get rid of a pool (#55)

Maybe you could add a chapter "Pool Management" to include those aspects?

Just to add, I feel like the majority of the reported bugs revolve around Pool's  being destroyed via connection issues, etc. If there was more documentation on this -- the community might be able to better address the immediate pressing issues by themselves.

I feel like this might help me solve https://github.com/tgriesser/knex/issues/1732 based on your comment @gotoAndBliss
Any links I can follow to learn more about this?


IPTT: For Target column in the various periods, use the Target Period value and not summation

Current behavior
When we have multiple entries for a certain Period Target, the target values is summed for each entry and then displayed in the IPTT report. For example, if we have two entries for the Target of say 2 for each entry, the target is displayed as 4 instead of 2.
See screenshot:

To Reproduce
Steps to reproduce the behavior:

Go to Reports > Indicator Tracking Table
Generate a report by completing all the dropdowns
Look at your period targets specifically the Target column and see multiple if you have multiple collection entries, the calculation is a summation of all collection entries.
See error

Expected behavior
The Target Value displayed should only show the Period Target value, not a summation of the entries against this Target period.

Hi @Kimaiyo077 The quarterly report looks okay, however when the monthly and yearly reporting period is selected there are some issues. See this example report:

Indicator results example:

The yearly report indicate an inaccurate Target value:

The monthly report does not show the values for the respective months.


Fix formatting for StatusCode

Fix formatting for StatusCode
(also ran cargo format)
Fixes #302.

Is this actually a semver-major change? It just changes the Debug output, which isn't normally considered a breaking change.

Is this actually a semver-major change? It just changes the Debug output, which isn't normally considered a breaking change.


Add error boundary when Pieces OS isn't working.

add an error boundary, and show in the project itself that Pieces OS isn't running in the background right now.

This has been completed :) just cleaning up the issues now 👍


Board-independent MQTT to Google Cloud IoT

Trying to understand how to use Libraries with another board (for ex. Arduino Uno + Ethernet Shield).
Is that possible to do myself with not lots of knowledge?
But, at first, I just can't compile any example because of header issue: cstring in some h-files.
Compiling with Arduino IDE 1.8.7 on Mac OS.

The master library is still in development, you may want to try one of the releases instead of the master branch for now. In terms of board-independent MQTT support, we don't have a good solution yet. If your ethernet shield can do SSL, the MKR-1000 example uses an Arduino-native library that should be similar.

The library is designed to make it easy to use get configuration from the Cloud IoT Core Device object, if you look at ESP8266-lwmqtt, you can see a basic example for integrating without using the encapsulated device object.

I'm currently planning on seeing if I can make a merged sample for the lwmqtt samples that works broadly across Arduino boards.

First attempt at this is merged in this CL.

nice job!


typo in email

should be " You can access the output here"

JS, NC, ND, ME zoom call on 20-Mar-2024:
Convert to a CRM ticket and fix


Roll Engine from 7e9e5c040cd5 to 5d384374e499 (1 revision)

https://github.com/flutter/engine/compare/7e9e5c040cd5...5d384374e499
2021-12-25<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from -M2jcLTHP... to -7bHLVXON... (flutter/engine#30508)
Also rolling transitive DEPS:
fuchsia/sdk/core/mac-amd64 from -M2jcLTHP3iS to -7bHLVXONB_M
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


⚠ Jenkins Plugins Artifactory has degraded performance

In f4e3e12, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1317 ms

Resolved: Jenkins Plugins Artifactory performance has improved in b96664c after 19 minutes.


feat: giant oracle update

[x] new universal curve oracle which supports all regular pools, factory pools, crypto pools, meta pools
[x] new chainlink oracle which uses the new feed registry
[x] new uniswap v3 oracle
[x] aave tokens unwrapping
[x] new synthetix oracle
[x] fixed forex oracle
[x] working tests, tests for most oracles
[x] various optimizations

Good to ship from my side. Give it a try and say if it works for you.


document VMware Cloud auth provider

Hey, I just made a Pull Request!
Just documentation, kinda sorely missing since #21337 was merged
:heavy_check_mark: Checklist

[ ] ~A changeset describing the change and affected packages. (more info)~ docs only
[x] Added or updated documentation
[ ] ~Tests for new functionality and regression tests for bug fixes~ docs only
[ ] ~Screenshots attached (for UI changes)~
[x] All your commits have a Signed-off-by line in the message. (more info)

The use of this provider feels complicated compared to the others, largely because:

it has no default auth provider factory in @backstage/plugin-auth-backend
it has no associated utility API in @backstage/core-plugin-api

@Rugvip @tudi2d do you think it makes sense to address these two points? I can open a separate issue for this but I think the trickiness these instructions makes a nice illustration.


Do there any blockers to bump new release?

We are looking forward to using django-pipeline with Django 3.2 on edX.
Required PR - #751 is already merged into the master branch.
Do there any chance a new version will be bumped soon?
If any blockers with the release I would be happy to help.
Thank you in advance.

Seems like updating the HISTORY.rst would be useful by going through the commits that have been added since that least release. I also see that 2.0.6 wasn't added to it. Then maybe open a PR and see if a project lead can do the release?
BTW, since edX is relying on it, why not sponsor the work on django-pipeline or become a django-pipeline team member and help out more often?

Since the document (written by @jmbowman) doesn't mention this at all, I just want to clarify that Jazzband is a fiscal sponsoree of the Python Software Foundation nowadays, which means edX can donate to Jazzband via https://jazzband.co/donate.
Generally speaking I would appreciate if you would adopt funding Open Source software you're relying on to your list of preferences in "Handling Outdated Dependencies". Lack of funding (read: time) is often the cause of OSS projects being "outdated" after all.

We would very much like to do so, but it's been a hard pitch at a nonprofit with a pretty tight budget.  If the 2U acquisition of edX goes through as planned, my hope is that we'll start to have a budget for helping support our dependencies financially instead of just code contributions.  And I'll be giving a talk at DjangoCon presenting all the tooling and processes we've developed around Django upgrades, all open source, in hopes of making it available and ever more useful for other Django package maintainers to reduce the workload involved in such updates.

We would very much like to do so, but it's been a hard pitch at a nonprofit with a pretty tight budget. If the 2U acquisition of edX goes through as planned, my hope is that we'll start to have a budget for helping support our dependencies financially instead of just code contributions. And I'll be giving a talk at DjangoCon presenting all the tooling and processes we've developed around Django upgrades, all open source, in hopes of making it available and ever more useful for other Django package maintainers to reduce the workload involved in such updates.

Nice, glad you're talking about this, I'm sure many have similar problems to solve. Crossing my fingers all goes okay with the acquisition!


Incorrect shebang in Ubuntu 20.04 + ROS Noetic

Hello,
I've been looking around the pull requests and issues opened. I saw that the python3 shebang compatibility was supposedly fixed, but I found using the 0.4.9-focal version of rqt_service_caller that the shebang of the rqt_service_caller installed script is still
#!/usr/bin/env python
instead of
#!/usr/bin/env python3
I tried to reinstall the package but it does change nothing, At the moment replacing it manually does the job
Edit: Sorry for the edit, but I saw that the problem is just that the package has not been released since the fix was added to the CMakeLists

Version 0.4.10 including the fix has been released. Can you confirm this issue is now solved ?

Yes, the current release has the correct shebang, thank you very much!


Fix dev tools - Update BreadCrumbResources.ts

Fix dev tools working intermittently - sometimes it would work when you first load the page, but not when you have the page already open and go into the Vue tools.
Fixes this error:

The Pinia store is being used before the Vue instance is initialized I believe
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the bcrs-entities-create-ui license (Apache 2.0).

Not sure if you want the package + package-lock.json updated for this.. fairly small change.

Should be fine, I didn't see any runtime issues - just dev tools.


chore(main): release 0.5.3

:robot: I have created a release beep boop
0.5.3 (2024-08-19)
Bug Fixes

get rid of PHPUnit's Exporter (0326c1b)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.5.3
:sunflower:


How can I update the specific message?

Is it possible to update the specific message content (UI) while in runtime?
The case that I encounter is when user send the message when the app is disconnecting the internet, it will show the loading icon, which can be achieved in onBind() function in custom view holder. But the question is how can I update the specific message (hidden the loading icon) when reconnecting the network?
Thanks for your help!!

Yes, you can use MessagesListAdapter method   update(MESSAGE  message)

Sorry for late reply! it works perfectly !! Thanks


PASTE: handle input from a foreign Slate editor

Input (https://www.slatejs.org/examples/richtext):
This is editable rich text, much better than a !Since it's rich text, you can do things like turn a selection of text bold, or add a semantically rendered block quote in the middle of the page, like this:A wise quote.Try it out for yourself!My HeadingThis is text. This is italic text. This is bold text. This is a link. This is inline code.This is bold and italic text.This is a softbreak.This is alinebreak.This is a quote.Heading TwoThis is more text.Ordered lists:onetwothreeOr:applespearspeachesSub headingThis is more text.Fin.
Error:
[Error] Error: Node.fromJSON requires an object of either 'block', 'document', 'inline' or 'text', but you passed: [object Object],[object Object],[object Object],[object Object],[object Object]
fromJSON (slate.es.js:3277)
deserializeNode (slate-base64-serializer.es.js:56)
getEventTransfer (slate-react.es.js:3876:109)
onPaste (index.js:442:91)
next (slate.es.js:11164)
onEvent (slate-react.es.js:1845)
callCallback (react-dom.development.js:336)
dispatchEvent
invokeGuardedCallbackDev (react-dom.development.js:385)
invokeGuardedCallback (react-dom.development.js:440)
invokeGuardedCallbackAndCatchFirstError (react-dom.development.js:454)
executeDispatch (react-dom.development.js:584)
executeDispatchesInOrder (react-dom.development.js:609)
executeDispatchesAndRelease (react-dom.development.js:713)
forEachAccumulated (react-dom.development.js:694)
runEventsInBatch (react-dom.development.js:739)
runExtractedPluginEventsInBatch (react-dom.development.js:880)
handleTopLevel (react-dom.development.js:5807)
batchedEventUpdates$1 (react-dom.development.js:24368)
batchedEventUpdates (react-dom.development.js:1419)
dispatchEventForPluginEventSystem (react-dom.development.js:5898)
attemptToDispatchEvent (react-dom.development.js:6014)
dispatchEvent (react-dom.development.js:5918)
dispatchEvent
unstable_runWithPriority (scheduler.development.js:818)
discreteUpdates$1 (react-dom.development.js:24384)
discreteUpdates (react-dom.development.js:1442)
dispatchDiscreteEvent (react-dom.development.js:5885)
dispatchDiscreteEvent

Seems resolved.


Module doesn't work in Pathfinder 2e

Basic bug:  stuff like Actions can't be rolled from compendiums because rolling them from an actor fails due to:
main.bundle.js:formatted:5661 Uncaught (in promise) TypeError: Cannot read property 'roll' of null
    at CRBStyleCharacterActorSheetPF2E._onItemRoll (main.bundle.js:formatted:5661)
    at rollItem (VM420 roll-from-compendium.js:65)

This can be manually fixed by just calling item.roll() for all items, instead of assigning them to actors.  However, trying a more complicated solution -- and trying to cast spells at all - also doesn't work, because of another bug.
main.bundle.js:formatted:1392 Uncaught (in promise) TypeError: Cannot read property 'value' of undefined
    at PF2ESpell.getChatData (main.bundle.js:formatted:1392)
    at PF2ESpell.roll (main.bundle.js:formatted:1366)
    at eval (eval at rollItem (VM420 roll-from-compendium.js:51), <anonymous>:1:29)

It looks like PF2e spells call _spellChatData() which checks spellcastingEntry = this.actor.getOwnedItem(data.location.value);;  my guess is that Pathfinder spells are not just stored in the items list but have a "parent" item of sort, called Spellcasting Entry, that represents the source of magic or group of spells.

Partially improved in v1.1.3.

Fixed in v1.2.0.


Is Lark a good library for extending existing languages with new syntax? (transpiling)

Hi, I am new to language parsing and would like to know if Lark is good for my use-case. We are currently making a game in C# with Unity and using Lua for game scripting. We have already made a few language extensions to it through regex only. It works but we would like to go a bit further and regex is limited. I have seen how Lark can quickly and succinctly define language constructs and parse a tree, as with the json example. Is it possible to use this for matching on source code, and then using the tree to rewrite parts of it to a new string?
Apologies if this is not the right place for this question.

I think it will be easier for us to modify our Lua library instead. Still curious about Lark though


Mapmatching for mutli-feature inputs

Currently the mapmatching API is limited to a single Feature with LineString geometry.
But that doesn't mean we have to limit the CLI to a single feature. What about taking multiple features and just calling the API multiple times (possibly asynchronously)?

Considering the request limits (60 per minute) and data-dependent aspects of the API, let's defer this to post-1.0.


Developer improvements

This scratches a few development itches that I encountered while working on the project.

The gitignore did not cover the usual things like tox environments. I replaced it with the GitHub template.
Pytest was not set up to report verbosely, meaning that when errors occurred it was more difficult to identify exactly which test was failing.

I also added coverage for Python 3.7 (everything passes, so why not?), and set up tox to read the test dependencies from the setup.py configuration (there were some missing dependencies otherwise for local tox runs, such as requests_kerberos).
Feel free to accept or reject any of these "improvements".

@cla-bot check

Merged as f7c3b4b2f56cb86944e03c2a64a8ec474ee927f8, thanks!
I updated the messages to align them with our guidelines (https://chris.beams.io/posts/git-commit/).
I will add a ref to them in the README too (https://github.com/prestosql/presto-python-client/pull/20).
Thank you for your contribution!

Roger that! Thanks @findepi.


Windows don't update properly at startup

There's an async issue where the OBS windows are attempting to update before OBS is connected, resulting in windows not being hidden properly and appearing black on stream.
The initial window setting should be done asynchronously after OBS has connected

Fixed in v1.4.2


Paginator page number links are not read by screen reader

Add alt attributes

Added aria-label to page links "page #'
Tested with screen reader


Perf testing and discussion

After conversation it was discovered by @jd0-sag that creating replicated messages was unreasonably expensive.  See #465.  By generating load internally on the server, two hotspots were identified.  The first was the switch case statement in RequestProcessor. createReplicationActivity as a possible culprit.  Changed to an enum map and profiling data suggests that it has helped.  The debug statement optimization is probably trivial.

Happy to remove the load generator commit.  It is useful but questionable to live in the non-test codebase.  Requesting comment

I don't quite understand what these changes are doing or how they address some of those issues found in the investigation:

The comment in b5ccfc3c6eb098b5f0f6adcf3c4c4fa08660ff16 doesn't seem related to what is happening in the change.
I am a little surprised that 6e4e8f0c0bb6e8709b8dc0d557e93354ef70916a makes things better (especially when this wasn't really a hot point) but I could imagine an EnumMap maybe being faster than a switch (since it will generate a sequence of compares instead of a sort of "index by value").  The change does make things into a more declarative mapping, which I do like better than the old imperative structure.
c745b8c8ebd32c9ffcb28f064a786b7ef7ea31de makes sense although I sometimes wonder if we should just remove that debugId, altogether.


[Add] Add Rocket Chat

Site URL
https://github.com/RocketChat/Rocket.Chat
Description of the above provided site
Rocket.Chat is an open-source fully customizable communications platform developed in JavaScript for organizations with high standards of data protection.
Category
Frontend
Sub Category
open source project
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)

Hi @dfordp. Do you still want to work on this issue?

Yup

You're assigned @dfordp


Fixes in the verification flow

Description
Some context:
On May 2021 we had a huge issue with verification. There was a huge refactor that brought a bunch of issues that we ended up reverting. Before reverting though we fixed a lot of bugs related to it. In the middle of those bugfixes there were some other bugfixes that were pre-existing! However, when we reverted we reverted everything so we lost those fixes.
Here's the PR from that time: https://github.com/valora-inc/wallet/pull/432
In this PR I'm bringing back two bugfixes that will help with the verification issues.

The first one is calling a lock we were already using properly. We were using a lock in a section on the code but we were not actually awaiting it so it was useless. There was a delay there to "fix" the issue but it didn't really fix it. The lock should now work properly.
The second one is adding another lock in the code that receives the verification codes. Without it, the UI glitches out a bunch and there may be other issues as well, since all the codes pasted try to get inserted in the same spot. This happens on Android where codes are auto-pasted. With this change, all codes should be pasted in a different position.

This fixes issues for new users, but we also need to run a migration to fix the redux store state for existing users that show up as verified when they are not.
Other changes
N/A
Tested
Manually on both OSes. I also modified the code a bit to send the three codes instantly to make sure they are handled correctly.
How others should test
Try verifying in Android and iOS several times. Try all the edge cases you can think of, including but not limited to:

Copying the same code several times.
Pasting the codes very quickly.
Asking codes to be resent.

Related issues

Part of #1906
This doesn't fix the issue completely, it fixes it for new users but we still need to fix the internal state for existing ones.

Backwards compatibility
N/A

Hey @MuckT, We have verified the above issue on Latest Android Internal Release Build & Test flight Release Build V1.27.0 and updated status in Test rails.

User is able to complete phone number verification by entering 3-confirmation codes.
But on changing phone and starting verification again "Confirmation error" popup appears. Bug link

Test rail links:
Android 10: https://valoraapp.testrail.io/index.php?/tests/view/12913
iOS 14: https://valoraapp.testrail.io/index.php?/tests/view/12975
iOS 15: https://valoraapp.testrail.io/index.php?/tests/view/13006
Devices: iPhone 13 mini(15.1.1), iPhone 12 (14.7.1), Google Pixel 2XL (11.0)
cc: @gnardini
Thanks..!!


"flynn-host collect-debug-info" hangs at "getting job logs" for a long time

Cluster that went flappy from loss of a node waits 30 minutes plus at "getting job logs" without timing out or falling back to getting logs from disk.
https://bazaarvoice.box.com/s/6bipvbhhgdv7kcxbo8go060dn878qq73 is the collected logs from disk.

Haven't seen repetition of this in nearly a year, closing.


Overly restrictive lane routing for trams on shared car-tram lanes

Describe the problem
TMPE appears to apply overly strict restrictions on trams changing lanes on junctions, preventing tram lines from be placed in situations where it shouldn't.
In this example I've got a 4-lane 2-way road with tram tracks running down the middle (https://steamcommunity.com/sharedfiles/filedetails/?id=2130577793) and the Snowfall DLC 2-lane 1-way road with tram track:

I am placing a tram stop on the 4-lane 2-way road (on the right), and then attempting to place the next stop on the 2-lane road. As you can see, the game won't let me to:

I am guessing TMPE is forbidding all vehicles using the left lane on the 4-lane road from entering the right lane on the 2-lane road. While this makes sense for cars, this restriction should not be applied to trams.
The issue does not occur if the 4-lane road is replaced with a similar road, where the central lanes are tram only (https://steamcommunity.com/sharedfiles/filedetails/?id=2130576379).
The issue only occurs when using TMPE.
Steps to reproduce

Build a junction like on the screenshot using the 4L 2-way road with tram tracks (https://steamcommunity.com/sharedfiles/filedetails/?id=2130577793) and the Snowfall DLC 2L 1-way road with tram track.
Place a tram stop on the 4L road.
Attempt to place the next tram stop on the 2L road. Notice that the game will refuse to connect them.

Hi, have you tried enabling "Allow lane change at junction" option?
It's interesting problem and I'll take a look what is going on there.

I have tried that option, it didn't make any difference.
I have also tried "Busses may ignore lane arrows" in case that applied to trams as well, but also no luck.

It's can be temporarily fixed using lane connector tool, but I'll try to improve current lane routing algorithm to cover similar cases

There is such a problem when connecting trams into roundabouts as well. They will not ignore lane arrows, making it impossible for them to stay in the roundabout to make a u-turn. I think I can work around this issue, but it would be fantastic if I didn't have too, since many tram roads position them on shared lanes with cars.

Here is an example, I illustrated the lane arrows in gray, the dotted line is the intended path.
The purple line is the alternative path using the center of the roundabout for tram specific roads, which would force the use of traffic lights at the junction, being obviously less than ideal...
I'll take any suggestions on how to fix this, if there are any, thanks!

Interestingly trams will not turn right only when there is a right turn arrow!

if (applyHighwayRules || // highway rules enabled
	(nextIncomingDir == ArrowDirection.Right && hasLeftArrow) || // valid incoming right
	(nextIncomingDir == ArrowDirection.Left && hasRightArrow) || // valid incoming left
	(nextIncomingDir == ArrowDirection.Forward && hasForwardArrow) || // valid incoming straight
	(nextIncomingDir == ArrowDirection.Turn && canTurn) /*valid turning lane*/)
{
	// matching arrow for law obiding cars
	isCompatibleLane = true;
	transitionType = LaneEndTransitionType.Default;
} else if (nextIsConnectedWithPrev) {
	// no matching arrow for SOS/reckless/trams
	transitionType = LaneEndTransitionType.Relaxed;
	if (numNextRelaxedTransitionDatas < MAX_NUM_TRANSITIONS) {
		nextRelaxedTransitionDatas[
			numNextRelaxedTransitionDatas++].Set(
			nextLaneId,
			nextLaneIndex,
			transitionType,
			nextSegmentId,
			isNodeStartNodeOfNextSegment,
			GlobalConfig.Instance.PathFinding.IncompatibleLaneDistance /*2*/);
	}
}

Damn this is also influenced by the lane arrows of the non-tram lane!

@aubergine10 do you know all the issues with regard to mixed train/car lanes?
so far I know of these:
on mixed car/tram lanes:
1- good: normal cars are only restricted by lane arrows (bus,  SOS, and  reckless cars ignore lane arrows as usual).
2- good: trams are only restricted by turn angle.
3- bad: cars have similarLaneIndex == 0 which might encourage them to turn into outer-most lane instead of the inner-most lane. (any issue associated with this?)
4- trams are confused too by lane arrows for some reason (probably AI). [this issue]
5- bad: cannot set lane connection for trams/cars separately [#354]
6- bad: tracked vehicles spend time calculating the turn angle. this could be cached.
5 and 6 can be fixed if I mark lane transitions for car/track.
Is that right? any other problem I missed?

1- good: normal cars are only restricted by lane arrows (bus, SOS, and reckless cars ignore lane arrows as usual).

Bus should only ignore lane arrows if the relevant option is set in mod options. Same for evacuation buses.
Another thing, although I've not yet determined the cause, is that sometimes buses will go off their route (they'll travel along different road even though no bus route on that road). Next time in game I'll try and get some screenshots to illustrate and create issue for that.

Another thing, although I've not yet determined the cause, is that sometimes buses will go off their route (they'll travel along different road even though no bus route on that road). Next time in game I'll try and get some screenshots to illustrate and create issue for that.

Reason:
Sometimes a firetruck is "working" on the route of the bus - so the regular road/route is blocked. The bus then drives a "detour" arround the firemen dousing a fire.... nice feature!

Reason: Sometimes a firetruck is "working" on the route of the bus - so the regular road/route is blocked. The bus then drives a "detour" arround the firemen dousing a fire.... nice feature!

No, this wasn't caused by the Blocked flag. They were routinely going off-route and the only way I could stop them doing it was to add vehicle restrictions and reduce speed of road.


Edit on GitHub link is broken on our stable docs

On our dev docs it works: the link on this page goes here
On our the same page in our stable docs the link goes here which is a GitHub 404 page.
The difference in the links is that the dev docs link goes to github.com/.../edit/main/.../index.md while the stable docs goes to github.com/.../edit/<commit hash>/.../index.md.
I'm pretty sure the issue is that GitHub won't let someone propose changes to something other than the tip of a branch: if I go to a file on one of our very old branches I get an active "edit" button on GitHub. But since we don't habitually keep separate branches for our releases, the point in history associated with stable is not the tip of a branch, it's just a tag on main, so you get this:

Two solutions I can think of are:

always have the edit link go to main. If we delete or rename a file between stable and main it will still 404, but for most pages on stable the link will work
make a branch called stable and add it to our release process to do a squash-merge from main to stable once the release is cut. Then the edit links can all be github.com/.../edit/stable/... and should work.

I prefer option 1; if folks are proposing changes to our docs, most of the time we'll want those changes on main / in the dev version too, not just on stable, and if they're important changes we can cut a new patch release to update the stable docs right away too. Also I think we're not likely to delete or rename pages very often so the downside to option 1 seems minor.
Originally posted by @drammock in https://github.com/pydata/pydata-sphinx-theme/issues/1200#issuecomment-1440810931

I'm +1 for option 1 as well


nvidia shield media player support

What version of Music Assistant has the issue?
2022.6.4
The problem
Can Nvidia Shield become supported as media player?
i have it integrated as media player with home assistant. But when i try to play music from Music assistant it opens "welcome to Home Assistant" screen and stay's like that.

How to reproduce
Cast music from home assistant to nvidia shield device
Relevant log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2022.6.6
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

I have Nvidea Shield working 100% fine - I have it setup using the Google Cast integration - what are you using, can you try this method?

@vk2him
i'll check how i intergraded the nVidia Shield with HomeAssistant
@erkr
I'll try to find some log's ( if possible on the device) if i can't find an other way of integrating it with home-assistant

@erkr
I'll try to find some log's ( if possible on the device) if i can't find an other way of integrating it with home-assistant

Of course, first suggestion was to check if you use the chrome cast player.
@vk2him thanks for confirming that player works for you!

@JulienFloris
Is your issue resolved? If so, Any information on the player that didn't work? So we can extend the FAQ for that

Yes tested it and it works with version 2022.6.6 not sure what changed. Was already using that chrome cast integration.
Did find one other bug with the volume but ill post separated post about that. Thanks everyone for the help


Delete unused code in object literal binding

It doesn't do anything anymore. I'm not sure what it used to do; it's been there basically forever.

@typescript-bot user test this

@typescript-bot perf test this faster

This looks like code that just wasn't deleted in https://github.com/microsoft/TypeScript/commit/2cf51e4639af6722dbb8e41525c97a6fef5c4dde / #1423 or something. The same comment appears in checker.ts.

Performance looks the same as before, which is not too surprising. There might be a small improvement in the case where the GC is repeatedly running out of room, but none of our tests do that.


ECS BMS - Get data from GreenView instead of GreenMeter

Thanks for the implementation of the ECS System!
Unfortunately, the ECS components aren't found in my case.
/var/log/dbus-serialbattery.ttyUSB0/current :
@4000000063467fe732b73914 ERROR:SerialBattery:ERROR >>> No battery connection at /dev/ttyUSB0
@40000000634680091993f74c INFO:SerialBattery:Starting dbus-serialbattery
@400000006346800919a1e99c INFO:SerialBattery:dbus-serialbattery v0.14~1
@400000006346800919f7646c INFO:SerialBattery:Testing LltJbd
@40000000634680092ad9a86c ERROR:SerialBattery:>>> ERROR: No reply - returning
[...]
@400000006346800e3aefb32c INFO:SerialBattery:Testing Renogy
@400000006346800f107bbfdc ERROR:SerialBattery:>>> ERROR: No reply - returning
@400000006346800f108a9c8c INFO:SerialBattery:Testing Ecs
@400000006346800f30a12a54 INFO:SerialBattery:Testing LltJbd
@4000000063468010070bf28c ERROR:SerialBattery:>>> ERROR: No reply - returning
[...]
@4000000063468012116defdc INFO:SerialBattery:Testing Renogy
@400000006346801221fb360c ERROR:SerialBattery:>>> ERROR: No reply - returning
@4000000063468012220ced34 INFO:SerialBattery:Testing Ecs
@4000000063468013069b7d7c ERROR:SerialBattery:ERROR >>> No battery connection at /dev/ttyUSB0

R485 cable is the original Victron cable
root@einstein:~# lsusb
Bus 004 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 010: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 004: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 005 Device 003: ID 0bda:b720 Realtek Semiconductor Corp.
Bus 005 Device 002: ID 0424:2422 Standard Microsystems Corp.
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Device: Cerbo GX
OS Version : 2.91
ECS Greenview Version 1.10.02
8 cells with LiPro1-6 Active (v1)
RS485 is connected to the slave port on ECS Greenview. The modbus ID Greenview is 50, LiPro1-6 Active IDs 1-8
The Greenview seems to see RX/TX on the bus (is shown by a symbol on the display)
Which additional information can I provide, or what can I do solve the issue?

The ECS devices need a little bit more manual set up, and that is not well documented yet. I'll update the documentation for this soon.
You need to edit utils.py around line 88 and set the following values to match your GreenMeter and LiPro setup with the Modbus address your set each device with. It works best if your LiPro devices have sequential address.

nano /data/etc/dbus-serialbattery/utils.py

GREENMETER_ADDRESS = 1
LIPRO_START_ADDRESS = 2
LIPRO_END_ADDRESS = 4
LIPRO_CELL_COUNT = 8

Reboot your GX after you have made these changes.

Thanks! I've changed the settings and rebooted, but unfortunately no change.
I don't have a green meter. Is this mandatory? My setup consists of the Greenview (ID 50) and 8 LiPro1-6 Active. The currents are measured by the Greenview with two HALL sensors (IN/OUT).

Currently you need a GreenMeter. I'll have to investigate if it would be possible to get all the required values from a GreenView to know if that would be possible in future.

OK, too bad.
I'm pretty sure, you would also get all the values from the greenview, since I have already read them out for visualisation via modbus tcp. I'm attaching the register overview for you. Unfortunately, this is only available in German, but I'm happy to translate if necessary.
MODBUS-greenView.pdf

I'm looking at the docs now as well. It looks like the GreenView use different registers that the GreenMeter, so it will not be a case of just adding the device ID for it to work. I'll have to code it spesifically to work for the GreenView as well.

Thank you Louis!
The Greenmeter is quite new, which is why I assume that many ECS systems are built with the Greenview and the current sensors, like mine. If I can support you in any way with the implementation, please let me know.

Issue for GreenMeter https://github.com/Louisvdw/dbus-serialbattery/issues/28.


Debug-format on MigrationHook causes a stack overflow

A similar situation to #45. The debug formatter calls itself without a stop condition. Can be verified with:
#[test]
fn test_migration_hook_debug() {
    let m = M::up_with_hook("", |_| HookResult::Ok(()));
    assert_eq!(String::new(), format!("{:?}", m));
}

Solution: Replace the implementation with something that doesn't call itself, such as:
impl Debug for Box<dyn MigrationHook> {
    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
        write!(f, "MigrationHook")
    }
}

FYI: Found thanks to mutation testing.

Sounds good to me!


Error: Sending max RUNE

I had 1.2 RUNE, tried to send max (1.18 RUNE + 0.02 RUNE gas), the Tx was executed, but error:
https://runescan.io/tx/C303FD8B3ADDA9FBDF4495162140E090E54BF67C786F3C2D23DBDC1B83ADE4CE

Fixed https://github.com/voltix-vault/voltix-ios/pull/327


Keep Alive in linux container

Hello, I have a problem getting tcp keep alive to work in a linux docker container.
I'm ASP NET Core 7.
Tried running the app on windows and keep alive is working normally.
When running in a linux container its not, not seeing any logs saying that its not supported.
I tried setting the sysctl options in my docker-compose too but not working:
sysctls:
      - net.ipv4.tcp_keepalive_time=5
      - net.ipv4.tcp_keepalive_intvl=5
      - net.ipv4.tcp_keepalive_probes=3

Am I missing something? if not is there a workaround to this issue?

Hi, this library doesn't implement the keepalives directly, rather, it passes these values to the underlying implementation.  I can't provide any guarantee of them working since it's not code I manage.


[docker] use CI verilator build in docker instead of custom apt source

No, it's not tested by the CI. You can do a local build with docker build -t opentitan -f util/container/Dockerfile ., and then docker run -it opentitan bash to enter it and see verilator is indeed available in the path.

@nbdd0121 was the container image rebuilt and uploaded to the store after this change? It seems we're still depending on this repository and the keys have expired, causing CI failure


[Bug]: SentenceTransformerRerank does not have 'trust_remote_code' parameter, making it unable to load some models

Bug Description
I am trying to load jina reranker model (https://huggingface.co/jinaai/jina-reranker-v2-base-multilingual) but unable to do so due to 'trust_remote_code':

'trust_remote_code' argument is not available in SentenceTransformerRerank class:

Version
0.12.2
Steps to Reproduce
from llama_index.core.indices.postprocessor import SentenceTransformerRerank
SentenceTransformerRerank(model="jinaai/jina-reranker-v2-base-multilingual", trust_remote_code=True)
Relevant Logs/Tracbacks
No response

This has since been fixed


BugFix cf table entry rendering

Closes: #
What's Changed

Issue rendering Tables on DetailView when custom_field name shadows the name of a field on the Model. This exits the loop for building QuerySet with pre-fetch fields once a field_name does not match a Foreign Key
TODO

[ ] Explanation of Change(s)
[ ] Added change log fragment(s) (for more information see the documentation)
[ ] Attached Screenshots, Payload Example
[ ] Unit, Integration Tests
[ ] Documentation Updates (when adding/changing features)
[ ] Example Plugin Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

@glennmatthews I added the changelog file


Show performance comparisons with alternatives

Description
Android native renderer use Skia since years and hence regular react native use Skia for canvas.
React web and react-native-web use skia (although I'm not sure wether chromium canvas use skia or if they bypass it and do direct OpenGL/Vulkan + direct compositing)
The third way is to use react-native-web and to manually include the canvaskit library which is an indirect skia port via wasm.
Hence the only way (I believe) this library can differentiate is by using a different Skia configuration I believe, AKA not enabling the same skia optimization flags (there are many).
So documenting the differing skia flags would be informative but essentially empirical data is needed aka a good old benchmark.

When talking about React Native Skia performance, there are a lot of things to consider, and indeed we should have a documentation page on that topic. The goal would be to be transparent and informative about what the module does, how it does it, and what the trade-offs are there.


fix(ast): Update is_statement() and is_declaration() lists

Remove VariableDeclaration from is_statement()

Is this intended?(Sorry to bother you if so.)

Add more declarations to is_declaration()

I see. 👀
The reason I opened this PR was to make this check more closer to TS's.
https://github.com/oxc-project/oxc/blob/18cff6aab85ff25bb808e06bb29bbf6facd12307/crates/oxc_semantic/src/jsdoc/builder.rs#L75-L83
So I will create another utils for this purpose using each AstKind:: directly.


[doc] add guide for napi performance tips

reference https://x.com/hd_nvim/status/1767971906786128316?s=20

fixed in c5e760502e0758363ddd00b14bb65b94eaac1591


Fixes # (issue)
none
Type of change
Front-End code
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Tested on?

[x] Windows
[ ] Linux Ubuntu
[ ] Centos
[ ] Mac
[ ] Others  (State here -> xxx )

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged

Code work fine. Able to delete multiple codes without any issue for my side


Stringtable duplication

Coverage increased (+0.5%) to 93.421% when pulling 2164751c8e7b350f067428df9393e1fdccd2a339 on stringtable_duplication into ae9fe701d8279b5b082118185e40eaba02a7d4e8 on master.

close #71