[HOW-TO] Upgrading to 0.3.14 on Raspberry Pi OS lite 64-bit

Describe what it is that you want to accomplish
I've been having an issue with video recording not stopping when using FfmpegOutput with audio, which I believe is fixed in the 0.3.14 release. However I'm struggling to upgrade to this version.
I've tried the usual sudo apt update && sudo apt upgrade, as well as sudo apt full-upgrade and sudo apt install python3-picamera2, but it doesn't find the new version:
$ sudo apt install python3-picamera2
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3-picamera2 is already the newest version (0.3.12-2).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Describe alternatives you've considered
I was able to upgrade to 0.3.14 using pip, but then I was getting the following error:
Traceback (most recent call last):
  [...]
  File "/usr/local/lib/python3.9/dist-packages/picamera2/picamera2.py", line 1102, in configure
    self.configure_(camera_config)
  File "/usr/local/lib/python3.9/dist-packages/picamera2/picamera2.py", line 1034, in configure_
    libcamera_config = self._make_libcamera_config(camera_config)
  File "/usr/local/lib/python3.9/dist-packages/picamera2/picamera2.py", line 915, in _make_libcamera_config
    libcamera_config.sensor_config = libcamera.SensorConfiguration()
AttributeError: module 'libcamera' has no attribute 'SensorConfiguration'

I think the libcamera and picamera2 libraries were on conflicting versions.
I also tried sudo rpi-update to update the kernel, but it's still telling me 0.3.12-2 is the most recent version.
Re-imaging with a different OS isn't an option, so I'm hoping that isn't required.
Additional context
We're using 64-bit lite Raspberry Pi OS (Bullseye) on compute module 4
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

Before sudo rpi-update:
$ uname -a
Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux

After sudo rpi-update:
$ uname -a
Linux raspberrypi 6.1.61-v8+ #1696 SMP PREEMPT Thu Nov  2 16:44:46 GMT 2023 aarch64 GNU/Linux

Python on version 3.9.2
Any help would be appreciated!

I would avoid upgrading with pip, because you can get a version that's incompatible with other system libraries (libcamera). This is exactly why things are failing. If you use apt, everything gets upgraded together.
So I think you need to uninstall the pip version, and get the proper apt update process to work. What do the following output?
apt list python3-picamera2
sudo apt update
apt list --upgradable

@XECDesign Hi, I don't suppose you could comment on what's wrong here? The new packages don't seem to be showing up. Thanks!

Because bullseye is a legacy release and is only going to be getting critical security fixes.

Ah, thanks for that. It sounds like upgrading to Bookworm is best, if that's possible. Alternatively, I suppose you could check out the 0.3.12 tag directly and cherry-pick this fix. Would that help?

Thanks for the assistance!
Unfortunately we have devices in remote locations so doing fresh installs with Bookworm isn't possible, and it seems that attempting an in-place upgrade from Bullseye is unsupported and very likely to cause problems.
I will try cherry-picking the FfmpegOutput fix.

The following is how I installed 0.3.12 with the FfmpegOutput fix on Bullseye, in case anyone else is having the same issue:
sudo apt remove -y python3-picamera2
git clone --branch v0.3.12 -- https://github.com/raspberrypi/picamera2.git
git -C picamera2 cherry-pick 6b2464c
pip install -e picamera2

Thanks again for the help.


WIP: multi-app pages

I have come across a situation where I wanted to display two models on one page, e.g. to display the models of two different users.
Currently, there are several obstacles here:

GenieAssets resets the Genie variable everytime it loads
The websocket does not know, via which channel it was addressed, so distribution of change messages is impossible
Another instance of the same model receives the same id

I see two possible ways of realising this.

use the same websocket, and submit the channel during broadcasting
use different websockets with different sendmesssageto methods

The first solution uses less resources but involves larger messages
@essenciary What do you think?

I've pushed a version with a single socket to my forks of Genie and Stipple as hh-multiapp

I've also pushed a branch hh-multiapp2, where I realised a version with multiple websockets. Could you comment, what seems more appropriate to you? Or shouldn't we address it at all?
I am still struggling in finding a good solution for the variable naming. Currently, it only works with two models with different name. Perhaps something like
var $vue_app_name = new Vue($vue_app);
if (typeof($vue_app_name) == 'undefined') { $vue_app_name = {} }
var $(vue_app_name)[channel] = new Vue($vue_app);

and later add the watchers accordingly?

@essenciary the idea above worked.
I'd be happy if you could have a look at the branch hh-multiapp2 of both Stipple and Genie. Together they work happily with multiple apps on one page, even two identical apps.
I have now chosen two approaches to realise multi-app support with identical models.

stippleApps[$channel] holds all the apps, while $vue_app_name[$channel] holds all instances of a particular model.

$vue_app_name holds only the latest model of that type in order to ensure backwards compatibility with previously developed js_methods. In that case the watchers always refer to stippleApps[$channel].

The second approach is the latest commit of hh-multiapp2. If you remove the latest commit you have the first approach.
Here is an example code for checking.
using Stipple
using StippleCharts, StippleCharts.Charts
using StippleUI, StippleUI.Range, StippleUI.Heading, StippleUI.Dashboard, StippleUI.FormInput, StippleUI.API

using Genie, Genie.Router, Genie.Renderer.Html

import Genie.Renderer.Json.JSONParser.JSONText

Base.parse(::Type{Float64}, v::T) where {T<:Real} = convert(Float64, v)

Genie.Renderer.Html.register_normal_element("q__uploader")
uploader(args...; kwargs...) = q__uploader(args...; attributes([kwargs...], StippleUI.API.ATTRIBUTES_MAPPINGS)...)

OptDict = Dict{Symbol, Any}
opts(;kwargs...) = OptDict(kwargs...)

plot_opts_dict = OptDict(
    :chart => OptDict(:type => :line),
    :xaxis => OptDict(:type => :numeric),
    :yaxis => OptDict(:min => -5, :max => 5, :tickAmount => 10,
                      :labels => OptDict(:formatter => JSONText("function(val, index) { return val.toFixed(1); }"))
              )
)

xx = Base.range(0, 4π, length=200) |> collect

Base.@kwdef mutable struct HHDashboard <: ReactiveModel
    name::R{String} = "World"
    a::R{Float64} = 1.0
    b::R{Float64} = 0.0
    c::R{Float64} = 0.0
    plot_data::R{Vector{PlotSeries}} = [PlotSeries("Sine", PlotData(zip(xx, a .* sin.(xx .- b) .+ c) |> collect))]
    plot_options_dict::OptDict = plot_opts_dict
    js_code::R{String} = ""
end

Base.@kwdef mutable struct HHDashboard2 <: ReactiveModel
    name::R{String} = "World"
    a::R{Float64} = 1.0
    b::R{Float64} = 0.0
    c::R{Float64} = 0.0
    plot_data::R{Vector{PlotSeries}} = [PlotSeries("Sine", PlotData(zip(xx, a .* sin.(xx .- b) .+ c) |> collect))]
    plot_options_dict::OptDict = plot_opts_dict
    js_code::R{String} = ""
end

Stipple.register_components(HHDashboard, StippleCharts.COMPONENTS)
Stipple.register_components(HHDashboard2, StippleCharts.COMPONENTS)

models = Dict{String, ReactiveModel}()

row_module(args...) = row(cell(class="st-module", args...))
labeled_slider(label::AbstractString, size, args...; kwargs...) = row([cell(size=size, h6(label)), cell(slider(args...; kwargs...))])

