chore: run tests on windows

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
cost to well test all platforms
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

(Merging with now known windows issue!)

Update: Locally testing, windows listens to one IPV6 host even when input host is <IP_ADDRESS> ! https://github.com/unjs/get-port-please/commit/e8b92ac16e28310423cc14c1bbb58b5e20836537 :}


fix: properly unregister hooks and reset tokens

fixes #4

closes #2
resolves #4

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Build Xamarin.Android from solution

Describe the solution you'd like
Add a way to build a Xamarin.Android app from the *.sln
Describe alternatives you've considered
A less than ideal workaround is to make sure the same configuration is present in all the referenced projects unfortunately it is not always convenient.
Additional context
Currently a build might fail if all the projects referenced by the csproj do not have the same configuration. In a solution, it is possible to have different configurations for each referenced projects.
This works on iOS, are there any technical reason it is not available on Android as well?

Thanks @prollin for the response, @nrajpurkar would you mind taking a look?

I almost created the exact same issue just now, this is kind of a problem for me. I have a Xamarin.Android app with quite some build configurations that change up some names and logos. It references some library projects that really only have a "Debug" and "Release" configuration. The configuration manager on the solution level is used to determine which of these two builds for any of the other configurations. This builds fine in Visual Studio and in our custom CLI build script. In App Center Build though, the solution configuration is ignored which results in the error:
The OutputPath property is not set for project 'MyAppHere'.  Please check to make sure that you have specified a valid combination of Configuration and Platform for this project.  Configuration='ReleaseCustom'  Platform='AnyCPU'.  You may be seeing this message because you are trying to build a project without a solution file, and have specified a non-default Configuration or Platform that doesn't exist for this project.

In our custom script we specify the solution as the project argument to msbuild and "ProjectName:TargetName" as the target to make it work:
msbuild Solution.sln /p:Configuration="ReleaseCustom" /t:"MyAppHere:SignAndroidPackage"

Indeed a workaround would be to make sure that all configurations exist for all library projects, but this gets ugly and unmaintainable fast.
Don't know if I consider this a missing feature or a bug - as mentioned it builds just fine in VS so you'd expect it to do the same in Build.

@amchew @nrajpurkar any update on this issue?
Unless I am missing an obvious workaround, this is an important feature for anyone working on a real world project with external dependencies.
Is there any issue specific to Android that prevent this from being an easy fix?

@amchew @nrajpurkar Sorry to bump this up but this is still an issue and no simple workaround has been provided.
Unless I am missing something, It is currently not possible to build an Android solution through App Center. It works for simple demo projects but any solution containing multiple project all set to different configurations do not work.
This should be labelled as a bug, not a feature.

For me, appcenter is not useable for building android projects because of this limitation.

@amchew any update on this? Nobody else uses AppCenter to build large Android projects?

@prollin I personally did some csproj hacking to make sure each build configuration does something sensible for each project... It's really ugly, but less work than building manually each time. I still hope this will be resolved of course.

@ElteHupkes modifying each csproj is of course an option but it becomes annoying when those other projects are updated. I just would love to understand why this is an issue on Android; is there some weird behavior in the way Xamarin.Android interacts with msbuild that makes this feature complex to implement?

@prollin I agree, it's a pain. I guess there just aren't enough people upvoting for it to get priority.

I also have this problem and am tired of the ugly hacks needed to make for example compile time constants work when building for android

+1

still no official news? Will it be fixed or is the effected number of users too low?

Such feature would be quite welcomed./

So, should I just add some "further activity" in the form of a comment so the bot knows we're still interested? Rhetorical question.

Just feeding the bot like last time, this is still wanted.

Yup, that's a needed feature.

any news about building android projects, without the need of creating unnecessary project configurations?


[FEATURE] Support Python 3.12.x for argilla client 2.0

Cucu! :) First of all huge congrats on the acquirement, just amazing, really look up to you guys!! I hope you could already savor this achievement, and that you are all doing fine! Un fuerte abrazo!
Is your feature request related to a problem? Please describe.
I'm on Ubuntu 24.04 and mainly work with venvs. Since the system Python version is 3.12.3 I could not install the argilla2.0 client.
Describe the solution you'd like
Support Python versions 3.12.x by removing the upper version cap. There are arguments to be made not to use upper caps:

https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#python-requires
https://discuss.python.org/t/requires-python-upper-limits/12663

Describe alternatives you've considered
update the version cap to <3.13
Additional context

@frascuchon @burtenshaw I would consider adding this to 2.0 if the tests pass automatically.

@dcfidalgo If you want, would you be able to create a PR for this?

@davidberenstein1957 Here you go :)


[Feature] Replace Raylib.Rectangle with System.Rectangle

Before submitting a new issue, please verify and check:

[x] The issue is specific to Raylib-cs and not raylib
[x] I checked there is no similar issue already reported
[x] My code has no errors or misuse of Raylib-cs

Issue description
Hello!
What you think about by removing the Rectangle struct, because C# has already a own class for it.
Let me know what you think about it, i can do the PR for it :)

PS: It has exact the same functions

Using a existing class sounds good however System.Drawing is not cross platform.
https://learn.microsoft.com/en-us/dotnet/api/system.drawing?view=net-7.0

Read this text:
Some types in the System.Drawing namespace rely on [GDI+](https://learn.microsoft.com/en-us/windows/win32/gdiplus/-gdiplus-gdi-start), which is not supported in Windows services and ASP.NET Core and ASP.NET apps. These types are in the [System.Drawing.Common](https://www.nuget.org/packages/System.Drawing.Common/) NuGet package and include [System.Drawing.Bitmap](https://learn.microsoft.com/en-us/dotnet/api/system.drawing.bitmap?view=net-7.0) and [System.Drawing.Font](https://learn.microsoft.com/en-us/dotnet/api/system.drawing.font?view=net-7.0). However, primitive types in the namespace, such as [System.Drawing.Color](https://learn.microsoft.com/en-us/dotnet/api/system.drawing.color?view=net-7.0), [System.Drawing.Size](https://learn.microsoft.com/en-us/dotnet/api/system.drawing.size?view=net-7.0), [System.Drawing.Point](https://learn.microsoft.com/en-us/dotnet/api/system.drawing.point?view=net-7.0), and [System.Drawing.Rectangle](https://learn.microsoft.com/en-us/dotnet/api/system.drawing.rectangle?view=net-7.0), can be used in any application.

primitive types in the namespace, such as System.Drawing.Color, System.Drawing.Size, System.Drawing.Point, and System.Drawing.Rectangle, can be used in any application.

The types could be used but it means users need to be aware of what features of System.Drawing they can safely use. I would rather try to have features of the library work the same across platforms as best I can.

well ok! Btw do you have dc?

I think even Vector2 should get replaced with Size... but what ever it is your lib :/

I saw, you need to impliment a special LIB for using the other stuff.
If you give me the ok, i can do it! :)

Not sure what you are asking. By special lib do you mean System.Numerics?

I like it!

The types could be used but it means users need to be aware of what features of System.Drawing they can safely use. I would rather try to have features of the library work the same across platforms as best I can.

If you want the features that not cross platform supported you need to go on Nuget and Download it, so i think it is fine then to use size, Rec...

Could possibly get it to work with the types but I don't see enough benefit to taking on the dependency at this stage. I might reconsider in the future when making other breaking changes but for now I think the focus should be making the current types easier to use.

Could possibly get it to work with the types but I don't see enough benefit to taking on the dependency at this stage. I might reconsider in the future when making other breaking changes but for now I think the focus should be making the current types easier to use.

I mean, using Vector2 for a int Size is very bad...

What do you mean exactly? Vector2 is used to match the same type raylib uses...

well, ok...

but does they get casted then to int?
(so is it really working as a float?)

I vote against this, sorry - the original RL has floats for Rectangle, and we should keep as close to upstream as possible.
That said, there is RectangleF, which can even take a Vector4 as input, and doing an implicit conversion to the current Rectangle shouldn't cause any issues.

I vote against this, sorry - the original RL has floats for Rectangle, and we should keep as close to upstream as possible.
That said, there is RectangleF, which can even take a Vector4 as input, and doing an implicit conversion to the current Rectangle shouldn't cause any issues.

I agree, I think System.Drawing.RectangleF would be the ideal alternative to Raylib_cs.Rectangle. I personally would prefer it as well. The main issue I can potentially see being problematic is the naming mismatch.
Also worth noting that is has a handy implicit operator so you can pass System.Drawing.Rectangle into a method with param type RectangleF and it should work just fine.

but does they get casted then to int?
(so is it really working as a float?)

When calling DrawRectanglePro the rect coordinates are used to set vertex positions (as floats) so floating values are the most sensible approach.
https://github.com/raysan5/raylib/blob/32b54be5cbd9eb77fc36a4c044dce69c5640a26a/src/rshapes.c#L798-L808

but does they get casted then to int?
(so is it really working as a float?)

When calling DrawRectanglePro the rect coordinates are used to set vertex positions (as floats) so floating values are the most sensible approach.
https://github.com/raysan5/raylib/blob/32b54be5cbd9eb77fc36a4c044dce69c5640a26a/src/rshapes.c#L798-L808

To be fair, int to float is implicit, a float can represent any int - it's the other way you need to worry about.

So lets do a vote
Who is for it that reacts with 👍
If you not for it react with 👎

Well you guys won then!


Add keplr to InjectedConnector

Issue / feature description
keplr now supports starknet. Therefore, I would like starknetkit to support keplr.
Changes

Add keplr to defaultConnectors
Add keplr logo

Checklist

[ ] Rebased to the last commit of the target branch (or merged)
[ ] Code self-reviewed
[ ] Code self-tested
[ ] Tests updated (if needed)
[ ] All tests are passing locally

Please keep your pull request as small as possible. If you need to make multiple changes, please create separate pull requests for each change. Create a draft pull request if you need early feedback. This will mark the pull request as a work in progress and prevent it from being reviewed or merged until you are ready.
Please move drafts to the ready for review (regular PR) when you are ready to start the review process and other developers will pick it up from there.

Did some tests and leaving some comments:

this pr won't be merged at this moment, because it will change the default connectors list
keplr can be already used by initializing the injected connector

new InjectedConnector({ options: { id: "keplr" } })

using starknetkit connect method, it needs to be passed to the connectors option

const res = await connect({
      connectors: [
        new InjectedConnector({ options: { id: "argentX" } }),
        new InjectedConnector({ options: { id: "braavos" } }),
        new InjectedConnector({ options: { id: "keplr" } }),
        new ArgentMobileBaseConnector({
          dappName: "Starknetkit example dapp",
          url: window.location.hostname,
          chainId: CHAIN_ID,
          icons: [],
        }),
        new WebWalletConnector({ url: ARGENT_WEBWALLET_URL }),
      ],
      modalMode: "alwaysAsk",
    })

    const { wallet, connectorData, connector } = res

