API Mock-up

This is a living issue. Edit the description directly.
public class MainPipeline : Sharpliner.PipelineDefinition
{
    protected override string TargetFile => "/azure-pipelines.yml";

    protected override IEnumerable<string> StageIds = new[]
    {
        "PublishClient",
        "BuildClient",
    };

    protected override Pipeline Pipeline => new()
    {
        Name = "$(Date:yyyMMdd).$(Rev:rr)",

        Trigger = Trigger.ForBranch("main", "production").Batch().Exclude("tools/*"),

        Pr = Pr.ForBranch("main").AutoCancel().Exclude("tools/*")

        Variables = new[]
        {
            Variable("Configuration", "Release"),
            Variable("DOTNET_SKIP_FIRST_TIME_EXPERIENCE", true),
            Group("PR keyvault variables"),

            If("eq(variables['Build.Reason'], 'PullRequest')")
                .Variable("TargetBranch", "$(System.PullRequest.SourceBranch)"),

            If("ne(variables['Build.Reason'], 'PullRequest')") // I think we could have Else which would do 'not(...)'
                .Variable("TargetBranch", "$(Build.SourceBranch)"),

            If("ne(variables['Build.SourceBranch'], 'refs/heads/production')")
                .Variable("PublishProfileFile", "Prod")
                .Variable("AzureSubscription", "NetHelix"),
        },

        Stages = new[]
        {
            new()
            {
                Jobs = new[]
                {
                    new Job(Id("PublishClient"), "Publish wheel packages")
                    {
                        Timeout = TimeSpan.FromMinutes(30),
                        Pool = new HostedPool(vmImage: "windows-2019"),
                        Checkout = 'self',
                        Clean = true,
                        Steps = new[]
                        {
                            new BashTask("Install wheel and twine"
                                "pip install wheel==0.33.6 twine==2.0.0"),

                            new TwineAuthenticateTask(artifactFeed: "public/$(HelixClientFeedName)"),

                            new BashTask("Publish Helix Installer Wheel"
                                @"python $(HelixInstallerDir)\setup.py egg_info --tag-build $(HelixScriptsVersion) bdist_wheel
                                  python -m twine upload -r $(HelixClientFeedName) --config-file $(PYPIRC_PATH) $(HelixInstallerDir)\dist\*.whl"),
                        ]
                    },

                    new Job(Id("BuildClient"), "Build solution")
                    {
                        Timeout = TimeSpan.FromMinutes(30),
                        Pool = new HostedPool(vmImage: "windows-2019"),
                        Checkout = 'self',
                        Clean = true,
                        DependsOn = [ Id("PublishClient") ],
                        Steps = new[]
                        {
                            If("and(eq(variables['Build.Reason'], 'PullRequest'), ne(variables['Build.SourceBranch'], 'refs/heads/production'))",
                                new PowerShellTask("Enforce GitHub issue link presence"
                                    "eng/enforce-issue.ps1 -PullRequestId $(System.PullRequest.PullRequestId) -AccessToken $(System.AccessToken)")),

                            new UseDotNetTask("Use .NET 2.1.x SDK", type: DotNetPackageType.SDK, version: "2.1.x"),

                            new CustomDotNetCoreCLITask("Build Helix.Machines.sln", "msbuild") {
                                Projects = [ "Helix.Machines.sln" ],
                                Arguments = [
                                    "-v:m",
                                    "-m:1",
                                    "-nr:false",
                                    "-restore",
                                    "-t:Build;Publish",
                                ]
                            }
                        }
                    }
                }
            }
        }
    };
}

This is the source pipeline that we are trying to model:
name: $(Date:yyyMMdd).$(Rev:rr)

trigger:
  batch: true
  branches:
    include:
      - main
      - production
  paths:
    exclude:
      - tools/*

pr:
  autoCancel: true
  branches:
    include:
      - main
  paths:
    exclude:
      - tools/*

variables:
  - name: Configuration
    value: Release
  - name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE
    value: true
  - group: PR keyvault variables

  - ${{ if eq(variables['Build.Reason'], 'PullRequest') }}:
      - name: TargetBranch
        value: $(System.PullRequest.SourceBranch)
  - ${{ if ne(variables['Build.Reason'], 'PullRequest') }}:
      - name: TargetBranch
        value: $(Build.SourceBranch)

  - ${{ if ne(variables['Build.SourceBranch'], 'refs/heads/production') }}:
      - name: PublishProfileFile
        value: Prod
      - name: AzureSubscription
        value: NetHelix

stages:
  - stage: Build
    jobs:
      - job: PublishClient
        displayName: Publish wheel packages
        timeoutInMinutes: 30
        pool:
          vmImage: "windows-2019"

        steps:
          - script: pip install wheel==0.33.6 twine==2.0.0
            displayName: Install wheel and twine

          - task: TwineAuthenticate@1
            displayName: Twine Authenticate
            inputs:
              artifactFeed: public/$(HelixClientFeedName)

          - script: |
              python $(HelixInstallerDir)\setup.py egg_info --tag-build $(HelixScriptsVersion) bdist_wheel
              python -m twine upload -r $(HelixClientFeedName) --config-file $(PYPIRC_PATH) $(HelixInstallerDir)\dist\*.whl
            displayName: Create/Publish Helix Installer Wheel

      - job: Build
        displayName: Build solution
        dependsOn: PublishClient
        timeoutInMinutes: 30
        pool:
          vmImage: "windows-2019"

        steps:
          - checkout: self
            clean: true

          - ${{ if and(eq(variables['Build.Reason'], 'PullRequest'), ne(variables['Build.SourceBranch'], 'refs/heads/production')) }}:
              - powershell: eng/enforce-issue.ps1 -PullRequestId $(System.PullRequest.PullRequestId) -AccessToken $(System.AccessToken)
                displayName: Enforce GitHub issue link presence

          - task: UseDotNet@2
            displayName: Use .NET 2.1.x SDK
            inputs:
              packageType: sdk
              version: 2.1.x

          - task: DotNetCoreCLI@2
            inputs:
              command: custom
              custom: msbuild
              projects: Helix.Machines.sln
              arguments: >-
                -v:m
                -m:1
                -nr:false
                -restore
                -t:Build;Publish

Comments about the above:
Triggers
I would go the  declarative way form
Trigger = Trigger.ForBranch("main", "production").Batch().Exclude("tools/*"),

to
Trigger = {
    new {
        Branch = {"main", "production"}
        IsBatch = true,
       Exclude = { "tools/*" }
   },
}

Also, should be a collection, we can have more than one trigger AFAIK
PRs
Same comment as with triggers.

Nice! Everything makes sense:

No more mixing fluent and declaration
Id validation can happen for strings too
Strong-typed logic operators are also nice!

Also, the definition itself is now shorter in C# than in YAML. Even with all those closing and opening brackets.

Yes! We need to find the right balance between the two approaches. I think that adjectives should be all fluent, while properties should all be declarative even if optional. Then use declarative for all conditions. The question is what reads better:
If().Equals("varname", "value")
    .Variable("conditionalVar","value");

Or
If(Equals("varname", "value"))
    .Variable("condition","value");

I'm going for the second one, because with complex expressions it looks shorter/nicer:
If(And(Equals("var", "value"),Equals("var","value")))
    .Variable("var","value");

We should look at Nunit and xUnit for ideas since they have a lot of assertions and more experience. I think with some smart use of genetics this will me very doable.
PS: I think will be shorter because the concatenation of several ands would be very verbose

Also, thinking about serialization, 2 is closer to the one used by yaml

👍 Makes sense with adjectives
👍 Second one looks almost like YAML so yeah, let's do that one

@mandel-macaque another idea:
We could move the top level properties of the Pipeline POCO to the PipelineDefinition class itself and the user would override those. Rather than having:
    protected override Pipeline Pipeline => new()
    {
        Name = "$(Date:yyyMMdd).$(Rev:rr)",

        Variables = new[]
        {
            Variable("Configuration", "Release"),
        },
    }

you would do
    protected override string Name => "$(Date:yyyMMdd).$(Rev:rr)";

    protected override IEnumerable<Variable> Variables => new[]
    {
        Variable("Configuration", "Release"),
    };

But I guess that will be more confusing?

I'd go for less typing, also, we can let people define several pipelines if needed and reference them as resources (yes, is a thing and very useful).

I have the API for variable definition ready but I will be moving rooms this weekend so I might be offline.
If you want to have a look or work on top of that it's in the api branch in my fork:
https://github.com/premun/sharpliner/blob/prvysoky/api/tests/Sharpliner.Serialization.Tests/MockPipeline.cs

I have this for nested ifs:

Closing as it was implemented already in #14 and #15


Should ingestions be logged with volume and unit or dosage string which would contain these two?

/// Unit in which the substance is ingested (default is "mg).
    #[arg(short = 'u', long, default_value_t=String::from("mg"))]
    pub dosage_unit: String,
    /// Volume of substance ingested.
    #[arg(short = 'v', long)]
    pub dosage_amount: f64,

Alternatively can be just dosage: String which would be 10mg for example.

This was resolved in https://github.com/keinsell/psylog - there is no need to input these two as separate values, eventually units are completely useless there as everything should be stored in mass anyway.


Customizable PDF fonts

Hello again.
After making several PDFs noticed that there is no embedded fonts inside. That was expected, but default document viewer renders them in Times font (Times New Roman), also known as "Font of Pain" in my homeland. (because de facto it's a standard font for papers and essays in universities).

Next I tried to substitute it with something better using Ubuntu system font manager, but these rules are simply ignored, maybe because the fonts are already substituted, I have no idea.
The question is, how hard would it be to add an option/configuration value to set font family for produced PDFs? With or without embedding. I ran through groff man page but didn't see anything similar. What I did found is that groff can make TeX files, so theoretically it's possible to make a "tex" file, add directives to setup fonts, and feed it to latex to grab a PDF, but I hope there is a more elegant way to do it.
Thanks

Thanks for the report,
Unfortunately, with the tech stack in use, fonts are generally limited to Times at hardcoded sizes.
Fortunately, I have some ideas in this area that I hope to try soon.

Thanks :) Will wait for it


[Bug]: It's not a bug, I ask for help

What happened?
Hi, I'm a newbie to Filament, and I installed the plugin according to the documentation, but I don't see that it does anything. I imagine that you have to put something inside the panel file, but they don't explain how to do that. Could you help me with that?
Thanks
How to reproduce the bug
does nothing, a new menu appears
Package Version
0.0.13
PHP Version
8.3.11
Laravel Version
11
Which operating systems does with happen with?
Windows
Notes
Sorry, but I was looking for how to do it, and nothing came up.

Did you run the following command?
php artisan filament:jetstream:install --teams --api
(remove --teams and/or --api if this functionality is needed)

If you already have installed filament, and then run the commands in the README, you will end up generating two different panels. This library uses "/app" as the route name, and the default is /admin. Check ~/app/Providers/Filament


ticdc: when upgrade tikv , cdc kafka changefeed lag >10s

What did you do?

open changefeeds , and those synced 10000+ tables
upgrade tikv component

What did you expect to see?
No response
What did you see instead?
lag > 10s

Versions of the cluster
Upstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):
(paste TiDB cluster version here)

Upstream TiKV version (execute tikv-server --version):
(paste TiKV version here)

TiCDC version (execute cdc version):
master
(paste TiCDC version here)

/severity moderate


Publish ember-model 2.18.0

Also note the breaking changes in the release notes
TODO:

[ ] Build v2.18.0 : https://github.com/ebryn/ember-model/pull/480
[ ] Publish to npm
[ ] Write release notes

Draft Release Notes:
2.18.0
ember-model 2.18.0 is the first release in 18 months since 0.0.18 and the first major release. It is designed to be compatible with Ember 2.18 and serve as a bridge to updating ember-model to support Ember 3.0+.
Breaking changes:
Rename store and adapter: https://github.com/ebryn/ember-model/pull/474 @nolaneo
As ember-data is included by default in new Ember apps, and the preferred data library to use in your Ember applications, we've modified ember-model to allow it to co-exist with ember-data. This will provide existing apps which use ember-model a path to incrementally migrate from ember-model to ember-data. In order to support this, we've renamed the ember-model store from store:main to emstore:main and the adapter from data-adapter:main to em-data-adapter:main.
If your app relies on the default model route hook implementation to call this.store.find, you'll now have to modify your routes to specifically implement the model hook which loads the model directly from ember-model.
Other changes

Replace deprecated contains with includes: https://github.com/ebryn/ember-model/pull/456
Update dependencies: https://github.com/ebryn/ember-model/pull/459
Handle out of bounds access gracefully: https://github.com/ebryn/ember-model/pull/460 @sduquej
Upgrade QUnit to 2.5: https://github.com/ebryn/ember-model/pull/463 @patocallaghan
Update grunt-contrib-watch to fix grunt.util._.contains error: https://github.com/ebryn/ember-model/pull/464 @patocallaghan
Replace grunt develop and grunt test with Testem: https://github.com/ebryn/ember-model/pull/471 @patocallaghan
Add label to ajax promises: https://github.com/ebryn/ember-model/pull/475 @kmiyashiro
Upgrade to Ember 2.18.2: https://github.com/ebryn/ember-model/pull/473


[CSFix] Diagnose an invalid member reference in ambiguous contexts

For example @objc lookup could find multiple instance members on AnyObject.
It should be allowed to diagnose issues with that as non-ambiguous if all fixes
have the same kind/base type.
Resolves: rdar://102412006

@swift-ci please test


tutorial_diffusion: SmagDiff example not working

Parcels version
3.0.4
Description
When attempting to run the second example of the tutorial on diffusion (Smagorinsky method) in parcels_tutorial v3.0.4-136-gfcb5c96, I encounter the following error after the cell defining DeleteParticle:
NotImplementedError: Cannot convert 'parcels' used in kernel to C-code
I am using Python 3.12.5 and Parcels 3.0.4 on a Mac, and have tried the different suggestions provided in the installation instructions to solve compilation errors without luck. I also tried running the tutorial example on another Mac with Python 3.12.0 and Parcels 3.0.0 without success.
Using parcels_tutorial v3.0.0-19-g67d3931, I am able to run the full tutorial on the two setups described above.
Unless there is a known bug in the parcels_tutorial v3.0.0, I can use that version of the tutorial, so I have not investigated further.
Code sample
# Paste your code within this block

# Paste your error message within this block

Dear @JessCG, thanks for raising this question, and sorry for the confusion. We have changed the code in the tutorial recently, but didn't clarify in readthedocs that version 3.0.4 (which you are using) does not yet support the parcels.ParcelsRandom notation.
See https://docs.oceanparcels.org/en/v3.0.4/examples/tutorial_diffusion.html for the way to make the tutorial work in v3.0.4: you should use ParcelsRandom.normalvariate() instead of parcels.ParcelsRandom.normalvariate().

Great, thank you for the quick answer and your continued efforts! Now that I understand the issue, I realized that I can find the right version of the tutorial by

downloading the full source code for my parcels version: https://github.com/OceanParcels/Parcels/releases, or
selecting the right version and the specific files: https://github.com/OceanParcels/Parcels/tree/v3.0.4/docs/examples

However, even if I select the right Parcels version on ReadtheDocs and click the zipped copy link on Step 4, I seem to get the most recent tutorial.
A quick fix could be to include information on options 1. & 2. above in the installation documentation, or adjust the link in each version of ReadtheDocs to download the relevant code, and not the most recent.

even if I select the right Parcels version on ReadtheDocs and click the zipped copy link on Step 4, I seem to get the most recent tutorial.

I can't recreate this. When I download the v3.0.4 version and the latest version they're different. Looking at tutorial_diffusion.ipynb, I have v3.0.4 on the left, and latest on the right.

When downloaded and unzipped, you should have a folder that is called parcels_tutorials (v3.0.4), perhaps you opened the wrong one?


page error message“Lost connection to the socket server. Reconnecting...”

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
When  click on or jump to manage-status-page 【 http://x.x.x.x:6001/manage-status-page】 from status pages【http://x.x.x.x:6001/status/monitor】 ，we got an error message ,like "Lost connection to the socket server. Reconnecting..."
The detailed error message is as follows, please help:
error url: http://x.x.x.x:6001/socket.io/?EIO=4&transport=polling&t=OqqPZ0i&sid=bdBgD95f9Dm-G10IAAGH
404 status respone：{"code":1,"message":"Session ID unknown"}

👟 Reproduction steps
refer to Description
👀 Expected behavior
refer to Description
😓 Actual Behavior
refer to Description
🐻 Uptime-Kuma Version
louislam/uptime-kuma:1.23.11
💻 Operating System and Arch
centos 7.9
🌐 Browser
chrome 120.0.6099.225
🐋 Docker Version
No response
🟩 NodeJS Version
No response
📝 Relevant log output
No response

How have you deployed uptime kuma?
Are you running a reverse proxy? If yes, how is it configured?
am I reading your report correctly that every site works except /manage-status-page?

deploy to docker env

Given that the error message is stating that the Session ID [is] unknown, have you tried logging out + back in?
What is the Relevant log output?

Yes，I tried several times and got the same result.

just a guess (comparing #4422 and my working setup):
What is your docker version?

just a guess (comparing #4422 and my working setup): What is your docker version? Comparing your setup with his, are there any points which seem similar?

Hi, I had the same error in this  https://github.com/louislam/uptime-kuma/issues/4422, while my docker is Docker version 20.10.13, build a224086, thank you.

Okay, so it is not the runtime, nor the docker version.
The only think that differes is that both @baalchina and @macaty are running a version of centos.
I have never worked with said OS. Are there any firewalls on said OS that might be active?

Okay, so it is not the runtime, nor the docker version. The only think that differes is that both @baalchina and @macaty are running a version of centos.
I have never worked with said OS. Are there any firewalls on said OS that might be active?

Well, i disabled firewalld in my rocky linux, and tried to open uptime-kuma in a single pc but three browsers(firefox, edge, chrome), only firefox display the lost connection to the socket server, but soon became normal. I'll try again later.
So, should I open any other ports except 3001 ? And is there recommend os by kuma? Maybe ubuntu or debian?
Thanks.

Can you reproduce the issue on our demo site?
https://demo.kuma.pet/start-demo

Can you reproduce the issue on our demo site?
https://demo.kuma.pet/start-demo
er...I checked the demo site, seems the same error 400. but the error soon disappear and became normal.

Weird. I cannot reproduce.
2 possible directions:

Browser (Affected by extension?), you should try Firefox or MS Edge without extensions.
Something weird in your network, you can try different network like mobile network.

I can reproduce this (after the 2nd try => not really repeatable)

Let's find commonalities.
I am running Chrome 121.0.6167.85 => maybe connected with newer chrome versions?
@louislam what brower are you running?
Could you retry this 2x more just to be sure that this is not also happening on your end?

Tried several combinations and tried several times. Also Chrome 121.0.6167.85, maybe I missed some important steps to reproduce.
Test 1:

Refresh the status page / Or type the direct status page url /status/monitor
Click "Go to Dashboard"

Test 2 (From vue router):

Go to /manage-status-page
Click the status page
Click "Go to Dashboard"

I have tried multiple times again and cannot reproduce what I could reproduce before.
Seems rarer than I thought.

This bug be like:

Going back to basics (i.e. the docs): https://socket.io/docs/v3/troubleshooting-connection-issues/#in-the-network-monitor-of-your-browser

The session ID (included in the sid query parameter) is unknown from the server. That may happen in a multi-server setup.

@macaty might there be a second server somewhere or might there be something caching responses or might there be something tampering with the traffic we send out?
From the information provided and from I could gather, I really cannot debug this further.

https://github.com/socketio/socket.io/issues/4881
Have not look into it yet, but it seems that it is an upstream bug.
If it is true, maybe we should rollback to the previous working version.

我又尝试了多次，但无法重现我之前可以重现的内容。 似乎比我想象的要少见。 没有任何方式来重现这个小东西。
这个错误就像：

回到基础知识（即文档）：https://socket.io/docs/v3/troubleshooting-connection-issues/#in-the-network-monitor-of-your-browser

服务器未知会话 ID（包含在 sid 查询参数中）。这可能发生在多服务器设置中。

@macaty某处是否可能有第二台服务器，或者是否存在缓存响应的内容，或者是否存在篡改我们发出的流量的内容？ 从提供的信息和我收集到的信息来看，我真的无法进一步调试。 你知道你是如何能够如此频繁地重现这一点而我却不能吗？

只是一个猜测（比较#4422和我的工作设置）： 你的 docker 版本是什么？你的设置和他的比较，有什么相似之处吗？

root@N1:~# docker ps|grep uptime
8f6ef13e16fc   louislam/uptime-kuma:1.23.11   "/usr/bin/dumb-init …"   6 days ago     Up 6 days (healthy)    <IP_ADDRESS>:6001->3001/tcp, :::6001->3001/tcp   uptimekuma
root@N1:~# docker version
Client:
Version:           20.10.17
API version:       1.41
Go version:        go1.19.5
Git commit:        100c701
Built:             Sat Feb 11 17:11:34 2023
OS/Arch:           linux/arm64
Context:           default
Experimental:      true
Server:
Engine:
Version:          20.10.17
API version:      1.41 (minimum version 1.12)
Go version:       go1.19.5
Git commit:       a89b842
Built:            Sat Feb 11 13:33:41 2023
OS/Arch:          linux/arm64
Experimental:     false
containerd:
Version:          1.6.6
GitCommit:        10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1
runc:
Version:          1.1.2
GitCommit:        a916309fff0f838eb94e928713dbc3c0d0ac7aa4
docker-init:
Version:          0.19.0
GitCommit:        de40ad0

好吧，所以这不是运行时，也不是 docker 版本。 唯一不同的是，两者@baalchina和@macaty正在运行 centos 版本。
我从未使用过上述操作系统。所述操作系统上是否有可能处于活动状态的防火墙？

root@N1:~# docker ps|grep uptime
8f6ef13e16fc   louislam/uptime-kuma:1.23.11   "/usr/bin/dumb-init …"   6 days ago     Up 6 days (healthy)    <IP_ADDRESS>:6001->3001/tcp, :::6001->3001/tcp   uptimekuma
root@N1:~# docker version
Client:
Version:           20.10.17
API version:       1.41
Go version:        go1.19.5
Git commit:        100c701
Built:             Sat Feb 11 17:11:34 2023
OS/Arch:           linux/arm64
Context:           default
Experimental:      true
Server:
Engine:
Version:          20.10.17
API version:      1.41 (minimum version 1.12)
Go version:       go1.19.5
Git commit:       a89b842
Built:            Sat Feb 11 13:33:41 2023
OS/Arch:          linux/arm64
Experimental:     false
containerd:
Version:          1.6.6
GitCommit:        10c12954828e7c7c9b6e0ea9b0c02b01407d3ae1
runc:
Version:          1.1.2
GitCommit:        a916309fff0f838eb94e928713dbc3c0d0ac7aa4
docker-init:
Version:          0.19.0
GitCommit:        de40ad0
root@N1:~# docker images | grep uptime
louislam/uptime-kuma   1.23.11   d84df151f227   4 weeks ago     422MB

Let's find commonalities. I am running Chrome 121.0.6167.85 => maybe connected with newer chrome versions?
@louislam what brower are you running? Could you retry this 2x more just to be sure that this is not also happening on your end?

yes, u are right.   It become normal when i disable NeatDownloadManager Extension
1.9.92

Weird. I cannot reproduce.
2 possible directions:

Browser (Affected by extension?), you should try Firefox or MS Edge without extensions.
Something weird in your network, you can try different network like mobile network.

u are right.  it become normal where i disable NeatDownloadManager Extension.

Weird. I cannot reproduce.
2 possible directions:

Browser (Affected by extension?), you should try Firefox or MS Edge without extensions.
Something weird in your network, you can try different network like mobile network.

u are right. it become normal where i disable NeatDownloadManager Extension.

That's it! I am using netdownload too..when I open chrome in Incognito Window, or edge in private mode...the socket error disappeared both in my site and demo site...

In our case, the cause of this error was haproxy. To solve this problem, we needed to add the following two settings to our haproxy.cfg file:

Just wanted to comment in here for other people looking for a solution.

Likely completely unrelated to the other posts. NONe of them have stated that they are using haproxy.
Also that timeout client-fin is necessary if timeout tunnel is used is documented in the docs ^^
Our knowledge of these niche reverse proxies is not the best and I know that that part of the docs is likely not the best => PRs from people who know more would be appreciated..

Suddenly the same error occurs in the GUI: Connection to socket server lost. Restoring the connection...

Calling uptime.ourdomain.com
Login screen - red banner with Lost connection to the socket server. Connection is re-established...
Login is possible, but the connection is immediately interrupted again
Red banner appears again and again

The setup is done with docker compose. It has been running successfully for many months. Around 50 monitors.
Docker log:
uptime-kuma | 2024-04-12T09:15:07+02:00 [AUTH] INFO: Login via token. IP=<IP_ADDRESS>
uptime-kuma | 2024-04-12T09:15:07+02:00 [AUTH] INFO: Username from JWT: admin
uptime-kuma | 2024-04-12T09:15:07+02:00 [AUTH] INFO: Successfully logged in user admin. IP=<IP_ADDRESS>

And it goes on like this.
We have reduced the monitor history to 1 day and emptied the database (it was about 1 GB in size) without anything changing. All browsers show the same behavior.
We are now somewhat at a loss. Does anyone have any ideas?

Oddly, I'm also getting the same issue.  I'm not sure when this happened, as I don't usually visit the dashboard - unless a service goes down.
Navigating to the IP directly (e.g. http://<IP_ADDRESS>:3001/) gives no issues.
Using a reverse proxy (I'm using traefik) and navigating to something like https://uptime.mydomain.com, results in the behavior that @kingfisher77 described.

Yes, missed to mention this. We are behind traefik too.

Looks like you guys are affected by this? #4669

Thank you! It looks like that was the issue.

Fantastic! Thank you.

For those who use Cloudflare Argo Tunnel, i have add similar issue until I enable the function "Disable chunked encoding"

Regards

This error not just for domain name acess or reverse proxy access, also happen when direct use http://ip_address:3001/

I am having this error with GKE:
Current configuration:
uptime kuma with nginx as reverse proxy, also tried with caddy and I am facing the same issue:
Global Load Balancer with managedCerts-->Nginx/Caddy --> Uptime Kuma
If I just use a normal LoadBalancer Service everything works fine, but using a reverse proxy as SSL Termination proxy is not working as expected.
Thankyou!

@jjoterop "not working as expected" is not specific error mesage.
Please open a new issue (instead of piling onto a solved one).
Refer to our reverse proxy documentation for tips first.

I am getting the same error: 'Lost connection to the socket server. Reconnecting...' I have tried it with Microsoft Edge and Google Chrome with no extensions and in private mode. I installed Uptime Kuma for the first time yesterday. I was getting the error locally yesterday and thought it was just my PC or my connection. But then I started using Uptime Kuma on PikaPods today and am still getting the error.
I tried reloading the app from the PikaPods dashboard and logged out of the app. Now, I am not able to log in because of the error.
Browser:
Microsoft Edge: Version 128.0.2739.9 (Official Build) stable app, beta channel (64-bit)
Google Chrome: Version 127.0.6533.100 (Official Build) (64-bit)
From the developer tools, you can see the error keeps repeating.

For me, it was the proxy_timeout setting set too low that caused the socket disconnections.


Chore: update dotenv

We need to add require('dotenv').config(); to all files that use process.env, don't we?

We need to add require('dotenv').config(); to all files that use process.env, don't we?

No, only in entry points which app.js and indexer.js files are


Fixed Missing support for include_[ATTRIBUTE]?

Hello,
Here I have added some changes to have support for  include_[ATTRIBUTE]?
https://github.com/dockyard/postgres_ext-serializers/issues/26
Let me know if any changes needed. Thanks.

Could you please add tests?

@danmcclain Yeah Sure.

@danmcclain I have added test cases for the changes. Could you please review it and let me know if any changes needed.
Thanks :smile:

Once you fix that comment, could you squash your commits? Thanks :+1:

@danmcclain Changes are done as per your suggestion. Thanks :+1:


add feature to redirect back to upstream if error occurs during oauth flow

Currently in goat-guardian, if an error occurs turning the Twitter OAuth login flow, the end-user is shown a bare-bones error page.
It would be great to have an option to redirect the user to the upstream site, so that the upstream site could display an error.
For instance, if the user is going through the Twitter OAuth login flow, after logging in at Twitter, they will be redirected back to goat-guardian with a login token from Twitter.
Goat guardian needs to check for this login token.  If it doesn't exist, an error needs to be shown to the user.  Currently, Goat Guardian is just showing a very simple HTTP 500 error page, but this could be improved.
Ideally, Goat Guardian would redirect the user back to the upstream site and let the upstream site display the error.

I'm adding this as "after MVP", but it could be important enough to add to the MVP.

This is currently only an issue for the Twitter OAuth login flow, but it will probably also be a problem when #1 is implemented for the other OAuth providers.


Will this project support build on Visual Studio 11 (2012)?

After running the cmake and msbuild, there are 437 Error(s).

Visual Studio 11 is not supported. Too old compiler with shoddy C++11 support... sorry.
If you cannot move to an newer version then I suggest you instead try out g2log instead
https://bitbucket.org/KjellKod/g2log/src


Split commits into two phases: Prepare and Apply

"Prepare" is a read-only phase, generating a description of the required changes to be made to the repo.
"Apply" actually persists those changes to the db (making sure no other commits have been applied in the meantime!)
Currently both are rolled into one - the giant apply_writes function in repo_ops.py (nb: the verb "apply" is overloaded here - think of a better one?)
There are several benefits to this change:

Improved testability (much easier to isolate the "Prepare" phase for testing).
Opens the door for implementing client-signed commits (but this is far from the only change needed for that).
Reduced db transaction granularity (two medium-sized transactions vs one big one).

Should probably separate out the core commit logic from the firehose message generation logic, too

re: verbs - "persist" seems like a good word for the second phase


CI for Node

Game › Game › Initializes with two players

Game › Game › Initializes with two players


Allow hiding 3rd party media tab

Allow programmer to hide 3rd party media tab.
Due to copyright issues, we would like to use local media and DAM integrated media and would like to hide 3rd party media tab.
We can currently hide that using JS:
const thirdParty = document.getElementById("library-tab-media3p");
if (thirdParty) {
	thirdParty.parentElement.classList.add("hidden");
}

Should we add a variable which can be filtered through web_stories_editor_settings to hide 3rd party media?
On JS, we can read that injected variable and skip rendering of the component.
Feature Description

Alternatives Considered

Additional Context

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Implementation Brief

Sounds like a reasonable enhancement.
Adding this to the editor settings makes sense.
We just need to make sure that it gets disabled properly at all levels, i.e. not just hide the tab, but also ensure there are no outgoing HTTP requests, that the tab cannot be accessed via keyboard, etc.
I'll prioritize this for one of our next sprints.

Do we want to be able to disable all services or just single service?

Let's focus on disabling all for now and see how well it works. Might want to add some e2e tests to verify it working flawlessly.


JsonIgnoreCondition is not respected

Properties annotated with JsonIgnore(Condition = JsonIgnoreCondition.Never) attribute are not included in the contract and thus, not appearing on the UI giving a false perception of their absence.
Properties with JsonIgnoreCondition.Never, JsonIgnoreCondition.WhenWritingDefault, and JsonIgnoreCondition.WhenWritingNull should be included in schemas while properties with JsonIgnoreCondition.Always or without any ignore condition must be handled as they are now.
Swashbuckle.AspNetCore v5.6.3

#2049


Change UUID to VARCHAR

Because as setObject() is error "com.mysql.cj.jdbc.exceptions.MysqlDataTruncation: Data truncation: Incorrect string value: '\xAC\xED\x00\x05sr...' for column column.users .uuid at row 1"

For JDBC drivers that supports UUID, using setObject & getObject is the best choise, we should not change this behavior. As far as I know, PostgreSQL driver supports UUID, and MariaDB Connector/J 3.1.0 also supports UUID https://mariadb.com/kb/en/mariadb-connector-j-3-1-0-release-notes/#uuid-object-support
I guest you are using mariadb, if so, simply upgrading to MariaDB Connector/J 3.1.0 can solve your problem. If cannot upgrade, you can also write a custom UuidAsStringSqlType in your project like:
fun BaseTable<*>.uuidAsString(name: String): Column<UUID> {
    return registerColumn(name, UuidAsStringSqlType)
}

object UuidAsStringSqlType : SqlType<UUID>(Types.VARCHAR, "uuid") {

    override fun doSetParameter(ps: PreparedStatement, index: Int, parameter: UUID) {
        ps.setString(index, parameter.toString())
    }

    override fun doGetResult(rs: ResultSet, index: Int): UUID? {
        return UUID.fromString(rs.getString(index))
    }
}


SignalException: SIGTERM not caught by sentry-raven

Hi,
We have the following setup for sentry in sinatra app:
// Gemfile
gem 'sentry-raven'
// config/initializers.rb
# Sentry Raven Configs
require 'raven'

Raven.configure do |config|
  config.dsn =  // dsn configured
  config.timeout = 10
  config.open_timeout = 10

  # current env from ENV['RAILS_ENV'], if not present then uses ENV['RACK_ENV']
  config.environments = %w[staging]

  config.transport_failure_callback = lambda { |event|
    puts (event.to_s);
  }
end

use Raven::Rack

The following SignalException is not caught by Sentry:
 // raise SignalException, "SIGTERM"
 [GEM_ROOT]/gems/puma-3.12.0/lib/puma/cluster.rb:394 :in `block in setup_signals`
 [GEM_ROOT]/gems/puma-3.12.0/lib/puma/cluster.rb:488 :in `select`
 [GEM_ROOT]/gems/puma-3.12.0/lib/puma/cluster.rb:488 :in `run`
 [GEM_ROOT]/gems/puma-3.12.0/lib/puma/launcher.rb:184 :in `run`
 [GEM_ROOT]/gems/puma-3.12.0/lib/puma/cli.rb:78 :in `run`
 [GEM_ROOT]/gems/puma-3.12.0/bin/puma:10 :in `<top (required)>`

Is the reason that puma was required before sentry-raven gets initialized? if so what's the workaround?

Strange, I have the opposite problem. I don't want to have it tracked and added SignalException to excluded_exceptions but it's still tracked. :thinking:

@islamhamdi thanks for reporting, can you provide a sample repo that can reproduce this issue?


Add checkbox and fix circlelogo prop

Add checkbox and remove old checkbox components
Fix circle logo prop type
Change keypress on input to non-deprecated keydown event

@SamDavies @lesbaa Just going to merge this into master since it's the last component.


deps: build.jl: remove mkl and fix broken CI on x64 macOS-latest

Remove the mkl library using Conda, so that GitHub Actions can run,
and changes can also be tested on x64 macOS-latest; which was
previously broken and would throw an error
Intel MKL FATAL ERROR: Cannot load libmkl_intel_thread.1.dylib.
Signed-off-by: Anant Thazhemadam<EMAIL_ADDRESS>

Codecov Report

Merging #92 (d38fb14) into main (6123ed5) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #92   +/-   ##
=======================================
  Coverage   83.01%   83.01%
=======================================
  Files          11       11
  Lines         312      312
=======================================
  Hits          259      259
  Misses         53       53

Continue to review full report at Codecov.

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


Testing niche on MacOSX

Good news, this issue is not an issue, I just want to gather some information on my attempts to install and test niche on my own computer that happens to be an old Mac running an old OS.
Maybe this could be mentioned in the documentation or FAQ as "this installation procedure has been reported to work on xxx", or "niche has been reported to run on xxx", meaning not intensively tested, but at least no major issues at first sight.

Here we go:

niche_vlaanderen version: 1.0b1
Python version: 3.6
Operating System: MacOS X 10.9.5

Niche Python Package question
I was able to install miniconda with python 3.6, jupyter notebook and niche 1.0b1 without too much hassle following the instructions in the alternative installation section.
Good to know:
Rasterstats was not directly available in conda ("following packages are not available from current channels"), I had to install it via pip
/Users/cecileherr/miniconda3/bin/pip install rasterstats
I am able to run a simple niche model and I get the same error as in Win for the full model  ( #99 ), not a bad start!

Note I updated the installation instructions in  16d449ddbcc0ed4f6b5f882ae6385ca93214c7dc
Keeping this open as I'm interested in hearing further results from OSX

I will update my OS soon (to 10.11), let me know if you want me to test something specific on the old 10.5 before that.
I will anyway go on with testing on 10.11 (unfortunately this is the most recent OS I will ever be able to install on my old 2009 mac)

I don't think we should


Portainer ignores start_interval attribute in healthcheck of docker-compose yml

Before you start please confirm the following.

[X] Yes, I've searched similar issues on GitHub.
[X] Yes, I've checked whether this issue is covered in the Portainer documentation or knowledge base.

Problem Description
docker-compose provides an option to periodically run a command which determines the health of the container.
The intervals between health-checks are different during the startup period immediately after the container is started, and later.

start_period sets how long the startup period lasts
start_interval sets how often to run the healtcheck command during the start period
interval sets how often to run the command after the start period.

Corresponding docs here.
I found that when I start stacks with portainer, the start_interval attribute is ignored, and interval is used even during the startup period, despite it working as expected when running docker-compose without portainer.
Expected Behavior
When I start a container with a low start_interval value, and a high interval  value, the start_interval value is used in the first startup_period seconds after the container is started.
Actual Behavior
Portainer uses the interval  value only, ignoring start_interval.
When I directly run the stack with docker compose without Portainer, it works as intended.
Steps to Reproduce
Minimal docker-compose example below. Container second starts when first becomes healthy. The health check test is set to always return that the container is healthy.
Expected: first starts, then second starts 1 second later. This happens when executed directly with docker-compose up.
Actual: When executed with Portainer, second starts 60 seconds after first. It's ignored that during the start_period, health checks should happen every start_interval second.
services:
  first:
    image: alpine
    command: ["tail", "-f", "/dev/null"]
    healthcheck:
      test: exit 0
      start_period: 15s
      start_interval: 1s
      interval: 60s

  second:
    image: alpine
    command: ["tail", "-f", "/dev/null"]
    depends_on:
      first:
        condition: service_healthy

Portainer logs or screenshots

Portainer version
2.19.5
Portainer Edition
Community Edition (CE)
Platform and Version
Docker 26.1.0 | Docker Compose v2.26.1
OS and Architecture
Debian 12 | ARM64
Browser
No response
What command did you use to deploy Portainer?
No response
Additional Information
No response
EDIT: typos

I note you're using Compose v2.26.1 whereas with Portainer 2.19.5 we ship with v2.20.2 of Compose. I can also see a mention of a fix around the required engine version for the start_interval option in the Compose v2.24.1 release notes so perhaps this was fixed in between the version that Portainer 2.19.5 ships with and the version you're running locally.
Our STS release, Portainer 2.20.2, ships with a newer version of Compose (v2.26.1 in fact) - would it be possible for you to update to 2.20.2 and see if the problem persists? Take a backup before doing so of course!

It works! Thank you for the great instructions.
I didn't consider that Portainer might ship with its own Compose but it makes total sense. Upgrading to 2.20.2 makes start_interval work as intended.

Thanks for following up, and glad this fixed it! We include the Compose binary with the release so that we can provide Compose functionality within Portainer without relying on the host to have it installed, and also to ensure we're working with a version of Compose that we've tested with. As we release new versions of Portainer we bump the version of the included binaries, so our next LTS release (2.21) will include this too.


Fix match score of best match function

The match score column is wrong. Resources:

https://dplyr.tidyverse.org/articles/programming.html#data-and-env-variables

at test5, it should work according to the example, but it doesn't

It seems that for some reason, the tidy select syntax only does not work with fill() but does work with the others... very odd. Maybe this requires some sort of workaround...

working function, running on all clean pdf outputs to check for errors before merging the PR

created parallel / new function that resolves the issues above. Main problem was that previous ~12 commits or so considered "matched" to be by string not by unique pairs, so the new corresp() function matches by pairs


Editor doesn't launch in private browsing mode in Safari

When you are in private browsing mode in Safari (OS X/iOS), the localStorage API is unavailable, which means the editor doesn't launch.
I will add typeof localStorage === 'object' as a requirement in browser support, and document it in the micro:bit docs.

In such case, we can simply use the memoryworkspace. I think that s should be already handled. It is important to support that scenario.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Thomas Denney<EMAIL_ADDRESS>Sent: Wednesday, September 21, 2016 2:47:53 AM
To: Microsoft/pxt
Subject: [Microsoft/pxt] Editor doesn't launch in private browsing mode in Safari (#355)
When you are in private browsing mode in Safari (OS X/iOS), the localStorage API is unavailablehttps://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fstackoverflow.com%2Fquestions%2F21159301%2Fquotaexceedederror-dom-exception-22-an-attempt-was-made-to-add-something-to-st&data=02|01|jhalleux%40microsoft.com|3fde63f0ffc240c1c0b308d3e2045c95|72f988bf86f141af91ab2d7cd011db47|1|0|636100480769392167&sdata=NlgoJ7QwewOqufoDP4cnxx42EzjsO%2BMEoBqOZaOl%2BJY%3D, which means the editor doesn't launch.
I will add typeof localStorage === 'object' as a requirement in browser support, and document it in the micro:bit docs.

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fpxt%2Fissues%2F355&data=02|01|jhalleux%40microsoft.com|3fde63f0ffc240c1c0b308d3e2045c95|72f988bf86f141af91ab2d7cd011db47|1|0|636100480769392167&sdata=Q7v%2FfUEBx2hEjqNZS%2BZysr8444WdK%2BH7PQC6Zbo3fZs%3D, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAD-4KTfYLenuC-l8mPCsYsnx5Re98k4eks5qsP1JgaJpZM4KCmo9&data=02|01|jhalleux%40microsoft.com|3fde63f0ffc240c1c0b308d3e2045c95|72f988bf86f141af91ab2d7cd011db47|1|0|636100480769392167&sdata=0u1gBtJxV0kZJj0TLbs9mN14d8tuOivj%2BzR53khDU%2B0%3D.


Add delete author message option in  $suppressError

Type

[x] Functions: <$suppressError>

Description
It will delete the author message if $suppressError is triggered, in short it's just like the $deleteCommand added as an option in the $suppressError

Already exists. Use {deletedCommand} or {deletedCommand:time}

Already exists. Use {deletedCommand} or {deletedCommand:time}

Ohh,ok sry


Choices don't render in Facebook Messenger (FacebookAdapter)

Regarding Example: 23.Facebook-events C#
Setup
I've connected the example by making the necessary adaptations to make the example usable for Facebook Messenger:
1/ Addition of the FacebookVerifyToken, AppSecret, AccessToken
2/ Addition of the api/facebook ApiController using the FacebookAdapter
3/ Inclusion of Microsoft.Bot.Builder.Adapters.Facebook in package references
4/ Running a ngrok host, connecting and validating from Facebook Developer page (callback URL and token)
Status
Communication is working with the bot able to receive and send activities.
Problem:
Choices are not presented in Messenger. Merely the text "What Facebook feature would you like to try? Here are some quick replies to choose from!".
Expected outcome:
The expected display is as per appears when ran in the Emulator with the 3 choice actions below.
I came to this after some hours of trying to diagnose why renderings of HeroCards and Choices are not working in my implementation of the Bot when presented in Messenger.   I see now that the examples also fail so it does not appear to be related to my implementation.

As with the HeroCard, it would appear that some features of the Bot Framework that require special handling for facebook eg: marked up payloads fail when running from a local environment.  I've just deployed my project code to Azure and the HeroCard operates as expected.
My assumption now is that the Bot requires the Channel  setup as a passthrough in Azure for these features to work.  Is this correct? or is there a way to develop these features with localhost?

Thank you for the report, @oespn
Let me see if I understand your issue correctly. You want to use a Facebook adapter, but instead of using the Facebook adapter sample you've modified the Facebook events sample to use a Facebook adapter. Is that correct?
If that's the case, your expected behavior is wrong. The Facebook adapter has never converted Bot Framework cards to Messenger templates or converted Bot Framework suggested actions to Messenger quick replies. Only the Facebook connector does that. You can see a complete discussion of the limitation here: https://github.com/microsoft/botbuilder-dotnet/issues/5049
The same limitation exists in other adapters, though there's a pending PR to have the Slack adapter accept Bot Framework cards the way the Slack connector does. If the PR is accepted, similar improvements may be made to other adapters. https://github.com/microsoft/botbuilder-dotnet/pull/5571

I've just deployed my project code to Azure and the HeroCard operates as expected.

This doesn't seem possible. Perhaps the bot didn't deploy correctly and the web app is still using a Bot Framework adapter instead of a Facebook adapter.

My assumption now is that the Bot requires the Channel setup as a passthrough in Azure for these features to work. Is this correct?

Yes.

or is there a way to develop these features with localhost?

If your goal is to use localhost, the Facebook adapter is unnecessary for that. Any bot can be run locally if you use tunneling: https://docs.microsoft.com/azure/bot-service/bot-service-debug-channel-ngrok
Does this resolve your issue?

I mixed information between my project and the test cases in my last response.  Ignoring that, my original post was to point out that running the "23.Facebook-events" C# example with Facebook Messenger with localhost via ngrok will not show the 'Choices' list below.
private static async Task ShowChoices(ITurnContext turnContext, CancellationToken cancellationToken)
        {
            // Create choices for the prompt
            var choices = new List<Choice>();
            choices.Add(new Choice() { Value = QuickRepliesOption, Action = new CardAction() { Title = QuickRepliesOption, Type = ActionTypes.PostBack, Value = QuickRepliesOption } });
            choices.Add(new Choice() { Value = FacebookPageIdOption, Action = new CardAction() { Title = FacebookPageIdOption, Type = ActionTypes.PostBack, Value = FacebookPageIdOption } });
            choices.Add(new Choice() { Value = PostBackOption, Action = new CardAction() { Title = PostBackOption, Type = ActionTypes.PostBack, Value = PostBackOption } });

            // Create the prompt message
            var message = ChoiceFactory.ForChannel(turnContext.Activity.ChannelId, choices, "What Facebook feature would you like to try? Here are some quick replies to choose from!");
            await turnContext.SendActivityAsync(message, cancellationToken);
        }

The output shown in facebook is:
"What Facebook feature would you like to try? Here are some quick replies to choose from!"
only.
However, when deployed on an azure app service with the facebook channel configured then the output shows as expected with the choice actions.
If this is the expected behaviour then we can close the issue and this note can serve to help others who may encounter the same experience.

@oespn - It's not clear what information you're saying was mixed up. Please answer the question I asked here: https://github.com/microsoft/BotBuilder-Samples/issues/3290#issuecomment-847295763

Let me see if I understand your issue correctly. You want to use a Facebook adapter, but instead of using the Facebook adapter sample you've modified the Facebook events sample to use a Facebook adapter. Is that correct?

@oespn - Are you still working on this?

I am closing this issue due to inactivity. We are still happy to provide help if you need any, though it may be a good idea to make a new post if that's the case. Please have a look at this to find out the best places to ask for help, and consider asking questions on Stack Overflow.


Bounty: URL Parameter Toggles

~As the script is presently written, there are two lines of code script users have to alter in order to change the desired URL parameters. One line detects whether the desired URL Parameters are already present in the video link, while the other appends the URL parameters if they are absent.~
The Privacy Redirector script which I recommend use alongside this script features different toggles in the code to enable and disable not just individual redirects, but whether those redirects pull destinations from a Farside instance or from a pool of editable URLs maintained by the script user.
~At minimum, if anyone is capable of adding such a feature to this script without breaking it, it would be desirable for there to be a single pool of editable URL parameters that can then be applied to both the detect line and the append line so that users do not have to manually edit both lines of code for themselves.~
More complicated would be to recreate the toggles from the Privacy Redirector script so that users can merely toggle on/off desired URL parameters and have them applied to the detect and append lines of the code.
~Should the latter-most option be plausible,~ It may further be of use for users to fall back on a "single URL parameter pool" should the options of default toggles prove undesirable for whatever reason, most likely being reasons beyond this repository's scope such as the addition of new URL parameters to the Invidious project or the deprecation of pre-existing URL parameters.

After cloning this script to create a Wikipedia Classic Theme script, I stumbled upon another script for the same purpose that may offer the blueprints for both creating a single editable URL parameter string, and allowing for different parameters for the homepage and video URLs (resolving #5 ).

As of the latest update, there is now a single line of URL parameters for users to change.
Special thanks to the old-wikipedia-layout script for the guidance, as well as Privacy Redirector.
The change has also been applied to my own Wikipedia Classic Theme Script.
As toggles for applying different URL parameters is still desirable, I shall leave this issue open, albeit appropriately renamed.

With how drastically the script has matured, I'm less interesting in recreating switches ala-Privacy Redirector, but this remains an option regardless.

For the sake of ease of usability, and the potential of this script being adapted into an web extension, this will be my next priority.

Code functions fine, and I'd rather not break it needlessly when the "fill in the blank" options work fine enough.
If anyone wants to they can make a pull request. Otherwise, I'm not gonna make this happen.


modules: lvgl: Remove Kconfig symbols that dont exist

LV_Z_DISPLAY_DEV_NAME, LV_Z_HOR_RES_MAX, & LV_Z_VER_RES_MAX
Kconfig symbols don't exist anymore.  They got removed in
recent devicetree update of lvgl module.  So remove them from
modules/Kconfig.lvgl.
Signed-off-by: Kumar Gala<EMAIL_ADDRESS>

Here's the module commit that removed these symbols:
https://github.com/zephyrproject-rtos/lvgl/commit/487bcde705b6f453d053f28dbba4dd9f353d1ccb
and the zephyr commit that updated to that sha:
https://github.com/zephyrproject-rtos/zephyr/commit/ba0dc008ff3fe7b8532e1ee383db01f7d4c6267a

@galak Shall we move the rest of the symbols into devicetree and remove them completely?

@galak Shall we move the rest of the symbols into devicetree and remove them completely?

which ones?

@galak Shall we move the rest of the symbols into devicetree and remove them completely?

which ones?

config LV_Z_POINTER_KSCAN_SWAP_XY
	bool

config LV_Z_POINTER_KSCAN_INVERT_X
	bool

config LV_Z_POINTER_KSCAN_INVERT_Y
	bool

choice LV_COLOR_DEPTH
	default LV_COLOR_DEPTH_16
	prompt "Color depth."
	depends on LVGL

	config LV_COLOR_DEPTH_32
		bool "32: ARGB8888"
	config LV_COLOR_DEPTH_16
		bool "16: RGB565"
	config LV_COLOR_DEPTH_8
		bool "8: RGB232"
	config LV_COLOR_DEPTH_1
		bool "1: 1 byte per pixel"
endchoice

config LV_COLOR_16_SWAP
	bool

I just looked briefly at it and I thought it could be possible to retrieve those details from the display node or etc.

I just looked briefly at it and I thought it could be possible to retrieve those details from the display node or etc.

Yeah, not sure.  Even if that is the case, it should be a follow up PR.

I just looked briefly at it and I thought it could be possible to retrieve those details from the display node or etc.

Yeah, not sure. Even if that is the case, it should be a follow up PR.

Right.


Add batch storage write api test addressing recent dataloss case #26503

Fixes #26531
The data-loss fix is in #26503. This PR creates a test to make sure this case is covered.
Data-loss happened when there were multiple appends to the same stream. This would usually happen with batch writes large enough to go over the append thresholds set here: https://github.com/apache/beam/blob/250488211e5b60ae0f8221b1b3dc6288531f12ee/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/BigQueryOptions.java#L149-L159

R: @reuvenlax

This test fails when run against the code prior to the changes in #26503 with:
java.lang.RuntimeException: Bad append: 0 + for stream 112e49de-0c2c-4a4e-820f-d8b96d339c83 expected 1

And getting the familiar error when removing the fake BQ services and using a real table ref:
com.google.cloud.bigquery.storage.v1.Exceptions$OffsetAlreadyExists: ALREADY_EXISTS: The offset is within stream, expected offset 1, received 0

That's great, thanks @ahmedabu98

Can you iterate here and get the tests green?

retest this please

Run Java_GCP_IO_Direct PreCommit

[org.apache.beam.sdk.io.gcp.bigquery.BigQueryIOWriteTest.testTriggeredFileLoadsWithTempTablesToExistingNullSchemaTable[1]](https://ci-beam.apache.org/job/beam_PreCommit_Java_GCP_IO_Direct_Phrase/167/testReport/org.apache.beam.sdk.io.gcp.bigquery/BigQueryIOWriteTest/testTriggeredFileLoadsWithTempTablesToExistingNullSchemaTable_1_/) is a known flake

R: @Abacn

Test looks good.
Discussion not blocking this PR:
I am wondering shouldn't batch job always be "exactly once"? Then what is the point of using STORAGE_WRITE_AT_LEAST_ONCE in batch

note that this setting adds 42 unit tests:

while adding coverage, we may also needs to revisit if there are redundant tests (I suspect there are) as BigQueryIOWriteTest is already the main contributor of the run time.

Run Java_GCP_IO_Direct PreCommit

Then what is the point of using STORAGE_WRITE_AT_LEAST_ONCE in batch

Including STORAGE_API_AT_LEAST_ONCE batch tests because a different code path is taken when this method is set: https://github.com/apache/beam/blob/d91ea8e44918a7ef10ac8b33001cddab61bcedc5/sdks/java/io/google-cloud-platform/src/main/java/org/apache/beam/sdk/io/gcp/bigquery/StorageApiLoads.java#L103-L110

note that this setting adds 42 unit tests

Many of those tests will end up being skipped, but agree that this test class can be cleaned up to reduce the runtime

test is flaky

Is it flaky because of the test (is there eventual consistency on the writes?) or is it flaky because of the feature?

The test added in this PR is flaky. From the log it fails in processElement (not PAssert) it seems indicating issues in feature:
it fails a trigger run after succeeded with a commit run: https://ci-beam.apache.org/job/beam_PreCommit_Java_GCP_IO_Direct_Phrase/174/
org.apache.beam.sdk.Pipeline$PipelineExecutionException: java.lang.RuntimeException: java.lang.RuntimeException: Bad append: 0 + for stream 4b30ad01-673f-4c50-87ba-e9a9154af9b5 expected 1
	at org.apache.beam.runners.direct.DirectRunner$DirectPipelineResult.waitUntilFinish(DirectRunner.java:374)
...
Caused by: java.lang.RuntimeException: java.lang.RuntimeException: Bad append: 0 + for stream 4b30ad01-673f-4c50-87ba-e9a9154af9b5 expected 1
	at org.apache.beam.sdk.io.gcp.bigquery.StorageApiWriteUnshardedRecords$WriteRecordsDoFn$DestinationState.lambda$flush$7(StorageApiWriteUnshardedRecords.java:578)
	at org.apache.beam.sdk.io.gcp.bigquery.RetryManager$Operation.run(RetryManager.java:132)
	at org.apache.beam.sdk.io.gcp.bigquery.RetryManager.run(RetryManager.java:248)

test was added in #26976


Doesn't work with live preview

Doesn't work with live preview. Still great though :)

Hey @lewisjenkins thanks for the report! The functionality seems to work but the structure isn't reflected in the template.

Yes, I should have been clear. The structure isn't output in the templates until the document is saved.

Oh boy... seems I've missed something quite important. Entries have drafts and versions, which I'm not taking into account. I have a feeling this is going to be quite difficult to implement reliably.
I actually built this plugin to be a precursor to https://github.com/benjamminf/craft-neo which will support the features of this plugin, and a whole lot more. Seeing as that plugin is a completely new field type, and not just hacking onto another, it won't have any of these issues. No release ETA yet though.

This plugin (or something like it, Neo?) could be groundbreaking.
If you could add the functionality of the Reasons conditional plugin Craft will literally be the perfect CMS. Let me know where to send beer bribes.

@shealan The fortunate thing about Neo is that it uses the field layout designer for each block type, so the Reasons plugin would already be halfway compatible. I have full compatibility on my to-do list ;)
Haha beer is great and all, but what I really need is somebody to do this 3000 word essay so I don't feel so guilty working on Craft plugins instead.

(Leaving this here as a reminder to myself when I get around to fixing this)
Turns out the BaseElement[Model/Record] has the level attribute. This means that Matrix blocks already have a level attribute, which means not having to keep a separate record for each Matrix block just to track it's level.
Being able to set the level directly on the Matrix block also means that this will most likely solve this issue with the Live Preview, as well the issues with drafts and past versions of entries. It also has the benefit of improving performance, as there won't have to be any extra media queries.


Added non-root aswfuser

This makes a new aswfuser available to all docker images.
@bcipriano I'm happy to also take your commit into this PR if you want?

Strange, it looks like you're not a proper "approving" reviewer... I'll still need another approval to merge!

All good now :-) images should be available within 40m.


Delete event if request has been discarded

Currently you can not delete an event if it is tied to a request, even if the request has been discarded.
For example try deleting:
https://amy.carpentries.org/workshops/event/2019-01-01-deleteme/edit/
If the request has been discarded you should be allowed to successfully delete the event.

Actually, closing this. I see it can be deleted if the referenced event is removed from the request.


Error: Requiring module "54"

After successfully deployed base app on android (react-native run-android), i get this error:

All suggestions how to fix the issue are irrelevant - i can normaly launch and debug my other react native apps. Here's my ignite doctor output:
Computer
  Platform: linux

Ignite
  Version: 1.5.0
  Path: /usr/local/bin/ignite

Node
  Version: v6.4.0
  Path: /usr/local/bin/node

NPM
  Version: 3.10.3
  Path: /usr/local/bin/npm

Yeoman
  Version: 1.8.4

React Native CLI
  Version: 1.0.0

App
  React Native Version: 0.31.0

Please help :)

HI @iztokf
What a wild error!
Are you sure your packager is not out of date, or running a different app?
It looks like your app and your packager are speaking different languages to one another.

you were right. packager was running a different app :S thanks!


Add scope1 package

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@fea3341). Click here to learn what that means.
The diff coverage is n/a.

Additional details and impacted files
@@             Coverage Diff             @@
##             develop        #1   +/-   ##
===========================================
  Coverage           ?   100.00%
  Complexity         ?         1
===========================================
  Files              ?         1
  Lines              ?         2
  Branches           ?         0
===========================================
  Hits               ?         2
  Misses             ?         0
  Partials           ?         0

Flag
Coverage Δ

functional-tests
0.00% <0.00%> (?)

php-8.2
100.00% <0.00%> (?)

unit-tests
100.00% <0.00%> (?)

Components
Coverage Δ

php-jsonrpc/poc-monorepo-pkg1
∅ <0.00%> (?)

core
∅ <0.00%> (?)


display an Estimated Time Remaining for first-time users

In particular for downloading the chain "waiting for fresh chain" may not be clear to endusers.
I suggest using "Downloading latest blocks of chain".
A download ETA would help as well.

And we should probably remove the "bad peer" errors.
@atramos opinions?

And we should probably log the "bad peer" errors as info or something, so it doesn't spam the shell.

This was addressed in PR #88

I think investing in the CLI user experience will have diminishing returns. We should start putting some focus on the GUI.

Any ideas on which GUI framework to use? TKinter is universal.

After looking at the Commonly raised objections in the readme, it looks like we are still in the "The tech illiterate are only allowed to join the lower ranks of the pyramid, so that GUI must wait a bit."

That was written by sashimi in April, I think working on a GUI now makes sense. ~We've done enough pre-mining~
There is a WIP PR (#83) for a browser based GUI.

I think investing in the CLI user experience will have diminishing returns. We should start putting some focus on the GUI.

Any ideas on which GUI framework to use? TKinter is universal.

I prefer a two-tier app with the backend in Flask (like POC shown in Draft PR #83) and the frontend in a browser based framework such as "not a framework" ReactJS, Vue, or Angular. The POC didn't use React but this is something I'm comfortable setting up.

I updated the title to be more specific and still doable before the GUI.


Can't access frontend (error 403)

I'm getting error 403 when visit frontend of my site 🥲 ..

I'm using 20i web hosting ...
Server: Apcahe
Php: 8.1.1
How can make frontend accessible ? Can anyone please help me ?

Problem has been solved ! I forgot to move the contents of sleeky-frontend to root directory


fix: get_jobs exception when single job entry

Description

Fixes FirewallProxy.get_jobs() method to handle jobs response with a single entry as dict (instead of list).
See #164 for details.
Motivation and Context

Fixes #164 and #124
How Has This Been Tested?

Tested on firewalls with example scripts.
Types of changes

Bug fix (non-breaking change which fixes an issue)

Checklist

[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes if appropriate.
[x] All new and existing tests passed.

:tada: This PR is included in version 0.3.5 :tada:
The release is available on PyPI and GitHub release

Posted by semantic-release bot


701 upgrade miniz to v3.0.2

Cherry-picked #688 / 31a12d8723f6a44525dc86a2dfdcd17a020b6692.
Then updated miniz to its 3.0.2 release version, adapted the corresponding patch and applied it. Also removed the patches for the old miniz version.

I'm unsure whether I should squash this into one commit or the two separate ones showing the provenance are ok.

Codecov Report

Merging #788 (1a33bfb) into c++14-compliant (5db4aaf) will decrease coverage by 8.42%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files

@@                 Coverage Diff                 @@
##           c++14-compliant     #788      +/-   ##
===================================================
- Coverage            88.25%   79.84%   -8.42%
===================================================
  Files                  243      119     -124
  Lines                10034     4789    -5245
===================================================
- Hits                  8856     3824    -5032
+ Misses                1178      965     -213

Impacted Files
Coverage Δ

framework/src/util/FrameworkPrivate.h
0.00% <0.00%> (-100.00%)
:arrow_down:

framework/src/service/ServiceListeners.h
0.00% <0.00%> (-100.00%)
:arrow_down:

framework/src/util/SharedLibraryException.cpp
0.00% <0.00%> (-100.00%)
:arrow_down:

util/include/cppmicroservices/util/DataContainer.h
0.00% <0.00%> (-100.00%)
:arrow_down:

...mework/include/cppmicroservices/GetBundleContext.h
0.00% <0.00%> (-100.00%)
:arrow_down:

.../include/cppmicroservices/SharedLibraryException.h
0.00% <0.00%> (-100.00%)
:arrow_down:

util/include/cppmicroservices/util/MappedFile.h
0.00% <0.00%> (-83.34%)
:arrow_down:

...include/cppmicroservices/detail/TrackedService.tpp
8.82% <0.00%> (-74.20%)
:arrow_down:

.../cppmicroservices/detail/BundleAbstractTracked.tpp
13.88% <0.00%> (-72.27%)
:arrow_down:

...include/cppmicroservices/detail/ServiceTracker.tpp
25.22% <0.00%> (-58.66%)
:arrow_down:

... and 203 more


chore(amplify-graphql-searchable-transformer): refactor the expression to construct aggregate values

Description of changes

These changes refactor a step in the Request Mapping Template that is generated by the Searchable V2 transformer.
The step is responsible for constructing a Map that contains the Aggregate values that will eventually be used in the construction of the Search Query. The current refactor dynamically generates this Map instead of a raw JSON representation.
This is necessary for the Searchable Mocking to work since the mock VTL compiler does not read raw JSON representations.
Issue #, if available

Description of how you validated changes
The test snapshot updates show the change in the Request Mapping Template.
Added explicit checks as well.
Checklist

[x] PR description included
[x] yarn test passes
[x] Tests are changed or added
[ ] Relevant documentation is changed or added (and PR referenced)
[ ] New AWS SDK calls or CloudFormation actions have been added to relevant test and service IAM policies

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #784 (35d9795) into main (98c021a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #784   +/-   ##
=======================================
  Coverage   63.39%   63.39%
=======================================
  Files         278      278
  Lines       18220    18222    +2
  Branches     4431     4431
=======================================
+ Hits        11550    11552    +2
  Misses       6074     6074
  Partials      596      596

Impacted Files
Coverage Δ

...earchable-transformer/src/generate-resolver-vtl.ts
86.36% <100.00%> (+1.36%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

The factor LGTM. Just one question on the raw JSON output. What the form will be after the refactor if it is not raw JSON?

It'll be the same map object but generated dynamically.

Can we run E2E against this just for sanity?


Updated CF template and example ENV files

BUG: Deploys to the production environment in the AWS community calendar production cloudformation stack were causing unexpected behavior. GraphQL errors were being returned from every user action and any attempt to add media through the create event page or edit profile page were failing.
FIX: Issue was resolved by updating the Cloudformation temple and AWS environmental variable file to bring in our Cloudinary configuration variables. Backend now creates all expected behaviors with the frontend branch in the staging environment.
DOCUMENTATION: README updated to reflect more detail on the AWS deployment flow and the process of adding new environmental variables to the project. Updated environmental variable examples in the /examples directory and added all AWS environmental variable files in the root directory to .gitignore

Good updates to the environment variables. Great work keeping the .readMe up to date with this info for our future devs


Can i use Square(int index)?

The documentation for creating a square only lists the Square(string name) constructor, but there is also a Square(int index) constructor, can I use it?

Yes you are, I should probably add that to the docs!


Limit overscroll stretching

Fixes https://github.com/flutter/flutter/issues/99264
This limits the amount of stretch that the indicator can reach, regardless of how many pointers you apply.
(I see you #11884 😝 )
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

There are some approved customer screenshot tests that capture the stretch changing here. Updating these is expected. Setting the google testing shard to green manually to land.


How do I get jwt auth to work for the API

I was following info I found in: https://github.com/capitalone/Hygieia/issues/975
I want to use http://localhost:8080/api/deploy/
I just tried basic auth with the curl example, I kept getting jwt token malform.... which confused me.  I then tried to make the jwt follow a guide on how to put those together (first time using that type of token).  I am assuming the secret I am to use is whatever I set in dashboard.properties  auth.secret=
For the second part of the jwt, I think the payload I just put user:myusername
Not sure if anything else was needed...or if that was even needed.
I keep getting "message":"JWT signature does not match locally computed signature. JWT validity cannot be asserted and should not be trusted."   not sure what is going wrong.
Thanks.

Have you tried https://github.com/capitalone/Hygieia/issues/1564

Have you tried looking at https://github.com/capitalone/Hygieia/blob/gh-pages/pages/hygieia/api/api.md? Near the bottom it explains how to set up the token.

@htvan1 Please reopen if you have any more issues.


Works for you pagination & polish

[x] Adds pagination to Works For You container
[x] Adds TouchableWithoutFeedback to notification artist title

With https://github.com/danger/danger-js/pull/210 we shouldn't get Dangerfile's into states like this again. 👍

@l2succes good to merge?

The CI is failing, this shouldn't be merged.

Warnings

:warning:
Could not find corresponding stories for these components:
 - [] `export class Notification extends React.Component`

  Generated by :no_entry_sign: dangerJS

Looks good! 🛳 it


Mercurial dependency

Mercurial dependency exists on downloading a package directly from an hg repo

Deprecated. Moving to vagrant


DET

Diamond Exchange Is a High Performance, Safe, Stable & High Liquidity Exchange. It is capable of processing 1,111,111 orders per second, with Multi-tier & Multi-cluster system architecture, obtaining Liquidity from Abundant pool resources & partners.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[ ] Filename in the lowercase format
[ ] Image format: png
[ ] Image size: 256 by 256 px

Remove Screenshot_20190123-141246.jpg and make your file smaller then 60kb

Done: https://github.com/TrustWallet/tokens/pull/1428
Emmanuel Adams
want to know more
about.me/emmanuel.adams
On Tue, Apr 9, 2019, 12:20 AM Viktor Radchenko<EMAIL_ADDRESS>wrote:

Remove Screenshot_20190123-141246.jpg and make your file smaller then 60kb
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/TrustWallet/tokens/pull/1424#issuecomment-481042413,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AsgQSG_KvedGDoobqV0TtPW87Tijugc3ks5ve86WgaJpZM4cjJYm
.

Remove Screenshot_20190123-141246.jpg and make your file smaller then 60kb

Done... Thanks


Update Bot Framework SDK link

Current Bot Framework SDK link directs to the archived repository:

Updated text with url should be:

Though you can create the web service manually, use Bot Framework SDK to work with the protocol.

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

ID: 7fd5f91c-206f-f03c-d82e-3bf1cc81d13e
Version Independent ID: d5c2d24a-def4-af2e-7983-c73cf7f22934
Content: Messaging extensions - Teams
Content Source: msteams-platform/messaging-extensions/what-are-messaging-extensions.md
Product: msteams
GitHub Login: @clearab
Microsoft Alias: anclear

@corinagum- Thanks for your insights. The documentation team will update the changes.


Add filtering for different device types. Fixes #37.

note for future: can replace indexOf test by find


prealloc setting needs to be negated

Prior to 2.6 the config option is noprealloc: true, now it's storage.preallocDataFiles: false, so the option noprealloc needs to be negated when using the 2.6 config template.

Thanks @andyroyle !


Add benchmark for nested arrays

In production at @altmetric, we're seeing performance regressions from < 2 seconds for a MULTI...EXEC block with a SORT to over 10 seconds using this JavaScript parser.
The issue seems to be regarding the JavaScript parser's performance handling large nested arrays which is significantly slower than hiredis.
This commit adds a benchmark for nested arrays and has the following results on Node 6.9.4 and Redis 3.2.6 running on macOS Sierra 10.12.2 on a 1.7 GHz Intel Core i7 with 8 GB of RAM:
$ node ./benchmark
HIREDIS: $ multiple chunks in a bulk string x 751,870 ops/sec ±1.05% (90
runs sampled)
HIREDIS BUF: $ multiple chunks in a bulk string x 378,039 ops/sec ±4.24%
(75 runs sampled)
JS PARSER: $ multiple chunks in a bulk string x 877,428 ops/sec ±1.28%
(89 runs sampled)
JS PARSER BUF: $ multiple chunks in a bulk string x 974,670 ops/sec
±2.13% (87 runs sampled)

HIREDIS: + multiple chunks in a string x 1,492,485 ops/sec ±1.09% (90
runs sampled)
HIREDIS BUF: + multiple chunks in a string x 503,567 ops/sec ±7.16% (69
runs sampled)
JS PARSER: + multiple chunks in a string x 1,702,071 ops/sec ±1.61% (89
runs sampled)
JS PARSER BUF: + multiple chunks in a string x 1,701,244 ops/sec ±2.21%
(85 runs sampled)

HIREDIS: $ 4mb bulk string x 130 ops/sec ±2.56% (71 runs sampled)
HIREDIS BUF: $ 4mb bulk string x 192 ops/sec ±3.54% (62 runs sampled)
JS PARSER: $ 4mb bulk string x 961 ops/sec ±1.69% (86 runs sampled)
JS PARSER BUF: $ 4mb bulk string x 519 ops/sec ±9.08% (57 runs sampled)

HIREDIS: + simple string x 1,107,213 ops/sec ±90.48% (91 runs sampled)
HIREDIS BUF: + simple string x 560,184 ops/sec ±7.19% (67 runs sampled)
JS PARSER: + simple string x 4,373,979 ops/sec ±1.34% (88 runs sampled)
JS PARSER BUF: + simple string x 4,789,228 ops/sec ±2.22% (85 runs
sampled)

HIREDIS: : integer x 1,905,121 ops/sec ±2.72% (87 runs sampled)
JS PARSER: : integer x 14,214,940 ops/sec ±2.05% (86 runs sampled)
JS PARSER STR: : integer x 11,177,380 ops/sec ±1.38% (89 runs sampled)

HIREDIS: : big integer x 1,729,124 ops/sec ±1.46% (89 runs sampled)
JS PARSER: : big integer x 7,921,758 ops/sec ±1.81% (89 runs sampled)
JS PARSER STR: : big integer x 3,959,360 ops/sec ±2.06% (87 runs
sampled)

HIREDIS: * array x 40,970 ops/sec ±1.25% (92 runs sampled)
HIREDIS BUF: * array x 7,089 ops/sec ±6.21% (61 runs sampled)
JS PARSER: * array x 58,288 ops/sec ±8.30% (90 runs sampled)
JS PARSER BUF: * array x 62,607 ops/sec ±1.36% (92 runs sampled)

HIREDIS: * nested array x 285 ops/sec ±1.52% (83 runs sampled)
HIREDIS BUF: * nested array x 61.04 ops/sec ±7.56% (55 runs sampled)
JS PARSER: * nested array x 14.15 ops/sec ±1.81% (39 runs sampled)
JS PARSER BUF: * nested array x 14.20 ops/sec ±2.16% (39 runs sampled)

HIREDIS: * big array x 336 ops/sec ±1.03% (87 runs sampled)
HIREDIS BUF: * big array x 158 ops/sec ±1.45% (56 runs sampled)
JS PARSER: * big array x 0.40 ops/sec ±1.32% (5 runs sampled)
JS PARSER BUF: * big array x 0.39 ops/sec ±5.06% (5 runs sampled)

HIREDIS: - error x 104,136 ops/sec ±1.43% (90 runs sampled)
JS PARSER: - error x 203,987 ops/sec ±1.40% (92 runs sampled)

Fastest is JS PARSER: : integer
Done in 239.50s.

Please check what redis-parser version you use in production and update to the latest version. Nested arrays should work fine since v.2.3.0.

I'm using redis_parser 2.3.0 and the aforementioned benchmarks were run against commit 26be8f841e43afd4d1453ae21b55df129f2aa271.

@mudge I pushed a fix to master that should definitely solve your issue. Would you be so kind and give it a try?

Thanks for the quick response, @BridgeAR. Running the benchmarks on b3aea396d99682e2db30eb60aebebaee435ba689 gives me the following results for "big nested array":
HIREDIS: * big nested array x 253 ops/sec ±2.09% (65 runs sampled)
HIREDIS BUF: * big nested array x 115 ops/sec ±3.29% (55 runs sampled)
JS PARSER: * big nested array x 119 ops/sec ±2.23% (66 runs sampled)
JS PARSER BUF: * big nested array x 96.89 ops/sec ±2.68% (46 runs sampled)

It's much better but still slightly slower than hiredis. However, trying this in our web application shows negligible real world performance differences between the two parsers and certainly not the 2 seconds -> 10 seconds I was seeing previously.

@mudge thanks for testing the code! The benchmark result is due to the artificial nature of the input. I used some extreme values that will not occur with real data. With real world data the parsers should now always be on par with big nested arrays.


Page jumps back to the top on scrolling after refresh in Chrome

Steps to recreate issue:

Scroll halfway down a page
Refresh the page
Start to scroll down again

This results in the page jumping back to the top and then scrolling works correctly again.

Hi,
Actually, I experience the same issue. You can test it at http://themedemos.webmandesign.eu/qtron/
Could this be related to jQuery Mousewheel then?
Thanks!
Oliver

Seeing the same issue on custom theme. Weird.

Same issue on OSX with 1.0.1 and latest mousewheel library (3.1.13), but not with 1.0 and mouswheel 3.1.12.

I'm also getting this issue on my Mac


Unable to mount root fs with RancherOS and Set Github User menu boot

I am trying to get RancherOS booting with custom could-config URL using Set Github User feature.
When booting RancherOS form built-in menu it works OK.
If I boot using chain command from failsafe debug iPXE menu and point it to URL of my custom.ipxe it also boots OK.
If I boot from same config file using Set Github User menu it fails to boot with missing root volume:
VFS: Unable to mount root fs on unknown-block(0,0)
Is there anything special that netboot does to the environment that could make it fail that way?
I am using Virtual Box and custom.ipxe:
#!ipxe
dhcp
set base-url https://releases.rancher.com/os/latest
kernel ${base-url}/vmlinuz printk.devkmsg=on rancher.debug=true rancher.state.dev=LABEL=RANCHER_STATE rancher.state.wait console=tty0 rancher.state.mdadm_scan console=ttyS1,115200n8 rancher.autologin=ttyS1 rancher.network.interfaces.eth*.dhcp=true rancher.cloud_init.datasources=[configdrive,ec2,gce,packet,digitalocean]
initrd ${base-url}/initrd
boot

I have also tried to just copy content the archeros.ipxe from this repository to my custom.ipxe but I got same problem.
I am using netboot.xyz v.1.0.4; I have also tired master branch of this repository using Test netboot.xyz branch.

To reproduce OK boot:
Press m to get into failback mode and select iPXE Debug Shell. Type:
dhcp
chain http://goo.gl/bkF6V4

http://goo.gl/bkF6V4 points to https://raw.githubusercontent.com/jpastuszek/netboot.xyz-custom/master/custom.ipxe of following content:
#!ipxe
dhcp
set base-url https://releases.rancher.com/os/latest
kernel ${base-url}/vmlinuz printk.devkmsg=on rancher.debug=true rancher.state.dev=LABEL=RANCHER_STATE rancher.state.wait console=tty0 rancher.state.mdadm_scan console=ttyS1,115200n8 rancher.autologin=ttyS1 rancher.network.interfaces.eth*.dhcp=true rancher.cloud_init.datasources=[configdrive,ec2,gce,packet,digitalocean]
initrd ${base-url}/initrd
boot

You should see RancherOS login prompt.
Failed boot:
Let netboot.xyz boot full.
Go to Utilities -> Set Github User and type: jpastuszek.
Then go to iPXE shell and type same chain URL:
chain http://goo.gl/bkF6V4

Kernel will panic.

Actually by just going to Utilities and coming back will cause boot failure.

Actually going to any menu and coming back will make this OS fail to boot...

Same issue with real Dell PC.

Good find, I was able to repro.  I think it might need an imgfree before loading the kernels, giving that a try.

This appeared to fix it: https://github.com/antonym/netboot.xyz/commit/e4d041323ae9725dd1f3476aba81495c090ab87d.  If you continue to have issues with it, please reopen.
Thanks!


[SDK Automation - JS] Support and Enable Breaking Change Detection in RLC

### Tasks
- [ ] https://github.com/Azure/azure-sdk-tools/issues/8301
- [ ] https://github.com/Azure/azure-sdk-tools/issues/8306

use https://github.com/orgs/Azure/projects/647/views/2 for single items


chore: update dependencies

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

7 of 9 (77.78%)  changed or added relevant lines in 2 files are covered.
2 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-1.2%) to 91.667%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/nostr/plugins/access-control.plugin.ts
7
8
87.5%

src/nostr/repositories/event.repository.ts
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

src/nostr/plugins/access-control.plugin.ts
2
70.0%

Totals

Change from base Build<PHONE_NUMBER>:
-1.2%

Covered Lines:
517

Relevant Lines:
575

💛  - Coveralls


interfree-switch-driver

interfree switch driver

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

interfree switch driver

interfree switch driver

Hi,
They are using a code from a driver from my public repository, to which I added this devices, as a request from community users, for your use and that you can use freely, but using it to certify some commercial products without asking permission seems a bit inappropriate to me.
On the other hand, my driver has custom capabilities and cannot be certified


how to use it ?

this is error
Error:Failed to resolve: kryo-serializers
Open File

Please provide more details in order to address this issue:

What you do
What you expect to happen
What happen actually

Thanks!


CDS-52372 update artifact expressions

https://harness.atlassian.net/browse/CDS-52372
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[x ] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

https://harness.atlassian.net/browse/CDS-52372

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[ ] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Improve printout when spinning up local DS

What is the context of this PR?
Fixes an issue with the print out when spinning up the DS locally

Will move the first line of this output onto new line

How to review
See that on master the top sceenshot is output and on this branch the bottom one is output when spinning up the DS locally by running yarn start

 Improve local DS output

We could use this branch to clean up other logging that the build spits out. For instance, I don't think we need all the svg's etc output, could be simplied to statements like "Generating images", "Building pages" etc

We could use this branch to clean up other logging that the build spits out. For instance, I don't think we need all the svg's etc output, could be simplied to statements like "Generating images", "Building pages" etc

Yeah good idea 👍 . Ill have a look at that


CAMARA-API-access-and-user-consent.md aligment with last decisions made in profile

What type of PR is this?

cleanup
documentation

What this PR does / why we need it:
Clean up and update the CAMARA-API-access-and-user-consent.md document to reflect the latest profile decisions and/or to include references(*) to the new CAMARA-Security-Interoperability.md profile document where appropriate.
Which issue(s) this PR fixes:
Fixes #154
Fixes #131
Special notes for reviewers:

@hdamker Please review, because I think this PR would be fixing issue #131 as well.
Please, reviewers are encouraged to review the PR content considering the scope of the issue(s) being addressed. If there is another topic related to the document that someone needs to discuss, please open a new issue to address it if it does not already exist.

Changelog input
 `CAMARA-API-access-and-user-consent.md` aligment with profile

Additional documentation
N/A

Thanks @sebdewet for your review!
I'm merging this PR as we've already passed the deadline. No further comments were received.

@jpengar changes are looking good to me as well. Just the remark that all references to https://github.com/camaraproject/IdentityAndConsentManagement/blob/main/documentation/CAMARA-Security-Interoperability.md should be in the in the released version to the concrete release. Maybe a relative link could be an alternative: ./CAMARA-Security-Interoperability.md as it will point always to the same tree? But have not tested it.


Beanie mongo

I was looking into ways to sync submission results to the new discovery and thought this would be a good exercise.

ported our db from postgres to mongo
replaced sqlalchemy with beanie (an ODM for mongo that uses pydantic)
the pydantic models can be used both in fastapi and beanie, so no need to do the ORM mappings anymore
@cbcunc, you might like that we would not need to do any migrations, thanks to Mongo

tests will fail, I'm still working on this but have the basics working with a submissions to all the repositories.  Just some cleanup and updating the tests to no longer rely on the database container.


Add an overdensity radius calculator to the hydrostatic mass profile

This is something I'm going to need quite a lot I imagine, should be pretty simple with mass models, but I'm sure I can think of other ways to do it too.

Duplicate, issue #810 is the one you want.


Using dx-validator for validation as in angularjs.

I am using devextreme-angular2 .In my textbox control i need to apply 'required' validations
<dx-text-box id="divjobName" class="col-sm-7" [(value)]="job.jobName" >
on submit the function is as follows
onSubmit(event) {
var result= event.validationGroup.validate();
}
But how can i validate it through dx-validator

Hello,
It looks like this issue is a duplicate of #30


Ability to click on link in terminal

Is your feature request related to a problem? Please describe.
Cannot open link in the browser from terminal
Describe the solution you'd like
I would be great if Lapce have ability to click links in the terminal. Eg. In VS code CMD + press open links in default browsers.

Duplicate of https://github.com/lapce/lapce/issues/1088


Use<EMAIL_ADDRESS>

Codecov Report

Merging #6 (5bc424e) into main (383c0d9) will decrease coverage by 0.13%.
The diff coverage is 80.00%.

@@            Coverage Diff             @@
##             main       #6      +/-   ##
==========================================
- Coverage   91.53%   91.40%   -0.14%
==========================================
  Files           3        3
  Lines         130      128       -2
==========================================
- Hits          119      117       -2
  Misses         11       11

Impacted Files
Coverage Δ

main.js
90.59% <80.00%> (-0.16%)
:arrow_down:

Continue to review full report at Codecov.

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

@dlongley I've addressed all the suggestions. I think this is ready to be merged and released.


Sync fork

sorry my bad, i'm going to sync fork to my own repo but ended up mixing up the PR source and target


No implementation found for method placemarkFromCoordinates on channel flutter.baseflow.com/geocoding

💬 Questions and Help
For questions or help we recommend checking:

The Flutter tag in Stack Overflow

List<Placemark> place = await placemarkFromCoordinates(_currentPosition!.latitude, _currentPosition!.longitude);
Hello guys. I am aware that as of May 2021, the web platform didn't support geocoding. I'd like to know if this is still the case now that it's December 2022. Has there been a fix for it?

Is there a fix for this

I'm getting the same error

It seems that I solved this issue by calling the function after the map swipe animation ended.
FlutterMap(
options: MapOptions(
onMapEvent: (event) {
if (event is MapEventFlingAnimationEnd) {
List placemarks = await placemarkFromCoordinates(latitude,longitude,);
}
},

Hi @fred33bondi, thank you for filing this question!
This is a known bug, filed in #80. I will close this issue as it is a duplicate. You can track progress on the bug at #80 instead.


[Bug] Cannot detect glist workspace

name
about
title
labels
assignees

Bug report
Workspace detection
"[Bug]"
bug
@sorbatdev

OS: Windows

Describe the bug
A clear and concise description of what the bug is.
To Reproduce

Open 'glist' folder inside VS Code under .../dev/
Open Command Palette and select: Glist Engine: Create New Project
Get error text: You should switch to Glist workspace to do that.

Expected behavior
Should not get the error message while in glist directory.
Screenshots
Additional context
The problem seems to be caused by this line. VS code may not register the GlistEngine directory in folders as the len - 1th folder. Should instead search the folders variable and see if a entry with glist engine exists.
https://github.com/javertus/GlistEngine-vscode-extension/blob/c817dff8a18db1ae54aa013380a021d0c2ab9bec/src/WorkspaceProcesses.ts#L13

You should not open the workspace by yourself.. You need to execute the Glist Engine: Switch to Workspace command for that. Also, Isn't the workspace automatically launched when you installed the extension?

No, it didn't. Glist Engine: Switch to Workspace also gave a Failed to create workspace. error. Had no folders open in workspace when i got the error.

I have no idea what is wrong..  Glist Engine: Switch to Workspace command was should be worked as expected. However, I'm going to update the extension with a few changes so it will output the full error when you execute the Glist Engine: Switch to Workspace command then you can see what is wrong.

Can you check the issue again? @sorbatdev

This issue was occurred because your glist installation is not in same disk with the extension's working disk. Issue is fixed on update 1.3.5


Use speech icon for feedback

Also @clara asks for a new step in the first open wizard (step 8) that hints to the user to use it to get help / feedback.

@ClaraIV please provide the specific text to use
Also move the icon to launch the feedback for to the bottom right as implemented by most web sites:

I moved the feedback form to the bottom right below the analysis form and it is hidden by default unless you click "Show feedback form":

this looks good! can you reduce the size of the font to match the ?
Also, perhaps let's only write  (not in all caps) and when it is open can we make the  box the color blue, similar to the  button?
Do you think we should add a color to the  button as well? so that it stands up? or a shadow, similar to the  button?

PR

https://github.com/worldbank/WB-rezoning-explorer/pull/15