function ui(user)
    channel = string(hash(user))
    channel2 = channel * "_2"

    model, model2 = if haskey(models, channel)
        models[channel], models[channel2]
    else
        model = models[channel] = Stipple.init(HHDashboard(), channel = channel)
        model2 = models[channel2] = Stipple.init(HHDashboard(), channel = channel2)
        # model2 = models[channel2] = Stipple.init(HHDashboard2(), channel = channel2)
        Base.map!(model.plot_data, model.a, model.b, model.c) do a, b, c
            @info "amplitude: $a, phase: $b, offset: $c"
            return [PlotSeries("Sine", PlotData(zip(xx, a .* sin.(xx .- b) .+ c) |> collect))]
        end
        Base.map!(model2.plot_data, model2.a, model2.b, model2.c) do a, b, c
            @info "amplitude: $a, phase: $b, offset: $c"
            return [PlotSeries("Sine", PlotData(zip(xx, a .* sin.(xx .- b) .+ c) |> collect))]
        end
        model, model2
    end
    # update plot_data when a, b or c are changed

    db = dashboard(vm(model, channel), class="container", [
        heading("Stipple x-y Line Plot"),
        row_module([
            h2(["Hello ", span("", @text(:name)), "!"]),
            p("I am $user")
        ]),
        row_module(
            row([
                cell(class="st-br st-ph", [
                    h5("What is your name?"),
                    textfield("", :name, placeholder="type your name", label="Name", outlined="", filled="")
                ]),
                cell(class="st-br st-ph", [
                    h5("Sine oder Cosine?"),
                    labeled_slider("Amplitude", 4,  0:0.01:5, :a; markers=true, label=true, labelalways=true),
                    labeled_slider("Phase",     4,  0:0.01:5, :b; markers=true, label=true, labelalways=true),
                    labeled_slider("Offset",    4, -3:0.01:3, :c; markers=true, label=true, labelalways=true)
                ]),
                cell(class="st-br st-ph", [
                    h5("Sine oder Cosine?"),
                    labeled_slider("Amplitude", 4,  0:0.01:5, :a; markers=true, label=true, labelalways=true),
                    labeled_slider("Phase",     4,  0:0.01:5, :b; markers=true, label=true, labelalways=true),
                    labeled_slider("Offset",    4, -3:0.01:3, :c; markers=true, label=true, labelalways=true)
                ])
            ])
        ),
        row_module(plot(:plot_data; options=:plot_options_dict)),
        # make a nice bottom section
        row(" ")
    ], title = "Stipple x-y ApexChart", channel = channel)

    db2 = dashboard(vm(model2, channel2), class="container", [
        row_module([
            h2(["Hello ", span("", @text(:name)), "!"]),
            p("I am $user")
        ]),
        row_module(
            row([
                cell(class="st-br st-ph", [
                    h5("What is your name?"),
                    textfield("", :name, placeholder="type your name", label="Name", outlined="", filled="")
                ]),
                cell(class="st-br st-ph", [
                    h5("Sine oder Cosine?"),
                    labeled_slider("Amplitude", 2,  0:0.01:5, :a; markers=true, label=true, labelalways=true),
                    labeled_slider("Phase",     2,  0:0.01:5, :b; markers=true, label=true, labelalways=true),
                    labeled_slider("Offset",    2, -3:0.01:3, :c; markers=true, label=true, labelalways=true)
                ]),
                cell(class="st-br st-ph", [
                    h5("Sine oder Cosine?"),
                    labeled_slider("Amplitude", 2,  0:0.01:5, :a; markers=true, label=true, labelalways=true),
                    labeled_slider("Phase",     2,  0:0.01:5, :b; markers=true, label=true, labelalways=true),
                    labeled_slider("Offset",    2, -3:0.01:3, :c; markers=true, label=true, labelalways=true)
                ])
            ])
        ),
        row_module(plot(:plot_data; options=:plot_options_dict)),
        # make a nice bottom section
        row(" ")
    ], title = "Stipple x-y ApexChart", channel = channel2)

    style("""
    .st-ph {
        padding-left: 20px;
        padding-right: 20px;
    }
    .st-ph:first-child {
        padding-left: 0px;
    }
    .st-ph:last-child {
        padding-right: 0px;
    }

    .st-pv {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .st-pv:first-child {
        padding-top: 0px;
    }
    .st-pv:last-child {
        padding-bottom: 0px;
    }

    .st-bb:last-child {
        border-bottom: 0
    }
    """) * db * db2 |> html
end

route("/") do
    # identify user from the header
  headers = Genie.Requests.getheaders()
  user = headers["User-Agent"] |> split |> last
  # deliver a user-spcific ui
  ui(user)
end

up(open_browser = true)

P.S.: I submitted a PR for Genie (the client checking was not correct ...). This correction is already part of my latest Genie hh-multiapp2.

@hhaensel Thank you, I've merged the PR and released a pretty hefty 1.9 upgrade for Genie. Will take a look at your Stipple branches next.

@hhaensel I merged the Genie PR - are there other PRs or issues that need merging/checking? Sorry for the delay. 😊

@hhaensel I merged the Genie PR - are there other PRs or issues that need merging/checking? Sorry for the delay. 😊

I think, that's it. I committed the changes in Stipple and StippleUI without asking 😉

I think, that's it. I committed the changes in Stipple and StippleUI without asking 😉

Yeeee, awesome, thanks so much! Looks like things are finally settling down a bit now on my side and I'll be able to put more time into Stipple. Plotly integration coming up (possibly next week) and then definitely docs, tests, etc, to ramp things up a bit.
Thanks for the contributions and helping with the issues!

Yeeee, awesome, thanks so much! Looks like things are finally settling down a bit now on my side and I'll be able to put more time into Stipple. Plotly integration coming up (possibly next week) and then definitely docs, tests, etc, to ramp things up a bit.
Thanks for the contributions and helping with the issues!

I think, that's it. I committed the changes in Stipple and StippleUI without asking 😉


Less wallets in e2e tests

c3c42888c71c34ee8bec07b4b9b6d4c84c78ddbb
Limit nb of wallets in e2e tests

637f4ff3e2071f86bd82866b7dbd0c9d1da0d652
Migrate all funds back to fixture wallet back from target wallet that's used across the test suite

Comments
Using single target wallet for transactions in e2e tests and extending/refactoring assertions for checking balances on target and source wallets before and after transactions taking in account amounts, assets and fees. At the end of the suite all funds are migrated back to the fixture wallet which is a good test in itself.
Issue Number
ADP-1196

bors r+


Video on readme: mime problem

Occasionally, but not always, I get an error from the example videos in the Readme file, here's what I get instead:

I'm using the latest version of Firefox on Windows 10, maybe converting them to WebM format is better?

I wonder if this still happens?

It hasn't happened to me for months, I have no idea if it was the browser's fault, github or something else, but I think they fixed it


Updated bot

Updated discord.js, reworked $rmap a bit, refactor of replays, it crashed after the dependency upgrade, todo-slashcommands

Too much to review for me. Put you down as admin. GL & HF.


refactor: Add tabs to admin for votes

Description
Adding some tabs to switch between viewing submissions with votes and without votes. We could also add another tab for all if we want.
Screenshots

Not sure what is more valuable (and I guess it depends on what we are looking for)

This PR (votes vs no votes)
Having "pending" / "already voted" for the current admin. So you know which ones are waiting for_your_ votes.

Thoughts?
Also cc @damianmarti @Pabl0cks @technophile-04

Not sure what is more valuable (and I guess it depends on what we are looking for)

This PR (votes vs no votes)
Having "pending" / "already voted" for the current admin. So you know which ones are waiting for_your_ votes.

Thoughts?
Also cc @damianmarti @Pabl0cks @technophile-04

Yes, we need to know what submissions the current admin is pending for voting.
It could be this same PR, but changing how the votes/no votes arrays are populated...