discovery is not working for keplr at the moment, we need to wait for @starknet-io/get-starknet-core to be updated for this

@bluecco Then, can you leave out the default connectors list part and just add the icon part?

@Thunnini yes, adding in #142
will do some tests on the pre-release first

closing this in favour of #142
new starknetkit@latest can be used (v2.3.3)

can connect with keplr
can send a transaction if the account is deployed

there are 2 issues on wallet side:

cannot sign a message
cannot perform a transaction if the account is undeployed


libpq[core,openssl,zlib]:x64-windows build failure

Host Environment

OS: Windows
Compiler: revision

To Reproduce
(base) PS G:\Dev\vcpkg-2021.12.01> .\vcpkg.exe install libpq[core,openssl,zlib]:x64-windows
Computing installation plan...
The following packages will be built and installed:
    libpq[core,openssl,zlib]:x64-windows -> 12.2#20
Detecting compiler hash for triplet x64-windows...
-- Using HTTP(S)_PROXY in environment variables.
Restored 0 packages from C:\Users\lenovo\AppData\Local\vcpkg\archives in 264.8 us. Use --debug to see more details.
Starting package 1/1: libpq:x64-windows
Building package libpq[core,openssl,zlib]:x64-windows...
-- Using cached postgresql-12.2.tar.bz2.
-- Cleaning sources at G:/Dev/vcpkg-2021.12.01/buildtrees/libpq/src/tgresql-12-ef0b4889ed.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source G:/Dev/vcpkg-2021.12.01/downloads/postgresql-12.2.tar.bz2
-- Applying patch patches/windows/install.patch
-- Applying patch patches/windows/win_bison_flex.patch
-- Applying patch patches/windows/openssl_exe_path.patch
-- Applying patch patches/windows/Solution.patch
-- Applying patch patches/windows/MSBuildProject_fix_gendef_perl.patch
-- Applying patch patches/windows/msgfmt.patch
-- Applying patch patches/windows/python_lib.patch
-- Applying patch patches/windows/fix-compile-flag-Zi.patch
-- Applying patch patches/windows/minimize_install.patch
-- Using source at G:/Dev/vcpkg-2021.12.01/buildtrees/libpq/src/tgresql-12-ef0b4889ed.clean
-- Copying libpq source files to G:/Dev/vcpkg-2021.12.01/buildtrees/libpq/x64-windows-rel...
-- Copying libpq source files... done
CMake Deprecation Warning at scripts/ports.cmake:75 (message):
  vcpkg_apply_patches has been deprecated in favor of the `PATCHES` argument
  to `vcpkg_from_*`.
Call Stack (most recent call first):
  scripts/cmake/vcpkg_apply_patches.cmake:18 (z_vcpkg_deprecation_message)
  ports/libpq/portfile.cmake:127 (vcpkg_apply_patches)
  scripts/ports.cmake:142 (include)

-- Applying patch patches/windows/Solution_RELEASE.patch
-- Applying patch patches/windows/python3_build_RELEASE.patch
-- Patches applied!
-- Building libpq x64-windows-RELEASE...
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
    Command failed: G:/Dev/vcpkg-2021.12.01/downloads/tools/perl/<IP_ADDRESS>/perl/bin/perl.exe build.pl RELEASE libpq
    Working Directory: G:/Dev/vcpkg-2021.12.01/buildtrees/libpq/x64-windows-rel/src/tools/msvc
    Error code: 1
    See logs for more information:
      G:\Dev\vcpkg-2021.12.01\buildtrees\libpq\build-libpq-x64-windows-RELEASE-out.log

Call Stack (most recent call first):
  ports/libpq/portfile.cmake:223 (vcpkg_execute_required_process)
  scripts/ports.cmake:142 (include)

