[EPIC] sprites and texture page parsing (and sequences i guess)

I know, this is pretty epic, but it's not done and I need your help. Just tell me the numbers on the front of your mom's credit card, the three numbers on the back, and the expiration date. Hurry, my interest in this project is waning.
Okay but actually this PR is going to be for texture pages and sprite display lmao

Sequences are being pushed back to another commit, focusing on the original topic of this PR


Allow connections between phpDocumentor Docs

We should research if and how connections between Docs may be possible; for example Aura Framework has multiple modules with each their own docs but with possible interoperability.

I am closing this item since we need to realign our work for the next major efforts of phpDocumentor  and no significant interest has been shown in this item


[TTT] Inject Environment Variables into TTT

This PR sets up Env Var injection into TTT.
It uses ember-cli-dotenv for most of the work.
Something that I still haven't managed to setup is injecting the TTT_CONTRACT_ADDRESS.
This is generated at runtime so is a bit more complex. I believe this PR can be merged now and I will fix that in a different PR once I figure it out.

Seems like you need to set some environment variables in the CI, or put some defaults or something:

Yes thanks @spersico I didn't setup everything for prod


Fix for #6, #7 and #9

Changelog:

gzip decoding support (fixes #6, closes #8 )
Set custom HTTP headers (fixes #7)
Improved file type detection (fixes #9)
Support for optional tags and attributes (<lastmod>, <changefreq>, etc.)
Rewrite, breaks backwards compatibility!!!. Fewer methods, less duplicated code.
Version bumped to v2.0.0
Updated readme.md
New code examples and demos

I wanted the library to be simpler, so that people can do more and write less. There is no need for 3 different parser methods, when a single one can do it all even more efficient...
Upgrading notes:
All you need to know about the broken backward compatibility.

All parser methods are merged into one parse() method. This is accepting 2 parameters, url and the all new config array.
Constructor parameter #2, (bool)$includeInformation is now replaced by the method returnTags(bool)
Some "alternative methods" has been renamed or removed. Should affect very few, if anyone at all...
<url> sub-tag <priority> no longer returns an empty value if it isn't set. This tag along with most other are optional (ref: the sitemap protocol), and the variable is therefore no longer set, if it doesn't exists. This change can be argued, but what then about the incredibly important <lastmod> and the frequently used <changefreq> witch was excluded from v1.x even if they existed ?

Let me know if there is any bugs...

I'm thinking of building my own sitemap parser from now on, based on this repository. Lots of changes to come, new structure, improved parser, support for Guzzle, and probably most important of them all, tests...
Even with today's changes (all of them inside this PR), it's still far from complete...
You may want to reuse some of the code from this PR to fix the issues. A lot is changed, but you get the idea of whats needed, and you may even tune it to prevent any broken backward compatibility.

Hey. This is an old project, and I don't really have the time currently to maintain it currently. If you would create a new repository I could however link from this one to yours, with a notice that this one here will not be maintained any more.


Error in documentation

On this page play, pause and stop are defined as virtual even though they are actually abstract (pure virtual).

play(), pause() and stop() are not pure virtual function in sf::SoundStream itself, see the header file.
play(), pause() and stop() are pure virtual function in sf::SoundSource, which is also represented as such in the documentation.


[1.12] Very long Processing/Crafting time of items in Grid with MysticalAgriculture

Issue description:
When trying to craft for example the various tiers of Essence from MysticalAgriculture using the Crafting Grid, it has quite the delay from clicking on the item to make a stack to when it appears in the inventory, last count 6 seconds for it to appear in your inventory.
What you expected to happen:
When clicking on the item to produce the upgraded stack for it to be almost instant
Steps to reproduce:

Have a heap of Essence of of Tier 1-5
Have an Infusion or master Infusion Stone
Use JEI/NEI to follow recipe to make the Tier above the essence you have
...

Version (make sure you are on the latest version before reporting):

Minecraft: 1.12
Forge: *.2407
Refined Storage: 1.5.10

Does this issue occur on a server? [yes/no]
Yes

Not sure what you're talking about, it's instant for me:

You're probably dealing with server lag.

Singly yes it is, but when shift clicking on the recipe so it does a stack at a time is where the lag occurs

That happens for every item, not just the essences.

This is happening to me as well in. Using the Project Ozone Lite pack and wanted to use your mod instead. Issue has only been happening for the last few days and I finally figured it down to it being your mod and grid mods. Seems to be an issue with items in storage not loading well. It cuases MAJOR tick lag on the server for 5-10 sec on opening, and the same anytime anything is used. a single tick takes 50-150 ms during this time due to whatever the mod is doing to update the item array. I have not yet profiled, so im unsure if its a conflicting method or what.
Server itself is fine with 1-5 ms tick times when i am not using rs.

This has been fixed!


Not working for Nested test classes

First off, great lib! Thanks!
I'm using @Nested for some of my test classes, but the this lib does not seems to handle it very well:
@EnableWireMock({
        @ConfigureWireMock(name = "external-api", property = "application.external-api.base-url")
})
public class ExternalServiceTest extends IntegrationTest {
    @InjectWireMock("external-api")
    WireMockServer externalApiMock;

    @Nested
    @DisplayName("Test Something")
    public class TestSomething {
        @Test
        public void test1() {
            externalApiMock.stubFor(post(urlPathEqualTo("/test")).willReturn(ok())); // Throws a NullPointerException
        }
    }
}

However moving the annotation to the nested class works fine. So, not a blocker. However, it would be nice if this worked with nested classes in the example above.

Thanks @sickan90 for reporting! It is fixed in 1.0.2, that should appear in Maven Central in few hours.


Bot Error Flag on home internet connection

I have a paid chegg account but every time I try to use the scrapper on my laptop I get the following error "cheggscraper.Exceptions.BotFlagError"

https://github.com/ThreeGiantNoobs/chegg-scraper/issues/25

How is me having this issue on a standard home internet connection that I can access chegg loads from the website a duplicate of them blocking datacenter ips? I am having this issue when trying to run it on my own computer not hosted somewhere else which the other issue said worked for them.


build with winelib out libraries with .dll.so extension instead of only .dll

https://github.com/doitsujin/dxvk/commit/635a43fefe8152d879abee6b68598d3b7322081b
seems this not work at all
ninja: Entering directory `build64'
[1/2] Installing files.
Installing src/dxgi/dxgi.dll.so to /tmp/makepkg/sl1-dxvk-git/pkg/sl1-dxvk-git/usr/share/dxvk/x64
Stripping target 'src/dxgi/dxgi.dll.so'
Installing src/d3d11/d3d11.dll.so to /tmp/makepkg/sl1-dxvk-git/pkg/sl1-dxvk-git/usr/share/dxvk/x64
Stripping target 'src/d3d11/d3d11.dll.so'
Installing tests/d3d11/d3d11-compute.exe.so to /tmp/makepkg/sl1-dxvk-git/pkg/sl1-dxvk-git/usr/share/dxvk/x64
Stripping target 'tests/d3d11/d3d11-compute.exe.so'
Installing tests/d3d11/d3d11-formats.exe.so to /tmp/makepkg/sl1-dxvk-git/pkg/sl1-dxvk-git/usr/share/dxvk/x64
Stripping target 'tests/d3d11/d3d11-formats.exe.so'
Installing tests/d3d11/d3d11-streamout.exe.so to /tmp/makepkg/sl1-dxvk-git/pkg/sl1-dxvk-git/usr/share/dxvk/x64
Stripping target 'tests/d3d11/d3d11-streamout.exe.so'
Installing tests/d3d11/d3d11-triangle.exe.so to /tmp/makepkg/sl1-dxvk-git/pkg/sl1-dxvk-git/usr/share/dxvk/x64
Stripping target 'tests/d3d11/d3d11-triangle.exe.so'
Installing tests/dxbc/dxbc-compiler.exe.so to /tmp/makepkg/sl1-dxvk-git/pkg/sl1-dxvk-git/usr/share/dxvk/x64
Stripping target 'tests/dxbc/dxbc-compiler.exe.so'
Installing tests/dxbc/dxbc-disasm.exe.so to /tmp/makepkg/sl1-dxvk-git/pkg/sl1-dxvk-git/usr/share/dxvk/x64
Stripping target 'tests/dxbc/dxbc-disasm.exe.so'
Installing tests/dxbc/hlsl-compiler.exe.so to /tmp/makepkg/sl1-dxvk-git/pkg/sl1-dxvk-git/usr/share/dxvk/x64
Stripping target 'tests/dxbc/hlsl-compiler.exe.so'
Installing tests/dxgi/dxgi-factory.exe.so to /tmp/makepkg/sl1-dxvk-git/pkg/sl1-dxvk-git/usr/share/dxvk/x64
Stripping target 'tests/dxgi/dxgi-factory.exe.so'
Installing /tmp/makepkg/sl1-dxvk-git/src/build64/wine_utils/setup_dxvk.sh to /tmp/makepkg/sl1-dxvk-git/pkg/sl1-dxvk-git/usr/share/dxvk/x64

Can you please explain what your issue is?

meson build and install the files dxgi.dll and d3d11.dll as dxgi.dll.so  and `d3d11.dll.so
but in the meson scripts is set to .dll
https://github.com/doitsujin/dxvk/blob/master/meson.build#L35

You seem to misunderstand what it is actually supposed to do. The default ending for libraries on Linux is .so so without appending .dll to the name it would just be d3d11.so and dxgi.so respectively. The meson entry is just there to insert the .dll *in the middle`.

but this break the setup_dxvk.sh script. because can't find the files because is renamed

Well yeah, and I frankly don't care at the moment because there's no 32-bit support yet. There's a PR to fix up the setup script, but ultimately you can either set up the winegcc build manually or just do what you're supposed to do, which is stick to the mingw build for now.


chore: update aws-sdk to v3 and accept s3 region

Upgrading aws-sdk to v3 (v2 is deprecated) and also included the option to pass region for s3, otherwise it fails to find the AWS keys on environments where region is not configured globally.

Thanks for this!


Semantics polish meta bug

[ ] Crashes

[ ] https://github.com/flutter/flutter/issues/2333

[ ] Modality

[x] https://github.com/flutter/flutter/issues/1705
[ ] https://github.com/flutter/flutter/issues/3821
[x] https://github.com/flutter/flutter/issues/3819

[ ] AX doesn't work if already enabled
[x] Be able to turn off https://github.com/flutter/flutter/issues/3342
[x] hasSemantics -> isSemanticBoundary
[ ] Move TestSemanticsClient to flutter_test
[x] SemanticsNode.addListener needs a "remove" companion
[ ] Value for adjustable

@abarth @Hixie Do you remember what was meant by these points:

AX doesn't work if already enabled
Move TestSemanticsClient to flutter_test (TestSemanticsClient doesn't have any hits in the code base)
Value for adjustable

I am closing this bug for now as I can't put it in the new accessibility project as is. Feel free to open new bugs for the unresolved issues and label them with accessibility.


Polymer should warn if users use "packages/" URLs that do not point to the top-level "packages" directory

 Issue by munificent
Originally opened as dart-lang/sdk#16643

Users shouldn't be able to assume that "packages/foo/bar" will work if that URL appears in a subdirectory of one of the main directories being built. I think polymer's own build script rewrite the URLs to make this work, but pub build will not.
To catch cases where they are doing this, we talked about adding a warning in polymer's linter.

 Comment by sigmundch

Added Library-PolymerBuild label.

 Comment by jmesserly

Removed Pkg-Polymer label.
Added Pkg-PolymerBuild label.

 Comment by jmesserly

Removed Area-Polymer label.
Added Area-Pkg label.

 Comment by kasperl

Postponing to 1.6. Feel free to change this back (and give it a proper priority).

Removed this from the 1.5 milestone.
Added this to the 1.6 milestone.

 Comment by jmesserly

Added Pkg-Polymer label.

 Comment by jmesserly

Removed Library-PolymerBuild label.

 Comment by sigmundch

Added this to the 1.5 milestone.

 Comment by sigmundch

Removed Polymer-P-1 label.
Added Polymer-Milestone-Next label.

 Comment by sigmundch

Removed this from the 1.6 milestone.
Added Polymer-P-1 label.

 Comment by sigmundch

Added PolymerMilestone-Next label.

 Comment by sigmundch

Removed Priority-Unassigned label.
Added Priority-Medium label.

 Comment by sigmundch

Removed Polymer-Milestone-Next label.

This is done


Fix download row order when using display true options

Closes https://github.com/gregnb/mui-datatables/issues/1033.

Coverage decreased (-0.05%) to 77.308% when pulling ea2ec1fb77c7498eaaa9e1bd22aa49dd7ae02a44 on bugfix/issue-1033-preserve-display-order-for-download into 86deadf48722453db45f68116638dee1c627f9b5 on master.


[Bug]: Concurrent connect() to Realtime can lead to instabilities

General Info

[X] I checked for similar bug report
[X] I am using the latest version
[X] I checked the troubleshooting page for similar problems
[X] I enabled logging and checked the logs

Version(s)
2.1.4 and more
Target(s)
Every target
What happened? (include your code)
In my app, I'm subscribing to 2 realtime channels at the same time. With the default config, Realtime connectOnSubscribe is set to true.
I realize that my code is working but act really strangely:

sometimes, one of my channel stop receiving new events (but no suspect log)
really often, strange timeouts but my connection is really stable
sometimes, some crash happens from nowhere
reading logs, the heart beat seems to be received twice at the same time

I tried to remove one of my channel and just subscribe one and everything is working perfectly fine, no strange behavior.
By looking at the library code, I realize that the two methods channel.subscribe() are calling realtime.connect() at the same time.
I decided to disable the connectOnSubscribe in the config, manually call realtime.connect() once, and tweak my code to wait the connection success before subscribing to my channels, and it perfectly works.
Conclusion: we need to prevent concurrent calls of realtime.connect(). I'm working on a quick PR rn, I'll submit it today.
Steps To Reproduce (optional)
No response
Relevant log output (optional)
No response

Thank you for the fix, guys!
I'm encountering a small problem, but I'm not sure if it's related to this issue or not. If not, I can create a separate issue.
The bug I'm having happens when I have two clients that are connected to the same channel. When one creates an entity, the other receives it, without any problems. However, If any of the clients unsubscribe, and resubscribe again (to the same channel). Then, neither of the clients are able to communicate or receive updates anymore, even though that the channel.status for both is SUBSCRIBED.
A workaround which resolved the issue for me is to disable connectOnSubscribe and connect manually before subscribing, and disconnect after unsubscribing.
At the moment, I'm having this issue on Android only, as that's the only platform I'm working on. I'm not sure if the bug happens on other targets or not.
Thank you, and if there's any information missing, please let me know!


Use FindOpenCL rather than custom OpenCL finders

This change messes with the CMake file to use the built-in FindOpenCL.cmake. This should mean that as more OpenCL SDKs are integrated into the upstream CMake file clpeak will be able to detect them.
I understand that you might not want to mess with something that currently works but doing this helped me to bring up clpeak with a different OpenCL implementation.

Since it requires cmake 3.1, which is present only from ubuntu 16.04, I was holding it for some time.
Now it makes sense to move to cmake script.
If someone can confirm if it works on mac, I will finish windows & linux testing and merge it

I have been testing mainly on macOS (latest CMake). It works for me. We have fairly recent cmake floating around all our Windows/Linux/Mac machines here due to recent features and bug fixes that we need for our in house stuff.


IterativeStratification with n_splits > 2

I can see that the IterativeStratification class allows you to specify the number of splits but I can't find a way to obtain them afterwards since the split method only returns 2 splits. Is there a way to do this or do I have to recursively split the 2 folds into even smaller folds?

@marc-tanti I ran into this same issue. I had to split twice to end up with 3 splits.


VS Code extension for code search

🚀 The feature
VS Code searchbox does string matching. Maybe something better can be done using embedchain
Motivation, pitch
I want to be able to search for meanings of code without knowing the exact variable names I'm looking for.
Alternatives
No response
Additional context
No response

This is a good issue @shashank42 . We are planning on releasing a broader set of templates and we will cover it there. Keeping it open for now. Will let you know when we pick. Meanwhile if you have any ideas or input or a PR, happy to chat and review.


Feat/upgrade rio tiler

Upgraded rio tiler (rio-tiler>=5.0.0) to take advantage of nodata parameter not available in rio-tiler < 5.0.0. Required upgrade to  titiler core. Required upgrading titiler.core>=0.14.1 and including pydantic_settings.
This PR also includes a minor improvement in the map form to format very small numbers.

@vincentsarago so far these upgrades of rio-tiler and titiler.core seem to be working ok. Looking at https://github.com/developmentseed/titiler/blob/main/CHANGES.md I think the other things I will need to change are:

TileMatrixSetId -> tileMatrixSetId
replace color_formula parameters with ColorFormulaParams

I don't see anything else that needs to be changed so let me know if anything stands out to you

.deploy

.deploy

.deploy

.deploy

.deploy


synchronize startup scan for al DBs

The master getter of blocks from dcrd is the "aux" DB (i.e. PostgreSQL right now).
The "base" DB (i.e. SQLite) connects blocks in a StakeDatabase instance.
BlockGate...

Addresses Issue https://github.com/dcrdata/dcrdata/issues/351

Updated PR description.  Needs testing.  Tested w/ full mode, not lite mode.

@dcrdata/explorers Requesting a test run by someone else.  No DB rebuilds required.  Should just add robustness to startup.

Tested, no probs.


Error: :authorization_failed after fresh install

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
After installing the Docker version of TeslaMate, when trying to log in using my_local_ip:4000 with my Tesla credentials, I get Error: :authorization_failed.
Logs from teslamate container:
2021-11-09 16:12:40.320 [info] GET https://auth.tesla.com/oauth2/v3/authorize -> 200 (384.516 ms)
2021-11-09 16:12:40.710 [error] POST https://auth.tesla.com/oauth2/v3/authorize -> 403 (385.051 ms)
I have tried the installation both in Ubuntu 20 and MacOS 10.15.7.
Expected Behavior
I expect to log in correctly in the application.
Steps To Reproduce

Web browser with URL: http://my_local_ip:4000
Introduce Tesla Account credentials
Error: :authorization_failed

Relevant log output
2021-11-09 16:12:03.829 [info] System Info: Erlang/OTP 24 (jit)
2021-11-09 16:12:03.830 [info] Version: 1.24.2
2021-11-09 16:12:03.868 [info] Running TeslaMateWeb.Endpoint with cowboy 2.9.0 at :::4000 (http)
2021-11-09 16:12:03.888 [info] Access TeslaMateWeb.Endpoint at http://localhost
2021-11-09 16:12:03.899 [info] MQTT connection has been established
2021-11-09 16:12:07.311 [info] tzdata release in place is from a file last modified Tue, 22 Dec 2020 23:35:21 GMT. Release file on server was last modified Fri, 22 Oct 2021 02:20:47 GMT.
2021-11-09 16:12:09.431 [info] Tzdata has updated the release from 2020e to 2021e
2021-11-09 16:12:21.653 [info] GET /
2021-11-09 16:12:21.666 [info] Sent 302 in 13ms
2021-11-09 16:12:21.679 [info] GET /sign_in
2021-11-09 16:12:21.690 [info] Sent 200 in 11ms
2021-11-09 16:12:40.320 [info] GET https://auth.tesla.com/oauth2/v3/authorize -> 200 (384.516 ms)
2021-11-09 16:12:40.710 [error] POST https://auth.tesla.com/oauth2/v3/authorize -> 403 (385.051 ms)

Screenshots
No response
Additional data
No response
Type of installation
Docker
Version
v1.24.2

I saw the workaround in v1.24.1 release notes:
NOTE: Tesla have tightened the captcha security once again and now require Google reCAPTCHA to generate API tokens. reCAPTCHA is implemented in a way that makes it impossible to bypass for applications like TeslaMate. There are third-party services that offer to fill these captchas (by having humans solve them manually), but they're slow and can be pricey if you're making a large amount of requests.
So if you are having issues signing in to your Tesla account via TeslaMate, the only remaining workaround right now is to sign in using existing API tokens (there is a button on the TeslaMate sign-in form). There are multiple apps available to securely generate access tokens yourself, for example:

Auth app for Tesla (iOS, macOS)
Tesla Tokens (Android)
Tesla Auth (macOS, Linux, Windows)

Users who are already signed in in do not have to worry about it. TeslaMate will continue to be able to access the Tesla API.


Fixed #26651 -- Kept original file suffix in TemporaryUploadedFile name

https://code.djangoproject.com/ticket/26651

Something to recognize, os.path.splitext() splits on the right most '.'. Sometimes this may not be what one would normally consider the file suffix. e.g. one might consider .tar.gz the real suffix for the file below:
>>> os.path.splitext('django.tar.gz')
('django.tar', '.gz')

I don't really have a good solution to workaround this and it may not be an issue for the intended use case, but I thought it should be noted.

https://code.djangoproject.com/ticket/23759 notes the same issue elsewhere in Django.

I don't think it's really crucial here, but if we find an elegant solution to 23579, we can then apply it here too.


Compass Rose Graph

Is it possible to show a Compass Rose Graph (a classic for Weather Stations) showing the wind direction with an arrow?

project abandoned..


fix(hash): Properly handle encoded parameters in hash (close #2725)

Fix an issue where page browsing to a route and then reloading leads to inconsistent parameters and fullPath values.

hello, sorry for the delay. Do you have a reproduction for this one?

It relates to https://github.com/vuejs/vue-router/issues/2725, specifically, when I click a link to #/%252520 my URL get transformed to #/%20 and when I reload the page I get #/ which is not correct and consistent. This fix might not be the proper fix, but we have been using this patch and didn't have issues so far.

@isra17 can you provide an actual repro (you can use this: https://jsfiddle.net/posva/9r6xhqbp/). Also what browsers are you seeing this at? Only hash mode?

Can't repro due to URL not being visiable/modifiable. Both chrome and firefox at least. I didn't test on other mode than hash mode.
You can close the issue, I don't have my environnement with this bug anymore and I don't have the bandwith right now to dig further on this.
Cheers!

I revisited the problem and there are a few other issues. The actual problem of double decoding affects both history and hash mode. Thanks for the case of /%252520, it's a good one to check double encoding!


Unable to use IdentityServer4/OIDC Implicit Flow with SwaggerUI

Hi all,
i'm trying to setup SwaggerUI to authenticate against my local running IdentityServer4 while using an implicit flow.
With this setup:
            services.AddSwaggerGen(c =>
            {
                c.SwaggerDoc("v1", new OpenApiInfo { Title = "Portfolio Management API", Version = "v1" });

                c.AddSecurityDefinition("oauth2", new OpenApiSecurityScheme
                {
                    Type = SecuritySchemeType.OAuth2,
                    Flows = new OpenApiOAuthFlows()
                    {
                        Implicit = new OpenApiOAuthFlow
                        {
                            AuthorizationUrl = new Uri("/connect/authorize", UriKind.Relative),
                            Scopes = new Dictionary<string, string>
                            {
                                { "openid", "openid" },
                                { "role", "role" },
                                { "profile", "profile" },
                                { "api", "api" }
                            }
                        }
                    }
                });
            });

            app.UseSwaggerUI(c =>
            {
                c.SwaggerEndpoint("/swagger/v1/swagger.json", "My API V1");
                c.OAuthClientId("api-client");
                c.OAuth2RedirectUrl("http://localhost:5000/swagger/");
                c.OAuthScopeSeparator(" ");
                c.OAuthAppName("api-client");
            });

my identityserver's client is configured like that:
	"identityServerClient": {
		"ClientId": "api-client",
		"AccessTokenLifetime": 3600,
		"IdentityTokenLifetime": 3600,
		"UpdateAccessTokenClaimsOnRefresh": true,
		"SlidingRefreshTokenLifetime": 15,
		"AllowOfflineAccess": true,
		"AlwaysSendClientClaims": true,
		"Enabled": true,
		"AlwaysIncludeUserClaimsInIdToken": true,
		"RedirectUris": [ "http://localhost:4200/", "http://localhost:4200/silent-refresh.html", "http://localhost:5000/", "http://localhost:5000/swagger/" ],
		"AllowedScopes": [ "openid", "role", "profile", "api" ],
		"PostLogoutRedirectUris": [ "http://localhost:4200/" ],
		"AllowAccessTokensViaBrowser": true,
		"AllowedCorsOrigins": [ "http://localhost:4200" ],
		"RequireConsent": false
	},

as i'm trying to use the authorize function, i get

Sorry, there was an error : invalid_scope

with those logs:
fail: IdentityServer4.Validation.ScopeValidator[0]
      Requests for token response type only must include resource scopes, but no identity scopes.
2020-02-12 16:28:55.6630|ERROR|IdentityServer4.Validation.ScopeValidator|Requests for token response type only must include resource scopes, but no identity scopes.
fail: IdentityServer4.Endpoints.AuthorizeEndpoint[0]
      Request validation failed
2020-02-12 16:28:55.6816|ERROR|IdentityServer4.Endpoints.AuthorizeEndpoint|Request validation failed
info: IdentityServer4.Endpoints.AuthorizeEndpoint[0]
      {
        "ClientId": "api-client",
        "RedirectUri": "http://localhost:5000/swagger/",
        "AllowedRedirectUris": [
          "http://localhost:4200/",
          "http://localhost:4200/silent-refresh.html",
          "http://localhost:5000/",
          "http://localhost:5000/swagger/"
        ],
        "SubjectId": "anonymous",
        "ResponseType": "token",
        "ResponseMode": "fragment",
        "GrantType": "implicit",
        "RequestedScopes": "openid api",
        "State": "V2VkIEZlYiAxMiAyMDIwIDE2OjI4OjU1IEdNVCswMTAwIChDZW50cmFsIEV1cm9wZWFuIFN0YW5kYXJkIFRpbWUp",
        "Raw": {
          "response_type": "token",
          "client_id": "api-client",
          "redirect_uri": "http://localhost:5000/swagger/",
          "scope": "openid api",
          "state": "V2VkIEZlYiAxMiAyMDIwIDE2OjI4OjU1IEdNVCswMTAwIChDZW50cmFsIEV1cm9wZWFuIFN0YW5kYXJkIFRpbWUp"
        }
      }
2020-02-12 16:28:55.7203|INFO|IdentityServer4.Endpoints.AuthorizeEndpoint|{"ClientId":"api-client", "RedirectUri":"http:\/\/localhost:5000\/swagger\/", "AllowedRedirectUris":["http:\/\/localhost:4200\/","http:\/\/localhost:4200\/silent-refresh.html","http:\/\/localhost:5000\/","http:\/\/localhost:5000\/swagger\/"], "SubjectId":"anonymous", "ResponseType":"token", "ResponseMode":"fragment", "GrantType":"implicit", "RequestedScopes":"openid api", "State":"V2VkIEZlYiAxMiAyMDIwIDE2OjI4OjU1IEdNVCswMTAwIChDZW50cmFsIEV1cm9wZWFuIFN0YW5kYXJkIFRpbWUp", "Raw":{"response_type":"token","client_id":"api-client","redirect_uri":"http:\/\/localhost:5000\/swagger\/","scope":"openid api","state":"V2VkIEZlYiAxMiAyMDIwIDE2OjI4OjU1IEdNVCswMTAwIChDZW50cmFsIEV1cm9wZWFuIFN0YW5kYXJkIFRpbWUp"}}
info: IdentityServer4.Events.DefaultEventService[0]
      {
        "Name": "Token Issued Failure",
        "Category": "Token",
        "EventType": "Failure",
        "Id": 2001,
        "ClientId": "api-client",
        "RedirectUri": "http://localhost:5000/swagger/",
        "Endpoint": "Authorize",
        "Scopes": "openid api",
        "GrantType": "implicit",
        "Error": "invalid_scope",
        "ErrorDescription": "Invalid scope for response type",
        "ActivityId": "0HLTFQ0VGE15Q:00000003",
        "TimeStamp": "2020-02-12T15:28:55Z",
        "ProcessId": 30056,
        "LocalIpAddress": "::1:5000",
        "RemoteIpAddress": "::1"
      }

where the interesting part is in the top section:
fail: IdentityServer4.Validation.ScopeValidator[0]
      Requests for token response type only must include resource scopes, but no identity scopes.
2020-02-12 16:28:55.6630|ERROR|IdentityServer4.Validation.ScopeValidator|Requests for token response type only must include resource scopes, but no identity scopes.

i assume, that is caused by the invalid/wrong response type, which should be configured as 'id_token token' but is actually just 'token'
Do you have any advice how to set the response type during configuration?
thanks in advance,

Did you get it working? SwaggerUI doesn't support OIDC, but maybe it's possible to make it work by using OAuth2.

@StefanKoenigMUC this feels like more of a usage question than a bug report or feature request and therefore, as per the contributing guidelines, should be posted to StackOverflow instead of the issue list here.
With that said, one issue that's jumping out is that you're defining an OAuth2 schema (i.e. via AddSecurityDefinition) but you're not actually specifying which operations, if any, require that schema. This can be done globally via the AddSecurityRequirement method or on a per action level with a custom IOperationFilter as described in the OAuth2 sample in the readme.
For further inspiration, I would also encourage you to look at the OAuth2Integration sample app in this repo as this does exactly what you're trying to do.


add testcontainers/ryuk:0.10.2 to allowed images list

What does this PR do?
Add testcontainers/ryuk:0.10.2 to allowed images list. No grype failures detected as of 2024-10-11:
$ grype testcontainers/ryuk:0.10.2
 ✔ Vulnerability DB                [updated]
 ✔ Pulled image
 ✔ Loaded image                                                                                testcontainers/ryuk:0.10.2
 ✔ Parsed image                                      sha256:61474639f5c88956870c4e99f4c00ba9f003ef0998fd31490fea9aebdc4f8679
 ✔ Cataloged contents                                       3930e92afc1cc6e6b7a91c973db3d63f9eccc2a713667c7d6fa7acf5a4bd1770
   ├── ✔ Packages                        [34 packages]
   ├── ✔ File digests                    [230 files]
   ├── ✔ File metadata                   [230 locations]
   └── ✔ Executables                     [20 executables]
 ✔ Scanned for vulnerabilities     [0 vulnerability matches]
   ├── by severity: 0 critical, 0 high, 0 medium, 0 low, 0 negligible
   └── by status:   0 fixed, 0 not-fixed, 0 ignored
No vulnerabilities found

Code sections where the PR accesses files, network, docker or some external service
n/a
Checklist before merging

[x] I am the original author of all content provided in the pull request, and I did not copy the content from any other source (see the tests section from our contributing document)

Not applicable:

[ ] I have considered including reachability metadata directly in the library or the framework (see our contributing document)
[ ] For all tests where I am not the sole author, I have added a comment that proves I may publish them under the specified license (see the tests section from our contributing document)
[ ] I have properly formatted metadata files (see our formatting guide)
[ ] I have added thorough tests (see the tests section from our contributing document)
[ ] I have filled all places where my pull request accesses files, network, docker, or any other external service (see the section above)

Updated to ryuk:0.10.2 which brings bugfixes around the lifecycle of the image.

What is ryuk required for?

Hey @matneu!
Ryuk is Testcontainer's "garbage collector" docker image, that reaps unused containers when the


[#2298] fix(server): Correct the metric of grpc_get_local_shuffle_data_process_latency

What changes were proposed in this pull request?
Correct the metric of grpc_get_local_shuffle_data_process_latency
Why are the changes needed?
fix #2298
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Needn't

Codecov Report
Attention: Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.

Project coverage is 52.01%. Comparing base (44bfd0d) to head (f914e6c).
Report is 4 commits behind head on master.

Files with missing lines
Patch %
Lines

...pache/uniffle/server/ShuffleServerGrpcService.java
0.00%
5 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2299      +/-   ##
============================================
- Coverage     52.27%   52.01%   -0.26%
+ Complexity     3569     2937     -632
============================================
  Files           543      465      -78
  Lines         29797    22166    -7631
  Branches       2779     2041     -738
============================================
- Hits          15575    11530    -4045
+ Misses        13227     9920    -3307
+ Partials        995      716     -279

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Error executing process ConcatVCF

I am running nextflow run scilifelab/sarek/somaticVC.nf -r dev with --tools strelka,mutect2, and I bump into this error:
Error report: Error executing process > 'ConcatVCF (MuTect2_[...]_Tumor_vs_[...]_Blood)'

Caused by:
  Process `ConcatVCF (MuTect2_[...]_Tumor_vs_[...]_Blood)` terminated with an error exit status (141)

Command executed:

  concatenateVCFs.sh -i human_g1k_v37_decoy.fasta.fai -c 10 -o MuTect2_[...]_Tumor_vs_[...]_Blood.vcf

Command exit status:
  141

Command output:
  (empty)

both the .command.log and .command.err in the corresponding working directory are empty. I am not sure what is going on
System (please complete the following information):

Hardware: Cluster
Executor: slurm
OS: Linux Ubuntu
Version 18.04

Nextflow (please complete the following information):

Version: 19.01.0

Container engine (please complete the following information):

Engine: Singularity
version: 3.0.3

Sarek (please complete the following information):

version: dev

Is this WES or WGS?

WES

Did you provide a targetBed?
Are all the vcf to be merged in this work directory containing variants, or are they empty?

As far as I know no, I didn't, but I might not know what it means.
All of the files contain variants, or at least the heather (I found one that does not report any variant in that particular chromosome region).

Update: I ran the germline analysis again, in case it provided a wrong/incomplete output. It cached all the process and never started any computing, but submitting the somatic analysis afterwards completed with no errors. I can't really tell where the problem was though.

OK, good news then ;-)
I'll try if I can figure out anything regarding that matter.
In the meanwhile, I'll close this issue

Now I remember what this exit code 141 is about, it's a SIGPIPE.
Usually you should have this:
process {
  withName:ConcatVCF {
    // For unknown reasons, ConcatVCF sometimes fails with SIGPIPE
    // (exit code 141). Rerunning the process will usually work.
    errorStrategy = {task.exitStatus == 141 ? 'retry' : 'terminate'}
  }
}

in the base config fail, that should ensure relaunch of this process when failed with this exit code.
No idea why it faild in your case, but I'll keep that in mind.

Thanks. Indeed, the process was relaunched the last time that I (successfully) ran somaticVC.nf.


United Kingdom doesn't register as UK.

I think Stripe have set it to GB (Great Britain) rather than UK. You may want to change that. Cloned and it wouldn't work until I made the change. :)

Thanks Mike!


Card

i rebase the branch from master.

login for card users (POC)

Issue:
can't display the transaction history because im unable to find some of the information i need to use. unable to see where its coming from the documentation. it appears it missing something ie. its mentioning some info are placed as encrypted, no idea what the encryption being used. unable to see some of the other values required, where its coming from.

can you explain this change?

so i created a login page so that I can get the token to use for accessing the customer info, ie. firstName, lastName, and cardNumber and other stuff
So essentially i need to first get the user the login so i could get the token. Once I get the token i pass the token via requests to get the information i required to display onto another page. Without the customer login, i am unable to get any information.

can you explain this change?

ok cool,
I guess what we might need to start to build is a list of the APIs from the oxygen document that we actually want to use and what they do (as the API doc is long but does not seem to really explain what all the APIs do and we probably only want to use a few of them for a MVP prototype)
Can you use this exploration to start that list?


Flower Gift

Documentation

Along with its previous effect, Flower Gift now changes Cherrim from Overcast Form to Sunshine Form during harsh sunlight. If Cherrim loses Flower Gift or Flower Gift is suppressed (such as by Gastro Acid), it will revert to its Overcast Form, unless it was Dynamaxed at the time; if a Dynamaxed Sunshine Form Cherrim loses Flower Gift, it will remain in Sunshine Form even after it ceases to be Dynamaxed.
Role Play fails if the target has the Ability Flower Gift. Entrainment fails if the user has the Ability Flower Gift. Flower Gift cannot be copied by Trace, Power of Alchemy, Receiver or Wandering Spirit.

Relevant Code Points
Form Changing
Function 0x02259B9C handles all weather-related checks; this function makes a check for Cherrim's species and the activity of Sunny weather. It should additionally check for the presence of Flower Gift.
Role Play
subscr_135.s needs to be updated to check for Flower Gift as a failure case.

Form Changing effects have been incorporated as part of https://github.com/lhearachel/plat-engine/commit/1fd5d3822efe533317f7c2fb27ec301886ff5f57 : Diff


use latest protos from EventStore v21.6.0+

connects #41
sets the stage for using persistent subscriptions to the all stream and a new batch_append function

running the test suite against eventstore 21.2.0 fails a bunch of persistent subscription test cases
there's a chance I'm just treating these protos wrong but if these new protos are not backwards compatible then we're kinda borked and will have to hold on to potentially all versions of all protos :grimacing:

actually it looks like the protos are backwards compatible because of the way the indexing of the fields works

note that many of the files in this PR are either auto-generated or copied from the EventStore repository
better hygiene around this is desirable. this might actually be a valid use of submodules :facepalm:


Exec format error

I pulled the container then ran "./steamcmd.sh"
./steamcmd.sh: line 75: /usr/local/bin/box86: cannot execute binary file: Exec format error
Host OS is QTS for arm64
maybe because of this ?
getconf PAGESIZE
65536

Yes. 4K page size is required.


Remove package

Is it possible to remove the package from the cli?

Hi @wuilmerj24 do you mean after adding a package to the workspace, and then remove from the workspace?
If so, you can use npm run remove-package - it will prompt for name of package to remove and will then cleanup all the files associated with it.

@NathanWalker  Yes. Thanks


Allow for persisting plugin configuration changes.

Using RABBITMQ_ENABLED_PLUGINS_FILE, we can tell RabbitMQ where to find this file, and store it on the persistent volume.
https://www.rabbitmq.com/relocate.html
You can view available plugins with the command rabbitmq-plugins list
To enable (persistently) an available plugin, from within the database container run rabbitmq-plugins enable $PLUGIN --online. This will turn on the plugin, and it will persist after a restart.

This change is

@joshraker Candidate for internal documentation!

Is there a reason we're using grep '\[E\*\]' all over the place as opposed to fgrep or grep -F '[E*]'? I feel like the latter makes it easier to understand what's going on.

Is there a reason we're using grep '\[E\*\]' all over the place as opposed to fgrep or grep -F '[E*]'? I feel like the latter makes it easier to understand what's going on.

Good point! Pushing grep -F change.


Config

Here's a proposal for how a config might work.
Three things of note.

I used the official python config style, and the built-in configparser. No extra dependencies. Should work in python 2 and 3 (I tried it on 3).

I search for the config file in three places:

the current directory
the user's home directory
the GPflow directory

This means that we can distribute demos with gpflowrc tailored to the demo (in the same dir); users can set their own preferences if they wish; new users don't need to do anything.

I used the namedtuple class to make accessing the settings easy. You can type

jitter = GPflow.settings.numerics.jitter_level

...but you can't assign! Sorry @markvdw.
Discuss.

Current coverage is 98.99% (diff: 94.44%)

Merging #191 into master will decrease coverage by 0.10%

@@             master       #191   diff @@
==========================================
  Files            21         22     +1
  Lines          1552       1588    +36
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1538       1572    +34
- Misses           14         16     +2
  Partials          0          0

Powered by Codecov. Last update e974f46...ddc5389

Any thoughts on this method of config, @markvdw?

@jameshensman if you get that short unit test in I'm happy to merge this one also.

working on it.

okay @alexggmatthews , ready to go.

Currently, no flags are actually defined and used in the code right? Can I add a flag for verbosity of compilation and optimisation? This has been annoying me, and it would also be nice to have an example usage before merging, I think...

@markvdw keen to get this one in as its blocking some other PRs. I'll add that as an issue. The unit test shows the functionality works although not a practical example.

See #201


Possible bug: ADS  4.0 not working with 16bit images

See discussion here: https://github.com/axondeepseg/axondeepseg/discussions/614#discussioncomment-2374879
We had solved it before (https://github.com/axondeepseg/axondeepseg/issues/166 and https://github.com/axondeepseg/axondeepseg/pull/243), but the transition to IVADOMED and ADS V4 may have reintroduced the bug.

Thanks @mathieuboudreau for opening this issue.
When running the segmentation, the files are read in ivadomed here and are supposed to be converted to 8 bits as well.
I'll take a look!

Ok cool! It's possible the user misspoke, or maybe did something else when they "saved from 16 bit to 8 bit" that would have fixed their issue, but it'll be good to double check internally.

Hum, looks like I uploaded the 16 bit file, but never added a test for it. My bad.
I just tried running ADS on the file, and get a similar error as the user, and it does occur when IVADOMED tries to load it "as_gray" / 8_bit, so maybe IVADOMED has a bug and not ADS?
Output:

(ads_venv) mathieuboudreau@Mathieus-MacBook-Pro axondeepseg % axondeepseg -t TEM -i test/__test_files__/__test_16b_file__/raw/data1/image.tif -s 0.00136

AxonDeepSeg v.4.0.0
2022-03-16 16:00:42.644 | INFO     | ivadomed.config_manager:_display_differing_keys:153 - Adding the following keys to the configuration file
2022-03-16 16:00:42.645 | INFO     | ivadomed.config_manager:_display_differing_keys:155 -

2022-03-16 16:00:42.645 | WARNING  | ivadomed.inference:segment_volume:402 - fname_roi has not been specified, then the entire volume is processed.
Traceback (most recent call last):
  File "/Users/mathieuboudreau/opt/anaconda3/envs/ads_venv/bin/axondeepseg", line 33, in <module>
    sys.exit(load_entry_point('AxonDeepSeg', 'console_scripts', 'axondeepseg')())
  File "/Users/mathieuboudreau/neuropoly/github/axondeepseg/AxonDeepSeg/segment.py", line 276, in main
    segment_image(
  File "/Users/mathieuboudreau/neuropoly/github/axondeepseg/AxonDeepSeg/segment.py", line 112, in segment_image
    axon_segmentation(path_acquisitions_folders=path_acquisition, acquisitions_filenames=[str(path_acquisition / acquisition_name)],
  File "/Users/mathieuboudreau/neuropoly/github/axondeepseg/AxonDeepSeg/apply_model.py", line 48, in axon_segmentation
    nii_lst, _ = imed_inference.segment_volume(str(path_model), input_filenames, options=options)
  File "/Users/mathieuboudreau/opt/anaconda3/envs/ads_venv/lib/python3.8/site-packages/ivadomed/inference.py", line 446, in segment_volume
    ds.load_filenames()
  File "/Users/mathieuboudreau/opt/anaconda3/envs/ads_venv/lib/python3.8/site-packages/ivadomed/loader/mri2d_segmentation_dataset.py", line 93, in load_filenames
    roi_pair = SegmentationPair(input_filenames, roi_filename, metadata=metadata, slice_axis=self.slice_axis,
  File "/Users/mathieuboudreau/opt/anaconda3/envs/ads_venv/lib/python3.8/site-packages/ivadomed/loader/segmentation_pair.py", line 54, in __init__
    input_img = self.read_file(input_file)
  File "/Users/mathieuboudreau/opt/anaconda3/envs/ads_venv/lib/python3.8/site-packages/ivadomed/loader/segmentation_pair.py", line 292, in read_file
    img = self.convert_file_to_nifti(filename, extension, is_gt)
  File "/Users/mathieuboudreau/opt/anaconda3/envs/ads_venv/lib/python3.8/site-packages/ivadomed/loader/segmentation_pair.py", line 314, in convert_file_to_nifti
    img = np.expand_dims(imageio.imread(filename, format='tiff-pil', as_gray=True), axis=-1).astype(np.uint8)
  File "/Users/mathieuboudreau/opt/anaconda3/envs/ads_venv/lib/python3.8/site-packages/imageio/core/functions.py", line 160, in imread
    return file.read(index=0, **kwargs)
  File "/Users/mathieuboudreau/opt/anaconda3/envs/ads_venv/lib/python3.8/site-packages/imageio/core/legacy_plugin_wrapper.py", line 134, in read
    return reader.get_data(index)
  File "/Users/mathieuboudreau/opt/anaconda3/envs/ads_venv/lib/python3.8/site-packages/imageio/core/format.py", line 340, in get_data
    im, meta = self._get_data(index, **kwargs)
  File "/Users/mathieuboudreau/opt/anaconda3/envs/ads_venv/lib/python3.8/site-packages/imageio/plugins/pillow_legacy.py", line 345, in _get_data
    im = pil_get_frame(self._im, **self._kwargs)
  File "/Users/mathieuboudreau/opt/anaconda3/envs/ads_venv/lib/python3.8/site-packages/imageio/plugins/pillow_legacy.py", line 777, in pil_get_frame
    frame.shape = shape[::-1]
ValueError: cannot reshape array of size 8830976 into shape (2156,2048)

I tested both PNG and TIF:
PNG with this image:
The .astype(np.uint8) is doing its job and convert the max value from 64764 (16 bits) to 252 (8 bits).
TIF with our test_16b_file:
I'm unable to segment and got the same message as you.
So the bug is indeed in ivadomed with 16b TIF.
This is a dimension thing, maybe in PIL (2156*2048 = 4415448 which is half of 8830976 from the message).

I confirm, of all the configurations between:

PNG or TIF
8 or 16 bit
Grayscale, RGB or RGBA

The only configuration that is not working at the moment in ivadomed is TIF 16bit Grayscale.
I'll open a PR in ivadomed as soon as possible and get back to you.

The bug is fixed in ivadomed 2.9.5 merged with PR #625.
I'm not closing this issue since we still need to add tests on ADS side for this.

We can now close this issue as the tests were added in #630.


Allow purge of all items in a queue or subscription

Sometimes in testing (or prod) we get a rogue process that sends lots of messages to a queue, or fails lots of messages and puts these to the deadletter queue.
It would be helpful to be able to purge all of these, without having to Receive them all first

Why don't you select the queue, click Deadletter button, then in the dialog select Receive and Delete under Receive mode and All under Message Count?

Because, unless I'm mistaken, this downloads all the messages to the UI which is a problem when I have > 1000 messages. The UI locks up for a few minutes whilst it gets everything. For 100K (a really bad rogue process!!) this is unusable.

@bunceg native client doesn't support purging. Until that functionality exists, the only option is to drain your messages the way @paolosalvatori suggested.
I'm closing this issue as there's nothing we can do at this point.
Would suggest we get back to it once the new ASB client has the ability to purge. Cast your vote here if you'd like MSFT to implement purge functionality.

okay... could this be handled by #60 then... one suggestion by paolo near the end was to receive/delete without loading the messages into the dataview. At the moment, using the latest from master, my UI is locking up with even a smaller size of queued items, so an alternative "do not load" may be easier..
An alternative discussed here http://stackoverflow.com/questions/9920323/clearing-azure-service-bus-queue-in-one-go would be to do this behind the scenes within the tool, and then replace it when a better version comes out?


(SERVER-1195) Serve files from any directory

Modify the path for the /static_file_content endpoint so that
it matches any file under the parent directory with the glob
*/*/files/**, rather than only matching files under the glob
modules/*/files/**.
This is a replacement for https://github.com/puppetlabs/puppet-server/pull/952

@haus I've updated the regex to be .+ instead of .*

:+1:


Python arch specific patch

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

a rebase/push -f might trigger the CI again to have the changes of pybsm


i get no popup/alert for native exceptions

The console.log is being called but as documented should i get a default popup message too?
setNativeExceptionHandler((errorString) => {
    console.log('setNativeExceptionHandler', errorString);
});

Hi @badpenguin  Have you linked the native modules ?

yes

Here is the example repo link if that helps you.
https://github.com/master-atul/react-native-exception-handler-example.
Hope this helps you.
I have created a basic rn app with the library integrated.
if you have an example that doesn't work you could just push your code into a github repo and share that link.
Only thing you can't use console.log as in bundled mode in the case of setNativeExceptionHandler since console.log is most likely stripped out (I couldnt find a way to trace console.log in bundled mode). So the way I tested this is
setNativeExceptionHandler((errorString) => {
    console.log('setNativeExceptionHandler');
    fetch('http://some-url.com/report?='+errorString);
});

I did get the errorstring on the url;

Since, the example repo is working as expected with the library, I am going to close this issue. Please feel free to reopen this if this doesnt help

@master-atul , fetch is working with iOS, but Android can not really proceed the request even though the call back is triggered.


uart_get_baudrate return 115201 when is set at 115200 (IDFGH-1635)

Environnement: MSYS32 on a Windows VM machine

Module or chip used:  ESP32-WROOM-32D

Build System:  Make

Compiler version: xtensa-esp32-elf-gcc.exe (crosstool-NG crosstool-ng-1.22.0-75-gbaf03c2c) 5.2.0

Operating System:     Windows

Power Supply:         Custom PCB

Problem Description
I have an application that need to know exactly on which baudrate it is to return a predifined ENUM. The baudrate needs to be exact because it gets converted in a switch case.
Right now, uart_get_baudrate() return a non-exact baudrate of 115201 when it is set to 115200 (hard coded!). The result is printed with ESP_LOGD() function, thought it ain't the problem for the simple fact that the code crash on the switch case which doesn't find the equivalent baudrate (no [case] for 115201).
Expected Behavior
uart_get_baudrate() should return 115200, not 115201.
Actual Behavior
Returns 115201
Code to reproduce this issue
// the code should be wrapped in the ```cpp tag so that it will be displayed better.
#include "esp_log.h"

void app_main()
{
    uart_get_baudrate(uart_num, &baudrate);
   ESP_LOGD(TAG_INITOBD, "Baudrate changed to: %d", baudrate);
}

Debug Logs
D (1965) initLogiqueOBD: Baudrate changed to: 115201[1B][0m

Baudrate is not 100% accurate.  It is going to find the closest match it can, in this case 15201.152hz.  It's a bad idea to arbitrarily remove precision, so your switch statement should turn into an if statement
if(baudrate > 114048 && baudrate < 116352) //within 1% of 115200
    return B115200;
else if ....

@negativekelvin - I agree that it's not 100% accurate.  I could see someone wanting to find out the requested baud rate, and separately finding out the actual baud rate.  (The current code returns the actual baud rate, and @caveman1996 is looking for the requested baud rate.)

Baudrate is not 100% accurate. It is going to find the closest match it can, in this case 15201.152hz. It's a bad idea to arbitrarily remove precision, so your switch statement should turn into an if statement
if(baudrate > 114048 && baudrate < 116352) //within 1% of 115200
    return B115200;
else if ....

That's unfortunate... I would have hope to get the requested baudrate passed in the configuration structure (as pointed out by @tim-nordell-nimbelink). Then I'll close this thread. Thanks for the answers!


Yubikey Bio first time installation & "Authenticator mode is set to ccid but ccid connection mode is not enabled"

Hello,
it's the first time I use a Yubikey, I need help to make it functioning:

Yubico Authenticator version: 4.3.6
Operating system and version: Ubuntu 18.04.6 LTS
YubiKey model and version: Bio FIDO edition
Bug description summary: when I launch the Yubico Authenticator and insert the key, the led flash in red slowly, and authenticator says "Authenticator mode is set to ccid but ccid connection mode is not enabled".

Steps to reproduce

Add Yubico PPA as an APT repository: sudo add-apt-repository ppa:yubico/stable && sudo apt-get update
Install YubiKey Manager CLI: sudo apt install yubikey-manager
Install YubiKey Manager GUI: sudo apt install yubikey-manager-qt
Install YubiKey Personalization Tool: sudo apt install yubikey-personalization-gui
Install libpam-yubico: sudo apt install libpam-yubico
Install libpam-u2f: sudo apt install libpam-u2f

Expected result
A working key !
Actual results
"Authenticator mode is set to ccid but ccid connection mode is not enabled"
Thanks a lot in advance.

The latest desktop authenticator version is 5.1.0. Please try that one.

Hello Fdennis,
thanks a lot for your help, that was the trick indeed. So Authenticator is working now.
However, I tried to use the last Manager version and it doesn't display the key... I'm going to open another ticket...
Thanks for all.
Best regards,
Pascal


ModuleNotFoundError: No module named 'core'

Error loading script: base_ui.py
Traceback (most recent call last):
File "/home/ubuntu/stable-diffusion-webui/modules/scripts.py", line 256, in load_scripts
script_module = script_loading.load_module(scriptfile.path)
File "/home/ubuntu/stable-diffusion-webui/modules/script_loading.py", line 11, in load_module
module_spec.loader.exec_module(module)
File "", line 848, in exec_module
File "", line 219, in _call_with_frames_removed
File "/home/ubuntu/stable-diffusion-webui/extensions/SD-CN-Animation-main/scripts/base_ui.py", line 30, in
from core import vid2vid, txt2vid, utils
ModuleNotFoundError: No module named 'core'

I encountered a problem when I tried to restart through ./webui.sh, and the plugin is not showing up on my user interface.

Try to restart the webui.

I was able to resolve the issue by renaming 'sd-webui-regional-prompter-main' to 'sd-webui-regional-prompter' using the mv command.  The problem might have arisen due to my unconventional installation method, where I directly cloned the repository under 'stable-diffusion-webui/extensions/'.  However, I would like to point out that I did not encounter this issue when installing other plugins using the same method.  It could be beneficial if the author considered refining the path rules to accommodate for this approach.

I think I figured it out. There are some unnecessary sys.path extensions. It will be fixed by the next update.


remove link to a message definition that no longer exists.

Review: By commit
Merge strategy: Merge (no squash)

Description
BSK Documentation referred to a message link that no longer exists, resulting in a warning
when building the documentation.
Verification
Did a clean build of full BSK documentation and no warnings appear now.
Documentation
None
Future work
None

Thank you for catching this, I will make sure to check the documentation build for future PRs


add option to relax socket_vmnet validation

hello,
with this merge request I'd like to introduce an option to be able to relax socket_vmnet verification logic
regards

@jandubois it won't work if a user is not a member of the admin group, although is listed in the sudoers file and is an owner of the directory, here is a relevant error message (with the sudoers line removed in the networks.yaml file):
$ limactl start --name docker-cri-aarch64 --arch aarch64 --cpus 2 --memory 4 --disk 20 --vm-type vz --tty=false template://vmnet
INFO[0000] Terminal is not available, proceeding without opening an editor
WARN[0000] `vmType: vz` is experimental
FATA[0000] networks.yaml field `paths.socketVMNet` error: dir "/opt/homebrew/Cellar/socket_vmnet/1.1.4" owner XXXis not an admin
$ ls -ld /opt/homebrew/Cellar/socket_vmnet/1.1.4
drwxr-xr-x@ 11 user.name  admin  352 Sep 26 21:42 /opt/homebrew/Cellar/socket_vmnet/1.1.4
$ echo $USER
user.name
$ id -u
XXX

this check is in this line:
https://github.com/lima-vm/lima/blob/619a4cad33af3c02dc71db82a437c4a3a908d434/pkg/networks/validate.go#L103

however it then complains that the entire directories chain up to / should be owned by a root (or any user which is a member of the admin group)

Yes, this is necessary to keep this feature secure. I've shown in https://github.com/lima-vm/lima/issues/1437#issuecomment-2380858664 how you can enable password-less sudo and remove the configuration setting for the sudoers file. Then limactl start will no longer verify the security of the daemon executable because you allow execution of any binary by root anyways.


✨ feat(schema): Add Bytes type

Description
Move hex type over to be called bytes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

Current dependencies on/for this PR:

main

PR #542   👈

PR #538

PR #539

PR #540

This comment was auto-generated by Graphite.


Cursor remains stuck on original position after scroll

I am building an application using ionic. I have a template with several input fields. When user hits on an input field I want to scroll the field to the top. I tried using
$ionicScrollDelegate.scrollTo(node.offsetLeft, node.offsetTop, true);

This scrolls the page up for me. However, it does not update the cursor position. The page scrolls up and the cursor remains stuck at the position before the scroll. If I start typing some text, the cursor moves to the desired input field and starts typing there. So I guess the cursor has not lost context but its position is not updated. Any ideas on what could work in this case?

Can someone please help me this? I have been stuck since quite some time.

@kunj77 what version of Ionic?

Version 1.7.12

@mlynch any update? were you able to reproduce this?

Hello! Thanks for opening an issue with us, we just need a little more info from you so that we can better help you with your issue. Would you mind posting a code sample, plunkr or codepen that we can use to reproduce your issue? Also, would you mind running ionic info and posting the output? Thanks again!

Hello! Thanks for opening an issue with us! Since it has been a little while since there was any activity on this issue i will be closing it, but feel free to reopen this issue if needed!


The "container" option doesn't seem to work

The important part is at the bottom of this code. I already have a fixed banner at the top, which, when I use the "static": true command, will push the banner down, and the cookieconsent banner will show. And all is well. The issue comes in where the cc banner will attach itself to the page (when I set static : true) and my fixed banner remains fixed, but the cc banner, being attached to the page, moves up and down, which is a bad thing. I want the cc banner and my other banner to stick together, without the cc banner covering over my banner. If I leave the static : true part out, as below, the cc banner covers my fixed banner, which is not what I want.
I expected the behavior I'm looking for by using the container command, but that didn't do it. It covers my banner...
How do I keep the cc banner and my banner together, with the cc banner pushing my banner down but also attached to my banner so that they both don't move?
window.addEventListener("load", function () {                 window.cookieconsent.initialise({                     "palette": {                         "popup": {                             "background": "#edeff5",                             "text": "#838391"                         },                         "button": {                             "background": "#4b81e8"                         },                     },                     "position": "top",                     "content": {                         "dismiss": "Accept and Close",                         "href": "https://Privacy-Policy"                     },                     "cookie.path": "/",                     "cookie.expiryDays": 365,                     container: document.getElementById("frmId"),                 });             });

ok, figured it out: need to use the pushup() and pushdown() functions described in the "troubleshooting" section. All good. Thanks for this great product!


doc: document all the syntax categories

[ ] depends on #1400 to avoid later merge conflicts

Disabled the auto-merge. I missed the dependency above.


doc: improve error message and documentation on the needed link between router and service

What does this PR do?
It improve the situation described in #10258 by:

Provides only complete examples in the doc
Improve wording in the doc on this matter
Improve error message (with the router name when it's possible).

Motivation
Improve UserXP without breaking change, since many users faced it in the last four years. Detailed in #10258.
More

[x] Added/updated documentation

Additional Notes
This PR aims to improve User XP with the current behavior of Docker provider.
Introducing a new Convention over configuration (aka magic) way for configuring Traefik Proxy is not the purpose of this PR.
=> This PR does not supersede #10252.
Thanks to @joshka and @bluepuma77 who can be credited for my motivation on this PR.

In 90% of the cases, an explicit service label is useless.
It's better to add one example of an explicit definition instead of modifying all the current examples.

@ldez @bluepuma77 @mmatur With https://github.com/traefik/traefik/commit/ceed9c579696f26fe6fc54059619775671e27a69, I tried to improve the wording and keep current "magic" example. I also added a complete example in service definition section.

Hello @mloiseleur,
Could you please rebase this pull request on branch v2.11?


Build(deps-dev): Bump @typescript-eslint/parser from 5.30.7 to 5.31.0 (#3789)

Pull request opened by the merge tool on behalf of #3789

Merged in 02255c2d7f549ae72306d37d436d976e3ed4720f


Different keyStore for different product flavors

I follow this document to use.
https://stackoverflow.com/questions/36194748/different-keystore-for-different-product-flavors-in-gradle
But when rerun flutter_flavorizr, the productFlavors item always on top.
This will cause the build.gradle operation to fail.

Hey @appendixisu, flutter_flavorizr is not meant to be run every time. Due to the actual limitations you need to change the build.gradle file every time you run it

Hey @appendixisu, flutter_flavorizr is not meant to be run every time. Due to the actual limitations you need to change the build.gradle file every time you run it

OMG, how can I config CI/CD with this restrict? Any solution?

You can take advantage of Fastlane

Hey @appendixisu, flutter_flavorizr is not meant to be run every time. Due to the actual limitations you need to change the build.gradle file every time you run it

Is this still the case? I could not find references to this in old versions of Readme.md. I guess you have to run flavorizr once to create the flavors and that's it. I wonder if I would have a problem trying to add new flavors down the line when I need to run flavorizr again to create these new flavors.


Unable to access the link to download the QEMU image

Hello, I am unable to access the link to the QEMU image you provided. The page shows a "Page Not Found" error message. The page either cannot be found on the server or you may not have permission to browse it. Is there a new address for the image available now?

Yes, nextcloud has changed the url pattern for there shares, I have yet to update the URLs in OpenCSD

Thesis can be found here: https://nextcloud.dantalion.nl/s/dN7KZTSSyxx2Xw4

Fixed in f4d23d36fef37646d3b86ca1150039019560e5be

Fixed in f4d23d3

Thank you for your help. Now aI am able to download “.torrent” file, I cannot find any resources to download the ".qcow2" file by Bitcomet. I will try other methods.

You can download from this link directly: https://nextcloud.dantalion.nl/s/diW4CrE7gfgLqxe


[Documentation] Behavior of block scans with initial value param

Hi,
I spent quite some time chasing down a bug which ended up being a misunderstanding of the behavior of block scans when an initial val param is given. It turns out that the block aggregate does not include the initial val. i.e., The exclusive sum of {1,2,3} with initial val 10 is {10, 11, 13 }, but the block aggregate is not 16. It is 6. This was not clear from the documentation and the general expectation of an aggregate.

This is an old issue, so my memory is fuzzy. I think this is about "block_aggregate" which is the last argument to various scan functions. For example, I see this blurb in the docs:
"Suppose the set of input thread_data across the block of threads is 1, 1, ..., 1. The corresponding output thread_data in those threads will be 0, 1, ..., 127. Furthermore the value 128 will be stored in block_aggregate for all threads."
So the confusion was about the result that would be stored in block_aggregate when you do scans with an initial value. The actual behaviour is that the initial value does not have an effect on block_aggregate. That is, in the {1, 2, 3} example, the block_aggregate is 1+2+3=6, and not 10+1+2+3=16.

Thanks for getting back to me! We've been cleaning up old issues which is why I revisited this.
I see what you're saying now, thanks for explaining it to me.
So for the version of ExclusiveScan that takes a initial_value and block_aggregate parameter, you'd expect the block_aggregate result to include the initial_value.
That does seem like a reasonable expectation. I'm not sure if this behavior is a bug or intended. @senior-zero do you have any thoughts?
At the very least, the documentation should be improved either way to make it clearer.

At this point, I think a documentation update would be better than changing the underlying behaviour. A lot of old code already assumes this and works around it. So, things will break if it changes.

Hello @pgera!
The behavior is expected and is relied on by CUB device algorithms. I agree that we can't change the it because the change will have an impact that can't be noticed at compile time. In a sense, current doc states that the block_aggregate doesn't include initial_value:
T         (&input)[ITEMS_PER_THREAD],   ///< [in] Calling thread's >>> input items <<<
T         initial_value,                ///< [in] Initial value to seed the exclusive scan
ScanOp    scan_op,                      ///< [in] Binary scan functor
T         &block_aggregate)             ///< [out] block-wide aggregate reduction of  >>> input items <<<

But I agree that this is not explicit enough and we should document it more clearly.
We'll add a note on this in our docs, thank you for raising the question!


(PUP-4621) Add a list command in Puppet filebucket

This patch adds a list subcommand to the filebucket command.
It introduces a way to list all files of the designated filebucket
and a way to filter results by date.
Filebucket, Dipper and FileBucket file indirector are modified.
Tests have been added.
Feedback appreciated!

@fihuer Thanks for the contribution!  The feature looks useful, so I'm going to functionally review this more before we can merge this.

@peterhuene That sounds like a useful feature and not so difficult to implement.
I can add a commit to this PR if you really want this.

Appveyor failures are due to https://tickets.puppetlabs.com/browse/PUP-4537

Hi @fihuer.  I did get a chance to test these changes and the functionality looks good.  Just a few comments that came out of today's PR triage for your review.  Thanks!

Hi @peterhuene. Thanks for the review !
I will push (asap) another commit with the points you've raised.

Rebased and squashed commits

Windows rdoc failure can be ignored. @peterhuene to review before tomorrow.

PR Triage Notes
@peterhuene to review

@fihuer Following the merge of the diff command, this needs to be rebased before I can merge.  Thanks!

@peterhuene I've rebased this, sounds good to go.

@fihuer Thanks again for the contribution!  This has been merged into master and should appear in the next Puppet release.

I'm seeing spec failures when running dipper_spec.rb in isolation:
~/work/puppet (master)  $ be rspec spec/unit/file_bucket/dipper_spec.rb
...
rspec ./spec/unit/file_bucket/dipper_spec.rb[1:5:1:1] # Puppet::FileBucket::Dipper listing files in local filebucket when digest_algorithm is md5 should list all files present
rspec ./spec/unit/file_bucket/dipper_spec.rb[1:5:1:2] # Puppet::FileBucket::Dipper listing files in local filebucket when digest_algorithm is md5 should filter with the provided dates
rspec ./spec/unit/file_bucket/dipper_spec.rb[1:5:2:1] # Puppet::FileBucket::Dipper listing files in local filebucket when digest_algorithm is sha256 should list all files present
rspec ./spec/unit/file_bucket/dipper_spec.rb[1:5:2:2] # Puppet::FileBucket::Dipper listing files in local filebucket when digest_algorithm is sha256 should filter with the provided dates

Doing a bisect shows:
~/work/puppet (946c3aa...|BISECTING)  $ git bisect bad
946c3aa5cd81cde1e7d0190de7cdf45c1ac0f8a6 is the first bad commit
commit 946c3aa5cd81cde1e7d0190de7cdf45c1ac0f8a6
Author: Romain Fihue<EMAIL_ADDRESS>Date:   Mon May 18 09:42:35 2015 +0200

    (PUP-4621) Add a list command in Puppet filebucket

    This patch adds a list subcommand to the filebucket command.
    It introduces a way to list all files of the designated filebucket
    and a way to filter results by date.

    Filebucket, Dipper and FileBucket file indirector are modified.
    Tests have been added.

:040000 040000 a3d2a079dcd819238ac2348d65b1be1130882f10 ab75d0ddffc294a6e7e14959d7de431e2f72e751 M	lib
:040000 040000 838a797dfa277f03e67ac049d12c6600d64a3bcd 5cf509fa2703d8ffdef40294b35c213b273e14a4 M	spec

It appears that there is an intra-order spec failure as one example is creating file, that shows up in a later listing causing the expectation to fail:
@@ -1,2 +1,3 @@
       -/409a11465ed0938227128b1756c677a8480a8b84814f1963853775e15a74d4b4 \d{4}-\d{2}-\d{2} \d{2}:\d{2}:\d{2} \/var\/folders\/2q\/qhdc5tpx4knd4pjr1hdskmjc0000gn\/T\/rspecrun20150728-36251-y8gija\/file_bucket_file20150728-36251-1bg6x5h\n/
       +409a11465ed0938227128b1756c677a8480a8b84814f1963853775e15a74d4b4 2015-07-28 15:56:34 /private/var/folders/2q/qhdc5tpx4knd4pjr1hdskmjc0000gn/T/rspecrun20150728-36251-y8gija/file_bucket_file20150728-36251-1bg6x5h
       +7dd21ebb869634610274964f64a16f5977b5babe07699104d62520f279b54e03 2015-07-28 14:56:34 /private/var/folders/2q/qhdc5tpx4knd4pjr1hdskmjc0000gn/T/rspecrun20150728-36251-y8gija/file_bucket_file20150728-36251-1hd2ec0

Curiously, it's not failing in CI https://jenkins.puppetlabs.com/view/All in One Agent/view/Master/view/Puppet/job/platform_aio-puppet_unit-ruby_master-linux/154/RUBY_VERSION=2.1.5,SLAVE_LABEL=unit/console
@fihuer or @peterhuene can you take a look?

I can take a look tomorrow if this isn't blocking CI.

So the spec is incorrect in that it is using the path returned from tmpfile (e.g. /var/...) in its expectations.  However, on OSX /var is symlink'd to /private/var and it is the real path of the file that the filebucket is storing and listing back.  Thus the expectation doesn't match.  The fix is to have the spec expect the real path of the file.

@fihuer @joshcooper I'll throw up a fix PR for the above.

PR #4109.


DBSCAN with Scale

change the dataset to smaller ones ,currently its not rendering the output and the files due to size

In this 0.9 is suggested through Silhouette Score.
Clean the initialized feature,target, and filepath from both the dbscan files


Add [Bugzilla] bugstatus badge

Messages

:book:

:sparkles: Thanks for your contribution to Shields, @eliperelman!

:book:

Thanks for contributing to our documentation. We :heart: our documentarians!

  Generated by :no_entry_sign: dangerJS

Thanks for this PR,
Though I think it may look a little nicer in lowercase and keep with the consistency of the other badges.

@RedSparr0w I'm kinda torn on that. While I agree it looks better, these values map directly to what users see in the BZ UI:

That said, if you still would like it changed, let me know and I will. Thanks!

Good point, I can definitely see where you are coming from, though i think the all lowercase will better match the current badges.

Also what do you think about removing resolved from the badges?

I like the last column!

Hi @eliperelman would you be able to respond to the last round of comments? Would be great to get this merged!

Thanks for the changes,
All looks good to me.
Merged!
😄

@RedSparr0w thanks! Any idea when this lands on the production site?

See #1538


htmxify

with https://github.com/donseba/go-htmx

you actually can without any change 😄 .
short example it your template you would do something like this :
myform.gohtml
<form class="space-y-6" hx-put="/config" hx-target=".element-form-container" hx-ext="json-enc-nested,notify">
    {{ form_render .Data.Form .Data.Errors "Loc" .Loc }}

        <button type="submit" class="inline-flex items-center rounded-md bg-orange-500 dark:bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-orange-700 ">Update Form</button>

</form>

as you can see here, we can put all the hx attributes on the form element.
on the receiving end, in this case the put:config route we can validate and either respond with an hx-redirect or return the form/template with or without the errors.
I'm a bit in doubt on where to place the full example as i don't want to create dependances between the two packages.

hey @donseba

you actually can without any change 😄 .
short example it your template you would do something like this :
myform.gohtml
<form class="space-y-6" hx-put="/config" hx-target=".element-form-container" hx-ext="json-enc-nested,notify">
    {{ form_render .Data.Form .Data.Errors "Loc" .Loc }}

        <button type="submit" class="inline-flex items-center rounded-md bg-orange-500 dark:bg-indigo-600 px-3 py-2 text-sm font-semibold text-white shadow-sm hover:bg-orange-700 ">Update Form</button>

</form>

as you can see here, we can put all the hx attributes on the form element.
on the receiving end, in this case the put:config route we can validate and either respond with an hx-redirect or return the form/template with or without the errors.
I'm a bit in doubt on where to place the full example as i don't want to create dependances between the two packages.

I see what you mean.
So how about we make a repo called "demo", that has a  go.work for each sub repo then ? Then there is no coupling and we have a place to build up demos where we are still enforcing this decoupling.
I actually use this pattern all the time.


AMPI_Get_accumulate is broken

Original issue: https://charm.cs.illinois.edu/redmine/issues/1581

AMPI's implementation of MPI_Get_accumulate is completely wrong, and will always produce incorrect results at the target.
The control flow should look like:

Send the org buffer to the target (ie invoke a [sync] entry method, ampi::winRemoteGetAccumulate).
At the target, send back the contents of the targ buffer
At the target, accumulate the org buffer into the targ buffer
On the sender, recv back the original contents of the targ buffer, and copy them into the res buffer

Original date: 2017-06-01 15:30:54

Might be worth adding a test case in examples/ampi or tests/ampi .

Original date: 2017-06-01 15:39:27

That can be added to this: ~~https://charm.cs.illinois.edu/gerrit/#/c/2148/~~ https://github.com/UIUC-PPL/charm/commit/46d1e681239f3ee1f28ecad9217ea0224af4f1bc

Original date: 2017-06-01 16:22:20

Fix for Get_accumulate: ~~https://charm.cs.illinois.edu/gerrit/#/c/2574/~~ https://github.com/UIUC-PPL/charm/commit/a544a7dd72aebf3a23a2b5c5f6d64d33a9ce1bb8


print() from processors causes error

Python 3.6.1 MacOS
I'm writing a pipeline with a very simply processor. If there's a print() statement in there, running the pipeline causes this crash:
INFO    :Main                            :Skipping redis connection, host:None, port:6379
WARNING :Main                            :No csv processor available for my-first-item
INFO    :Main                            :RUNNING ./my-first-item
INFO    :Main                            :- add_metadata
INFO    :Main                            :- spss.add_spss
INFO    :Main                            :- (sink)
INFO    :Main                            :DONE /Users/brew/virtualenvs/ukds_pilot/lib/python3.6/site-packages/datapackage_pipelines-1.1.8-py3.6.egg/datapackage_pipelines/specs/../lib/add_metadata.py
INFO    :Main                            :(sink): Traceback (most recent call last):
INFO    :Main                            :(sink):   File "/Users/brew/virtualenvs/ukds_pilot/lib/python3.6/site-packages/datapackage_pipelines-1.1.8-py3.6.egg/datapackage_pipelines/manager/../lib/internal/sink.py", line 5, in <module>
INFO    :Main                            :(sink):     params, dp, res_iter = ingest()
INFO    :Main                            :(sink):   File "/Users/brew/virtualenvs/ukds_pilot/lib/python3.6/site-packages/datapackage_pipelines-1.1.8-py3.6.egg/datapackage_pipelines/wrapper/wrapper.py", line 34, in ingest
INFO    :Main                            :(sink):     datapackage, resource_iterator = process_input(sys.stdin, validate, debug)
INFO    :Main                            :(sink):   File "/Users/brew/virtualenvs/ukds_pilot/lib/python3.6/site-packages/datapackage_pipelines-1.1.8-py3.6.egg/datapackage_pipelines/wrapper/input_processor.py", line 63, in process_input
INFO    :Main                            :(sink):     dp = json.loads(dp_json)
INFO    :Main                            :(sink):   File "/Users/brew/virtualenvs/ukds_pilot/lib/python3.6/site-packages/datapackage_pipelines-1.1.8-py3.6.egg/datapackage_pipelines/utilities/extended_json.py", line 123, in _loads
INFO    :Main                            :(sink):     return _json.loads(*args, **kwargs)
INFO    :Main                            :(sink):   File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/__init__.py", line 367, in loads
INFO    :Main                            :(sink):     return cls(**kw).decode(s)
INFO    :Main                            :(sink):   File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/decoder.py", line 339, in decode
INFO    :Main                            :(sink):     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
INFO    :Main                            :(sink):   File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/decoder.py", line 357, in raw_decode
INFO    :Main                            :(sink):     raise JSONDecodeError("Expecting value", s, err.value) from None
INFO    :Main                            :(sink): json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
INFO    :Main                            :DONE /Users/brew/virtualenvs/ukds_pilot/src/datapackage-pipelines-spss/datapackage_pipelines_spss/processors/add_spss.py
ERROR   :Main                            :FAILED /Users/brew/virtualenvs/ukds_pilot/lib/python3.6/site-packages/datapackage_pipelines-1.1.8-py3.6.egg/datapackage_pipelines/manager/../lib/internal/sink.py: 1
WARNING :Main                            :No csv processor available for my-first-item
WARNING :Main                            :No csv processor available for my-first-item
INFO    :Main                            :RESULTS:
INFO    :Main                            :FAILURE: ./my-first-item
ERROR log from processor (sink):
+--------
| Traceback (most recent call last):
|   File "/Users/brew/virtualenvs/ukds_pilot/lib/python3.6/site-packages/datapackage_pipelines-1.1.8-py3.6.egg/datapackage_pipelines/manager/../lib/internal/sink.py", line 5, in <module>
|     params, dp, res_iter = ingest()
|   File "/Users/brew/virtualenvs/ukds_pilot/lib/python3.6/site-packages/datapackage_pipelines-1.1.8-py3.6.egg/datapackage_pipelines/wrapper/wrapper.py", line 34, in ingest
|     datapackage, resource_iterator = process_input(sys.stdin, validate, debug)
|   File "/Users/brew/virtualenvs/ukds_pilot/lib/python3.6/site-packages/datapackage_pipelines-1.1.8-py3.6.egg/datapackage_pipelines/wrapper/input_processor.py", line 63, in process_input
|     dp = json.loads(dp_json)
|   File "/Users/brew/virtualenvs/ukds_pilot/lib/python3.6/site-packages/datapackage_pipelines-1.1.8-py3.6.egg/datapackage_pipelines/utilities/extended_json.py", line 123, in _loads
|     return _json.loads(*args, **kwargs)
|   File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/__init__.py", line 367, in loads
|     return cls(**kw).decode(s)
|   File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/decoder.py", line 339, in decode
|     obj, end = self.raw_decode(s, idx=_w(s, 0).end())
|   File "/usr/local/Cellar/python3/3.6.1/Frameworks/Python.framework/Versions/3.6/lib/python3.6/json/decoder.py", line 357, in raw_decode
|     raise JSONDecodeError("Expecting value", s, err.value) from None
| json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)

Using the logging module to stout works fine. However, I'm importing third-party modules into the processor that use print so can't easily avoid it.

I haven't checked in the code, but my guess is that we can't support print() cleanly because we use stdin/stdout as a communication channel. The print is basically adding garbage to the input of the next processor.
The options I see are:

Change the dependency's code
Mock print()
https://stackoverflow.com/questions/8391411/suppress-calls-to-print-python (although it'll probably have unwanted side-effects)

Thanks @vitorbaptista - that's a very good resource.


difference/split system & monitor

hi
your app have config for the "system" (gamma, brightness & contrast)
and for the selected "monitor" (monitor brightness & monitor contrast)
my problem is, i have calibrate my monitors.
if i screw up my "system" setting, i can push the "reset" button.
sadly it resets/change my calibrated monitor.
can you disable reset for 'monitor brightness' and 'monitor contrast',
or split the "system" and "monitor" configuration into two separate reset switches?
thx

Hi. I don't know where to fit new button, but i can disable reset for monitor brightness and monitor contrast. Don't know which architecture you need so i compiled all three available
Release.zip

thanks, this is perfect.
what is [ ] +++ meaning?
it would be nice,
if you could add* 'mouse over' info cards.
which explains the different elements.
(*nice to have, low tier)

Nah, i'm too lazy for that. Most of the information explained in readme file in project, other stuff can be found out with a little bit of exploration and parameter tweaking. Good luck!
[ ] +++ unlocks ultra high contrast settings, that's just for memes.

sorry, but the new version (2023-03-30 - v1.1) do reset monitor brightness & monitor contrast, too.
you forgot to remove this.

Well, i use that feature myself so i probably won't remove it. And i don't want to bother with another button. I doubt i will make new versions any time soon so i will just compile code with commented out lines for brightness changes in reset button, like the previous time.
Gamma Manager 1.1 NoBrReset.zip


Need to support Pyside2

Issue Description
What did you expect to see happen?
Pyside 1 is broken with conda in Python 3, so RAVEN needs to support Pyside2, which has different imports.
What did you see instead?
Do you have a suggested fix for the development team?
Try importing Pyside2 as a second alternate after trying Pyside
Please attach the input file(s) that generate this error.  The simpler the input, the faster we can find the issue.

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or task?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[x] 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

Approved for closure via #1008.


Missing Icon/Branding

Hey,
Thanks for this intergration.
FYI, you can add a brand icons into this Git repo - https://github.com/home-assistant/brands/tree/master/custom_integrations
Import the Spanet logos there in the appropriate format/res/etc
ie, here is the one for the Astral Halo intergration i done. https://github.com/home-assistant/brands/tree/master/custom_integrations/astralpool_halo_chlorinator
Cheers

Thanks, I have been meaning to do this as I need this to be accepted into the official HACS list of addons. Will try get it done this week

It took awhile but I've finally opened a PR: https://github.com/home-assistant/brands/pull/6062

This is now complete


<sitemesh:write property=""> not being parsed inside element attributes

Example1:
<body id='<sitemesh:write property="body.id" />'>
Example2:
<input id='meta.page' type='hidden' value='<sitemesh:write property="meta.page">' />
Example3:
<body id="<sitemesh:write property='body.id' />">
I'm unable to get these to work in sitemesh3 using a .gtpl or .html decorator.

I don't any code with the examples, is this still an issue?

I would guess so. There haven't been any updates since this was posted.

Here is my code (It has been working flawlessly for almost a year now...):
<body>
<input id="meta.body.id" type="hidden" value="<sitemesh:write property="body.id" />"/>
<input id="meta.body.class" type="hidden" value="<sitemesh:write property="body.class" />"/>
<script type="text/javascript">
    var bodyClass = document.getElementById('meta.body.class').value;
    var bodyId = document.getElementById('meta.body.id').value;
    if (bodyId) {
        document.body.id = bodyid;
    }
    if (bodyClass) {
        document.body.className = bodyClass;
    }
</script>


[PAID] [$500] Status - Custom time page loads infinitely in offline mode

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.14-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Log in and do not visit custom time page
Go offline
Go to Settings > Profile > Status
Click Clear after
Click Custom
Click Time

Expected Result:
Time selection page will open without issue
Actual Result:
Time selection page loads infinitely
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/cb93064d-23c2-4378-ab6c-37348ab0caab
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01ab5fa243901ed9cb
Upwork Job ID:<PHONE_NUMBER>053193216
Last Price Increase: 2023-12-20
Automatic offers:

paultsimura | Contributor | 28067092

Proposal
Please re-state the problem that we are trying to solve in this issue.
In offline, the status timer is always loading.
What is the root cause of that problem?
We are checking for the privatePersonalDetails to be loaded before showing the TimePicker and displaying the loader otherwise:
https://github.com/Expensify/App/blob/88631a09aedff62de0b45962d6d19837467b32a6/src/pages/settings/Profile/CustomStatus/SetTimePage.js#L36-L38
What changes do you think we should make in order to solve the problem?
I've checked the code – the value of privatePersonalDetails is not used anywhere, seems like it is a redundant code that was added during development. We can remove this piece of code:
https://github.com/Expensify/App/blob/88631a09aedff62de0b45962d6d19837467b32a6/src/pages/settings/Profile/CustomStatus/SetTimePage.js#L36-L38
What alternative solutions did you explore? (Optional)

Proposal from @paultsimura looks good to me https://github.com/Expensify/App/issues/33369#issuecomment-1864877043
Seems we do not need that check, in case we do not use privatePersonalDetails anywhere in that flow
🎀 👀 🎀 C+ reviewed

we also need to get clearAfter from currenPersonalDetail if customStatus draft is empty

This looks more like re-inventing the wheel.
Here is the structure of the PrivatePersonalDetails, it stores exactly what it's meant to store – personal details – and has nothing to do with the status:
https://github.com/Expensify/App/blob/0a1bae4717ce9e1bc8176463d2ab793d8d77fad5/src/types/onyx/PrivatePersonalDetails.ts#L9-L19
The status has a dedicated Onyx key:
https://github.com/Expensify/App/blob/278183e42390a8d550a2324ba2b6026f1337a7eb/src/types/onyx/CustomStatusDraft.ts#L1-L10
And if using this key causes trouble with deep links or whatever else, it should be handled properly in a separate task. But we clearly shouldn't mix personal details and status.

The reason why CUSTOM_STATUS_DRAFT key was added is to allow setting the value of things like emoji, text, and clearAfter without holding to the previous value.
The corresponding values of currentPersonalDetail are correctly handled on pages that implement saving the draft status as a real status, and the draft value always takes priority:
https://github.com/Expensify/App/blob/08a967796d50023c354075a91d040f2a7a60df4c/src/pages/settings/Profile/CustomStatus/StatusPage.js#L49-L57
I don't see any benefit from using the privatePersonalDetails on this page, which will unnecessarily break the offline-first approach for the user.
Moreover, we don't use this key in SetDatePage either, which is equally related to the status.
That being said, I am still confident that my proposal fixes this issue correctly without any harm to the User.

I agree with @narefyev91. Thank you @paultsimura and @dukenv0307 for your proposal's and discussion, it has helped me understand this part of the codebase better. I think @paultsimura's proposal seems best for this particular situation. Assigning. Looking forward to the PR!

Thanks. The PR is ready for review: https://github.com/Expensify/App/pull/33440

Payment has been handled and part of the checklist. I'll check here tomorrow for the rest of the checklist responses and close when that's finished up.

@paultsimura @narefyev91 - Do we need to do the regresssion test at all? I think not because an indefinite load would be caught with normal testing.
I plan to close this tomorrow if I don't hear from you.

From my POV, no regression test is needed here as the issue was caused by redundant code missed during the initial feature development

Thank you @paultsimura - I'm going to close this and if a reg test is needed we can reopen and I'll take care of it.


folder gets deleted on boot

Type: Performance Issue
My BASICS.java folder gets deleted automatically on boot in the vs code . Please resolve this issue.
VS Code version: Code - OSS 1.78.0 (252e5463d60e63238250799aef7375787f68b4ee, 2023-05-05T07:59:17.039Z)
OS version: Linux x64 6.3.1-zen1-1-zen
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-10300H CPU @ 2.50GHz (8 x 800)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
1, 1, 0

Memory (System)
7.59GB (5.33GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

DESKTOP_SESSION
plasma

XDG_CURRENT_DESKTOP
KDE

XDG_SESSION_DESKTOP
KDE

XDG_SESSION_TYPE
x11

Process Info
CPU %	Mem MB	   PID	Process
    0	   179	  2595	code-oss main
    0	    86	  2598	   zygote
    0	   179	  2632	     gpu-process
    0	    86	  2599	   zygote
    0	     8	  2601	     zygote
    0	   101	  2785	window [2] (Issue Reporter)
    0	   101	  2637	   utility-network-service
    0	   272	  2641	window [1] (Untitled (Workspace) - Code - OSS)
    0	   117	  2711	shared-process
    0	   109	  2758	     ptyHost
    0	     0	  2810	     /usr/bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    0	   117	  2712	fileWatcher [1]
    0	   148	  2713	extensionHost [1]

Workspace Info
|  Window (Untitled (Workspace) - Code - OSS)
|    Folder (BASICS.java): 0 files
|      File types:
|      Conf files:;

Extensions (7)

Extension
Author (truncated)
Version

code-runner
for
0.12.0

java
red
1.18.0

vscode-java-debug
vsc
0.50.0

vscode-java-dependency
vsc
0.22.0

vscode-java-pack
vsc
0.25.11

vscode-java-test
vsc
0.38.2

vscode-maven
vsc
0.41.0

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.78.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Bump jackson databind to <IP_ADDRESS>

Related Issue

Resolve #2781

Codecov Report

:exclamation: No coverage uploaded for pull request base (v2-alpha@13adef0). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head b973edb differs from pull request most recent head b6b6499. Consider uploading reports for the commit b6b6499 to get more accurate results

@@             Coverage Diff             @@
##             v2-alpha    #2782   +/-   ##
===========================================
  Coverage            ?   69.17%
  Complexity          ?      487
===========================================
  Files               ?       78
  Lines               ?     1502
  Branches            ?      119
===========================================
  Hits                ?     1039
  Misses              ?      380
  Partials            ?       83

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Draft while waiting for koryphe 2.5.0 release