Not sure what is more valuable (and I guess it depends on what we are looking for)

This PR (votes vs no votes)
Having "pending" / "already voted" for the current admin. So you know which ones are waiting for_your_ votes.

Thoughts?
Also cc @damianmarti @Pabl0cks @technophile-04

Got it, sounds like option 2 would be more valuable. I've adjusted the code to be voted and notVoted based on the currently connected admin

Great, yeah! Definitely, 2 makes more sense if we want all the admins to vote for every submission (if we make this a hackathon
started kit, we could implement "assignments" in case there are a lot of submissions).
It's working great, Hunter! A few things that we could improve (open to discussion, and no need to tackled on this PR!)

Could we add the number next to each title (e.g. Not voted (5) / Voted (18))?
Let's add a message (in dark grey maybe?) saying that there are no submissions (in the given tab)

The tabs have different positions on empty sections and non-empty sections. Compare the previous screenshot with (centered vs left aligned):

Maybe we should have a loading state until we have the address of the admin? If not, the voted ones load in "Not voted" and they disappear in your face when address is available.

Let me know what you think!

Great, yeah! Definitely, 2 makes more sense if we want all the admins to vote for every submission (if we make this a hackathon started kit, we could implement "assignments" in case there are a lot of submissions).
It's working great, Hunter! A few things that we could improve (open to discussion, and no need to tackled on this PR!)

Could we add the number next to each title (e.g. Not voted (5) / Voted (18))?
Let's add a message (in dark grey maybe?) saying that there are no submissions (in the given tab)
The tabs have different positions on empty sections and non-empty sections. Compare the previous screenshot with (centered vs left aligned):
Maybe we should have a loading state until we have the address of the admin? If not, the voted ones load in "Not voted" and they disappear in your face when address is available.

Let me know what you think!

I can get 1 and 2 in a new PR. I've fixed 3 and 4 in this current PR


Output directory