Error: Building package libpq:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `git pull` and `.\vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libpq
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[libpq]+Build+error
including:
  package: libpq[core,openssl,zlib]:x64-windows -> 12.2#20
    vcpkg-tool version: 2021-11-24-48b94a6946b8a70abd21529218927fd478d02b6c
    vcpkg-scripts version: unknown

Failure logs
Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.
build-libpq-x64-windows-RELEASE-out.log

@xiaoliang2121 could you reinstall windows sdk via VS installer and try again? I can't repro this issue locally. :)
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community>where rc.exe
C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64\rc.exe
C:\Program Files (x86)\Windows Kits\10\bin\x64\rc.exe

Please confirm you've installed the English Language Package using Visual Studio Installer first.

Please confirm you've installed the English Language Package using Visual Studio Installer first.

ok, I will try later

After a few days, I compiled it again according to the original method and found that there was no problem


Datepicker Table not Accessible via VoiceOver (Safari)

Browser: Safari v11.1
Library: react-dates v18.1
When testing the datepicker, VoiceOver doesn't navigate the table using VO + up/down. Only VO + left/right works.. To be considered a fully-accessible datepicker I think both should work.
Please reference: https://www.w3.org/TR/wai-aria-1.1/#grid
I have the code changes to make this work as a grid for VoiceOver users, however the role="button" in the  elements is sacrificed for role="gridcell". Let me know if you approve and I'll submit a PR

That seems like a good change! Thanks for the suggestion. Assigning it back to you since you said you have code changes ready for it.


Expose port, But not bound to the host?

Description:
When I change the nginx's Dockerfile,
and add
EXPOSE 80 443 8080
then got this
laradock_nginx_1        /bin/bash               Up         <IP_ADDRESS>:443->443/tcp,                         /opt/startup.sh                    <IP_ADDRESS>:80->80/tcp,                                                              8080/tcp
port 8080 is not binding to <IP_ADDRESS>:8080
How to solve it?
thanks!
Context information:
Output of git rev-parse HEAD
8254c3464743d86f42e9d7c83764bf3c385b6ad8

System info: Linux. Include which disto/version
Ubuntu18

change 2 config files：
docker-compose.yml
ports:
        - "${NGINX_HOST_HTTP_PORT}:80"
        - "${NGINX_HOST_HTTPS_PORT}:443"
        - 8080::8080

nginx/Dockerfile
EXPOSE 80 443 8080

change 2 config files：
docker-compose.yml
ports:
        - "${NGINX_HOST_HTTP_PORT}:80"
        - "${NGINX_HOST_HTTPS_PORT}:443"
        - 8080::8080

nginx/Dockerfile
EXPOSE 80 443 8080


Use correct hash_bucket_size parameter

s/hash_buckets_size/hash_bucket_size/ since that is the correct argument spelling for the Python method.

I signed it!

thanks for the clean up!


replace dev flag with debug logs.

Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ X ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@morvencao: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
c39dd0593df72ab2eebe86ba73042c9b095a9d97
link
/test release-notes_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test release-notes_istio


Cycle Unordered List Markers

More of a feature request than a problem:
Would it be possible to cycle the unordered list markers when you press tab to indent? I see that there's a setting to change the list marker to -, +, or * and it's all working fine but I've gotten used to Sublime's and Atom's respective Markdown plugins to do that. For example:
- Lorem ipsum
- Lorem ipsum
  + Lorem ipsum
  + Lorem ipsum
     * Lorem ipsum
  +  Lorem ipsum
-  Lorem ipsum

Likeso.

Could you provide a link of one of those extensions so I can know how it works?

Hmm, so I thought md-writer for Atom does this but apparently it doesn't. I vaguely remember having it but maybe I was using another plugin that I can't remember now.
MarkdownEditing for Sublime does it though. Related part is defined here and it makes lists cycle *, +, - on tab or shift + tab

Thanks. But personally I don't like this idea. Maybe I would add a keybinding to switch the list marker.

Got it. Ultimately it's more of a visual preference than an actual problem and as long as it parses right, I'm cool with just dropping it. Keybinding to easily switch would be sweet though.
Either way, thanks for the consideration and good work!


Upgrade Token Negotiator Filter

In the mock set of tokens below and a given filter { class: 'gold' } will return gold tokens. For more complex filtering e.g. finding gold and silver this cannot be done.
This issue is to update the filter to be more flexible e.g. filter: { class: ['gold', 'silver'] }
const tokens = [
{ class: 'abc', type: 'gold' },
{ class: 'def', type: 'silver' },
{ class: 'ghi', type: 'bronze' },
]

Added to Jira / roadmap, removing from issues.


Build agent in AKS is faling to deploy

We are using AzureDevops Server(2020) and trying to install ADO buildagents in AKS service(1.23.8) Which is having Istio (1.13.5
)enabled.
We were refering the Microsoft Document and below are the options tried.
First used Docker file
FROM ubuntu:18.04

# To make it easier for build and release pipelines to run apt-get,
# configure apt to not require confirmation (assume the -y argument by default)
ENV DEBIAN_FRONTEND=noninteractive
RUN echo "APT::Get::Assume-Yes \"true\";" > /etc/apt/apt.conf.d/90assumeyes

RUN apt-get install -y --no-install-recommends \
    ca-certificates \
    curl \
    jq \
    git \
    iputils-ping \
    libcurl4 \
    libicu60 \
    libunwind8 \
    netcat \
    libssl1.0 \
  && rm -rf /var/lib/apt/lists/*

RUN curl -LsS https://aka.ms/InstallAzureCLIDeb | bash \
  && rm -rf /var/lib/apt/lists/*

# Can be 'linux-x64', 'linux-arm64', 'linux-arm', 'rhel.6-x64'.
ENV TARGETARCH=linux-x64

WORKDIR /azp

COPY ./start.sh .
RUN chmod +x start.sh

ENTRYPOINT ["./start.sh"]

Deployment File
apiVersion: apps/v1
kind: Deployment
metadata:
  name: azdevops-deployment
  labels:
    app: azdevops-agent
spec:
  replicas: 1 #here is the configuration for the actual agent always running
  selector:
    matchLabels:
      app: azdevops-agent
  template:
    metadata:
      labels:
        app: azdevops-agent
    spec:
      containers:
      - name: kubepodcreation
        image: qrdevcontainers.azurecr.io/vsts/dockeragent:1.0
        env:
          - name: AZP_URL
            valueFrom:
              secretKeyRef:
                name: azdevops
                key: AZP_URL
          - name: AZP_TOKEN
            valueFrom:
              secretKeyRef:
                name: azdevops
                key: AZP_TOKEN
          - name: AZP_POOL
            valueFrom:
              secretKeyRef:
                name: azdevops
                key: AZP_POOL
        volumeMounts:
        - mountPath: /var/run/docker.sock
          name: docker-volume
      volumes:
      - name: docker-volume
        hostPath:
          path: /var/run/docker.sock

Getting Below error
1. Determining matching Azure Pipelines agent...
2. Downloading and extracting Azure Pipelines agent...
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to vstsagentpackage.azureedge.net:443

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

It looks like a network problem. Could you check by pinging this address or something like that?

Tried telnet to the given address on port 443 from the aks node and it's
getting connected.
On Mon, 24 Oct, 2022, 10:28 am Roman-Shchukin, @.***>
wrote:

It looks like a network problem. Could you check by pinging this address
or something like that?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/azure-pipelines-agent/issues/3999#issuecomment-1288540739,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGAAZ2WGAI5AGLHDDC7O7I3WEY3AXANCNFSM6AAAAAARMIE4RI
.
You are receiving this because you authored the thread.Message ID:
@.***>

You did it from inside docker container?

It's running on aks cni based network concept. So telnet is tried from the
node itself as containers and nodes in same network in azure cni network
model.
On Mon, 24 Oct, 2022, 11:53 am Roman-Shchukin, @.***>
wrote:

You did it from inside docker container?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/azure-pipelines-agent/issues/3999#issuecomment-1288675297,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGAAZ2V53ABNZBQVJK7TPFLWEZFAVANCNFSM6AAAAAARMIE4RI
.
You are receiving this because you authored the thread.Message ID:
@.***>

when I tried to run the above built image as a docker conatiner agent from one of the buildagent machine itself, getting below error
docker run -e AZP_URL= -e AZP_TOKEN= -e AZP_AGENT_NAME=mydockeragent dockeragent:latest
>> Connect:

Connecting to server ...

>> Register Agent:

Scanning for tool capabilities.
Connecting to the server.
Successfully replaced the agent
Testing agent connection.
2022-10-25 12:54:30Z: Settings Saved.

4. Running Azure Pipelines agent...
chmod: cannot access './run-docker.sh': No such file or directory
Cleanup. Removing Azure Pipelines agent...
Removing agent from the server
Error reported in diagnostic logs. Please examine the log for more details.
    - /azp/_diag/Agent_20221025-125431-utc.log
Failed: Removing agent from the server
TF400813: Resource not available for anonymous access. Client authentication required.

Here I am using same MS provided start.sh and Dockerfile to build the image.  Why its failing when its running as a standalone container itself.  What file exactly its looking for? (chmod: cannot access './run-docker.sh': No such file or directory)
When I used the same image in the replicaset in AKS cluster  getting different error, where as both the AKS container subnet and the Machine subnet are same and have conectivity to ADO server and "vstsagentpackage.azureedge.net"
1. Determining matching Azure Pipelines agent...
2. Downloading and extracting Azure Pipelines agent...
curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to vstsagentpackage.azureedge.net:443

gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now

@vivuu1989 could you please provide  link to documentation you followed?

Here is the document.
https://learn.microsoft.com/en-us/azure/devops/pipelines/agents/docker?view=azure-devops#linux
On Tue, 1 Nov, 2022, 6:23 pm Sergey Koryshev, @.***>
wrote:

@vivuu1989 https://github.com/vivuu1989 could you please provide link
to documentation you followed?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/azure-pipelines-agent/issues/3999#issuecomment-1298698892,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGAAZ2VY7B3LLGI63CEUW43WGEYWRANCNFSM6AAAAAARMIE4RI
.
You are receiving this because you were mentioned.Message ID:
@.***>

@sergey-koryshev , Yes, you are right, I was referring some wrong package and that caused the issue. But After that I could successfully create the deployment with the package 2.170.1 vsts agent but faced below issue.
We were able to successfully add the deployment to Azuredevops Agent pool and could execute the pipeline on them by following the Microsoft docs. But Its throwing strange error related to dynatrace for all the tasks which is getting executed inside them..
/opt/dynatrace/oneagent/agent/bin/1.251.xxxxxxxxxx/any/nodejs/nodejsagent.js:2611
  const e = Buffer.allocUnsafe(8), d = 2 ** 32;
                                          ^

SyntaxError: Unexpected token *
    at createScript (vm.js:56:10)
    at Object.runInThisContext (vm.js:97:10)
    at Module._compile (module.js:549:28)
    at Object.Module._extensions..js (module.js:586:10)
    at Module.load (module.js:494:32)
    at tryModuleLoad (module.js:453:12)
    at Function.Module._load (module.js:445:3)
    at Module.require (module.js:504:17)
    at module.js:676:12
    at Array.forEach (native)
##[error]Exit code 1 returned from process: file name '/azp/externals/node/bin/node', arguments '"/azp/_work/_tasks/PublishBuildArtifacts_2ff763a7-ce83-4e1f-bc89-0ae63477cebe/1.158.3/publishbuildartifacts.js"'.

Note:- Same image is tried with the Docker standalone container and where the pipelines are getting executed successfully. Where as when we trigger the pipelines to the AKS based agents (using the same docker image), getting the above syntax error.

Adding the logs which we got from Build-Agent

/azp/_diag/Worker_20221108-092937-utc.log
[2022-11-08 09:29:40Z INFO AgentPluginManager] Loaded task plugin id 'ecxxxxxxx-xxxx-xxxx-xxx-x-xxxxxxe' (main).
[2022-11-08 09:29:40Z INFO WorkerCommandManager] Enable plugin internal command extension.
[2022-11-08 09:29:40Z INFO HostContext] Well known directory 'Bin': '/azp/bin'
[2022-11-08 09:29:40Z INFO HostContext] Well known directory 'Root': '/azp'
[2022-11-08 09:29:40Z INFO HostContext] Well known directory 'Work': '/azp/_work'
[2022-11-08 09:29:40Z INFO HostContext] Well known directory 'Bin': '/azp/bin'
[2022-11-08 09:29:40Z INFO ProcessInvokerWrapper] Starting process:
[2022-11-08 09:29:40Z INFO ProcessInvokerWrapper]   File name: '/azp/bin/Agent.PluginHost'
[2022-11-08 09:29:40Z INFO ProcessInvokerWrapper]   Arguments: 'task "Agent.Plugins.Repository.CheckoutTask, Agent.Plugins"'
[2022-11-08 09:29:40Z INFO ProcessInvokerWrapper]   Working directory: '/azp/_work'
[2022-11-08 09:29:40Z INFO ProcessInvokerWrapper]   Require exit code zero: 'True'
[2022-11-08 09:29:40Z INFO ProcessInvokerWrapper]   Encoding web name: utf-8 ; code page: '65001'
[2022-11-08 09:29:40Z INFO ProcessInvokerWrapper]   Force kill process on cancellation: 'False'
[2022-11-08 09:29:40Z INFO ProcessInvokerWrapper]   Redirected STDIN: 'True'
[2022-11-08 09:29:40Z INFO ProcessInvokerWrapper]   Persist current code page: 'False'
[2022-11-08 09:29:40Z INFO ProcessInvokerWrapper]   Keep redirected STDIN open: 'False'
[2022-11-08 09:29:40Z INFO ProcessInvokerWrapper]   High priority process: 'False'
[2022-11-08 09:29:40Z INFO ProcessInvokerWrapper] Failed to update oom_score_adj for PID: 2515.
[2022-11-08 09:29:40Z INFO ProcessInvokerWrapper] System.UnauthorizedAccessException: Access to the path '/proc/2515/oom_score_adj' is denied.
---> System.IO.IOException: Permission denied
   --- End of inner exception stack trace ---
   at System.IO.FileStream.WriteNative(ReadOnlySpan`1 source)
   at System.IO.FileStream.FlushWriteBuffer()
   at System.IO.FileStream.Dispose(Boolean disposing)
   at System.IO.Stream.Close()
   at System.IO.StreamWriter.CloseStreamFromDispose(Boolean disposing)
   at System.IO.StreamWriter.Dispose(Boolean disposing)
   at System.IO.TextWriter.Dispose()
   at System.IO.File.WriteAllText(String path, String contents)
   at Microsoft.VisualStudio.Services.Agent.Util.ProcessInvoker.WriteProcessOomScoreAdj(Int32 processId, Int32 oomScoreAdj)

I again tried with , vsts 2.211.1 version and after that none of the pipelines are getting scheduled in the vsts agents eventhough the agents are running and listening for the jobs.

@vivuu1989, sorry for late answer. Do you still experience the issue?
Issue with PublishBuildArtifacts occurs due to the fact that the task was run on wrong version of Node by some reasons. It requires 10 or 16 version but logs says it was picked up Node of version 6. To further investigation we need to see full logs of agent and example of YAML of affected pipeline. Can you please attach them?
As for error Failed to update oom_score_adj for PID: 2515, I believe this is related to old version of agent you use, we have seen such issues before and it was fixed in version 2.196.1 but you mentioned you used version of agent 2.170.1. So I just suggest you to use last version to rid the issue.

I close the issue because of inactivity. Please feel free to reactivate it or create new one.


Duplicate entry for key 'PRIMARY' in Laravel Notifications

Laravel Version: 5.6.39
PHP Version: 7.2.9
Database Driver & Version: MySQL

Description:
Laravel notification getting duplicate error when sending notifications. It comes randomly.
Steps To Reproduce:
It is reproducing randomly so I am not able to provide the steps to reproduct this issue.
But I am attaching the screenshot so that you can have exact error message. You can ask what more details I have to provide ?
Thanks in advance.

It was coming due PRIMARY KEY (id(4)). Don't know how it has set like this in database.
that is telling the database that your primary key (which has to be unique) is only the first 4 characters of the uuid.


[Bug] Prettier v3 Support

🐞 Describe the Bug
Trying to get this working in vs code, also seeing this error when running pnpm lint.
Sidenote, to get to this point I had to follow the tips in https://github.com/gitKrystan/prettier-plugin-ember-template-tag/issues/38
🔬 Minimal Reproduction
Not sure how reproducible this is I'm not sure of the cause. As it shows up outside of vscode I don't think it's an editor specific issue.
Some probably relevant info

Working in a pnpm monorepo setup by turbo.
Fresh ember project (5.1.2)

😕 Actual Behavior
Will not run. Failing with assertExists failed and a stack trace of minified code.
🤔 Expected Behavior
Prettier is run.
🌍 Environment

prettier-plugin-ember-template-tag version: 0.3.2
ember-template-imports version: 3.4.2
prettier version: 3.0.0

➕ Additional Context
Output from VS Code
["INFO" - 12:52:44 AM] Formatting file:///Users/liam/Work/project/monorepo/apps/web/app/components/test-thing.gts
["INFO" - 12:52:44 AM] Using config file at '/Users/liam/Work/project/monorepo/apps/web/.prettierrc.js'
["INFO" - 12:52:44 AM] PrettierInstance:
{
  "modulePath": "/Users/liam/Work/project/monorepo/apps/web/node_modules/prettier/index.cjs",
  "importResolver": {},
  "callMethodResolvers": {},
  "currentCallMethodId": 2,
  "version": "3.0.0"
}
["INFO" - 12:52:44 AM] Using ignore file (if present) at /Users/liam/Work/project/monorepo/.prettierignore
["INFO" - 12:52:44 AM] File Info:
{
  "ignored": false,
  "inferredParser": "ember-template-tag"
}
["INFO" - 12:52:44 AM] Detected local configuration (i.e. .prettierrc or .editorconfig), VS Code configuration will not be used
["INFO" - 12:52:44 AM] Prettier Options:
{
  "filepath": "/Users/liam/Work/project/monorepo/apps/web/app/components/test-thing.gts",
  "parser": "ember-template-tag",
  "useTabs": false,
  "tabWidth": 2,
  "endOfLine": "lf",
  "semi": true,
  "singleQuote": true,
  "quoteProps": "consistent",
  "bracketSpacing": true,
  "arrowParens": "always",
  "printWidth": 120,
  "plugins": [
<EMAIL_ADDRESS>  ],
  "importOrder": [
    "web",
    "^node:(.*)$",
    "^@glimmer/(.*)$",
    "^@ember/(.*)$",
    "<THIRD_PARTY_MODULES>",
    "^[./]"
  ],
  "importOrderSeparation": false,
  "importOrderSortSpecifiers": true,
  "importOrderGroupNamespaceSpecifiers": true,
  "importOrderCaseInsensitive": true,
  "importOrderParserPlugins": [
    "typescript",
    "[\"decorators\", { \"decoratorsBeforeExport\": true }]"
  ]
}
["ERROR" - 12:52:44 AM] Error formatting document.
["ERROR" - 12:52:44 AM] assertExists failed
Error: assertExists failed
    at Bp (/Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier-plugin-ember-template-tag@0.3.2/node_modules/prettier-plugin-ember-template-tag/dist/prettier-plugin-ember-template-tag.js:1933:57639)
    at TA (/Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier-plugin-ember-template-tag@0.3.2/node_modules/prettier-plugin-ember-template-tag/dist/prettier-plugin-ember-template-tag.js:1933:57698)
    at FM (/Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier-plugin-ember-template-tag@0.3.2/node_modules/prettier-plugin-ember-template-tag/dist/prettier-plugin-ember-template-tag.js:2048:8267)
    at Object.preprocess (/Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier-plugin-ember-template-tag@0.3.2/node_modules/prettier-plugin-ember-template-tag/dist/prettier-plugin-ember-template-tag.js:2048:11036)
    at parse (file:///Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/index.mjs:17076:43)
    at async coreFormat (file:///Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/index.mjs:18401:7)
    at async formatWithCursor (file:///Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/index.mjs:18603:14)
    at async Module.format2 (file:///Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/index.mjs:21789:25)
["INFO" - 12:52:44 AM] Formatting completed in 13ms.

Output from pnpm lint:js
$ pnpm lint:js

><EMAIL_ADDRESS>lint:js /Users/liam/Work/project/monorepo/apps/web
> eslint . --cache

Oops! Something went wrong! :(

ESLint: 8.44.0

Error: assertExists failed
    at Bp (/Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier-plugin-ember-template-tag@0.3.2/node_modules/prettier-plugin-ember-template-tag/dist/prettier-plugin-ember-template-tag.js:1933:57639)
    at TA (/Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier-plugin-ember-template-tag@0.3.2/node_modules/prettier-plugin-ember-template-tag/dist/prettier-plugin-ember-template-tag.js:1933:57698)
    at FM (/Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier-plugin-ember-template-tag@0.3.2/node_modules/prettier-plugin-ember-template-tag/dist/prettier-plugin-ember-template-tag.js:2048:8267)
    at Object.preprocess (/Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier-plugin-ember-template-tag@0.3.2/node_modules/prettier-plugin-ember-template-tag/dist/prettier-plugin-ember-template-tag.js:2048:11036)
    at parse (file:///Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/index.mjs:17076:43)
    at async coreFormat (file:///Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/index.mjs:18401:7)
    at async formatWithCursor (file:///Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/index.mjs:18603:14)
    at async Module.format2 (file:///Users/liam/Work/project/monorepo/node_modules/.pnpm/prettier@3.0.0/node_modules/prettier/index.mjs:21789:25)

Downgrading prettier to 2.8.7 and eslint-plugin-prettier to 4.2.1 got it running. So seems to be an issue with pretter 3

I looked into this a little bit. It's non-trivial.
The proximate cause of the failure is that assertExists( estreePrinter.hasPrettierIgnore ) fails because estreePrinter is now an async function that returns the printer, not the printer itself. There's not an obvious place to absorb the asynchrony right at that spot.
The call signature of embed has also changed so that:
printer.embed = (path, print, textToDoc, options) => {
  return stuff
}

becomes something like:
printer.embed = (path, options) => {
  return async (textToDoc, print) => {
    return stuff;
  }
}

Hitting the same thing error on updating to prettier v3

There's not an obvious place to absorb the asynchrony right at that spot.

If we go up a few calls, the code is consumed in a preprocess hook - prettier v3 says
"Also, the preprocess method of a printer can return a promise now."
So I think that'll be the place.

I've opened a draft PR here
https://github.com/gitKrystan/prettier-plugin-ember-template-tag/pull/63
I am stuck on 2 types issues, if anyone could lend a hand. Else, feel free to use it as a guide for your own prettier v3 update

I've been watching the status updates for Prettier v3 like 🙈 . Looks like it's here now. I'll try to look into this ASAP

Facing this same issue trying out ember-template-imports. This project already uses prettierV3.

Just released<EMAIL_ADDRESS>with a fix for this issue. Can one of you try it out and LMK if everything is working properly with your set-up? After that I will release 1.0.0 for real.

@gitKrystan that is working for me with prettier 3.0.0 🚀 🎉 🚀 🎉 🚀 🎉

Same here!!! That fix solved the issue.
(Now I'm blocked by https://github.com/gitKrystan/prettier-plugin-ember-template-tag/issues/81#issuecomment-1650560485 😂 )

Working for me. @gitKrystan Thanks for fixing this so quickly 😊

Fixed as of v1.0.0 🎉

works great for me as well. thanks for putting in the effort here! happily on prettier 3 now :)


Does not recognize VS2022

Build check throws an error 'Unable to detect compiler type' with Visual Studio 2022 installed.
msbuild.exe can be found on my system as
C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Current\Bin\MSBuild.exe

(that's on Windows 10 x64 - so it's not any longer located in "Program Files(x86)").

Looking at current master that's not true. Instead it appears to be cpu-features, that depends on buildcheck 0.0.3.

Now it fails for VS 17.4 indeed - under certain circumstances.
Apparently, Microsoft delivers Windows 10 SDK as package "Microsoft.VisualStudio.Component.Windows10SDK" without a version, but for Windows 11 there is "Microsoft.VisualStudio.Component.Windows11SDK.22000".
So if somebody (like me) uses Windows 10 and removes Windows 11 SDK, buildcheck fails to recognize the SDK and then it cannot detect compiler type.
Seems like algorithm is very fragile.

Closing this as VS2022 support should be working and we now have CI verifying that as well.

Unfortunately this is not really true - even if CI is verifying (which prerequisites is it using?).
It still fails to detect VS2022 with only Windows 11 SDK (current default SDK 10.0.22000.0, as well as 10.0.22621.0). It only works if manually adding some Windows 10 SDK.
That's actually the same I described above. So nothing changed.

I was under the impression that VS2022 detection was the problem, which is covered by the windows-2022 Github Actions image.
For Windows 11 SDK detection, can you try applying this patch and see if that helps?:
diff --git a/lib/findvs.js b/lib/findvs.js
index ea87e14..d9794d7 100644
--- a/lib/findvs.js
+++ b/lib/findvs.js
@@ -156,8 +156,8 @@ function findModernVS() {
               const sdkVer = parseInt(m[2], 10);
               if (!isFinite(sdkVer) || sdkVer < 0)
                 continue;
-              fullVersion = `${sdk}.0.${sdkVer}.0`;
-              version = `${sdk}.0`;
+              fullVersion = `10.0.${sdkVer}.0`;
+              version = '10.0';
               break;
             }
           }

I'm sorry if it was misleading - the error message just says "Unable to detect compiler type".
And yes, this little patch helps indeed!

Fixed in 19d7fbafb2642021bb2d5e3736218b9ceec56982. Thanks for the verification.


Add backgroundImageCors setting

Hi Toni, awesome work, I love the component. I've made a simple change here to allow specifying cors for the background image. Please let me know what you think

hello, can you provide with example or more description please ?
maybe what kind of value you should set or when must we use this props


Make some subprojects pure

I noted that all cross projects are Full while they can be Pure. In fact only core and test need to be full.
In this PR I changed the types and moved the source files to the correct location
This change is not strictly needed and it is partly a matter of taste but it makes sense to me

LGTM

Thanks @cquiroz


Fixed Bugs in Cohesity Restore Playbook

Required items, please complete
Change(s):

Fixed bugs in Restore Playbook

Reason for Change(s):

API Schema was changed

Version Updated:

Yes
Minor version updated to indicate bug fixes

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

Hi @shishirdw,
The playbook has been created on our end; however, when we attempted to execute it, we encountered the following error. Please verify on your side and provide us with a screenshot of a successful playbook execution. Thanks

Hello Atul.
The playbook will only work with Cohesity generated Incidents.
Here's a screenshot of its successful execution.
[image: Screenshot 2024-10-04 at 11.04.49 AM.png]
Regards
On Fri, Oct 4, 2024 at 10:28 AM v-atulyadav @.***>
wrote:

Hi @shishirdw https://github.com/shishirdw,
The playbook has been created on our end; however, when we attempted to
execute it, we encountered the following error. Please verify on your side
and provide us with a screenshot of a successful playbook execution. Thanks
image.png (view on web)
https://github.com/user-attachments/assets/f631adf6-ec85-4156-b014-c84a96bea3e4
—
Reply to this email directly, view it on GitHub
https://github.com/Azure/Azure-Sentinel/pull/11214#issuecomment-2392823928,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BHG7DGHYQUIX6BO2DLNKRA3ZZYOA7AVCNFSM6AAAAABPLCR35GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJSHAZDGOJSHA
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Shishir Dwivedi
Sr. Engineering Manager
+919632995607
@.***


pointer tag tracking: also show when tag is being created

Also use bash to make sure &> works.

@bors r+

:pushpin: Commit 086e9c49a95ab30380954cc3bca632145786cee2 has been approved by RalfJung

:hourglass: Testing commit 086e9c49a95ab30380954cc3bca632145786cee2 with merge 5fdea5be99eb44ea2b3adebb1f8a3c1c244ffd7e...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing 5fdea5be99eb44ea2b3adebb1f8a3c1c244ffd7e to master...


Use quoted-strings for auth header attributes

See this PR.

Also make sure that you're tolerant of receiving non-quoted responses (particularly for when the padding isn't needed).


Improve performance of collectAllElements

Slightly changes the iteration order of collectAllElements, improves cuts runtime in half by:

Using a single ListQueue instead of multiple Lists
Doing "right to left" depth first iteration rather than trying preserve "left to right" - which seems like it's probably fine, since visitChildren doesn't guarnatee any meaning to right to left or left to right while iterating anyway.

This code ends up being on a critical path for benchmarks run via flutter driver internally.
After:
{
  "success": true,
  "data": {
    "all_elements_iteration": 2213.0111
  },
  "benchmarkScoreKeys": [
    "all_elements_iteration"
  ]
}

Before:
{
  "success": true,
  "data": {
    "all_elements_iteration": 1024.8849
  },
  "benchmarkScoreKeys": [
    "all_elements_iteration"
  ]
}

/cc @mehmetf @jasonnch99
see also: b/168731654

Test = benchmark added in microbenchmarks.

Not clear why customer testing is failing to me yet.

Argh. Looks like we depend on LTR ordering in our tests. Going to see if I can keep performance good for that, or if not see what the fallout of a breaking change would be.

What's the performance penalty for keeping LTR? Can you update the PR description, I think it still references a previous iteration of this change.

... Once the analyzer is happy!


rdopkg new-version should work without patches branches

rdopkg new-version requires that the patch branch exists, even when there's no patch.

need a switch to disable that when there are no patches
preferably, if there are patches, print a warning message to tell user that they should create it

We could also automate patches branches creation but much lower priority.

As a workaround, you can run rdopkg new-version --bump-only which doesn't require patches branch:
-b, --bump-only       only bump .spec to new version a la rpmdev-bumpspec

Yes, -b/--bump-only should be automatic on missing patches branch. On it.

Fixed in 85cb99907.


feat(vitejs)!: switch from Mix Esbuild to Vite.js

The development experience with Mix Esbuild, especially when enabling SSR, has not been smooth due to several issues:

Mismatch between React SSR components and client components, caused by timing issues
Inability to silence logs for the Esbuild server
Difficulty in tweaking the Esbuild config

The options were either to use a custom Esbuild config, which would involve removing Mix Esbuild, or to switch to Vite.js.
I chose Vite.js over a custom Esbuild setup because the integration with React SSR is better documented. Additionally, with Vite.js, I no longer need to ship an NPM package for live_react, which also simplifies work on live_react itself.
TODO

[ ] Update documentation
[ ] Mix task to setup react jsx or react tsx

First of all, love what you're doing with live_react
Minor comment, in regards to not having to ship an npm package, have you considered shipping the js along with the hex package similar to how phoenix does it internally? This was the motivation behind my PR #13

:wave:
There is probably an equivalent in vitejs :thinking:  but I does not look like a good idea for me it make the js deps hard to pinpoint.
For stock phoenix it make sense since they don't ship a package.json by default and use a vendor instead.
When looking at the package.json post vitejs it's easy to understand what deps are coming from hex.
https://github.com/mrdotb/live_react/blob/feat/vitejs/live_react_examples/assets/package.json#L22

Good work on that issue!
Personally I love Vite. Wondering if we could maybe create a hex package working in a same way as tailwind / esbuild, but automatically using vite under the hood. It's a waste to implement that integration over and over again.
One issue left with Vite is with hashing files. Vite does it on it's own and it conflicts with hashing of phoenix. So it's impossible to use both and it's a problem when using lazy components. So for now it's best to keep it disabled.

I like this. Keen to try it. Keep up the good work 💪

When looking at the package.json post vitejs it's easy to understand what deps are coming from hex. https://github.com/mrdotb/live_react/blob/feat/vitejs/live_react_examples/assets/package.json#L22

It seems to be a thing for laravel https://laravel.com/docs/11.x/vite and in ruby/rails https://vite-ruby.netlify.app/
so it should be possible to do an equivalent for phoenix but It need more investigation :thinking:

Vite is the best 💚💜 😍


As a user of socks5-proxy, I'd like to configure 'user' from the outside, such that I don't need an account called 'jumpbox' on my system where everyone needs the private key file

Hey,
how would you feel if we changed https://github.com/cloudfoundry/socks5-proxy/blob/master/socks5_proxy.go#L68 to take in an optional username additionally to the key file?
The reason is: we already have a jumpbox in place, where everyone has a named user and access control is managed by an outside system. It would be cool to be able to use BOSH_ALL_PROXY in the CLI and just tunnel on-demand.
wdyt?
/cc @cppforlife

+1

Hey @voelzmo !
We hardcoded this originally because it had a very specific intent (BBL) but if there's interest I am happy to prioritize a change to respect a username value (and already have prioritized it). This will just cover the changes necessary in socks5-proxy though;  I'll close this issue when we have made the change so that you or @cppforlife  could make the dependency bump in the BOSH CLI.


Fix the date that appears when hovering on the Iteration timeline

Use the correct date property to fix the Iteration timeline, fixing issue #18.
Also update index.html to remove the spurious  tag and add
tags.

Thanks @jrbyrne!


medical image registration for dicom format

Dear professor，Thank you for your contribution about image registration. I face a problem when i do some experiments on medical image via examples/affine_registration_2d.py.

Left is fixed CT image, middle is moving fixed image and right is registration result. It's perfect to apply to png format from above figure. But it seems doesn't work for dicom format(pydicom read manner via python)：

Hi,
thank you for your comments. Could you please specify the problem with the Dicom format.
Is the registration or the image read function the problem?

Thank you, professor,
For png CT data:
fixed_image = al.read_image_as_tensor(os.path.join(./data/fixed.png, dtype=dtype, device=device)
fixed_image = al.read_image_as_tensor(os.path.join(./data/fixed.png, dtype=dtype, device=device)
The code above worked well with examples/affine_registered_2d.py, examples/demons_registration_2d.py,  examples/diffeomorphic_registration_2d.py and examples/diffeomorphic_registration_2d.py .
For dicom CT data:
fixed_image = al.read_image_as_tensor(os.path.join(./data/fixed.dcm, dtype=dtype, device=device)
fixed_image = al.read_image_as_tensor(os.path.join(./data/fixed.dcm, dtype=dtype, device=device)
The code above worked well with  examples/demons_registration_2d.py,  examples/diffeomorphic_registration_2d.py and  examples/kernel_registration_2d.py, but failed with  examples/affine_registered_2d.py. So image read function may have no problems. For dicom CT data,  it seems rotated the fixed image a little, but didn't finish the SimilarityTransformation.

Thank you, professor,
For png CT data:
fixed_image = al.read_image_as_tensor(os.path.join(./data/fixed.png, dtype=dtype, device=device)
fixed_image = al.read_image_as_tensor(os.path.join(./data/moving.png, dtype=dtype, device=device)
The code above worked well with examples/affine_registered_2d.py, examples/demons_registration_2d.py, examples/diffeomorphic_registration_2d.py and examples/diffeomorphic_registration_2d.py .
For dicom CT data:
fixed_image = al.read_image_as_tensor(os.path.join(./data/fixed.dcm, dtype=dtype, device=device)
fixed_image = al.read_image_as_tensor(os.path.join(./data/moving.dcm, dtype=dtype, device=device)
The code above worked well with examples/demons_registration_2d.py, examples/diffeomorphic_registration_2d.py and examples/kernel_registration_2d.py, but failed with examples/affine_registered_2d.py. So image read function may have no problems. For dicom CT data, it seems rotated the fixed image a little, but didn't finish the SimilarityTransformation.

Thank you, professor,
For png CT data:
fixed_image = al.read_image_as_tensor("./data/fixed.png", dtype=dtype, device=device)
fixed_image = al.read_image_as_tensor("./data/moving.png", dtype=dtype, device=device)
The code above worked well with examples/affine_registered_2d.py, examples/demons_registration_2d.py, examples/diffeomorphic_registration_2d.py and examples/diffeomorphic_registration_2d.py .
For dicom CT data:
fixed_image = al.read_image_as_tensor("./data/fixed.dcm", dtype=dtype, device=device)
fixed_image = al.read_image_as_tensor("./data/moving.dcm", dtype=dtype, device=device)
The code above worked well with examples/demons_registration_2d.py, examples/diffeomorphic_registration_2d.py and examples/kernel_registration_2d.py, but failed with examples/affine_registered_2d.py. So image read function may have no problems. For dicom CT data, it seems rotated the fixed image a little, but didn't finish the SimilarityTransformation.

Hi,
thank you for this information. You can try to normalize the data before performing the registration.
Depending on the intensity values you need to change some hyperparameters e.g. for the regularisation. This could be a reason why there is a difference between Dicom and png.

Thank you, professor,
I have solved the problem under your instruction.
First, i set outside-of-scan pixels to 0: image[image == -2000] = 0
Then, i add some code in ''def normalize_images'' to normalize the CT dicom data:
def normalize_images(fixed_image, moving_image):
MIN_BOUND = -1000.0
MAX_BOUND = 400.0
fixed_image.image = (fixed_image.image - MIN_BOUND) / (MAX_BOUND - MIN_BOUND)
fixed_image.image[fixed_image.image > 1] = 1.
fixed_image.image[fixed_image.image < 0] = 0.
moving_image.image = (moving_image.image - MIN_BOUND) / (MAX_BOUND - MIN_BOUND)
moving_image.image[moving_image.image > 1] = 1.
moving_image.image[moving_image.image < 0] = 0.
...

Hi,
nice to hear that you could solve the problem.


undefined reference to winsock functions

Hi, I'm using action msys2/setup-msys2 to implement CI, the env as follow:
MSYS2 + Vala(GCC) + Meson
in the meson.build script, I have tried these command to solve my problem:
add_project_link_arguments('-lmswsock', language: 'c')
add_project_arguments('-lws_32', language: 'c')
add_project_arguments('-lwsock', language: 'c')
[272/272] Linking target src/kangaroo.exe
FAILED: src/kangaroo.exe
cc @src/kangaroo.exe.rsp
D:/a/_temp/msys/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: src/25a6634<EMAIL_ADDRESS>in function `kangaroo_illuminate_supports_network_http_tunnel_forward_tunnel_stream':
D:\a\kangaroo\kangaroo\build/../src/Illuminate/Supports/Network/tunnel_http.vala:218: undefined reference to `WSACreateEvent'
D:/a/_temp/msys/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\a\kangaroo\kangaroo\build/../src/Illuminate/Supports/Network/tunnel_http.vala:219: undefined reference to `WSACreateEvent'
D:/a/_temp/msys/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\a\kangaroo\kangaroo\build/../src/Illuminate/Supports/Network/tunnel_http.vala:220: undefined reference to `WSAEventSelect'
D:/a/_temp/msys/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\a\kangaroo\kangaroo\build/../src/Illuminate/Supports/Network/tunnel_http.vala:221: undefined reference to `WSAEventSelect'
D:/a/_temp/msys/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\a\kangaroo\kangaroo\build/../src/Illuminate/Supports/Network/tunnel_http.vala:231: undefined reference to `WSAResetEvent'
D:/a/_temp/msys/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: D:\a\kangaroo\kangaroo\build/../src/Illuminate/Supports/Network/tunnel_http.vala:268: undefined reference to `WSAResetEvent'

but the meson.build work on my local MSYS2 environment....

Solved via use dependency directly:
library_platform = []
library_platform += meson.get_compiler('c').find_library('ws2_32')

executable(meson.project_name(), [sources], dependencies: library_platform)


项目支持 Vue 3 吗？

我在 文档 上没有找到相关的内容

Hello, I want to find out the same answer. I found a branch called v3, but I don't know if is ready to run Vue 3. Thank you! and waiting for clarification.

yes,really need vue3 support

Given the reduced community activity, the maintainer is not sure if support for Vue3 is needed. Due to historical reasons, the update of this warehouse has been almost stagnant. For the updated technology stack of Vue3, rewriting may be a better choice, but it is a huge workload.
If there is a need, I hope to see enough demand

Hello Like vue 2 is now end of life. I think it's needed.


Thoughts on adding a rich text editor? [Enhancement]

I think that adding a rich text editor for text fields like this:
https://github.com/quilljs/quill
Would be beneficial. What do you think?

@georgewritescode Adding rich text editor could be a good idea. But didn't want to bind users to use a specific one cause, everyone has different preferences.

@sohelamin  I agree but just having one in the backend I don't think would be a bad thing as it would make editing text fields easier. Including CK editor wouldnt mean the application cannot use other editors elsewhere in the app. We could even include it via CDN. What do you think?


Correct start and end dates of the 2024 CFF TOC and Paketo SC elections

This fixes the UTC start and end timestamps for the elections to match the PDT timestamps in the comments. This start date and time also then allows for nominations through the entirety of the Pacific Time day on Jun 7th, as seems to be the intent based on the announcement message on the cf-dev mailing list.

@christopherclark @cloudfoundry/toc If this change seems correct to you, y'all should merge it by the end of the day on June 6th to prevent the elections from starting a day early.


Add Attachments support in Email component

Is your feature request related to a problem? Please describe.
Currently email component does not support attachments. So when an email contains files as an attachment , it is simply ignored in the email component.
Describe the solution you'd like
The Nylas API response json contains the file related information, if the email contains an attachment. And there's another file API present. So we can use both of these to make the attachments downloadable, just like in any other provider client.

Hey @himankbhalla, thanks for this feature request!
This is something we're working on for next week, so expect it in an upcoming release soon. We'll update this issue once it has been released.
Thank you!

@AaronDDM  Thanks for the update. Will be looking forward to the next release. Can you give a rough estimation as to when I can expect that ?

Hey @himankbhalla,
We have release this feature in canary version 1.1.5-canary.0, a stable release will follow soon.
Thank you for your patience!

Hey @himankbhalla, We have released this feature as part of following versions:
Email: v 1.1.5
Mailbox: v 1.1.4
Thank you!


Please update vendoring (and code) for prometheus/common/route

Hi,
Currently, the alertmanager is failing to build in Debian, as I have updated the common lib when updating prometheus, and that brought an incompatible API change:
> src/github.com/prometheus/alertmanager/main.go:192: not enough arguments in call to route.New

I'd patch it, but I don't really know how to do it :-)

Uhm, not sure how this is compiling for you, but since you have not changed the code in AM, it still fails:
src/github.com/prometheus/alertmanager/cmd/alertmanager/main.go:245: not enough arguments in call to route.New

It seems the vendoring is incorrect. vendor.json says it is updated to commit 1e01b2bdbae8edb393fcf555732304f34d192fc9, but I don' t even see that commit in common, and it does not have the changes to the router that were merged in September.

Mh, seems like the vendoring tool has a bug or at least an inconsistency. I explicitly updated the common deps and again it showed me it was all up to date.
Had to purge it all and readd – does #572 look okay?

It does, thank you!
(note that now the build is broken, it seems you need to update more vendored packages)


Cannot find module 'AccessibilityInfo'

I installed this module using
npm install react-native-google-places-autocomplete --save
as mentioned in [docs].(https://github.com/FaridSafi/react-native-google-places-autocomplete#installation)
But on adding the import line
import { GooglePlacesAutocomplete } from 'react-native-google-places-autocomplete';
I get the error:

error: bundling failed: "TransformError: Project_name/index.android.js: Cannot find module 'AccessibilityInfo' (While processing preset: "/Project_name/node_modules/react-native/Libraries/react-native/react-native-implementation.js")"

As this issue is very common. It might not have anything to do with this particular module. As mentioned here(https://github.com/facebook/react-native/issues/14209), there are multiple ways to solve this.
I ended up uninstalling react-native-google-places-autocomplete using
npm uninstall react-native-google-places-autocomplete
then followed the installation instructions after installing all peer dependencies and got my project to work.


Create new address for account?

Is there a way to create a new subaddress for an account? I don't see any method listed in /src/main/js/wallet/model/MoneroAccount.js

You are looking for MoneroSubaddress.js

You can use wallet.createSubaddress(accountIdx, label) which creates and returns a subaddress within the specified account.

Nice docs BTW. Maybe I should check that out. Like RTFM kinda thing :smile:

Nice docs BTW. Maybe I should check that out. Like RTFM kinda thing 😄

Thanks! :)

Noted. Wouldn't be great to create a subaddress from MoneroAccount as well?

Would a PR be accepted?

Sure.

Not adding a PR as I believe it breaks the paradigm of the library.


Is gexf 1.2 really deprecated?

When using Gephi, I receive warnings that 1.2draft is deprecated. However, it also appears that 1.3 is a "work in progress."
Could you please advise on the appropriate way to produce a gexf for importing into Gephi?  Thanks.

1.2 should not be deprecated until 1.3 is in widespread use. The GEXF support libraries in the community are still using 1.1 and 1.2 and will likely not change until the 1.3 spec is published.

I agree with @dwcaraway. Deprecation implies that I should upgrade to something newer. When there is nothing to upgrade to, things get confusing and can result in problems.

I've just spent a day covered in XML to put together a parses for GEXF for Go and as part of my testing I've written out GEXF from the examples using Gephi. This breaks the parser because it writes 1.3 (which is mentioned nowhere on gefx.net) and Go's XML handling requires namespace matching. It would be nice to have communication on things like this readily available from the canonical source (presumably gexf.net).

Closing this issues as it has been resolved. All GEXF 1.3 specifications are now official and accessible online.
We recommend all users and tools to adapt to the 1.3 schema. See details in the release notes.


Make plugin configuration folders more flexible

Support loading plugins from multiple folders.
Support plugin expand to a configured folder.
This allows to load plugins from program path (in program files in windows for example) but also from user profile folder for 3ª party plugins, the expand folder should be also on a profile folder.
This permits to reset the installation by deleting the profile folder and also separate the plugin installations by user profile.

Sorry for delay.

Support loading plugins from multiple folders.
I think that this feature will be used very rare and complicate to much this framework. I wish to keep this framework as simple as possible. Sure it's possible to implement a custom PluginManager to accomplish this task (maybe it's a good idea to extract an AbstractPluginManager from DefaultPluginManager to simplify the implementation for a custom plugin manager.). PF4J is build using interface so it's relative easy to supply a custom implementation for all components.

Support plugin expand to a configured folder.
Can be valuable.

Any PR or implementation pseudo code (draft) is welcome.

Can you close this issue?

I think that #43 resolves this issue.

Yep

Thanks for your contributions and sorry for my response time.


Impure Infix Clauses are removed via column pruning

Version: (e.g. 3.4.4-SNAPSHOT)
Module: (e.g. quill-sql)
Database: (e.g. ALL)
The current behavior of column pruning removes a column from all queries and subqueries where it is not used. For example:
case class Person(id:Int, name:String, other:Int)
run { query[Person].map(p => (p.id, p.name, p.other)).map(t => (t._1, t._2)) }
// SELECT p.id, p.name FROM person p

Note that this behavior happens even with nested queries:
run { query[Person].map(p => (p.id, p.name, p.other)).nested.map(t => (t._1, t._2)) }
// SELECT p.id, p.name FROM (SELECT x.id, x.name FROM person x) AS p

The same behavior occurs with infixes:
run { query[Person].map(p => (p.id, p.name, infix"foobar${p.other}")).map(t => (t._1, t._2)) }
// SELECT p.id, p.name FROM person p

While this kind of behavior should be fine for pure infixes, infixes such as rank and distinct on totally break by this behavior:
run { query[Person].map(p => (infix"DISTINCT ON (${p.other})".as[Int], p.name, p.id)).map(t => (t._2, t._3)) }
// SELECT p.name, p.id FROM person p

In general, it seems that for impure-infixes, the assumption that the infix clause can be pruned with the containing column is incorrect. The SQL normalization needs to be changed accordingly.
@getquill/maintainers

Fixed via #1597


More logging

RPC logs
webhook logs
scraper failure logs to console
more?

Scrapers.{Bofa, Chase}.parse discard response.log if response is success. This should be stored for debugging.


0.3.0 - Do over

A complete rewrite of rspc to eliminate all cringe.
TODO:

[ ] Error
[ ] Router
[ ] R
[ ] Tauri
[ ] Axum
[ ] Actix-web
[ ] Typescript back
[ ] GH Actions back

Hey! Do you already have a vision for how this might look?

Yeah. I'm already working on it on the main branch.
The main difference boil down to:

tRPC v10-inspired syntax (where the old rspc syntax was tRPC v9 inspired)
A complete rearchitecture to support non-JSON formats
Spliting functionality out of the core into separate crates to help with versioning

For now i'm focusing on the core Rust stuff and once i'm happy with it I will start reimplement the Axum and Tauri adapters along with bringing back the Typescript.

Are you planning any updates to the request/response layer? Like if I have older clients hanging around (mobile apps), and update the server to 0.3.0, do you expect the older clients can keep requesting with the same format and expecting the same response, or will there be breakage there?
This has been a game-changer to my rust web dev, thank you for this project and specta!

I am planning to change it but the plan is for all the HTTP format to move outside of the rspc core so it would be entirely possible for a backwards-compatible mode to be implemented.

Sounds good! Excited for the updates


Keyboard shortcuts not working with fcitx

Steps to Reproduce

Run flutter create bug.
Update the main.dart file as follows:

import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);
  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return FocusableActionDetector(
      shortcuts: <LogicalKeySet, Intent>{
        LogicalKeySet(LogicalKeyboardKey.alt, LogicalKeyboardKey.keyK):
            const CountUpIntent(),
      },
      child: Actions(
        actions: <Type, Action<Intent>>{
          CountUpIntent: CallbackAction<CountUpIntent>(
            onInvoke: (CountUpIntent intent) {
              return setState(
                () {
                  _counter++;
                },
              );
            },
          ),
        },
        child: Scaffold(
          appBar: AppBar(
            title: Text(widget.title),
          ),
          body: Center(
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: <Widget>[
                TextField(),
                Text(
                  'You have pushed the button this many times:',
                ),
                Text(
                  '$_counter',
                  style: Theme.of(context).textTheme.headline4,
                ),
              ],
            ),
          ),
          floatingActionButton: FloatingActionButton(
            onPressed: _incrementCounter,
            tooltip: 'Increment',
            child: Icon(Icons.add),
          ),
        ),
      ),
    );
  }
}

class CountUpIntent extends Intent {
  const CountUpIntent();
}

Run flutter run -d chrome
Focus the text field
Press Alt + K
Switch to Chinese input using fcitx (Google Pinyin)
Press Alt + K
Type something in Chinese
Press Alt + K
Switch back to German input
Press Alt + K

Expected results:
The counter gets incremented with every use of Alt + K.
Actual results:
At step 5: The counter goes up.
At step 7: The counter goes up.
At step 8: The text is shown as tofu for about a second before correctly displaying the Chinese characters. Adding more text displays the characters right away, without tofu.
At step 9: The counter doesn't got up.
At step 11: The counter doesn't go up.

Logs

flutter run --verbose shows no output for the described steps.
Operating System: Manjaro Linux
KDE Plasma Version: 5.21.1
KDE Frameworks Version: 5.79.0
Qt Version: 5.15.2
Kernel Version: 5.10.18-1-MANJARO
OS Type: 64-bit
Graphics Platform: X11
Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620

[✓] Flutter (Channel beta, 2.0.0, on Linux, locale de_DE.UTF-8)
    • Flutter version 2.0.0 at /home/felipe/flutter
    • Framework revision 60bd88df91 (vor 3 Tagen), 2021-03-03 09:13:17 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /home/felipe/Android/Sdk
    • Platform android-30, build-tools 29.0.2
    • Java binary at: /usr/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+9)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/linux#android-setup for more details.

[✓] Chrome - develop for the web
    • CHROME_EXECUTABLE = /usr/bin/google-chrome-stable

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 88.0.4324.182

! Doctor found issues in 2 categories.

Hi @Mr-Pepe
Thanks for filing the issue, I can reproduce the issue on Linux on the web, Linux works fine

code sample
import 'package:flutter/material.dart';
import 'package:flutter/services.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MyHomePage(title: 'Flutter Demo Home Page'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  MyHomePage({Key key, this.title}) : super(key: key);
  final String title;

  @override
  _MyHomePageState createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  int _counter = 0;

  void _incrementCounter() {
    setState(() {
      _counter++;
    });
  }

  @override
  Widget build(BuildContext context) {
    return FocusableActionDetector(
      shortcuts: <LogicalKeySet, Intent>{
        LogicalKeySet(LogicalKeyboardKey.alt, LogicalKeyboardKey.keyK):
            const CountUpIntent(),
      },
      child: Actions(
        actions: <Type, Action<Intent>>{
          CountUpIntent: CallbackAction<CountUpIntent>(
            onInvoke: (CountUpIntent intent) {
              return setState(
                () {
                  _counter++;
                },
              );
            },
          ),
        },
        child: Scaffold(
          appBar: AppBar(
            title: Text(widget.title),
          ),
          body: Center(
            child: Column(
              mainAxisAlignment: MainAxisAlignment.center,
              children: <Widget>[
                TextField(),
                Text(
                  'You have pushed the button this many times:',
                ),
                Text(
                  '$_counter',
                  style: Theme.of(context).textTheme.headline4,
                ),
              ],
            ),
          ),
          floatingActionButton: FloatingActionButton(
            onPressed: _incrementCounter,
            tooltip: 'Increment',
            child: Icon(Icons.add),
          ),
        ),
      ),
    );
  }
}

class CountUpIntent extends Intent {
  const CountUpIntent();
}

taha@pop-os:~$ fcitx -version
fcitx version: <IP_ADDRESS>
taha@pop-os:~$

flutter doctor -v
[✓] Flutter (Channel stable, 2.0.1, on Linux, locale en_CA.UTF-8)
    • Flutter version 2.0.1 at /home/taha/Code/flutter_stable
    • Framework revision c5a4b4029c (4 days ago), 2021-03-04 09:47:48 -0800
    • Engine revision 40441def69
    • Dart version 2.12.0

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /home/taha/Code/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /home/taha/Code/SDK
    • Java binary at: /home/taha/Code/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 11.0.0-2
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.2

[!] Android Studio (not installed)
    • Android Studio not found; download from
      https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup
      for detailed instructions).

[✓] VS Code (version 1.54.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.20.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Linux
    • Chrome (web)    • chrome • web-javascript • Google Chrome 89.0.4389.82

! Doctor found issues in 1 category.
taha@pop-os:~$

[✓] Flutter (Channel master, 2.1.0-11.0.pre.145, on Linux, locale en_CA.UTF-8)
    • Flutter version 2.1.0-11.0.pre.145 at /home/taha/Code/flutter_master
    • Framework revision a0ba646408 (2 days ago), 2021-03-05 22:09:03 -0500
    • Engine revision f751d04fa0
    • Dart version 2.13.0 (build 2.13.0-107.0.dev)

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at /home/taha/Code/SDK
    • Platform android-30, build-tools 30.0.3
    • ANDROID_HOME = /home/taha/Code/SDK
    • Java binary at: /home/taha/Code/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 11.0.0-2
    • cmake version 3.16.3
    • ninja version 1.10.0
    • pkg-config version 0.29.2

[✓] Android Studio (version 4.1)
    • Android Studio at /home/taha/Code/android-studio
    • Flutter plugin version 53.1.1
    • Dart plugin version 201.9317
    • Java version OpenJDK Runtime Environment (build
      1.8.0_242-release-1644-b3-6222593)

[✓] VS Code (version 1.54.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.20.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Linux
    • Chrome (web)    • chrome • web-javascript • Google Chrome 89.0.4389.82

• No issues found!

Thank you

Likely related to https://github.com/flutter/flutter/issues/77048

@yjbanov What's the question?

To clarify, before writing something through fcitx, I can use my German keyboard layout to write in the text field and trigger the shortcut, no problem.

@Mr-Pepe we just wanted you to confirm whether it's related to the linked issue or not. Thanks for clarifying that it's a different issue.

@cbracken Is it within the scope of what you're working on?


libui-ng - "beta" ffi for it, for "early testing"?

Hey there kojix2,
I saw your activity/issue tracker in regards to libui-ng.
cody271 wrote about libui-ng needing more time before a
"milestone release" (or however he calls the first
major release of libui-ng, which as far as I understand
has not yet been released).
I would, however had, already like to test libui on
linux specifically, via ruby, if that is possible. This
of course needs the ffi-specific code you wrote already
(for andlabs libui), and I assume this is not yet adjusted
to libui-ng, since the libui-ng code has some changes
listed in the CHANGELOG file.
As far as I understand the ffi-specific code for the ffi-specific
libui code you wrote is stored here:
https://github.com/kojix2/LibUI/blob/main/lib/libui/ffi.rb

So, my first thought is ... what if a second .rb file
is added there, in the same directory, that specifically
deals with the changes of libui-ng only? That is, a single
new .rb file that focuses only on the changes that were
made in libui-ng.
My basic thinking here is the following:

People can still use the current ffi.rb for main libui
(from andlabs) as-is.

At the same time, they can also "opt-in" to use that
second .rb file (which has not yet been created) that
specifically caters towards the libui-ng specific
changes.

Then they could perhaps selectively use what they want
to, the original libui, the libui-ng variant or both.
I am not sure if this is too much work, so please take
this only as a rough idea. I know too little about C
and ffi to really understand how it works, so my
thinking may be off here.
I would love to test the changes that cody271 did,
e. g. these ones in particular:
https://raw.githubusercontent.com/libui-ng/libui-ng/master/CHANGELOG.md

Last but not least, I saw you are asking or perhaps
looking for support in maintaining libui. If you
would like to you could add me on github (I think
this is possible via the web-interface; I remember
kou did so for ruby-gnome in the past) and as a
co-maintainer on rubygems.org. My handle on rubygems
is "shevy"; https://rubygems.org/profiles/shevy
The reason I use another nick on github is mostly
because I use primarily rubygems for distributing
code; and github primarily for feedback-related
issues only. (I used git in the past, but I found
it does not align well with my workflow. I am
using mostly ruby scripts for my workflow, e. g.
on rubygems pushing new releases is so much easier
for me via my self-written scripts.)
In regards to trying to help maintain projects:
unfortunately I do not know C, so I can never
really maintain libui as a whole. But I can try
to polish things every now and then if possible
(and wanted).
Perhaps you can also add Andy - I have not asked
him, but he possibly may not mind. Little changes
can probably be easy to do, for instance, documentation
or examples. (For example, if the new changes in
libui-ng are done, I'd love to add examples, so
if I can figure out how these work I could add
them to libui too.)
Anyway, the TL;DR summary for the issue request here is:

Can it be considered to add support via a new .rb file for the libui-ng
specific parts, even if only for linux, as an "early testing" variant?
(It's fine for me to have this all work better at a later time on windows;
for now I really just want to test out stuff and see how this may eventually
work on windows too. On linux I tend to use ruby-gtk3 anyway, but I'd
love to polish libui on windows as much as that is possible too. And
early testing may be helpful in this regard)

(And if it is a beta release then just have the code on github, without yet making a new .gem release
and advertise this. That way people can test as-is without having to wait, but it is not yet "official"
for libui to endorse people use it. So this is really an early test/dev idea really. I don't mean this
for everyone to use right now.)

I'd like to add you as a collaborator, but your nickname @rubyFeedback sounds strange to me.
Maybe you have another Github account not only for feedback, but also for committing code?
Anyway, I will send you an email requesting a collaborator. Please approve it.

Hi @kojix2
Could you please add me as a collaborator too? I'd be happy to maintain your repo if you ever need to step out for other priorities in your life.

Thank you for the invite kojix2!
I will try to help when possible - as I don't know C (even though it's on my todo list
to learn) I will try to focus on polishing and improving smaller things when possible,
such as typos, documentation, perhaps examples.
I will close this issue here in ~2 weeks if nobody objects, to help clean the bug
tracker clean (I did not want to close it while Andy has the above request in
place).

Hi @kojix2
Could you please add me as a collaborator too?

Sure!


N17: rg3d

For #408

Thanks for the PR!

Thanks for the PR!

Thanks for the PR!

Thanks for the PR!


adding bigtable v2 proto files

Closes #6

This is a breaking change for @google-cloud/bigtable right? Does gcloud-node have a corresponding PR to update bigtable's use of google-proto-files?

@google-cloud/bigtable will continue to work because it depends on ^0.2.1 and we're not breaking it until ^0.7.


Remove setup.py as it is superseded by pyproject.toml

What does this PR do?
Removes setup.py from the downloader as it will no longer required once we remove all py2 support from it.
Motivation
https://github.com/DataDog/integrations-core/pull/13331#discussion_r1039939112
Additional Notes
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] If the PR doesn't need to be tested during QA, please add a qa/skip-qa label.

Had to rebase after #13331 was merged, the diff stays the same.


Move decorators to their appropriate modules

Now all decorators related to debugging are in the info module. Each decorator function/class should in stead be in their respective modules.

Added in #17


Default module prefix now ''

With RHEL7.3 the default module prefix causes problems
in particular the following happens
with
selinux::module { 'openshift-cvmfs':
  ensure => present,
  source => 'puppet:///modules/hg_paas/openshift-cvmfs.te',
}

Compiling targeted local_openshift-cvmfs module
/usr/bin/checkmodule:  loading policy configuration from
tmp/local_openshift-cvmfs.tmp
/usr/bin/checkmodule:  Module name openshift-cvmfs is different than the
output base filename local_openshift-cvmfs
make: *** [tmp/local_openshift-cvmfs.mod] Error 1

As far as I can ascertain the prefix only influences the file name
and actual module name comes from what's inside the policy file.
Anyone testing this may well runinto another selinux bug that
is not a problem of this module.

CERN ticket reference
Change in checkmodule
puppet problem
selinux bug

There is another option to remove the prefix parameter. I think it should actually never be set.

@traylenator either way defaulting to unset or removing it at all is a breaking change for existing users.
My vote to remove it completly.

Thanks @traylenator! I think keeping it for now is the better approach.


type suspend with duration doesn't resume after passed the duration when working with subSteps

Describe the bug
type suspend with duration doesn't resume after passed the duration when working with subSteps
To Reproduce
Steps to reproduce the behavior:

Having type suspend inside a subSteps with a duration

Expected behavior
To resume workflow after pass the duration periods
KubeVela Version
v1.4.3
Example
spec:
  components: []
  workflow:
    steps:
        - name: update
          subSteps:
            - name: wait-update
              properties:
                duration: 10s
              type: suspend
           type: step-group
status:
   status: workflowSuspending
   workflow:
    finished: false
    message: suspended
    mode: StepByStep
    startTime: "2022-07-29T11:42:58Z"
    steps:
    - firstExecuteTime: "2022-07-29T11:42:58Z"
      id: ql55pesi6q
      lastExecuteTime: "2022-07-29T11:42:58Z"
      name: update
      phase: running
      subSteps:
      - firstExecuteTime: "2022-07-29T11:42:58Z"
        id: 2adzqayi5d
        lastExecuteTime: "2022-07-29T11:42:58Z"
        name: wait-update
        phase: running
        type: suspend
      type: step-group
    suspend: true
    terminated: false

/cc @FogDong

Thanks for the report, this is fixed in v1.5.0. Please try to upgrade your vela version and give it a try.

closing as it's fixed in v1.5.0 and this version is alread released. Feel free to reopen it if there's still any issues.


Swiftinterface symbol lookup (release/5.9)

Explanation: Jumping to a definition to a type that is defined in the SDK and not the user’s code currently doesn’t work because SourceKit-LSP doesn’t know where to jump to. This add support for jumping to a declaration in the SDK by using the existing infrastructure to generate a generated interface for the SDK module, using sourcekitd to figure out where in that interface the type is declared and jumping to it.
Scope: Jump to definition of SDK symbols
Risk: Low, previously jump to definition didn’t work for these symbols add all
Testing: Added test case
Issue: https://github.com/apple/sourcekit-lsp/issues/618 / rdar://99329577
Reviewer:  @ahoppen on #747

@swift-ci Please test

@swift-ci Please test macOS


How to get the frame number for Gyro and Accel streams ?

Required Info

Camera Model
D455

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 18.04.3

Kernel Version (Linux Only)
5.4.0-48-generic

Platform
PC

SDK Version
2.48.0

Language
C/python

Segment
Robot

Issue Description
I want to get the frame number of gyro and accel streams using pyrealsense2. I.e. the numbers underscored in the following figure.

I have tried
gyro_frame = frames.first(rs.stream.gyro)
gyro_frame = gyro_frame.as_motion_frame()
gyro_cnt = gyro_frame.get_frame_metadata(rs.frame_metadata_value.frame_counter)

But the result is not right. rs.frame_metadata_value.frame_counter returns the correct frame number for color stream, but for the gyro stream, it only returns a constant number 570425344.

Hi @zc08  Are you able to correctly receive gyro data if you add .as_motion_frame() to the end of your gyro_frame definition, please?
gyro_frame = gyro_frame.as_motion_frame().get_motion_data()

Hi @zc08  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


Unit Test for SslHandler's handlerRemoved()

Motivation
SslHandler's handlerRemoved() is supposed to release the SSLEngine (which it does) but there is no Test for it to make sure it really happens and doesn't unexpectedly change in the future.
Modifications
Add a Unit Test that makes sure that SslHandler releases the SSLEngine when the Channel gets closed.
Result
Assurance that SslHandler will not leak (ReferenceCounted) SSLEngines.

@rkapsi thanks!
Cherry-picked into 4.1 (3a6157e2aa84c7f134b5610013b0e3e432eadcb9) and 4.0 (ea45f897242b4b6f456db304e183c2741355b320)

thanks @rkapsi !


Refactor ApertureScatterguard to return individual signals

Fixes an issue discovered as part of #679, https://github.com/bluesky/ophyd-async/issues/550#issuecomment-2324227988 : SoftConverter is no longer exported from ophyd_async as of 0.5.0, and @coretl @danielballan think that https://github.com/bluesky/ophyd-async/issues/310 should not include being able to pass arbitrary objects, only those that are tableable [tabulable? tabulatable?]. This change therefore adjusts how the ApertureScatterguard returns its signals to be nested under its child devices but as invidual signals.
Instructions to reviewer on how to test:

Ensure that the ApertureScatterguard can still connect and be read
The documents for the signals contained inside the device should only use primitive float types.

Checks for reviewer

[ ] Would the PR title make sense to a scientist on a set of release notes
[ ] If a new device has been added does it follow the standards
[ ] If changing the API for a pre-existing device, ensure that any beamlines using this device have updated their Bluesky plans accordingly
[ ] Have the connection tests for the relevant beamline(s) been run via dodal connect ${BEAMLINE}

This then becomes a requirement for #679

Making a Hyperion patchset now

A side effect of this is that we're no longer reading the state of the hardware whenever we read selected_aperture. This means that the device itself is holding on to the state of the beamline based on what state it last moved to. This means that the state could be wrong if:

The device has just been initialised
The hardware has been moved via EPICS/manually
There was a failure in moving the device

Was this a deliberate design decision @DiamondJoseph?


FinancialTimeAxis: improve tick generation logic

Addresses topics in #4483

Hi @VladislavPustovarov (and @quantfreedom), thanks for this PR! I'm going to merge this now so it will be in todays release on NuGet, but I'll point out that there's room for improvement:

The "first tick" could be chosen using better logic so it doesn't "skip around" as the axis is panned. Good first ticks are things like "Jan", "The first of the month", "The first minute of each hour", etc. This can be fixed in a future pull request.

Some of the scales show mixed label formats that I don't think is intended. Here are some examples from the financial demo project in src\ScottPlot5\ScottPlot5 Sandbox\Sandbox.WinFormsFinance

Note that I modified this PR to include a cookbook recipe. When I publish this package the cookbook recipe will be automatically converted to HTML and added to https://scottplot.net/cookbook/5.0/Finance/


Harfbuzz fails with custom triplet

There seems to be something wrong with the GLIB detection.
config-mytriplet-rel-err.log:
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
GLIBCONFIG_INCLUDE_DIR (ADVANCED)

The suspicious lines in portfile.cmake:
if(VCPKG_TARGET_ARCHITECTURE STREQUAL "arm" OR VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
    SET(HAVE_GLIB "OFF")
    SET(BUILTIN_UCDN "ON")
else()
    SET(HAVE_GLIB "ON")
    SET(BUILTIN_UCDN "OFF")
endif()

This issue should be fixed in https://github.com/Microsoft/vcpkg/commit/1fb2cc3483ddbb7cbd62712296a6a62b57ac9444#diff-f1adc2c750c1ce5e4aadc178db92eea1, so closed it!


Toggling Test.ignoreFailures should make the task out-of-date

Expected Behavior
Changing the value of Test.ignoreFailures should make the task out-of-date and either rerun or at least recompute the pass/fail status
Current Behavior
Currently if I change Test.ignoreFailures I don't observe the new setting to take effect (the test still reports success/failure based on a previous result)
Context
In AndroidX, on our integration test servers we set ignoreFailures=true on our CI servers and pass the test artifacts to another service for browsing/analyzing.
I ran the CI script locally to reproduce the error (which sets ignoreFailures=true) and then tried to view the output in a more convenient way by unsetting ignoreFailures=true, but I didn't observe the task to fail anymore.
Steps to Reproduce
See repro at https://github.com/mathjeff/gradle-samples/tree/master/test-uptodatedness-ignoring-ignore-test-failures

Sorry for the late reply.
The issue is in the backlog of the relevant team and is prioritized by them.