When using njk src/html/*.html --out dist files are being created in dist/src/html instead of directly to dist. So, for example src/html/index.html gets output to dist/src/html/index.html.
Is it possible to get the output to be dist/index.html instead of including the extra source folders? Thanks for the great CLI tool!

@mdmoreau Thanks for Reporting. You are right, glob files should have their parent directories as root by default. In previous versions, the current directory was treated as root for these files. I just released v3.0.5 and it should be fixed now. 🎉

@mdmoreau Please let me know if v3.0.5 fixed it for you or not.

@mohitsinghs Looks to be working perfectly in my limited testing. Thanks for the quick fix!
I ran into a couple other issues while initially trying things out, but was able to sort them after looking through the code. Would you be interested in other issues that could improve compatibility with other systems (primarily Windows) and help things match up better with standard Nunjucks options?

Absolutely. We will work on those issues as well. I use njk on mac and linux, so that might be the reason I have not faced them yet.

Sounds good - I'll create separate issues for anything else I run across.


Mirroring doesn't work

There's not sign of Mirroring actually working:
Mirror -> 'Open in browser' doesn't do anything
Mirror -> 'Copy link' doesn't capture a link. Pasting afterwords doesn't paste anything.
<IP_ADDRESS>:8000 shows an empty projects list
Android Framer app does not recognize any project.

I'm going to close this, because of inactivity, but feel free to open a new issue if you encounter another problem.


missing vcore to memory ratio

This doc page seems to be missing vCore to memory scaling ratios that are present in the corresponding Azure SQL DB documentation. (Az sql db is 5.1GB/vCore as an example)

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

ID: 74be9a66-9d9f-7888-4d66-1e04725346d4
Version Independent ID: de2f0382-8419-a9a1-f7d4-3a8d3ce8878c
Content: vCore purchasing model - Azure SQL Managed Instance
Content Source: azure-sql/managed-instance/service-tiers-managed-instance-vcore.md
Service: sql-managed-instance
Sub-service: performance
GitHub Login: @WilliamDAssafMSFT
Microsoft Alias: wiassaf

@tirohlof Thank you for feedback. We are reviewing this and will make change if appropriate.

I think the information you're looking for is on the resource limits page, @tirohlof. https://learn.microsoft.com/azure/azure-sql/managed-instance/resource-limits?view=azuresql The ratios are different for each hardware series, so it needs to be more granular.
#please-close

#assign:WilliamDAssafMSFT


straight.el cannot download packages using http proxy.

Only http/https proxy configed in my company's office environment.
Straint.el using git:// or ssh:// protocal to interact with github?
Is there a way to config to use http:// protocal ? I don't want to config another proxy like ssh.
System information

`~/.emacs.d/bin/doom quickstart info`
Using a proxy for https...
Bootstrapping straight.el...
no other print here

Straight uses https, not http. If you have something like this in ~/.ssh/config, it would cause it to use the other protocols:
[url<EMAIL_ADDRESS>    insteadOf = https://github.com/
[url<EMAIL_ADDRESS>    insteadOf = https://gitlab.com/

Or have you changed straight-vc-git-default-protocol (default value: 'https)?

Oh, straight itself is installed through https. I'll look into fixing that. For the time being, maybe this can help: https://github.com/hlissner/doom-emacs/issues/1766#issuecomment-529272636

@hlissner Thanks! For now it works after cloned 'straint.el' manually.


Add ListPendingOrgInvitations method and Invitation.Inviter field.

This change is made to incorporate changes to GitHub for Issue #514
Here I have tried to change the test case to include the entire response.
I have not been able to compare time.Time field in Invitation struct. I need to work on the Date time conversions.
Resolves #514.

@shurcooL @gmlewis Can you please review this?

The golang documentation of time, requires structs to access as time.Time and not *time.Time. So changed it as it.
The URL https://developer.github.com/v3/orgs/teams/#list-pending-team-invitations does not provide correct date format I think, it is not consistent with other API in the documentation. I have changed the return JSON to the type consistent and mentioned in the documentation of GitHub.

I have now added support for Orgs List Members Invitation also. Now this contains both List Members as well as Team Invitations.

LGTM.
Merging.

Integrated in https://github.com/google/go-github/commit/0e7db468186d70bb8568a7e7322ba7eba6f7dd5d


Injectable renderer

Supports different input configuration, and more granular theming.

@justsml
Thanks for the filename change. Can you make the export statement use export default .. in that file, just for consistency?
It looks like you deleted innerContentRenderer from the propTypes of the ReactSortableTree component. I thought this would be added at the top so users can customize it. If so, it should be in the propTypes there. Also, a prop name of innerContentRenderer would be preferable to the contentRenderer you are currently using in that file (again, just for consistency).

I just thought of something - how about instead of handing the innerContentRenderer as a prop to the NodeContentRenderer, you make it the child of the node?
e.g.,
const InnerContentRenderer = this.props.innerContentRenderer;

return (
    <TreeNode
        style={style}
        // ...
        dragHover={this.dragHover}
    >
        <NodeContentRenderer
            node={node}
            // ...
            {...nodeProps}
        >
            <InnerContentRenderer
                node={node}
                // ...
            />
        </NodeContentRenderer>
    </TreeNode>
);

One issue is that you won't be able to hand over styles as easily, but I feel like if you're separating the inner content from the rest of the node, it should have its own stylesheet.

Hey @fritz-c thx for the review.
I pushed some updates - but I missed your implementation example of <InnerContentRenderer />
I'll try refactor it in later today.

Going to close this due to inactivity.


Grid docs go to 404

If you click "Grid docs" on this page, it goes nowhere: https://foundation.zurb.com/grid.html

It seems to be fixed. the link now correctly redirect to https://foundation.zurb.com/sites/docs/flex-grid.html.


⚠ Bofrost.lu has degraded performance

In 7e5abf9, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1534 ms

Resolved: Bofrost.lu performance has improved in 0fa2912 after 36 minutes.


add Dai Nam University to repository

official website: http://www.dainam.edu.vn/
http://tuyensinh.dainam.edu.vn/vi/nganh-cong-nghe-thong-tin/

@hoojiNT Thank you for your request. Regrettably, the domain dnu.edu.vn cannot be added to this repository. The problem is that the official e-mail domain of the university is dainam.edu.vn.
According the screenshot above, dnu.edu.vn domain is used for communicating with Microsoft Teams. However, dainam.edu.vn email domain is operated by Microsoft, but dnu.edu.vn is not. Also, the domain dnu.edu.vn is not mentioned anywhere at the official university website.
There are also other technical reasons to believe that dnu.edu.vn is not an official university email domain.
Therefore, I have to close the request without merging. If you are a student of this university, please apply for a free educational license with an official document that proves that you are a student. You can do it using the "OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students.
Thank you for your understanding.


1.0 is always a number (and an integer too for draft6+)

references:
https://json-schema.org/draft/2019-09/json-schema-core.html#rfc.section.4.2.1
https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.6.1.1

I thought of adding this while writing 71f55b36be0d404804023b433f745e46af07b1ae but it seemed exceedingly unlikely an implementation would pass the 1 and 1.1 test but not this one.
But fine, it's likely quicker just hitting the merge button than deciding, or potentially having someone else have the same thought we've both had (which I discarded but can see just being overcautious).
So yeah, thanks :)


[docs] Idea: Link all vue-specific code in code examples

We will have a lot of code examples in the docs, it would be really nice if all the vue specific syntax would get converted into a clickable link, which would bring up a modal containing official docs about that specific feature.
Example
<Button @tap="doSomething"/>

The @tap part would become a clickable link, which would bring up https://vuejs.org/v2/guide/events.html
Or
<Label v-if="showHello" text="Hello"

v-if="showHello" would become clickable and open https://vuejs.org/v2/guide/conditional.html#v-if
This needs some tinkering to get it right, but I feel like this would make learning nativescript-vue a whole lot easier for newcomers.

What about having to open up in the playground?

Sure thing, but we would need a way to populate the playground through the url for it to make sense in the long run, updating manually would be a pita i think!

Actually the Playground already has an undocumented API built exactly for this purpose. It allows white-listed domains to override the content of the default templates. The API could enable websites to dynamically modify the contents of the template before opening it in the Playground:
<script src="https://play.nativescript.org/dist/assets/nsp/index.js"></script>

<script>
function runInPlayground() {
    var overrides = [{
        key: "app.js",
        content: "some new overriden content of the app.js file"
    }];

    window["_nsp"]("play-vue", overrides, err => {
        if (!err) {
            window.location.href = "https://play.nativescript.org/?template=play-vue";
        }
    });
}
</script>

<button onclick="runInPlayground()">
    Run code snippet in the Playground
</button>

If you think that building {N} documentation which allows code snippets to be tested directly into the Playground we could assist with it.


Duplicate fields are added when an entity implements a class

I am having an issue with generating an entity that overrides properties from an implemented or extended class.
I might be missing something as I've only spent an hour with the library but from what I can see the following is true:
@Entity()
class User extends IdEntity implements NamedEntity {
  @override
  @PrimaryKey()
  int id;

  @override
  String name;
}
class IdEntity {
  int id;
}
class NamedEntity {
  String name;
}

Produces the following in the database.g.dart
 await database.execute('CREATE TABLE IF NOT EXISTS `User` (`id` INTEGER, `name` TEXT, `id` INTEGER, `name` TEXT, PRIMARY KEY (`id`))');

Notice the duplicate properties: `id` INTEGER, `name` TEXT, `id` INTEGER, `name` TEXT`
It looks like we could de-duplicate fields in?
https://github.com/vitusortner/floor/blob/2a762675b0f543af296ddee33b7ef66e1ae939ff/floor_generator/lib/processor/queryable_processor.dart#L36-L52
I can confirm that you can work around this issue by applying @Ignore to the base class. As follows:
class IdEntity {
  @ignore
  int id;
}
class NamedEntity {
  @ignore
  String name;
}

If this is the intended outcome of such a structure may be a simple update to the docs would help other newbies like me?

seems to be similar to #515

could anyone tell me how to fix it if I can not add @ignore ?
Because the base class is in an library and the library is also used by a dart backend project.

got the same problem


Example container packing should not write to source

The current tooling version builds the examples and copies the binary to <container root>/root-<arch>. Here are potentially leftovers when this process is interrupted.
Assemble the roots in a tmpdir.

Fixed with sextant. #68


Fix code coverage

#22 (again)
First commit has no tests working.

mhm... I'm going to close this one and re-do the same idea on master instead.


How do we communicate information about DIDs?

Introspection/analysis of what entity is behind a DID, if they are authentic

Duplicate of #13


Add CONTRIBUTING document

Some small adaptations due to this repository's unique properties. (There's no API to speak of here.)

thanks!


Opening P4DComponentSuite.dproj on older Delphi versions

This is Delphi 10.2.0 (the one where FMXLinux was first introduced)
$LIBSUFFIX doesn't exists until 10.4.1 - see https://en.delphipraxis.net/topic/3427-delphi-1041-libsuffix-auto/
Looking at the settings in P4DComponentSuite.dproj it doesn't use anything other than to 10.4+ branch so 10.3- appears obsolete
This implies that although P4D is supposed to support XE2 onwards this version only supports 10.4.1+

I've made alternate versions of the project files for 10.2 and 10.3 which are on https://github.com/peardox/P4DLegacy/tree/main/Packages/Delphi
Some small modifications were required to Source - basically removing some small features but nothing deal-breaking
I just tried 10.1 and that's getting really bad - basically FMX is broken at that stage, things get worse the older the compiler of course.
I need to check 10.4.0 - theoretically it may work but I'm not that sure yet. Basically LIBSUFFIX AUTO came in with 10.4.1 but was apparently available in 10.4.0 (they just didn't tell anyone)
I've seen one query while working out the alterations from some guy trying to install on 10.3 (which now works)


ngx-malihu-scrollbar scrollTo method is not working

I am using ngx-malihu-scrollbar in my angular project. scrollTo is not working,
`import { MalihuScrollbarService } from 'ngx-malihu-scrollbar';
constructor(private mScrollbarService: MalihuScrollbarService) { }
ngOnChanges() {
this.mScrollbarService.scrollTo(#${this.dateIndex}, 10 , { scrollEasing:'easeOut' });
}my HTML code<div malihu-scrollbar [scrollbarOptions]="darksScrollbarOptions">

...
`
In this.dateIndex I will be getting the id

@sedhurabe, are you still having this issue?

I am also facing same issue. Anyone has any solution to this?


Music on Sonos doesn't resume after custom message

Setup:
Smartthings hub with BigTalker triggered by MIMILite device connected with the doorbell. Sonos AMP device connected to hardwire speakers and to Smartthings to recieve audio.
BigTalker correctly saves custom message as mp3 and play it on Sonos. Volume changes correctly also. Volume is then restored as expected but the same custom mp3 it played instead of previous music. It looks like BigTalker failed to resume previously playing music.

Just to confirm that I'm also seeing the same issue; I've since disabled the resume feature but I'll continue to monitor this ticket.

Thanks! So it's not just me.

A queue was introduced to attempt to resolve this or reduce it at least in the 2.0 development branch.
Please try that version and see if you still have the issue consistently.
Also, it's not advised to use back-to-back events.  For example Door open and closed events for the same door as those usually occur very rapid which does cause issue.  The talk queue introduced in the 2.0 branch should help but isn't a 100% solution.
https://github.com/rayzurbock/SmartThings-BigTalker/tree/development/smartapps/rayzurbock
https://community.smartthings.com/t/bigtalker-2-0-development/55305/


chore(workspace): Dependency Bumps

Description
Bumps alloy and op-alloy dependencies to 0.6.0.
Also removes the custom IndexedBlobHash type in favor of the upstream type in alloy.
Closes #706

📚 $\text{Stack Overview}$
Pulls submitted in this stack:

#786 👈
main

This comment was automatically generated by st.

#788 replaces this PR


Flutter widgets get distorted while scrolling along with platform views

Frame
Video

https://user-images.githubusercontent.com/16854239/187033488-01f9b0bd-c5ad-45fd-a9bd-70facdadd47f.mp4

Steps to Reproduce

Execute flutter run on the code sample in flutter benchmarks
Scroll very fast on Android (SM G950F (Samsung S8) • android-arm64  • Android 9 (API 28))
Observe rotating widgets to be displayed as wide rectangles (see image above)

Expected results:
Widgets should not distort
Actual results:
Blue widget seems to be distorted

Logs

[✓] Flutter (Channel master, 3.1.0-0.0.pre.2539, on macOS 12.4 21F79 darwin-arm, locale pl-PL)
    • Flutter version 3.1.0-0.0.pre.2539 on channel master at /Users/dominik/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 281c2b9a68 (4 hours ago), 2022-08-27 05:59:34 -0400
    • Engine revision e5a8c34176
    • Dart version 2.19.0 (build 2.19.0-145.0.dev)
    • DevTools version 2.16.0

[!] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/dominik/Library/Android/sdk
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13F100
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (3 available)
    • SM G950F (mobile) • ce031713b404900c0d • android-arm64  • Android 9 (API 28)
    • macOS (desktop)   • macos              • darwin-arm64   • macOS 12.4 21F79 darwin-arm
    • Chrome (web)      • chrome             • web-javascript • Google Chrome 104.0.5112.101

[✓] HTTP Host Availability
    • All required HTTP hosts are available

Hey did you tried ScrollPhysics class? give a try
https://api.flutter.dev/flutter/widgets/ScrollPhysics-class.html

give a try
1- connect the ScrollController to your list
2- use AnimatedContainer()  for animation
ListView.builder(
              controller: _controller,

get detailed insight here
https://medium.com/@diegoveloper/flutter-lets-know-the-scrollcontroller-and-scrollnotification-652b2685a4ac

Hi @orestesgaolin, thanks for filing the issue. This issue is reproducible on the latest stable and master channels with code sample in flutter benchmarks

Demo
https://user-images.githubusercontent.com/104349824/187163929-5742109c-6d68-4eb7-abcd-44a81deed4b4.mp4

Logs
An Observatory debugger and profiler on iPhone 13 is available at: http://<IP_ADDRESS>:53753/mDTp2wkfuTQ=/
The Flutter DevTools debugger and profiler on iPhone 13 is available at:
http://<IP_ADDRESS>:9102?uri=http://<IP_ADDRESS>:53753/mDTp2wkfuTQ=/

══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following assertion was thrown while finalizing the widget tree:
_RotationContainerState#f4057(ticker active) was disposed with an active Ticker.
_RotationContainerState created a Ticker via its SingleTickerProviderStateMixin, but at the time
dispose() was called on the mixin, that Ticker was still active. The Ticker must be disposed before
calling super.dispose().
Tickers used by AnimationControllers should be disposed by calling dispose() on the
AnimationController itself. Otherwise, the ticker will leak.
The offending ticker was:
  Ticker(created by _RotationContainerState#f4057)
  The stack trace when the Ticker was actually created was:
  #0      new Ticker.<anonymous closure> (package:flutter/src/scheduler/ticker.dart:67:40)
  #1      new Ticker (package:flutter/src/scheduler/ticker.dart:69:6)
  #2      SingleTickerProviderStateMixin.createTicker
  (package:flutter/src/widgets/ticker_provider.dart:198:15)
  #3      new AnimationController (package:flutter/src/animation/animation_controller.dart:246:21)
  #4      _RotationContainerState.initState
  (package:platform_views_layout_hybrid_composition/main.dart:113:27)
  #5      StatefulElement._firstBuild (package:flutter/src/widgets/framework.dart:4942:57)
  #6      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4781:5)
  #7      Element.inflateWidget (package:flutter/src/widgets/framework.dart:3817:16)
  #8      MultiChildRenderObjectElement.inflateWidget
  (package:flutter/src/widgets/framework.dart:6350:36)
  #9      MultiChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:6362:32)
  ...

Another exception was thrown: _RotationContainerState#f7121(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#95898(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#2c048(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#26726(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#0a7e8(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#63093(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#6e403(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#17a40(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#f9244(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#40a11(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#8b481(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#6bd35(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#34b2f(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#6bd99(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#8eb92(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#18b48(ticker active) was disposed with an active Ticker.

Another exception was thrown: _RotationContainerState#26c66(ticker active) was disposed with an active Ticker.

flutter doctor -v
[✓] Flutter (Channel stable, 3.0.5, on macOS 12.2.1 21D62 darwin-x64, locale en-VN)
    • Flutter version 3.0.5 at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f1875d570e (9 hours ago), 2022-07-13 11:24:16 -0700
    • Engine revision e85ea0e79c
    • Dart version 2.17.6
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.69.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.44.0

[✓] Connected device (3 available)
    • SM T225 (mobile) • R9JT3004VRJ • android-arm64  • Android 11 (API 30)
    • macOS (desktop)  • macos       • darwin-x64     • macOS 12.2.1 21D62 darwin-x64
    • Chrome (web)     • chrome      • web-javascript • Google Chrome 103.0.5060.114

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 3.1.0-0.0.pre.2552, on macOS 12.5 21G72 darwin-x64, locale en-EE)
    • Flutter version 3.1.0-0.0.pre.2552 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision f66a097919 (2 hours ago), 2022-08-28 20:20:36 -0400
    • Engine revision 4e36ebc1f3
    • Dart version 2.19.0 (build 2.19.0-146.0.dev)
    • DevTools version 2.16.0

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-33, build-tools 31.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 13E113
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] IntelliJ IDEA Community Edition (version 2020.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] IntelliJ IDEA Community Edition (version 2022.1.1)
    • IntelliJ at /Users/huynq/Library/Application Support/JetBrains/Toolbox/apps/IDEA-C/ch-0/221.5591.52/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.70.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.46.0

[✓] Connected device (3 available)
    • iPhone 13 (mobile) • 2526BC1A-435D-4B08-B99C-44B928F2517B • ios            • com.apple.CoreSimulator.SimRuntime.iOS-15-4 (simulator)
    • macOS (desktop)    • macos                                • darwin-x64     • macOS 12.5 21G72 darwin-x64
    • Chrome (web)       • chrome                               • web-javascript • Google Chrome 104.0.5112.101

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

@huycozy just to avoid confusion - this error is also shown when this change is applied i.e. tickers get properly disposed


Update InputEvent documentation

Overview
Usage of input events was not well explained and examples had to be searched for in the examples package. This change gives greater detail to how input events are handle by the input system, how to register for global event handling, and how to mark an event as used. Further, there are some minor tweaks to other input docs.
Changes

Fixes: #5445

Verification

As a reviewer, it is possible to check out this change locally by using the following
commands (substituting {PR_ID} with the ID of this pull request):
git fetch origin pull/{PR_ID}/head:name_of_local_branch
git checkout name_of_local_branch

/azp run

lgtm pending resolving the current open comments

/azp run

/azp run


server node sometimes  failed  to connect mysql db (mysql is working ), then node processor will exit

Describe the Bug
and the server is faild down. must be restart manually.
Database
MySQL
Relevant log output
PrismaClientKnownRequestError:
Invalid `prisma.user.findFirst()` invocation:

Timed out fetching a new connection from the connection pool. More info: http://pris.ly/d/connection-pool (Current connection pool timeout: 10, connection limit: 3)
    at pn.handleRequestError (/home/ubuntu/umami/node_modules/@prisma/client/runtime/library.js:176:6477)
    at pn.handleAndLogRequestError (/home/ubuntu/umami/node_modules/@prisma/client/runtime/library.js:176:5907)
    at pn.request (/home/ubuntu/umami/node_modules/@prisma/client/runtime/library.js:176:5786)
    at async t._request (/home/ubuntu/umami/node_modules/@prisma/client/runtime/library.js:179:10484)
    at async /home/ubuntu/umami/.next/server/chunks/3972.js:189:16 {
  code: 'P2024',
  clientVersion: '4.13.0',
  meta: { connection_limit: 3, timeout: 10 }
}

Node.js v18.16.0
error Command failed with exit code 1.

Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
by pull source code

Can you try increasing your connection limit from 3? I see a lot of results for that error coming from prisma, but it looked like it has been resolved since. Hopefully increasing the limit works.

thank your reply, i know it  maybe work by increasing mysql connections limit , but i am not a nodejs developer ,and do not know how to increase connection count  by modify prisma's config ?

You can just alter your MySQL connection string by adding parameters. For example mysql://username:mypassword@localhost:3306/mydb?connection_limit=40&pool_timeout=20

thanks a lot!


Unable to upload artifact of multiple task executions with multiple report formats

When you run dependency-check-build-task multiple times within the same pipeline your artifact only stores the files from the last run.
This wouldn't be an issue if you were only using a single output format and using reportFilename, which is not our case as we need both JUnit and HTML reports.
As a workaround, we are uploading artifacts after every run modifying the filename, but this results in also having the original filename
        write-Host "##vso[task.addattachment type=dependencycheck-artifact;name=$new_name;]$new_path"
        write-Host "##vso[artifact.upload containerfolder=dependency-check;artifactname=Dependency Check;]$new_path"

Some options I can think of to fix this:

Allowing to override the containerfolder or artifactname with an extra parameter in: https://github.com/dependency-check/azuredevops/blob/c4e46d015524bc5ce61361813c118076f7a8e13b/src/Tasks/dependency-check-build-task/dependency-check-build-task.ts#L218
Keep the same containerfolder and artifactname but allow prefixes or suffixes for artifact filenames.
Flag to disable artifact upload (and then manually uploading files/artifacts via traditional methods if needed)

Hello, may I ask you why it's needed to execute it multiple times in the same pipeline?
Following is not tested.
Maybe I got your scenario wrong, but you can get the output formats JUnit and HTML with one execution. Define them as list comma separated for instance JUnit,HTML as the value of parameter format:

format: JUnit,HTML

In addition, for multiple runs within the the same pipeline, you can define the path to your artifacts drop-off root directory and a sub-folder for each run by using the parameter reportDirectory.

run # 1

reportFormat: $(Build.ArtifactStagingDirectory)/dependency-check/run-1

run # 2

reportFormat: $(Build.ArtifactStagingDirectory)/dependency-check/run-2

run # 3

reportFormat: $(Build.ArtifactStagingDirectory)/dependency-check/run-3

Hi!
So basically we've predefined templates for mono repo solutions which mix different tech stacks. So the same template is executed twice within the same pipeline but with a type switch which enables/disables analyzers based on the tech stack.
I'm going to give the reportDirectory parameter a go, to see if that actually does the trick! Thanks! I thought that having containerfolder=dependency-check in dependency-check-build-task.ts would always end up setting the artifacts in the same container within the published Dependency Check artifact

I can confirm it does not work. The reports are generated indeed in a separate directory but at the time of uploading the artifact they are uploaded to the same target containerfolder
Some logs from a sample run
##[debug]reportsDirectory=/opt/tfs/agent01/_work/341/a/dependency-check/net/
Setting report directory to /opt/tfs/agent01/_work/341/a/dependency-check/net/
##[debug]Absolute path for pathSegments: /opt/tfs/agent01/_work/341/a/dependency-check/net/,log = /opt/tfs/agent01/_work/341/a/dependency-check/net/log
Creating report directory at /opt/tfs/agent01/_work/341/a/dependency-check/net/

##[debug]Upload artifact: /opt/tfs/agent01/_work/341/a/dependency-check/net/dependency-check-junit.xml to server for build: 506609 at backend.
##[debug]Processed: ##vso[artifact.upload containerfolder=dependency-check;artifactname=Dependency Check;]/opt/tfs/agent01/_work/341/a/dependency-check/net/dependency-check-junit.xml

I have the same problem

@ejohn20 @guidojw @HaGGi13 Thank you for all the support you give to this repository, I have seen that no interventions have been made for many months. Is the project always maintained?

We are no longer are using Azure DevOps in our organization, so I have not been actively maintaining this. I'm open to having other folks take over this extension if the desire is there. @jeremylong is there an official way you have done this in the past?

If a new volunteer to work on the project steps forward - we can give them access. This has happened in the past with the ODC jenkins plugin. However, I do not have time myself to maintain the ADO extension myself.

@ejohn20 I might suggest that you update the README.md indicating the project is seeking a new maintainer?

@jeremylong I am available to help if necessary

READMD updated and I opened an issue specifically for this: https://github.com/dependency-check/azuredevops/issues/137


Caddyfile parsing support

We need to add caddyfile parsing support that's better than the naive approach I did here:
https://github.com/Hacksore/vite-plugin-caddy/blob/1f83b66faa8b2122e147f0f24220710768baa26a/src/utils.ts#L9-L24
requirements:

extracting the hostnames
listing CORS

I saw that @EntraptaJ created this repo which looks promising, wonder if they are willing to help here.
https://github.com/EntraptaJ/TS-CaddyFile

one day maybe


Test view run buttons should "run what you see"

Filter the Test Explorer View, e.g. to show only the active document
Use the "run all" button
All tests are run, even ones you don't see

Instead we should only run the displayed tests. The algorithm for this I currently use is:

Loop through the virtual test roots. For each test:

If the current subtree is marked as "included"
a. Then if this test is not visible in the tree, pass it to TestRunRequest.exclude

Otherwise:
a. If this test can be used with the current test run profile (if any), and it does not have exactly one visible child, and it's either a leaf node or the majority of a children are visible, then: add this subtree to TestRunRequest.include
b. The "not exactly one child" is used to avoid including parent tests who might only be visible because a child is visible and result in  a large exclude set later, for example in this case we want to run only "ArrayQueue":

For each child of the current test, go to (2)

@jdneo @karthiknadig  please let me know if you run into any problems with this 🙂

Have a quick play and so far it works well.


Inconsistent Formatting/Alignment of Results

The current formatting of words is quite inconsistent, adding spaces for some results, but not for others,
I believe this is because different sources have different formatting. This results in unaligned output, as shown:

This should be easy to fix by stripping the data collected, removing spaces and/or newlines and making sure that all of them are aligned.

maybe you can mark this issue as close...


Some questions involving OOM & codes.

Hi! I really appreciate your high quality papers & opensourcing your codes.
Here is my questions: following OOM & some code questions.
I really appreciate it if anyone answer and teach me.

OOM issue.
Firstly, in my case, I can operate a total of three A6000 units according to my allocation, and if I get consent from a colleague, I can operate up to four A6000 units. Initially, when I tried training with a batch size of 24 (as was the default in the original script) on a single A6000, I encountered an OOM issue. When I reduced the batch size to 12, the training proceeded correctly, but I noticed it took a considerable amount of time. Therefore, I experimented with adjusting the batch size several times in a multi-GPU setup. However, I continued to trigger OOM issues until I finally settled on a batch size of 6 (6 * 4 = total 24). Upon doing so, I encountered the error "Unable to determine the device handle for GPU 0000:3C:00.0: Unknown Error" and subsequently asked the administrator for a reboot.
I am wondering what I should do next. To prevent GPU overheating issues, even if it takes time, should I only train with a single GPU, or is there a better configuration that I am unaware of that would allow me to train with multi-GPUs without overheating issues? (This includes not just batch size but also the number of Llama layers, etc.)

Also, here is my code questions.
The embedding that comes out from
enc_out = self.reprogramming_layer(enc_out, source_embeddings, source_embeddings) is a text embedding, right? And
in dec_out = self.llama(inputs_embeds=llama_enc_out).last_hidden_state,
followed by reshaping dec_out, is dec_out a text embedding or a time-series embedding? The reason for my confusion is that I thought it was closer to a text embedding after the attention process, but since we calculate MSE for dec_out and perform reshaping using n_vars, I wondered if dec_out might be closer to a time-series embedding. However, I'm not sure from which point I should consider it as a time-series, and I'm not clear about the exact modality of enc_out and dec_out. Up to now, I've understood that enc_out is some kind of embedding that captures the trend of the time series while taking the form of 'text modality'. I'd like to know if this understanding is acceptable, or I am looking forward to your corrections and amendments to my thoughts.

I expect and appreciate your respons.e Thanks!

You can try using the 80G-A100 for training and testing, which should effectively avoid OOM issues; or try changing the base model to GPT-2 or Bert (our framework already supports this capability).


Add Chainport to Showcase

👋👋 Hello there! Welcome. Please follow the instruction below.
Click the Preview tab and select a PR template:

Add Showcase
Add Builder Tool
Update documentation or Fix a Bug

@katomm @rdlrt @fill-the-fill and other veterans: How come there isn't a tag for Bridges... is there a historical reason or content decision behind this?  Could we have this project on the portal without also having Milkomeda?
This project looks legitimate, active and secure for a number of reasons as I see it.  Generally I don't see that it really says anything about Cardano, but since there are still only a handful or bridges supporting Cardano it might make sense to have it here: if we could determine a category in which to list it.

@katomm @rdlrt @fill-the-fill and other veterans: How come there isn't a tag for Bridges... is there a historical reason or content decision behind this? Could we have this project on the portal without also having Milkomeda?
This project looks legitimate: active and safe according to what I've seen. Generally I don't see that it really says anything about Cardano, but since there are still only a handful or bridges currently supporting Cardano it might make sense to have it here... if we could determine a category in which to list it.

@katomm @rdlrt @fill-the-fill and other veterans: How come there isn't a tag for Bridges... is there a historical reason or content decision behind this? Could we have this project on the portal without also having Milkomeda?
This project looks legitimate: active and safe according to what I've seen. Generally I don't see that it really says anything about Cardano, but since there are still only a handful or bridges currently supporting Cardano it might make sense to have it here... if we could determine a category in which to list it.

Good suggestion, I agree with creating bridge tag, I could take care of it if everyone is on board

Will keep an eye on this & add the new bridge tag and approve as soon as https://github.com/cardano-foundation/developer-portal/pull/880 is merged.

Hello, what type of Cardano wallets are you supporting? For me, it does not seem to work with any of the installed ones.

Thanks for the clarification.

we support eternl, nami and yoroi. we are currently working on supporting more cardano wallets

@eserilev thanks for supporting Yoroi ⛩


Images don't get cached on Android

Which platform(s) does your issue occur on?

Android Emulator with API 27

Please, provide the following version numbers that your issue occurs with:

CLI: 3.4.2
Cross-platform modules: 3.4.0
Runtime(s): 3.4.1
Plugin(s): "nativescript-image-cache-it": "^3.0.3"

Please, tell us how to recreate the issue in as much detail as possible.
Use <ImageCacheIt> element (in a ListView), scroll through the list to load all the images, ensure the images are visible, then turn on airplane mode, and restart the app.
What I expect is that the images show up from cache.
What actually happens, the placeholder image shows up, but not the actual image, so looks like the images don't get cached.

Update:
Turns out that if the images are loaded from an url that redirects, then they are never cached (this is probably a feature that could go into picasso itself). So as long as the url of the image is "fixed" the caching works as expected.


Build/bundle angular and angular-material separately

🚀 Feature request
It'll be nice if we can (optionally) bundle angular core framework and angular-material components separately.
Command (mark with an x)

[ ] new
[x] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
 A clear and concise description of the problem or missing capability...
Not entirely sure what the build/bundle process logic is during ng build, but I notice that angular-material components are always bundled together with the angular core libraries. I couldn't figure out how to separate them. Angular Material includes many small components, but when you use angular material you end up using many of the common components, and they add up quickly (often resulting in bigger contribution from the material than the core in the main bundle). I'm having issues with large main bundle size (excluding the lazy loaded modules) with angular material-enabled apps.
It'll be great if we can build angular material components into a separate downloadable bundle.
Describe the solution you'd like
 If you have a solution in mind, please describe it.
Similar to vendor-chunk option, maybe we can add material-chunk option?
Describe alternatives you've considered
 Have you considered any alternative solutions or workarounds?
Setting vendor-chunk or common-chunk could separately build angular-material bundle.

An example app (with some (mostly empty) modules and components, but with no real application logic). vendor-chunk not set:

The same example app with vendor-chunk set:

Hi @realharry,
Thanks for this feature request. Adding an extra chunk is not in scope of the Angular CLI and it might cause increased in overall bundle sizes. Tree shaking in Webpack requires that modules are within the same bundle, so there is the possibility that if you create more chunks some unused code will be retained.
It's important to point that the vendor chunk option is not intended to be used for production, it is be used during development to reduce rebuild roundtrip time.
That said, if you really want to create a separate chunk for material, while it's not recommended you can use ngx-build-plus, which is a 3rd party extension of the CLI.


Add Ability to Change region preference ordering.

right now the region preference is very focused on English and USA artwork.
offer the ability to change this region preference so for example art work from Japan takes preference over English artwork

merged #65 into this issue


Turkish

Turkish support is working reasonably well for me and I've gone back and cleaned up the code and commits a bunch so they are presentable now. I'd like to see this added upstream at some point. However there are still a couple unresolved issues. I'm happy to do the work to fix them, but I'm rather at a loss as to what end of the snake to grab onto.

Turkish works fine by itself, but it won't compile into the "full" edition because of a conflict with Hungarian. Specifically the book of Judges has an abbreviation of Bír which, because matches are made without accents, includes "Bir" … the Turkish number "One". As I have that listed as one possible way of denoting the "First Xxxxx" books that creates a conflict. I'm not sure why it doesn't go for longest match first and just roll with it, but for whatever reason that is a blocker in the full compile.
A couple "Recurse" notices pop up during compile for the Gospels. I can't quite make out what causes these.

Geez, I've been running this for two months on a staging site and nobody caught that I spelled Thessalonians wrong and it wasn't matching...until half an hour after I finally post this PR. Standby...

There, that's better.
I would like to add support for a bunch more abbreviated matches (e.g. three letter book name abbreviations with a number as in "1 Sel"; currently only the standardized three letter "1 Se" works), but I think it might be good to hold off on them until I get a better handle on which ones make sense to use. I don't have a good corpus to go off of and people don't seem to publish with them, but they sure do search for them when typing in lookups. At some point I'll sort through my logs and pick out the ones that make sense and aren't just typos or other noise. But that point isn't now.

What do you think of putting the various "i" characters into brackets rather than parentheses? I've updated 01.add_lang.pl to make that feasible. I also wasn't sure whether in data.txt the $TRANS should be YC198 rather than YC1998 and whether the $VERSE should be "a.[space]ayeti" as opposed to "a.[\t]ayeti".
By default, 01.add_lang.pl treats "." as an optional character, so it's not necessary to put a "?" after it.

Apparently I created a new pull request instead of updating this one. Sorry. https://github.com/openbibleinfo/Bible-Passage-Reference-Parser/pull/18

@openbibleinfo I like the bracket syntax a lot better. I must have tried two dozen ways to make it work before resorting to the parenthesis syntax, but I was trying to work inside the data file without editing the parser. If the upstream code really accounts for the problem now that will be great.
I did spot a couple things just glancing over the changes that might be an issue. I'll do some testing early next week and see how it goes. Sorry I don't have time to play with it today.
As for the PR situation, that's fine. You couldn't actually add commits directly to this PR as it is against a branch in my fork. You could have pushed the branch and just linked the commit without opening the PR, but that's fine too. Either way I can get my hands on it and add it to my branch for testing, so it's all good.

@openbibleinfo There are a couple of ways that your refactored verse is definitely better. I'm working on integrating it into a site now and we'll see how things go. One concern I did have that might be a step backwards is that you're generating quite a lot of potential book name matches that are quite unlikely to actually occur in the wild (to be fair my version had quite a few too, but now there are ever more). It's quite common form Turkish characters to be typed on English keyboard with their nearest equivalent characters, but it's fairly unusual for letters in the English alphabet to get typed with similar but different Turkish characters. For example one might type Romalılar as Romalilar if you were on a keyboard without a Turkish undotted-i, but it would be very weird and an abuse of spelling to write Selanikliler as Selanıklıler. It's just wrong and I'm not sure there is any point in matching it. Mind you this is only for the lower case, you do have to catch the upper case variants SELANİKLİLER (correct) and SELANIKLILER (wrong, but the way it would be typed on an English keyboard). For most words this is unlikely to cause false positives, but it does seem like a lot of overhead.
The second part of that is that there isn't a lot of point in mixing and matching. The only cases I care about are the ones that are all one way or another. Again this seems like a lot of overhead for a dubious advantage in matching.
Thoughts?

Yes, I agree that the current approach is leading to a combinatorial explosion--there are over 9,000 abbreviations here, mostly because of the "i" variants. If you want to force only consistent "i" variants, as you describe, I think the best way would be to include them individually, fully specified, rather than use brackets. So you'd have:

$FIRST Selanikliler    (tab)   $FIRST SELANİKLİLER

The first one handles both the uppercase "I" and the lowercase "i", and the second handles the all-caps variant. This approach generates only two possibilities instead of six.
The only other caveat is that some people do appear to use "1 Selanıklıler": https://www.google.com/search?q="1 Selanıklıler"&ie=utf-8&oe=utf-8 . Whether that means you want to include this third variant is up to you.

Bah humbug. And now there are going to be 5 Google hits instead of 4 because it's going to pick up this thread. The faster we can make that bogus rendition die the better if you ask me. I'd rather my app not match it at all. I don't at all mind catching potential typing errors, copy paste and casing issue, keyboard issue, etc. but I'd just assume not encourage outright bogus miss-spellings as valid usage.

Rebased commits to account for some corrections based on feedback to date. Still matching a lot of i's, but now with other issues corrected.

I'm finishing up the November release. Do you have a data.txt that you feel is ready to merge into master, or would you rather wait?

Turkish support is plenty mature to include any time. I've had it in production in several places for a long time now and tweaked it for a lot of little things that come up. The catch right now is because your workflow seems to eschew normal Github style contributing, I'm currently maintaining this in my master branch so I can use it as an NPM module directly.
If you let me know when you're ready to merge this I'll rebase it and put it here.

Added to 2.0.1.


Documentation of simple code for custom pattern regex not working

Describe the bug
I tried to add custom regex as per documentation, but it is not working for me.
Link - https://github.com/microsoft/presidio/blob/main/docs/samples//python/customizing_presidio_analyzer.ipynb
To Reproduce
Define the regex pattern in a Presidio Pattern object
numbers_pattern = Pattern(name="numbers_pattern",regex="^\d", score = 0.1)
Define the recognizer with one or more pattern
number_recognizer = PatternRecognizer(supported_entity="NUMBER", patterns = [numbers_pattern])
Testing the recognizer itself:
text2 = "I live in 510 Broad st."
numbers_result = number_recognizer.analyze(text=text2, entities=["NUMBER"])
print("Result:")
print(numbers_result)
Expected behavior
Result:
[type: NUMBER, start: 10, end: 13, score: 0.5]
I Gets,
Result:
[]
Screenshots

Additional context
Add any other context about the problem here.

Hi, the regex used in the sample is "\d+" whereas in your sample it is "^\d". I assume this is the source of the mismatch. Closing for now, please re-open if there's more context here.


Video bugy using UDPMux

Your environment.

Version: 3.1.24 + PR #1812 merge
Browser: Firefox 99.0b3

What did you do?
We have a working server allowing to forward a incoming video track to multiple outgoing video tracks.
It works well, but for firewall workarounds, we would like to have a unique udp port opened.
So we used code from ice-single-port to add an UDPMux to our config.
What did you expect?
I didn't except any difference in behaviour between default ephemeral udp listener and custom UDPMux
What happened?
The connection establishes as expected but the video is totally broken. It seems we are receiving data (key frames + few following frames are displayed correctly) but something disturb the video feed and sends wrong data the codec can't decode.
What else ?
I don't really which information you need to further investigate this issue, please ask me for any details.

Are you handling NACKs?
Can you reproduce this issue without using UDPMux? (i.e. using a fixed UDP port range)

No, I'm not handling it, we only handle PLI.
The problem is not reproduced with ephemeral udp, but I can't really test with a single port. Ephemeral udp opens a new port for each connections, meaning it can't allocate the same port for tow connections.
I have tried the other way around : allocating a new port for each connections with an UDPMux. I have exactly the same problem. So the problem really appear when using UDPMux instead of the default EphemeralUdp

How much data are you sending through when this happened? You might need to increase the kernel buffer sizes as all of the incoming/outgoing data is going into a single kernel buffer. See this section on tuning kernel params.

I found the problem: it was a bug in the code forwarding the packet from one track to another. The sequence number was incremented for each incoming packet, without taking care of the packet order.
I still doesn't understand why it was working with Ephemeral UDP but not with UDPMux.


This package changed value of req.url, but why?

This package changed the value of req.url, but why?

I have the same question.


Localize connection dialogs

The labels in the connection dialogs for the ODBC and JDBC connectors are only available in English. Tableau allows translating the labels to other languages. See the documentation for details.

PM decision: we won't localize the UI.


chore: add shfmt

Description
Given all the shell files that now exist in the repo, would be nice to have linting/formatting around them (in addition to the existing shellcheck which doesn't do anything to format the shell code). This PR introduces shfmt to both check for changes and apply formatting when the associated make targets are called.

This looks good. We are going to have some good looking shell scripts! Mostly it was lots of simple reformatting. I was a little hesitant when it removed some backslashes. But that was it.

The massive indentation in some scripts feels less reader-friendly to me. Can some scripts go back to 2 spaces per level of indentation?
E.g., https://github.com/Unstructured-IO/unstructured/blob/main/scripts/user/unstructured-get-json.sh