Create a Backstage Template to easily add this action to new repos

Casey came up with the idea of a Backstage Template that you could use to add this Cleanup Stale Branches Action to a new repo. For example, you could give the name of a repo under the Liatrio org and it'll submit a PR to add the action itself.

So far, I've created the repo for the Backstage Template and the first version of the template.
Next, I need to add it to Backstage so that it is usable/testable. I will get it working locally and then submit a PR to the liatrio-backstage repo.

This has been completed. I posted the following update in the project-backstage-foundations with further information:

With help from @connor I've managed to add a template to :backstage: that lets you add the Cleanup Stale Branches Action to your repository with ease. If you open the template you just need to provide the name of your repo and then either accept all the defaults by clicking next until you run it or by changing the values to whatever you prefer. When the template finishes running you'll have a new PR that'll add a GitHub Workflow to run the action once daily at midnight (if you used the default settings).
If you have any questions, comments, concerns, please don't hesitate to let me know!
Reference links:

Cleanup Stale Branches Action
Cleanup Stale Branches Action Template
Cleanup Stale Branches Action Template Repo
Example PR created w/ the template


real-time-adobe-analytics-api-tutorial

real-time-adobe-analytics-api-tutorial

Thanks, looks great!


MacOS actions build fails: "externally managed environment"

The GitHub actions build for MacOS fails. Possible workarounds exist, but if a virtual environment is possible then this might be better. Needs some more research.

Fixed by #7


Adding command injection entry

in the recommendation part. Shouldn't we add extra examples like C code?

Not really , because we are talking about the web .


Drivers become Stale too easy

Our app has a splash page before our log in page. Between creating the Windows Driver and hitting up the login page, the driver becomes stale. I either have to start already on the log in page, or create a new driver after 5 seconds of thread sleeping.
Is there a driver.refresh that I could look at? If i know the window is going to drastically change, then id like to either have the driver be smart enough to reload its saved data or for me to tell it to.

For example the below code works, because I am building a new driver after the splash page as come and gone.
If i comment out the last two lines, even though everything is on the same executable, the app crashes cause it cannot find my first element (The username textbox).
options.AddAdditionalCapability("app", @"C:\Program Files (x86)<PATH TO EXE>");
_driver = new WindowsDriver(new Uri("http://<IP_ADDRESS>:4723"), options);
_driver.Manage().Timeouts().ImplicitWait = TimeSpan.FromSeconds(10);
System.Threading.Thread.Sleep(5000);
_driver = new WindowsDriver(new Uri("http://<IP_ADDRESS>:4723"), options);

In faced the same problem due to splash screen while automated the testing of a Microsoft Excel add-in.
Excel can be started with the switch /e and it doesn't show the splash screen. Can your application start without a splash?

No it cannot and if it could, im still faced with the issue of the login page being different from the main application. Just like the splash screen.

Is there a driver.refresh that I could look at? If i know the window is going to drastically change, then id like to either have the driver be smart enough to reload its saved data or for me to tell it to.

This isn't something that is currently supported. Something similar you could try would be session.LaunchApp();
Check out our FAQ here to read more about a potential FAQ workaround.

In that case I believe you should create a desktop a.k.a "Root" session and use it for finding all windows of your application. Leave alone the session which you used for launching the application.

Interesting theory. I'll give it a shot and see how it feels


Kubernetes Solution Update: Allow 3-Masters (and more) Deployment

Which package/s are you suggesting this feature for?
Dashboard
Is your feature request related to a problem? Please describe
As discussed with Thabet and Scott, the current dashboard Kubernetes currently allows only for 1-master deployment, and updating it to allow for 3-masters and more would allow for HA on the grid for apps.
Describe the solution you'd like
We propose to update the Kubernetes solution to allow for deployments with 3-masters (and more).
I.e., we want multiple master deployments for Kubernetes. 3 masters is generally considered a good starting point for HA.
This will enable high availability for apps on the grid.
Proposition of Configurations

Minimum: 3 masters, 3 workers
Basic: 3 masters, 3-5 workers
Advanced: 5 masters, 5-20 workers

The basic configuration would be a good start.
Link with GlusterFS + CSI
I think we can add container storage interface (CSI) with GlusterFS to allow for HA for app (kubernetes) and HA for storage (glusterFS). Might be for a separate issue once GlusterFS is done on Dashboard too (feature request: https://github.com/threefoldtech/tfgrid-sdk-ts/issues/3759)

As discussed with Thabet and Kristof, we will first start by having guides instead of dashboard solutions.


GroupLoanPage

com.angkorteam.fintech.pages.client.group.GroupLoanPage
clean this page.
see UserCreatePage as example,

create block with a correct name
create input container with a correct name
move page code into a correct method.
initData for page data init or loading
initComponent for init page UI
configureRequiredValidation for set required validation
configureMetaData for other configuration

you might want to see wiki page for more example, input block.

i fixed it already


Fix headers of hack scripts

How to categorize this PR?

/area dev-productivity
/kind bug
What this PR does / why we need it:
Introduced with #6155
Release note:

NONE

/lgtm
/approve

/cherrypick release-v1.50

/cla
/override pull-gardener-e2e-kind-migration
/override pull-gardener-e2e-kind

CLA assistant is not working
/override license/cla


fix(opensearch-dashboards) - use selectorLabels

Description
Use the actual selectorLabels as generated.
Issues Resolved
487
Check List

[ ] Commits are signed per the DCO using --signoff

For any changes to files within Helm chart directories:

[ ] Helm chart version bumped
Not sure if this can be a minor (2.15.0) or should be a major, as it includes a breaking change. When selector labels change, current resources need to be removed before they can be recreated.,
[x] Helm chart CHANGELOG.md updated to reflect change

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Closing for another with DCO.


Use tvm.testing.main() in test_softmax_slice.py

Thanks for contributing to TVM!   Please refer to guideline https://tvm.apache.org/docs/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers by @ them in the pull request thread.
cc @mehrdadh

@gayatripk1 friendly reminder about this PR

@tvm-bot rerun

This change is already done. Closing this PR.


Added description about the size of terminationMessage file

fix https://github.com/kubernetes/kubernetes/issues/91133
The openapi of kubernetes has a description about the size of the terminationMessage file, so it is added in this document and aligned with openapi
https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core

/assign @tengqm

/sig node
@kubernetes/sig-node-pr-reviews could you check this one off and /lgtm if happy?

/approve
/lgtm

@tengqm  Can you help me review this pr? Thank you very much

/approve
Thanks @wawa0210 & @dims


Switch to cargo-xtask pattern to reduce dependencies

See https://github.com/matklad/cargo-xtask
Thanks to this, things like llvm-tools-preview, cargo-make and cargo-binutils are not longer required.
Also code for xtask is way easier to read and understand.
Taplo fails for unrelated reason, I think that the problem is on the taplo side.

Uh so how do the actual toolchains get installed here?  I don't really know xtask so can't provide too much meaningful review.

Uh so how do the actual toolchains get installed here?

Toolchains have to be installed manually as before. The only thing changed is that instead of requiring user to install cargo-make we wrote our script directly in Rust and instead of using cargo-binutils for objcopy (and llvm-tools-preview that we needed for it), we used riscv64-elf-objcopy directly as you did in your blog originally.

Ah ok I got a bit confused by the deletion of some readme sections and my association with tools like npx and pipx that install and execute command line tools automagically. All good then!


Cannot bring up vagrant

Issue Type
Bug Report / Support Request
Your Environment
Vagrant 1.9.1
Windows 10
Summary
Your OS
Full console output
vibha@CS264-01 MINGW64 ~/Sites/compscisbu (working)
$ vagrant up
Bringing machine 'compscisbu.localvm' up with 'virtualbox' provider...
==> compscisbu.localvm: Importing base box 'geerlingguy/ubuntu1604'...
==> compscisbu.localvm: Matching MAC address for NAT networking...
==> compscisbu.localvm: Checking if box 'geerlingguy/ubuntu1604' is up to date...
==> compscisbu.localvm: A newer version of the box 'geerlingguy/ubuntu1604' is available! You currently
==> compscisbu.localvm: have version '1.0.4'. The latest is version '1.1.4'. Run
==> compscisbu.localvm: vagrant box update to update.
A VirtualBox machine with the name 'compscisbu.localvm.stonybrook.edu' already exists.
Please use another name or delete the machine with the existing
name, and try again.
Summary
I had to re-clone my local 'compscisbu' setup from the acquia repository. Now I am unable to start vagrant. 'Vagrant up' complains that A VirtualBox machine with the name 'compscisbu.localvm.stonybrook.edu' already exists. What is the best way to fix this?

If you wan't to use the existing machine without deleting it:
Find the ID of your VM using

$ vboxmanage list vms
"my-vm" {c700b8b6-b766-4638-871b-736b44b7db18}

Copy the ID of the desired VM (the c700…db18 string) into the contents of .vagrant/machines//virtualbox/id.
https://stackoverflow.com/a/30910282/319855

If you want to delete it and start fresh, do the above and then simply vagrant destroy; vagrant up

I get bash: vboxmanage: command not found error when I type vboxmanage list
vms
$ vboxmanage list vms
bash: vboxmanage: command not found
From: Oskar Schöldström<EMAIL_ADDRESS>Sent: Tuesday, June 6, 2017 9:50 AM
To: geerlingguy/drupal-vm
Cc: vibanu; Author
Subject: Re: [geerlingguy/drupal-vm] Cannot bring up vagrant (#1414)
If you wan't to use the existing machine without deleting it:
Find the ID of your VM using
$ vboxmanage list vms
"my-vm" {c700b8b6-b766-4638-871b-736b44b7db18}
Copy the ID of the desired VM (the c700…db18 string) into the contents of
.vagrant/machines//virtualbox/id.
https://stackoverflow.com/a/30910282/319855
If you want to delete it and start fresh, do the above and then simply vagrant
destroy; vagrant up
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/geerlingguy/drupal-vm/issues/1414#issuecomment-306491795,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKMeIPVyv54YV2I8wIH7rMFyFQhdd_18ks5sBVjqgaJpZM4NxVui
.

Ah you're on windows, I'm not sure where that command is located.

C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" list vms

something similar to that

Yes, I am on windows.
On GIT – ‘vagrant global-status’ shows the following and below this is
attached the screen capture from Oracle VM VirtualBox Manager
$ vagrant global-status
id       name               provider   state    directory

6f69dee  drupalvm           virtualbox poweroff C:/DrupalVM
70e87e4  drupalvm           virtualbox running
C:/Users/vibha/Sites/compscisbu
270a643  compscisbu.localvm virtualbox poweroff
C:/users/vibha/Sites/compscisbu
From: Oskar Schöldström<EMAIL_ADDRESS>Sent: Tuesday, June 6, 2017 9:56 AM
To: geerlingguy/drupal-vm
Cc: vibanu; Author
Subject: Re: [geerlingguy/drupal-vm] Cannot bring up vagrant (#1414)
Ah you're on windows, I'm not sure where that command is located.
C:\Program Files\Oracle\VirtualBox\VBoxManage.exe" list vms
something similar to that
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/geerlingguy/drupal-vm/issues/1414#issuecomment-306493640,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKMeIBLRZtGdBa0hIW3D-ch02UDySUIGks5sBVpTgaJpZM4NxVui
.

You'll need the full ID which I don't think you can get from something other than VBoxManage.exe. Could you search for it?

If you don't care about the old machine, you can also try vagrant destroy <id>, that should delete it but if you want to restore the old machine, you'll need to find the ID.

From the stack link you sent to me.. I followed #2 and renamed the box on
Oracle VM; This worked.
‘Sometimes you might not want to delete old box. Yesterday may old Vagrant
has broken, I've updated Vagrant and Virtualbox but folders mapping didn't
work. I wanted to run new box and had this error…..
Thank you for your help that lead me in the right direction.
Regards,
Vibha.
From: Oskar Schöldström<EMAIL_ADDRESS>Sent: Tuesday, June 6, 2017 10:01 AM
To: geerlingguy/drupal-vm
Cc: vibanu; Author
Subject: Re: [geerlingguy/drupal-vm] Cannot bring up vagrant (#1414)
You'll need the full ID which I don't think you can get from something
other than VBoxManage.exe. Could you search for it?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/geerlingguy/drupal-vm/issues/1414#issuecomment-306495284,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKMeINXwqzhM-0BINV463hF7UtTjNL0Nks5sBVubgaJpZM4NxVui
.

I resolved the problem of starting the vagrant but no longer can use drush.
Any lead on this?
Command pm-update needs a higher bootstrap level to run - you will need to
invoke drush from a more [error]
functional Drupal environment to run this command.
The drush command 'pm-update' could not be executed.
From: Oskar Schöldström<EMAIL_ADDRESS>Sent: Tuesday, June 6, 2017 9:50 AM
To: geerlingguy/drupal-vm
Cc: vibanu; Author
Subject: Re: [geerlingguy/drupal-vm] Cannot bring up vagrant (#1414)
If you wan't to use the existing machine without deleting it:
Find the ID of your VM using
$ vboxmanage list vms
"my-vm" {c700b8b6-b766-4638-871b-736b44b7db18}
Copy the ID of the desired VM (the c700…db18 string) into the contents of
.vagrant/machines//virtualbox/id.
https://stackoverflow.com/a/30910282/319855
If you want to delete it and start fresh, do the above and then simply vagrant
destroy; vagrant up
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/geerlingguy/drupal-vm/issues/1414#issuecomment-306491795,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKMeIPVyv54YV2I8wIH7rMFyFQhdd_18ks5sBVjqgaJpZM4NxVui
.

This was an old issue resolved long time back..
From: Oskar Schöldström<EMAIL_ADDRESS>Sent: Thursday, June 15, 2017 12:40 PM
To: geerlingguy/drupal-vm
Cc: vibanu; Author
Subject: Re: [geerlingguy/drupal-vm] Cannot bring up vagrant (#1414)
Could you post your config.yml?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/geerlingguy/drupal-vm/issues/1414#issuecomment-308797976,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKMeIHdI5gLPa0DX1EFDbsninCS5I-Zzks5sEV54gaJpZM4NxVui
.


Re-add line to codeStyleConfig.xml

so the file doesn't show up any more as changed in IDEA.
Without this change, IDEA will add the given line from time to time to the XML, causing an unrelated diff to show up.

I've triggered a build for you.


Bower and questions

I search for a different place to do this questions but the readme redirect me to here so:

The release notes says "Bower support" but there is nothing about this in the doc to know how to implement it.

I'm using this inside a Rack app and I want to compile/minify my assets in Production. Any clues of how to acomplish this?

The repo has moved over to github.com/rails/sprockets.

I have no idea what the bower support story is right now.
You would need to run rake assets:precompile to reduce your assets to static files then serve those static files, maybe using something like nginx. I'll support problems you're having with Rails but i've never done a pure sprockets + rack app before. Find a tutorial online and try it out. If you think you found a bug open up a new issue in the new repo and give me an example app that demonstrates the problem.

This issue was moved to rails/sprockets#170


Detecting version via reflection

Old way is still used as a fallback.
Moved things around but tests are currently failing.
This PR is currently mainly for reference and initial review by @mplushnikov

Hello Alexej!
thank you, I will check it next days!

I haven't had time to fix the tests yet, been busy with other things,
unfortunately.
On 15 May 2016 13:44, "Michail Plushnikov"<EMAIL_ADDRESS>wrote:

Hello Alexej!
thank you, I will check it next days!
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/mplushnikov/lombok-intellij-plugin/pull/232#issuecomment-219280525

Hello AlexejK,
I finally got time to look on your implementation. It look very interesting, i think we really should use it as a fallback for current one! I think we should add closing of all of creating ClassLoaders (try-finally) and use some of logger to replace all of system.out calls.

Agree,  this was a very rough POC. I can complete it but don't have much time in the next week or two..  Maybe do this as part of 0.13 to unblock 0.12 release?  Also am considering to remove version detection from 0.12 just because it feels too rough right now

Yes, we can do it in 0.13. I added configuration option for the version-checking in the current master already und made it disabled by default. So you can use it, but only if you manually activate it.


Not working together with other protocolib plugins

So, im using skin changer plugin on my server right now  its SkinRestorer. Its using ProtocolLib for changing skin if im right.
The problem is, when i put MundoSk into my plugin folder, and restart the server. then I try to change my skin ingame and its doesn't change it, just if log out and back in.... I don't know what causing that, but please try to fix it. Thanks! :)

What are your versions of MundoSK, ProtocolLib, and Bukkit/Spigot?

Im using the newest from everything.
MundoSk: MundoSK 1.7.5-BETA.7.131
ProtocolLib: VERSION 4.2.1
Spigot: The newest from this site: https://getbukkit.org/spigot

I think the problem is that MundoSK's skin changing capabilities are overriding SkinRestorer. You should be able to fix this by going into the config of MundoSK and setting the option 'enable_custom_skin_and_tablist' to false. If you are using MundoSK's tablist features however this will disable them too, so keep that in mind.

Yes, its worked. Thank you very much! :)

No problem!


chore(main): release 0.11.0

:robot: I have created a release beep boop
0.11.0 (2024-07-14)
✨ New Features

migrate from CommonJS to ESModules (#194) (f49bd78)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.11.0
:sunflower:


Add Technological University of Hmawbi

Sir, please merge my university, thank youuu!

@HlyannHtet Pull request merged. Thank you!


Update the build docs for a release

try to get release v3.3.0 out

I think I am going to enable pre-commit on this repo soon after we get a release, then we can get the formatting and some other things settled.

I do like that the ubuntu builds are working for unknown reasons, maybe we fixed it in 3.3 and didn't know it.

Eventually we should check if issue #3 (Linux segfault) has also been fixed.

the CI tests were the source of #3.  We should still test on some other platforms when we get the chance though.


Any chance on an update?

I cant get anything working it fails all the tests im using the latest dll so that might be it
all test return this which is weird cause the c++ file has these defined
System.EntryPointNotFoundException : Unable to find an entry point named 'wrenInitConfiguration' in DLL 'wren.dll'.

@IrishBruse Were you able to resolve the issue?
This library is built against a specific commit in wren's repo (some commit inbetween wren 0.2 and 0.3, it seems) and the existing tests expect that version. I haven't updated the library from an apparent lack of interest, but your issue changes that. 😉
Say the word, I'll set aside some time to update the library for wren's latest release.


Add delete to GPT Indices (tree, keyword table, list)

Have added delete to list, keyword table. Will punt on tree for now


How to use this in a razor class library.

How can I use this in library in a razor class library so that I can reuse the UI in different project types. I tried to recreate the  DB Designer  but it didn't worked. Please help me out.  Here is my code

Hello, I am not sure what the issue is (you didnt mention any errors).
All I see is that you're using a different version of the Core library in your Models project, please update that to 2.1.6 to match your other project, as that would probably cause a version mismatch.

Thanks @zHaytam for quick response, I have updated the version but it didn't solved the problem. I don't get error, just diagram doesn't get loaded and button clicks  doesn't works even tough it hit's the code (I checked by putting break point in new table link click event)

Hey @techierathore, I have forked your project and managed to show everything. I created a PR in your own repository:

In order for diagrams to show, they need to have a proper height.
You forgot to include the generated scoped CSS in your project
Imports were missing for things like DiagramCanvas

Hope this helps!

It worked and of course helped a lot Thanks @zHaytam


8.4.1 jailbreak is now available

http://tihmstar.net/etasonjb/

The jailbreak isn't quite production level in terms of stability and compatibility yet but I think it would be wise to monitor it over the coming days/weeks until it reaches a point where it can be recommended for use here.

this was added in #23. Thanks for the heads up!


Create deploy-delegate-to-ECS

Quick step-by-step on how to install an immutable delegate on Amazon ECS and AWS Fargate.
Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

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

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

Issue(s): To be noted later on

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

[ ] Tested Locally
[ ] Optional Screen Shoot.

Preview environment: https://ci.pr.harness.io/pr-484

Preview environment: https://ci.pr.harness.io/pr-484

Preview environment: https://ci.pr.harness.io/pr-484

Preview environment: https://ci.pr.harness.io/pr-484

Preview environment: https://ci.pr.harness.io/pr-484

Preview environment: https://ci.pr.harness.io/pr-484

Preview environment: https://ci.pr.harness.io/pr-484

Banzai!


web dev

🚀 Feature
adding full descriptive shopping website and all its details and the source code also
Have you read the Contributing Guidelines ?
yes
Motivation
i want to add project for the seek of helping people to find more resources to practice on

I want to work on this issue under the Gssoc'22. plz assign me for the contribution.

i will be using express in the backend and for the frontend simple background.
The aim of the project to develop the server side of it not the front end
@Kushal997-das

It's been so long you are not responding to this issue so we are going to close the issue . Thank you :)


“Schedule send message” and “Delete the messages” features are missing new CC version 5.5.2

i)	We have upgraded the company communicator version from 5.3.0 to 5.5.2 recently. In team’s app the version is showing updated to 5.5.2 for both users and author applications.
ii)	During the 5.5.2 version upgradations, we have set the values (UPNs) list for “REACT_APP_AUTHORIZED_USERS_EMAIL” and “AuthorizedDeleteUpns” as they allowed to delete historical send messages.
iii)	Then saved the changes and restart the app service and sync to latest changes and changes deployed successfully as per logs in deployment center as well.
iv)	Changed the placeholder fields in both manifest files to required values appropriately.
v)	Then uploaded the new manifest files for both users and author applications from Teams admin center. Manifest uploaded successfully.
vi)	Then again restarted the app service again.
vii)	Sign-out the team’s applications and sign in again.
Note: Please refer to below screenshot which shows recent version in teams app store to 5.5.2 for company communicator app.

we have started discussing internally

we have started internal discussion

Hi @v-jaygupta,
As discussed internally. Issue has been fixed already. Kindy close this case. Thanks

Closing this ticket as this issue has been resolved by syncing three function apps.


Add a few more testimonials

Just waiting to kill the tweets that have been removed, then feel free to self-merge 👍🏻


Remove default podFile setting of use_frameworks!

Use case
create sample flutter project
check podFile setting, there is use_frameworks! in setting
After remove use_frameworks!, launch time improve dramatically. Because my app depends on many packages.
Proposal
Remove the use_frameworks! for podFile
Since CocoaPods support swift static libraries after 1.5.0.
And Apple recommended use a max of 6 dynamic frameworks, remove use_frameworks! for default use static libraries seems better.
I refer to the article
https://bpoplauschi.github.io/2021/10/25/Advanced-static-vs-dynamic-libraries-and-frameworks.html
for the max of 6 dynamic frameworks saying.
Thank you.

I have same experience.
After remove use_frameworks! in PodFile.
The cold start improve dramatically.
This setting is come from sample project.
Is there any side effect to use static library on flutter project ?

Keeping this issue open for further insights from the team on this potential proposal.
/cc @jmagman

It's not on by default in Objective-C Flutter projects.  However, we err on the side of keeping the app compiling in all cases, and we've seen issues with static Swift libraries, so it's on by default there.
You should feel free to remove it in your own project if you want and it works.

It's not on by default in Objective-C Flutter projects. However, we err on the side of keeping the app compiling in all cases, and we've seen issues with static Swift libraries, so it's on by default there.
You should feel free to remove it in your own project if you want and it works.

Wow, could you help share which kind issue you seen with static Swift libraries?
We are switched to static library, It maybe have potential issue.

We are switched to static library, It maybe have potential issue.

If it compiles it's unlikely you're hitting any issues.
https://github.com/flutter/flutter/issues/25676#issuecomment-532464440
Our create templates prefer do the safest rather than the optimal so our users don't get stuck debugging inscrutable module or missing resource errors. However you are welcome to edit the Podfile and Xcode projects, as long as you don't remove the bits that actually inject Flutter into your app.


Tests don't run in Firefox, IE, Edge

I get for example this result in latest Firefox
0 passing tests
test suite passed
Evaluated 0 tests in 16ms.

PS: using polyserve and going to http://localhost:8081/test/

@daKmoR I see all unit tests pass in Firefox. What problem do you see?

they do run now :)


Unable to install lsp on Windows

Hey, I just installed the plugin and when I type :LspInstall lua for example, I get this error : Vim:E903: Process failed to start: no such file or directory: "/usr/bin/env" and it open an empty window.
Have a good day!

would you mind making this more clear on the main readme?


How to add, change and update fonts?

Thanks for vsgImGui integration. It works fairly well in my project. However, it seems there is no way to change or add fonts other than the built-in default?  I can load new ImGui fonts and rebuild the font Atlas, but I just get black/empty windows because there does not appear to be a way a user can upload a new texture.
What is the intended way to handle this? Do I need to make a derived class and override things in order to load more fonts?

The example has code for setting fonts
On Sat, 22 Jun 2024, 14:03 robo-todd, @.***> wrote:

Thanks for vsgImGui integration. It works fairly well in my project.
However, it seems there is no way to change or add fonts other than the
built-in default? I can load new ImGui fonts and rebuild the font Atlas,
but I just get black/empty windows because there does not appear to be a
way a user can upload a new texture.
What is the intended way to handle this? Do I need to make a derived class
and override things in order to load more fonts?
—
Reply to this email directly, view it on GitHub
https://github.com/vsg-dev/vsgImGui/issues/69, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAKEGUD2AROOLFXUNA3FPLTZIVYZHAVCNFSM6AAAAABJXNUGR2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGM3DOOBRGM4DAMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


$Reindex deadlocks on sql server

The resource prefetch query escalates to a full table lock on Sql Server
MSSQL

Closed by https://github.com/hapifhir/hapi-fhir/pull/5825


Add install option with backup

This issue is a possible duplicate of #33. Installation should be done manually based on your current ~/.sshconfig file, and the easy way is to just include your custom config.


Danish Radio4

Checklist

[X] I'm reporting a new site support request
[X] I've verified that I'm running yt-dlp version 2022.05.18 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that none of provided URLs violate any copyrights or contain any DRM to the best of my knowledge
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[x] I've read about sharing account credentials and am willing to share it if required

Region
Denmark
Example URLs
https://www.radio4.dk/program/morgen-r4dio/?gid=37214&title=radio4-morgen-13-juni-kl-6-7
Description
It should download https://traffic.omny.fm/d/clips/414edbb4-4b91-4960-8650-ad4000dbc027/bd5a9b30-6d36-4dc7-bb2b-ad4a0088d655/a44b5db4-b5c7-426b-a24f-aeb30057f864/audio.mp3?utm_source=CustomPlayer1&id=radio4web?utm_source=CustomPlayer5
Verbose log
~~~
$ yt-dlp -vU 'https://www.radio4.dk/program/morgen-r4dio/?gid=37214&title=radio4-morgen-13-juni-kl-6-7'
[debug] Command-line config: ['-vU', 'https://www.radio4.dk/program/morgen-r4dio/?gid=37214&title=radio4-morgen-13-juni-kl-6-7']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2022.05.18 [b14d52355] (zip)
[debug] Python version 3.10.4 (CPython 64bit) - Linux-5.15.0-33-generic-x86_64-with-glibc2.35
[debug] Checking exe version: ffprobe -bsfs
[debug] Checking exe version: ffmpeg -bsfs
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2
[debug] Optional libraries: brotli-1.0.9, certifi-2020.06.20, pyxattr-0.7.2, secretstorage-3.3.1, sqlite3-2.6.0
[debug] Proxy map: {}
Latest version: 2022.05.18, Current version: 2022.05.18
yt-dlp is up to date (2022.05.18)
[debug] [generic] Extracting URL: https://www.radio4.dk/program/morgen-r4dio/?gid=37214&title=radio4-morgen-13-juni-kl-6-7
[generic] ?gid=37214&title=radio4-morgen-13-juni-kl-6-7: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] ?gid=37214&title=radio4-morgen-13-juni-kl-6-7: Downloading webpage
[generic] ?gid=37214&title=radio4-morgen-13-juni-kl-6-7: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://www.radio4.dk/program/morgen-r4dio/?gid=37214&title=radio4-morgen-13-juni-kl-6-7
Traceback (most recent call last):
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1395, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/local/bin/yt-dlp/yt_dlp/YoutubeDL.py", line 1465, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/common.py", line 642, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/yt-dlp/yt_dlp/extractor/generic.py", line 4031, in _real_extract
    raise UnsupportedError(url)
yt_dlp.utils.UnsupportedError: Unsupported URL: https://www.radio4.dk/program/morgen-r4dio/?gid=37214&title=radio4-morgen-13-juni-kl-6-7

The target is in this element:

                                            <svg xmlns="http://www.w3.org/2000/svg" width="90" height="90" viewBox="0 0 90 90" class="play_svg">...</svg>

The target is in this element:

                                            <svg xmlns="http://www.w3.org/2000/svg" width="90" height="90" viewBox="0 0 90 90" class="play_svg">...</svg>

Actually no, that element is available multiple times in the page, and probably constitutes for a playlist/series.
The actual element for the linked show (the one that "pops up") has a data-gid="{id}" attribute. And also provides the title:

I have created a simple extractor, will post a PR soon.
Generally question: Do we really still need to manually parse HTML with regexes? The only proper helper I can identify is extract_attributes().

OP's link doesn't actually bring up a page for the DR4 morning show from 06:00 to to 07:00 as you would hope. The non-JS page (seen by yt-dl[p]) changes over time. It's blanked in a browser using site CSS but is clearly an episode playlist when you disable the CSS.
You can extract the gid (37214) from the URL and then find the
...
 episode element in which 37214 is nested  (and later the element that you quoted).
yt-dlp uses its own HTMLBreakOnClosingTagParser in its get_element_text_and_html_by_tag() and related utility functions (to answer your question).
Iterating the (tag_content, tag_html) returned from get_elements_text_and_html_by_attribute('class', r'''[\s"']episode_block_js[\s'"]''', webpage, escape_value=False) and selecting the one whose tag_content contains >32714< should give the correct
 block. In yt-dl one would (currently) use re.finditer() with a regex ending in (?:
\s*){5} instead of the utility function.
Then inside the episode element, there is:

<input ... class='full_episode_description' ...> whose value is the episode description

...
 whose inner text is the same
... whose inner text is the episode date, but easier to get from the data-date of the link element
... whose inner text is the episode duration (needs a da-dk version of parse_duration() that understands minutter)
and the  link element as quoted, with href, data-title and data-date attributes.

There's a ld+json block that's of no real use.
But no doubt this is similar to what you've already done.

Thanks for the hints. I'll have a look at those methods. I was trying to peek at other extractors doing similar stuff, but there's so much to discover. ;)
I'll also check whether what I have written so far (close to some of your hints, minus the iteration and following
s) always returns the expected episode.

... Well, the OP (@ole-tange) requested the creation of a new, specific, Danish Radio InfoExtractor, that would download an MP3 audio file (AOD/podcast) of the first part (0605-0700 CEST) of the episode broadcast on 20220613 and streamed on below URI:
https://www.radio4.dk/program/morgen-r4dio/?gid=37214&title=radio4-morgen-13-juni-kl-6-7
I suspect he must have automation in mind, because the DR site does indeed provide built-in downloading functionality for the episode:

The download button will fetch the file from the exact same link referenced in the "description" of this issue...
And for more automation, DR4 do provide a Podcast Feed of the Radio4 Morgen show at below URI:
https://www.omnycontent.com/d/playlist/414edbb4-4b91-4960-8650-ad4000dbc027/bd5a9b30-6d36-4dc7-bb2b-ad4a0088d655/fe9f5271-aa6e-4135-a3cd-ad4a0088d663/podcast.rss

which should be compatible with any RSS Reader (BTW, the feed goes all the way back to Nov 1st 2019! Each day's Radio4 Morgen show is split into 3 ca. 1hr long segments) ...

There is some (perfectly reasonably) confusion whether Radio4 has any connection to DR (Danish Broadcasting Corporation). It does not: DR and Radio4 are two completely separate companies.
In Denmark they go by the names: Radio4 and DR/Danmarks Radio. To increase the confusion DR also makes television.
I would find it unlikely if dr.dk's download links were formatted like radio4.dk's. Thus putting those in the same InfoExtractor is probably not a good idea.
May I suggest names like: "Danish Radio4.dk InfoExtractor" for the Radio4 one, and "DR.dk (Danmarks Radio/Danish Broadcasting Corporation) InfoExtractor" for the other? Those names would at least not confuse Danes (whereas DR4 definitely would).

This:

About Radio4: https://www.radio4.dk/om-radio4/

And not this:

Hør DR P4 København, direkte og gratis: https://www.radio-danmark.dk/p4-kobenhavn

Now the link should be https://radio4.dk/podcasts/radio4-morgen/radio4-morgen-13-juni-kl-6-7.
-https://www.radio4.dk/program/morgen-r4dio/?gid=37214&title=radio4-morgen-13-juni-kl-6-7
+https://www.radio4.dk/podcasts/radio4-morgen/radio4-morgen-13-juni-kl-6-7

.

Do we really need an extractor for this site? I can see the "download" button (↓) between the "share" and "embed" buttons.
Link: https://radio4.dk/podcasts/radio4-morgen/radio4-morgen-13-juni-kl-6-7

That button directly points to an informative mp3 file:
$ ffprobe -hide_banner Radio4_Morgen_-_13_juni_kl_6-7.mp3
Input #0, mp3, from 'Radio4_Morgen_-_13_juni_kl_6-7.mp3':
  Metadata:
    title           : Radio4 Morgen - 13. juni kl. 6-7
    album_artist    : Radio4
    artist          : Radio4
    album           : RADIO4 MORGEN
    copyright       : Radio4
    date            : 2022
    genre           : Podcast
    TLEN            : 3300540
  Duration: 00:55:00.60, start: 0.000000, bitrate: 128 kb/s
  Stream #0:0: Audio: mp3 (mp3float), 44100 Hz, stereo, fltp, 128 kb/s
  Stream #0:1: Video: mjpeg (Progressive), yuvj444p(pc, bt470bg/unknown/unknown), 600x600 [SAR 72:72 DAR 1:1], 90k tbr, 90k tbn (attached pic)
      Metadata:
        comment         : Cover (front)

.


Preventing from copying contents of the Mini Report Action Context Menu

Details
This PR fixes the issue that occurs while copying few messages in the web chat - the pasted text contains some unexpected icons.

Fixed Issues

$ https://github.com/Expensify/App/issues/18343
PROPOSAL: https://github.com/Expensify/App/issues/18343#issuecomment-1549516205
Tests

Login to the web app
Open any chat
Send several messages like 1,2,3,4,5,6
Mark as Unread one the messages somewhere in the middle of them
Select all the messages just added
Copy and paste them to the compose box
Check if the pasted text contains only the contents of copied messages

[x] Verify that no errors appear in the JS console

Offline tests

Same as above.
QA Steps

Same as above.

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web
https://github.com/Expensify/App/assets/7771498/55700f21-882e-4fb3-8ec9-2903a38672ca

Mobile Web - Chrome
n/a

Mobile Web - Safari
n/a

Desktop
https://github.com/Expensify/App/assets/7771498/bcfeba2e-2a56-441f-bb05-76ddc41c392d

iOS
n/a

Android
n/a

@0xmiroslav any update here?

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/roryabraham in version: 1.3.27-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to staging by https://github.com/roryabraham in version: 1.3.27-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by https://github.com/AndrewGable in version: 1.3.27-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


IE 10 compatibility

The demo site isn't compatible with IE10, first of all missing dataset.
I've tried adding polyfill for that, but it doesn't solve my problem.
result:
ORIGINAL EXCEPTION: Unable to get property 'value' of undefined or null reference

After add dataset polyfill:
SCRIPT438: Object doesn't support property or method 'toLowerCase'
datepicker.js, line 1 character 17178

https://github.com/wwilsman/Datepicker.js/blob/master/src/helpers.js#L48


fix: include placement siteKnownAs

In saved History template variables only, not added to any notifications.
TIS21-5937

Here is an example saved placement notification history record:
{
  "_id": {
    "$oid": "66311568f808764ca0dfc799"
  },
  "tisReference": {
    "_id": "2464062",
    "type": "PLACEMENT"
  },
  "type": "PLACEMENT_UPDATED_WEEK_12",
  "recipient": {
    "id": "71704",
    "type": "EMAIL",
    "contact"<EMAIL_ADDRESS>  },
  "template": {
    "name": "placement-updated-week-12",
    "version": "v1.0.0",
    "variables": {
      "contactHref": "url",
      "specialty": "General Practice",
      "hashedEmail": "f2cb7e855b7a3ef8a31d3bf2f112b8b3",
      "givenName": "Hannah",
      "gmcNumber": "7420294",
      "notificationType": "PLACEMENT_UPDATED_WEEK_12",
      "isValidGmc": true,
      "title": "Dr",
      "tisId": "2464062",
      "localOfficeWebsite": "https://lasepgmdesupport.hee.nhs.uk/support/home",
      "site": "Dalton Surgery",
      "placementType": "In Post",
      "familyName": "Mitchell",
      "domain": "",
      "localOfficeName": "Health Education England South London",
      "personId": "71704",
      "isRegistered": false,
      "localOfficeContact": "https://hee.freshdesk.com/support/home",
      "startDate": {
        "$date": "2024-05-08T23:00:00.000Z"
      },
      "email"<EMAIL_ADDRESS>      "siteKnownAs": "Dalton Surgery (A82039)"
    }
  },
  "sentAt": {
    "$date": "2024-04-30T15:59:37.132Z"
  },
  "status": "SENT",
  "_class": "uk.nhs.tis.trainee.notifications.model.History"
}

I know it's needed for reporting purposes mainly, but should we just completely replace site with siteKnownAs?

We could do. If its missing we could fall back to siteName (there are a few where that is the case: https://build.tis.nhs.uk/metabase/question#eyJkYXRhc2V0X3F1ZXJ5Ijp7ImRhdGFiYXNlIjoxMiwicXVlcnkiOnsic291cmNlLXRhYmxlIjo5NjUsImZpbHRlciI6WyJhbmQiLFsibm90LWVtcHR5IixbImZpZWxkIiwxNjA1NCxudWxsXV0sWyJpcy1lbXB0eSIsWyJmaWVsZCIsMTYwNTMsbnVsbF1dXX0sInR5cGUiOiJxdWVyeSJ9LCJkaXNwbGF5IjoidGFibGUiLCJ2aXN1YWxpemF0aW9uX3NldHRpbmdzIjp7fSwib3JpZ2luYWxfY2FyZF9pZCI6bnVsbH0=)


Make project up-to-date

Remove .idea files
Bump dependencies
Bump Gradle wrapper
Add google() repository
Update travis.yml

I reverted to the stable gradle build tools plugin and removed support for vector drawables.


Cabal flag for bytestring version

In <IP_ADDRESS>, you changed the name of the flag from pre-bytestring-0-10-4 to bytestring--LT-0_10_4.  Does it make sense to change flag names within the same major version release?
Also, it seems that stack doesn't like this new name:
Could not parse 'stack.yaml':
Aeson exception:
Error in $.flags.cassava['bytestring--LT-0_10_4']: failed to parse field 'flags': Invalid flag name: "bytestring--LT-0_10_4"
See http://docs.haskellstack.org/en/stable/yaml_configuration/

Specifically, it seems that the -- in there is what's causing the parsing issue.  Not sure why though.

It appears stack has already been fixed (albeit not in a release).
Was still a bit of a surprise to see the flag name change.

Does it make sense to change flag names within the same major version release?

Well, Cabal's dependency specification deliberately doesn't allow to depend on flags of dependencies. Moreover, the flag in question was an automatic flag, i.e. you shouldn't even have any reason to manually refer to its name, as it's automatically handled by the build-tool (assuming the build-tool properly implements the Cabal spec).

See #155.

@tfausak I think this issue is slightly different due to the discoverability of the flag name change.


[Bug]: Import app from file not working

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I export an app into a file and try to import the file, the export works fine but import seems to be broken. Git imports are working fine.
Steps To Reproduce
Please check the following video -
https://www.loom.com/share/62e3eed09c15469795ffacea01832158
Public Sample App
No response
Version
Cloud

@sribalajig please share the file.

@Nikhil-Nandagopal it's not specific to any file. I see no response from the browser when I click on "Import from file", as shown in the video.
However, it works if I drag and drop the file instead of clicking to upload.

Stats

Stat
Values

Reach
497

Effort (months)
0.5

@hiteshjoshi Need someone from the FE to look into this. The modal is disabled for @sribalajig.

Looks like a permission issue on my machine, so closing this.


null buffer created on "go to definition"

Hello,
When I use "go to definition" a null buffer seems to be created. Screen cap provided.
https://user-images.githubusercontent.com/5642902/153277123-bdeea6a5-edfc-4f4e-b3ab-41b8eb54b38b.mp4

Does this happens consistently or only with certain definitions / languages?
Does this also happens in other LSP commands (refs, diag, symbols) or just with definitions?
Can you try and see if this happen with:

:lua vim.lsp.buf.definition()
:lua require'fzf-lua'.lsp_definitions({ force_uri = false })

force_uri is a new setting (added in #336) that (by default) uses vim.lsp.util.jump_to_location instead of a noral file edit in order to add the location to the tagstack as naturally happens with :lua vim.lsp.buf.definition()

It doesn't happen with both
:lua vim.lsp.buf.definition()
:lua require'fzf-lua'.lsp_definitions({ force_uri = false })

I'm trying to reproduce it, what about these?

Does this happens consistently or only with certain definitions / languages?
Does this also happens in other LSP commands (refs, diag, symbols) or just with definitions?

I just tried same thing with lua LSP. I get another blank buffer, but it says "[No Name]:1" this time.

Should work now, let me know?

Fixed :) Thank you.

This happened to me too.

@ibhagwan Not sure if I got the above right?
After the patch it seems that I still need { force_uri = false } for it to work.
The following still shows the same problem for me

:lua require'fzf-lua'.lsp_definitions()
:FzfLua lsp_definitions

Thank you so much for maintaining this plugin, it's my first day switching over from fzf.vim and loving it so much!

@chunleng, this seems to be a slightly different issue, the original issue was the creation of a [No Name] buffer but the navigation to the selected item succeeded, here it's failing for some reason, can you try the below code and see (a) does it work and (b) How does the output look in :messages when selecting an item?

You can exec the below with :lua _G.lsp_definitions()

_G.lsp_definitions = function(opts)
  opts = opts or {}
  opts.actions = {
    ['default'] = function(selected, o)
      local entry = require'fzf-lua.path'.entry_to_file(selected[1], o.cwd, true)
      _G.dump(entry)
      vim.lsp.util.jump_to_location(entry, "utf-16")
    end
  }
  require'fzf-lua'.lsp_definitions(opts)
end

I got the following...
{
  col = 28,
  line = 411,
  range = {
    start = {
      character = 27,
      line = 410
    }
  },
  stripped = "file://vimrc_files/init.lua:411:28:                         _G.lsp_definitions = function(opts)",
  uri = "file://vimrc_files/init.lua"
}

Anyway, I think I forgot to mention that it works totally fine if the path is out of the project folder. So I guess there's some problem resolving to cwd path?

Anyway, when it is out of project folder, this is what's being shown.
{
  col = 10,
  line = 10,
  range = {
    start = {
      character = 9,
      line = 9
    }
  },
  stripped = "file:///Users/chunlenglim/.local/share/nvim/lsp_servers/sumneko_lua/extension/server/meta/LuaJIT en-us utf8/package.lua:10:10: function require(modname) end",
  uri = "file:///Users/chunlenglim/.local/share/nvim/lsp_servers/sumneko_lua/extension/server/meta/LuaJIT en-us utf8/package.lua"
}

The uri resolution seems like the cause of this problem

The issue is gone! Thank you for the quick response!


Google reverse geocoder only uses the first result

Hi :)
First of all, thanks for your work on this lib!
We've been using Google reverse geocoding for several usage, and we've felt short in a scenario : administrative levels are sometime not being outputted.
The reason for that is that when multiple rows are being returned, only one is being used (https://github.com/nchaulet/node-geocoder/blob/master/lib/geocoder/googlegeocoder.js#L298).
The issue with that is that for { lat: 53.61748476104803, lon: -2.1537119150161743 } for example, the administrative levels are being set in the following rows, which looks like higher level matches.
My solution would be to reduce the address_components and assign them to the single result row before passing it to _formatResult.
For anybody, if that's considered a non-issue, you can still retrieve the information from the result.raw, but that becomes a manual parsing.

You can try a new library https://github.com/goparrot/geocoder


Deprecate KnativeEventing in favor of the Serverless operator

Signed-off-by: Matthias Wessendorf<EMAIL_ADDRESS>Updates to existing Operators

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[x] Modify more than one operator
[x] Modify an Operator you don't own
[x] Rename an operator - please remove and add with a different name instead
[x] Submit operators to both upstream-community-operators and community-operators at once
[x] Modify any files outside the above mentioned folders
[x] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[x] Description about the managed Application and where to find more information
[x] Features and capabilities of your Operator and how to use it
[x] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[x] Human readable name and 1-liner description about your Operator
[x] Valid category name1
[x] One of the pre-defined capability levels2
[x] Links to the maintainer, source code and documentation
[x] Example templates for all Custom Resource Definitions intended to be used
[x] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

@J0zi @dmesser  I removed the WIP since the deprecation is "live" / "released" as of today
Thanks !

@dmesser @J0zi can we get this in ?

Hi @matzew, please squash your commits.


Basic Usage page not showing anything

Tried on Chrome and firefox, also tried the light, dark, and system settings

Working fine on my system


Please check the URLs in your Article

Good day,
i found some dead URLs in this Documentation as i tried to install MS Defender on linux:
https://packages.microsoft.com/[distro]/[version]/[channel].list -> Error 404
https://packages.microsoft.com/config/[distro]/[version]/[channel].list -> works!
i hope i could help
best regards

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

ID: bab0b894-0199-7515-b060-a6724e2c9b9e
Version Independent ID: 988ff83c-c4b5-d2f3-023e-2d8dd191b7ae
Content: Deploy Microsoft Defender for Endpoint on Linux manually
Content Source: microsoft-365/security/defender-endpoint/linux-install-manually.md
Product: m365-security
Technology: mde
GitHub Login: @Dansimp
Microsoft Alias: dansimp

@D1Ck3n Thank you for your feedback. The document currently has the URL which works (https://packages.microsoft.com/config/[distro]/[version]/[channel].list)
Note that multiple URLs had this issue and all have been fixed recently.
Hope this helps!
@yogkumgit There are no changes needed in the document.
Thanks
Sri

@msbemba Thank you very much for the contribution and sharing this explanation. @D1Ck3n Hope this comment is helpful for you. If you see a documentation update is required, please feel free to open an issue for the same. We proceed here to close it. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


Registration feature

Create a process where the owner of the Raspberry pi generates a user token that gets sync'd to the api. This user token can then be given to other people to allow them to send messages or turn on the heart or etc of that pi.

The API key is to be generated by the client_config and then sent to the backend server when the web socket connects.

Api's are generated in the setup script and then registered with the backend when it connects.


Ensure private pub repository does not end up on pub.dartlang.org

This issue was originally filed by<EMAIL_ADDRESS>
We have a number of smaller dart libraries that we are integrating into a private pub server. Publishing with the pub lish --server=http://your.server.com works fine. However the scenario I'm trying to avoid is if someone does a pub lish without the --server and the library ends up on pub.dartlang.org.
Possible solutions

Have a list of acceptable hosted urls in the pubspec. If the --server value doesn't match then it errors.
Have a private flag in the pubspec that ensures that the server cannot be pub.dartlang.org.

This issue has been moved to dart-lang/pub#1050.


Filter out document updates from target association changes

Attempts to filter out what would be no-op writes to target-document and document-target indexes for documents that have already been associated with a target. The criteria used are:

the target is not a limbo-resolution target
the change is an update, not a reset

I am asserting that the associated view exists, which I think is ok based on the work done in the remote store to only pass along events for listens that have been issued and are still live. By filtering out limbo resolution, we should just be left with targets for which we have a live view.

I did some benchmarking. At small document sizes (< 1kb), the savings can be significant. The benefits largely disappear by the time you get up to 1 mb documents. As the document size gets very small (64b), the penalty for doing these extra writes exceeds 100%.
Given that, I think I'm in favor of merging this.

I've moved the changes to the remote event into methods on FSTRemoteEvent. PTAL


Please provide a full example

Hi there
Would you please provide a full example in this repo or medium website. For example it's not clear where to put that const client = xx  and ...
It will be very helpful
Thank you in advance

You can read tests in following directory


Update azure-stack-register.md

Updates azure-stack-register.md to reflect new registration commands.

@BradleyBartlett,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@BradleyBartlett : Thanks for your contribution to the Azure documentation! The author, @ErikjeMS, has been notified to review your proposed change.

@BradleyBartlett: this is taken care of now, right? The changes got in? https://docs.microsoft.com/en-us/azure/azure-stack/azure-stack-register


Optimize setIsVolatile for Path

We had some performance issue that's related with SkPath::setIsVolatile before: https://github.com/flutter/flutter/issues/17889. That issue was closed because Skia introduced CCPR and it has a nice performance even without setIsVolatile.
Unfortunately, CCPR was later disabled https://github.com/flutter/flutter/issues/17889#issuecomment-481522785 and we're seeing this issue again.
In particular, here's a comparison of our cubic_bezier_perf__timeline_summary benchmark with and without setIsVolatile (using https://github.com/flutter/flutter/commit/8b201b988b710323bcba5349952b227d1da37f1d and https://github.com/flutter/engine/commit/1482d9b05e3cb0b0ebd36555e5e30bc8f2734770):

without setIsVolatile
with setIsVolatile

90th_percentile_frame_rasterizer_time_millis
24.108
13.95

99th_percentile_frame_rasterizer_time_millis
47.098
18.366

In addition to the speed improvement, setIsVolatile(true) should also improve the memory usage as Skia will no longer cache the volatile paths.
As path animations get more and more popular through Rive/Flare among our customers such as "customer: money (g3)" and "customer: dream (g3)", having setIsVolatile may become more and more beneficial (see, e.g., https://github.com/flutter/flutter/issues/57686).

CC @Hixie @chinmaygarde, we probably should revive https://github.com/flutter/engine/pull/5560.
Luckily, we have better ways to test memory now (thanks to @dnfield @terrylucas @iskakaushik @albertwang0116). To figure out whether we should setIsVolatile(true) by default, we could use our new tools to benchmark the CPU, GPU, and memory usage of this cubic_bezier_perf benchmark or some other more realistic Rive/Flare animations.
Also CC @pcsosinski @zoeyfan @mehmetf @jasonch99 to see how customers think about this issue, and what priority it has.

What if we just set the path as volatile until we actually draw it, after which we don't expect to modify it anymore?

@dnfield : setIsVolatile is kind of like setIsDrawingOnlyOnce which disables Skia to cache the path mask. So even if a path is not modified later, if that path is only drawn once, setIsVolatile still saves a lot of performance.

Once as in only to one SkPicture, or once as in the picture is drawn only once?
I'm not sure how a flutter developer would ever know whether to set this flag or not.

Once as in the picture is drawn only once.
I think we should set the default value to best fit most people, and leave an option for experts who will run benchmarks and figure out what's best for their use cases (e.g., Rive engineers).
Following Ian's earlier suggestion of introducing a new class, do you think the following class would be clear enough?
/// A [Path] that's expected to be drawn only once in the current frame,
/// and will never be drawn again in future frames.
///
/// This class aims purely at improving the performance of those one-time paths
/// by disabling some unnecessary caching. It has exactly the same visual result
/// and APIs as [Path].
class VolatilePath extends Path {
  ...
}

leave an option for experts who will run benchmarks and figure out what's best for their use cases (e.g., Rive engineers).

I 100% guarantee that such an API will be used by non-experts incorrectly. Here's a non-exhaustive list of ways it could happen:

Someone finds out about this API by looking at the API docs, and writes an unclear blog post with the title "One quick trick to improve your Flutter performance" and some sample code that people start cargo-culting into their app.
Someone includes this API in a YouTube video of "Top 10 Flutter APIs you didn't know about" and mentions that it's good for performance. Half a million viewers start using this API everywhere they can because "it's good for performance".
We work hard to hide the API so that only experts find it. Someone discovers its existence and tweets about it. Because it's an attractive "experts only" API and people like thinking they're experts, they start using it, even though it's inappropriate for them.
Someone uses it correctly in a library. Someone else forks that library and changes how it works, and now the library uses the API incorrectly.
Someone finds a library that uses it correctly, and cargo-cults its code into their app.

We should avoid having APIs that are traps like this. Otherwise, what will happen is five years from now we'll be making this API a no-op because people misuse it so much that it's better to just ignore calls to the API and use heuristics than it is to honor the API. (And we won't be able to remove it because that would break too many apps, so it'll just be a vestigial API.)
As an aside, introducing a new subclass for Path might turn every call to Path from a direct dispatch to a polymorphic dispatch, we should check with the VM folks.

I see. So it seems that our goal is to setIsVolatile internally using some heuristics, and not expose an API for developers?
The information needed for making the heuristic decision seems to be only available on the Skia level. @reed-at-google @bsalomon : can Skia set the path as volatile by default, and turn it to non-volatile once the path is rasterized multiple times? To preserve the old behavior, we could only enable that heuristics under some opt-in flag such as SkPath::setDynamicVolatility.
To @Hixie : sorry that I remember something wrong. Your suggestion was not about a new class, but a new constructor for Path. So it should be something like Path.makeVolatile and we shouldn't have the polymorphic dispatch problem?
Finally, we can always just setIsVolatile(true) for all paths in Flutter if it's at least better than setIsVolatile(false) for all paths in Flutter. Hence I'm renaming this issue's title from "Expose setIsVolatile for Path" to "Optimize setIsVolatile for Path".

I don't know enough about setIsVolatile to say what out goal should be, just that it's one of those mysterious APIs that I predict will get misused. :-)
Re the polymorphic dispatch thing, it's probably worth doing a one-off benchmark to see what the impact is. There's almost certainly areas of our framework where we fall prey to this problem today, might be a good place to look for optimizations in general if it's an actual thing.

I strongly suspect that most users are using paths as volatile - basically, once it gets drawn to a picture, it's not used again or explicitly drawn to another picture.

I'm a bit curious about why we can't just set the flag once the path is actually drawn to a second canvas - or maybe once a sub-picture is drawn to another picture, but I'm not sure if that's "too late" to get whatever caching benefits Skia provides there.
I'm also a bit curious about whether this would impact the rest of our draw* operations on Canvas, which all boil down to paths internally in Skia. Presumably all of those paths should be marked as non-volatile, but I'd think that Skia should be doing that internally if it isn't already.

I just discussed with the Skia team and it seems that there are two ways of set volatility in Flutter by heuristics:

Design and utilize our own display list structure instead of SkPicture. @chinmaygarde , you mentioned that you're going to work on this after Metal. What's the progress now?
If we're still using SkPicture, we can play the picture into a custom canvas and intercepting all paths and set their volatility accordingly.

@liyuqian: I see you added the customer tags. Can you xreference them to upstream bugs?

@chinmaygarde : sure, I added https://github.com/flutter/flutter/issues/57686 which was created by<EMAIL_ADDRESS>

Local testing indicates that just setting all paths to volatile reduces memory usage in Flare/Rive heavy applications. I have not attempted measuring impact on frame times, but given above I would assume they're better.
I think as long as this doesn't hurt any of our existing benchmarks by much, we should consider just always setting this to true.

Unfortunately, on the new gallery transitions perf, there's a significant regression by setting paths to volatile. This is from a Pixel 4:
before:
    "average_frame_build_time_millis": 2.182658033826637,
    "90th_percentile_frame_build_time_millis": 3.462,
    "99th_percentile_frame_build_time_millis": 18.605,
    "worst_frame_build_time_millis": 65.617,
    "missed_frame_build_budget_count": 38,
    "average_frame_rasterizer_time_millis": 6.199544109878487,
    "90th_percentile_frame_rasterizer_time_millis": 10.82,
    "99th_percentile_frame_rasterizer_time_millis": 22.746,
    "worst_frame_rasterizer_time_millis": 122.53,
    "missed_frame_rasterizer_budget_count": 50,
    "frame_count": 1892,
    "frame_rasterizer_count": 1893,

after:
    "average_frame_build_time_millis": 2.27074847645429,
    "90th_percentile_frame_build_time_millis": 3.796,
    "99th_percentile_frame_build_time_millis": 23.051,
    "worst_frame_build_time_millis": 120.86,
    "missed_frame_build_budget_count": 40,
    "average_frame_rasterizer_time_millis": 10.10648753462602,
    "90th_percentile_frame_rasterizer_time_millis": 13.296,
    "99th_percentile_frame_rasterizer_time_millis": 29.086,
    "worst_frame_rasterizer_time_millis": 135.314,
    "missed_frame_rasterizer_budget_count": 117,
    "frame_count": 1805,
    "frame_rasterizer_count": 1805,

Average only goes down a bit, but worst gets a lot worse.

I have another approach for this that I think will work - locally it seems to reduce transition time as well. Should have a patch up for review shortly, trying to run some more benchmarks as well.

At a high level, my new approach does this:

setIsVolatile(true) by default
setIsVolatile(false) once the path is drawn twice
setIsVolatile(true) if the path is mutated even if it was drawn twice

Update: my approach is not using fml::WeakPtr correctly. I think we should be able to fix this by refactoring some things in fml/tonic - going to try to get that done first.

I'm still curious about your approach so is there any code I can read? Specifically, I'm very interested in how to track if a path in an SkPicture has been painted twice.

I'll upload what I have while I work on the other piece.

I'm not quite looking to see if it's rendered more than once, I'm really just checking if the path is still alive after a couple frames. If it is alive I assume it'll be drawn again and set the flag.

https://github.com/flutter/engine/pull/22620

I see. So if a path gets destructed in 1 frame, but ends up being recorded and re-rasterized in multiple frames with the same SkPicture, your approach will still mark it as volatile, and pay some potential performance cost? Do you have a number comparison like https://github.com/flutter/flutter/issues/58870#issuecomment-690084259 ?

Yes -
baseline
    "average_frame_build_time_millis": 2.2711369294605817,
    "90th_percentile_frame_build_time_millis": 3.21,
    "99th_percentile_frame_build_time_millis": 19.642,
    "worst_frame_build_time_millis": 60.696,
    "missed_frame_build_budget_count": 18,
    "average_frame_rasterizer_time_millis": 5.746145228215772,
    "90th_percentile_frame_rasterizer_time_millis": 10.647,
    "99th_percentile_frame_rasterizer_time_millis": 26.335,
    "worst_frame_rasterizer_time_millis": 87.355,
    "missed_frame_rasterizer_budget_count": 23,
    "frame_count": 1205,
    "frame_rasterizer_count": 1205,

after
    "average_frame_build_time_millis": 2.309207407407407,
    "90th_percentile_frame_build_time_millis": 3.059,
    "99th_percentile_frame_build_time_millis": 18.608,
    "worst_frame_build_time_millis": 54.183,
    "missed_frame_build_budget_count": 17,
    "average_frame_rasterizer_time_millis": 5.269529654036252,
    "90th_percentile_frame_rasterizer_time_millis": 9.842,
    "99th_percentile_frame_rasterizer_time_millis": 24.982,
    "worst_frame_rasterizer_time_millis": 60.98,
    "missed_frame_rasterizer_budget_count": 21,
    "frame_count": 1215,
    "frame_rasterizer_count": 1214,

And it substantially reduces graphics memory usage on the rive-app/example.

Cool! I wonder if you can also add a per-frame-tracing that counts how many paths are volatile and how many paths are non-volatile in https://github.com/flutter/engine/pull/22620? I think it might be useful to better understand the behavior and debug future performance changes.

Looks like PR was merged

Was reverted, should be relanded again soon though

Had to be reverted again - the implementation caused non-deterministic screen diff test behavior. Should be fixable.


Not working with Sonoma?

I installed it but I can't see any divider in the menu bar and even when I drag an icon all the way to the left, it does not disappear or get hidden?
Am I doing something wrong?

@nynewco Same problem in Sonoma 14.4.1

@nynewco Same problem in Sonoma 14.4.1
me too

same problem. i don't see the | icon. clicking on > does nothing except launching the prefences window.

I am also experiencing this issue on macOS 14.5.

Increase your resolution. Some items get hidden behind the notch if the screen resolution is too low.
Move the separator icon over to the right somewhere
Change your resolution back

@ctruett still no separator icon in the bar when I change resolution :(
I currently use command and drag the items i dont need behind the notch, so the whole row shifts to the right. Not pretty but works for now

Hidden Bar 1.8 (12) from AppStore works for me on Mac Mini (M1) with macOS Sonoma (14.5) and external display (without notch). Hidden Bar 1.9 (13) from GitHub releases is works, too.
Both version collapses icons only when arrow icon is to the right of the separator icon (| >, not > |) .

Had the same issue, the latest macOS Sonoma 14.5 fixed it. Hidden bar started working as expected after OS update.

Unfortunately I encountered this problem as well. I'm running Sonoma 14.5. I tried logging in and out and changing my screen resolution to see more of the bar. Neither helped.

I had the same problem.  Changing the resolution and enabling "Use the full menu bar when expanding" solved the problem and enabled "Always hidden".

Same issue here with Macbook M3 Sonoma: I can see the arrow but not the vertical divider.

I am having the same issue with 14.4 and the Mac App Store version (1.8)

I was having a similar issue. The Hidden Bar ended up being invisible.
I moved the angle bracket to the far left and realized there was a space between the angle bracket and the last icon. I clicked on the space and I could move it. I then placed the angle bracket correctly and it worked.

Not sure what the issue was but it works now.

M3 using Sonoma 14.5.

+1 on this one. Sonema 14.5 M1. No "|" or "<" shown.


CI: GKE build prunes only docker images (fix filter)

We began pruning docker images older than 6 hours old. The docker system prune command also prunes volumes and networks, which isn't needed.
Furthermore, the relative-time filter was missing a negative sign.
fixes 82bb57f95475c5f4e3997f62febba3ce89d7d351

test-gke K8sDemosTest.*

Coverage decreased (-0.007%) to 44.765% when pulling 08f17c28043236711c268ed5cdc2f666bac2946b on raybejjani:ci-docker-prune-fix into 822a64e465fd4dacb149fbcd04c60f3c681b22e5 on cilium:master.


chore: Use just to update dependencies

Summary

Test Plan

Checklist

[ ] My pull request has a descriptive title.
[ ] I have read the CONTRIBUTING guide.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] If appropriate, I have added necessary documentation.
[ ] For user-facing changes, refactorings, performance improvements or documentation updates, I have added a changelog entry using Changie.

For both the title of the PR and the changelog entry, prefer simple past tense or constructions with "now". For example:

Added Client.invite_participants()
Client.user_activation_settings() now accepts a user_activation_settings keyword argument

📚 Documentation preview 📚: https://citric--1238.org.readthedocs.build/en/1238/

Docs not build

Docs not build

Fixed now: https://citric--1238.org.readthedocs.build/en/1238/contributing/update-dependencies.html


Add name property and cleanup properties

Add name property to have common API for Gen1 & Gen2
Cleanup properties
Update example to show device name

Thanks!


AGX Orin

Was wondering if there was an update for  AGX Orin ?

Hello, sorry, but I don't have that board.
If you'd like, you can start with the materials here in this repo and make some adaptation to fit the AGX Orin board :)


Escaping case-sensitive columns [DATAJDBC-407]

Pavel Kapyla opened DATAJDBC-407 and commented
If one have an entity with case-sensitive columns (e.g. on Postgres database) DML statements generated by default implementation of CrudRepository product wrong statements.
@AllArgsConstructor
static class EntityWithCaseSensitiveColumnName {
   @Id @Column("\"primaryKey\"") Long id;
   @Column("\"ValueCol\"") String name;
   @Column("\"test_@123\"") String name2;
}

INSERT INTO entity_with_case_sensitive_column_name ("ValueCol", "test_@123", "primaryKey") VALUES (:ValueCol, :test_123, :primaryKey)

But binding parameters leads to exception:
No value supplied for the SQL parameter 'ValueCol': No value registered for key 'ValueCol'

because the parameterSource uses column names (with excaping commas) as keys for parameter values.

The same problem was partly addressed in DATAJDBC-334, now columns are correctly escaped, bad parameters problem still exists.
Actually the fix (DATAJDBC-381) solves the issue but padding with "_" is not needed in this case.

I hope it's possible to fix the problem in RC3

Affects: 1.0.10 (Lovelace SR10), 1.1 RC2 (Moore)
Issue Links:

DATAJDBC-381 Using backticks in column names leads to failure during INSERT with MySQL

DATAJDBC-386 Always quote identifiers

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.

Closing due to lack of requested feedback. If you would like us to look at this issue, please provide the requested information and we will re-open the issue.


Pango markup does not work in all tooltips

I am using the suggested format for the clock module's tooltip as follows: "tooltip-format": "<big>{:%Y %B}</big>\n<tt>{calendar}</tt>". However, when using similar pango markup as follows for the mpd module, the markup is rendered as plain text instead of making the text between the tags small: "tooltip-format": "{title} ({elapsedTime:%M:%S}/{totalTime:%M:%S})\n{artist}\n{album}".

Closing in favor of #1141.


BlobNotFound when delete a azure blockedblob

Query/Question
requirement: need to delete all blobs starting with the prefix, using async client to list all blobs starting with the prefix, and then delete one by one
PagedFlux<BlobItem> blobItemPagedFlux = blobContainerAsyncClient
      .listBlobs(new ListBlobsOptions().setPrefix(blobPrefix));

    blobItemPagedFlux
      .byPage()
      .subscribe(getConsumerPerItem(), getErrorConsumer(),getCompletedConsumer());

and for getConsumerPerItem:
return listResponse -> {
      listResponse.getValue().forEach(blob -> {
        BlockBlobAsyncClient blockBlobAsyncClient = blobContainerAsyncClient
          .getBlobAsyncClient(blob.getName())
          .getBlockBlobAsyncClient();
        try {
          blockBlobAsyncClient.delete().toFuture().get(10, TimeUnit.SECONDS);
        } catch (InterruptedException | ExecutionException | TimeoutException exception) {
          LOG.error("Error deleting blob: {} ", blob.getName(), exception);
        }
      });
    };

And I see a lot of
java.util.concurrent.ExecutionException: com.azure.storage.blob.models.BlobStorageException: Status code 404, "<?xml version="1.0" encoding="utf-8"?><Error>BlobNotFound<Message>The specified blob does not exist.

but when I go to azure portal, I can see the blob(s) present, so wonder if its my code issue or there is a bug?

Hi, @yiyijin. Thank you for your question. Your code looks alright to me I think. Can you see any patterns in the blobs that are hitting 404 even though you see they exist in the portal?

@rickle-msft, Hi Rick, thanks for the prompt response, I do not see any patterns in the blobs, one thing i could think of is: there might be 2 threads all trying to clean up the blob starting with the same prefix, would that be a problem? Thanks a lot!

That's a good thought. I don't see anything in your code that would be causing multiple delete requests to be issue to the same destination, but we can test that out. Perhaps try either printing the name of the blob before you call delete and then search for any duplicate entries and/or switching to use the sync client/APIs and see if there is a difference there?

@rachel-msft, thanks, just a bit more context, so our service is using apache flink (streaming engine), which will periodically take snapshot of the state, and the state is configured to persist to azure blob storage. When the app is stopped, apache flink would clean the blob storage, however, it may not completely clean up it, so that's why I am also writing code to clean the blobs. I am thinking maybe its because both flink and my code are trying to delete the same blobs, causing the problem? Let me try a few things and get back to you, thanks a lot!

Ahh. I see. Yes, that does sound like it would cause the exceptions you are seeing. In that case, the recommended pattern is to catch and ignore the 404 exceptions

@rickle-msft  thanks a lot! I just have one more question, could concurrent deletion cause the blob actually not to be deleted, as what I see is, even though it mentioned the blobs did not exist (404), but it is still present via portal.

I don't think concurrent deletes would cause both to fail. I would expect the first would succeed and the second would fail. Are you confident that there was a delete request issued for the blobs you're seeing lingering in your container? Or is it possible that they were somehow skipped or not reached in this processing.

So I see some blobs are left over, but the size of the blob is 0

Can you confirm that a delete request was issued for this blob and that nothing else tried to create it after the delete?

@rickle-msft  thank you so much for the help! actually based on your thoughts, I identified that it could be the flink processes are not shutdown fully while the blob clean up is in progress, so that means the flink processes could be still uploading to blob storage generating new blobs. I tried to wait until the flink processes fully shutdown, then do the clean up, it seems working fine!

@yiyijin that's great! I am happy to hear things are working as desired! I think this issue has been resolved, so I am going to go ahead and close it, but feel free to create a new issue or continue asking questions here if you need further assistance.


Color variables conflict

In _setting.scss below variables are set.
// line 50 - 54
$primary-color
$secondery-color
$success-color
$warning-color
$alert-color

Also in _global.scss, these variables are reset.
...
//  line35 - 31
$foundation-palette: (
  primary: #2199e8,
  secondary: #777,
  success: #3adb76,
  warning: #ffae00,
  alert: #ec5840,
) !default;
...
// line 106 - 110
$primary-color: map-get($foundation-palette, primary);
$secondary-color: map-get($foundation-palette, secondary);
$success-color: map-get($foundation-palette, success);
$warning-color: map-get($foundation-palette, warning);
$alert-color: map-get($foundation-palette, alert);
...

And in foundation_and_overrides.scss
@import 'settings';
@import 'foundation';

foundation.scss then import _global.scss.
Therefore, the custom color values set by me in _setting.scss only work within _setting.scss. Then colors are restored to the default value, which causes inconsistence.
To solve this, at present, I have to maintain an additional $foundation-palette in _setting.scss with the same color values of those variables such as $primary-color etc.

It works this way since 6.2, please take a look at my comment for a full explanation: https://github.com/zurb/foundation-sites/issues/8281#issuecomment-190306538
I hope this helps!

Closing this.
Thanks @Deckluhm


Correction for raw affiliation Aeres University of Applied Sciences, De Drieslag 4, 8251 JZ Dronten, The Netherlands; Animal Sciences Unit, Flanders Research Institute for Agriculture, Fisheries and Food (ILVO), Scheldeweg 68, B-9090 Melle, Belgium

Correction needed for raw affiliation Aeres University of Applied Sciences, De Drieslag 4, 8251 JZ Dronten, The Netherlands; Animal Sciences Unit, Flanders Research Institute for Agriculture, Fisheries and Food (ILVO), Scheldeweg 68, B-9090 Melle, Belgium
raw_affiliation_name: Aeres University of Applied Sciences, De Drieslag 4, 8251 JZ Dronten, The Netherlands; Animal Sciences Unit, Flanders Research Institute for Agriculture, Fisheries and Food (ILVO), Scheldeweg 68, B-9090 Melle, Belgium
new_rors: 03jnx2c74;03xrhmk39
previous_rors: 015d5s513;03xrhmk39
works_examples: W2883979050
contact: be94bca49e9588a8172b9b38a0a9c934:dfc256ec267cd582ccae @ hotmail.com

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Example docker image unable to start building due to locale

Issue template

Hardware description: Ubuntu 20.04.4 VM.
RTOS: None
Installation type: Docker example
Version or commit hash: galactic

Steps to reproduce the issue

Set up Ubuntu with locale lt_LT.UTF8 . ( Mine was set up while installing and selecting Vilnius as location)
Run docker run -it --rm --user espidf --volume="/etc/timezone:/etc/timezone:ro" -v  $(pwd):/micro_ros_espidf_component -v  /dev:/dev --privileged --workdir /micro_ros_espidf_component microros/esp-idf-microros:latest /bin/bash  -c "cd examples/int32_publisher; idf.py menuconfig build flash monitor" from example. Example readme

Expected behavior

Docker image successfully pulled
example project starts building

Actual behavior

Docker image successfully pulled

Done! You can now compile ESP-IDF projects.
Go to the project directory and run:

  idf.py build

/bin/bash: line 0: cd: examples/int32_publisher: No such file or directory
Your environment is not configured to handle unicode filenames outside of ASCII range. Environment variable LC_ALL is temporary set to C.UTF-8 for unicode support.
Executing action: menuconfig
CMakeLists.txt not found in project directory /micro_ros_espidf_component

Additional information

Are you executing the docker in this repo folder? I have done:
git clone -b galactic https://github.com/micro-ROS/micro_ros_espidf_component
cd micro_ros_espidf_component
docker run -it --rm --user espidf --volume="/etc/timezone:/etc/timezone:ro" -v $(pwd):/micro_ros_espidf_component -v /dev:/dev --privileged --workdir /micro_ros_espidf_component microros/esp-idf-microros:latest /bin/bash -c "cd examples/int32_publisher; idf.py menuconfig build flash monitor"

Check here: https://asciinema.org/a/OtfGLGfELIMzhpaVUmuGANYMu (the final error is bc I had no ESP32 connected)

Yes, that seem to be the case that i was not running it from repo folder. I also tried using the same snipped in Windows
micro_ros_espidf_component>docker run -it --rm --user espidf --volume="/etc/timezone:/etc/timezone:ro" -v $(pwd):/micro_ros_espidf_component -v /dev:/dev --privileged --workdir /micro_ros_espidf_component microros/esp-idf-microros:latest /bin/bash -c "cd examples/int32_publisher; idf.py menuconfig build flash monitor" docker: Error response from daemon: create $(pwd): "$(pwd)" includes invalid characters for a local volume name, only "[a-zA-Z0-9][a-zA-Z0-9_.-]" are allowed. If you intended to pass a host directory, use absolute path. See 'docker run --help'.
Is this not compatible with windows?

Not tested in windows. Is this solved for the original question?

Yes, it did. Thank you!


Add snippet for impacts on parquet file of data type and compression algorithm

Not 100% sure this leads used to the point we want to demonstrate.
Could you have a look at it ?

Thanks for the changes!


indicate whether testimony submitted before/after hearing

Indicate whether testimony was submitted before or after hearing. Shown on a bill page/testimony detail in the testimony card. It indicates whether testimony was submitted before or after 1st substantive committee hearing

Closing. duplicate of https://app.zenhub.com/workspaces/design-and-development-629389aa02e9d200139c90b8/issues/gh/codeforboston/maple/614


Add interactive mode

Refactors the main pipeline and adds interactive mode (like the interactive mode in  FB's codemod)

Closes #91


net: ip: Add missing include guards

Adds include guards to header files where it was missing

The conflict seems to be between mbedtls, psa and shell in downstream ncs:
In file included from ../../../../../zephyr/subsys/net/lib/shell/common.h:26,
                 from ../../../../../nrf/subsys/nrf_security/include/psa/crypto_driver_contexts_composites.h:28,
                 from ../../../../../nrf/ext/oberon/psa/core/include/psa/crypto_struct.h:127,
                 from ../../../../../nrf/ext/oberon/psa/core/include/psa/crypto.h:4058,
                 from ../../../../../nrf/ext/oberon/psa/core/include/mbedtls/legacy_or_psa.h:104,
                 from ../../../../../modules/crypto/mbedtls/include/mbedtls/x509_crt.h:27,
                 from ../../../../../modules/crypto/mbedtls/include/mbedtls/ssl.h:35,
                 from ../../../../../modules/crypto/mbedtls/include/mbedtls/net_sockets.h:44,
                 from ../../../../../zephyr/subsys/net/lib/sockets/sockets_tls.c:46:
../../../../../zephyr/subsys/net/ip/net_private.h:30:7: error: redefinition of 'union net_mgmt_events'
   30 | union net_mgmt_events {
      |       ^~~~~~~~~~~~~~~
In file included from ../../../../../zephyr/subsys/net/lib/shell/common.h:26,
                 from ../../../../../nrf/subsys/nrf_security/include/psa/crypto_driver_contexts_primitives.h:27,
                 from ../../../../../nrf/ext/oberon/psa/core/include/psa/crypto_struct.h:79:
../../../../../zephyr/subsys/net/ip/net_private.h:30:7: note: originally defined here
   30 | union net_mgmt_events {
      |       ^~~~~~~~~~~~~~~

Whilst the file should only be included once, I see no harm in having an include guard for these

subsys/net/lib/shell/common.h

The actual error is there, the header file should not include this network private header file.

subsys/net/lib/shell/common.h

I can provide a fix for this.

subsys/net/lib/shell/common.h

The actual error is there, the header file should not include this network private header file.

With it removed from this file, there are many, many warnings emitted, e.g.:
/tmp/aa/zephyr/subsys/net/lib/shell/tcp.c:83:28: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=]
   83 |                         PR("Connecting from [%s]:%u ",
      |                            ^~~~~~~~~~~~~~~~~~~~~~~~~~
   84 |                            net_sprint_ipv6_addr(&net_sin6(myaddr)->sin6_addr),
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                            |
      |                            int
/tmp/aa/zephyr/subsys/net/lib/shell/common.h:12:41: note: in definition of macro 'PR'
   12 |         shell_fprintf(sh, SHELL_NORMAL, fmt, ##__VA_ARGS__)
      |                                         ^~~
/tmp/aa/zephyr/subsys/net/lib/shell/tcp.c:83:47: note: format string is defined here
   83 |                         PR("Connecting from [%s]:%u ",
      |                                              ~^
      |                                               |
      |                                               char *
      |                                              %d
/tmp/aa/zephyr/subsys/net/lib/shell/tcp.c:86:28: warning: format '%s' expects argument of type 'char *', but argument 4 has type 'int' [-Wformat=]
   86 |                         PR("to [%s]:%u\n",
      |                            ^~~~~~~~~~~~~~
   87 |                            net_sprint_ipv6_addr(&net_sin6(addr)->sin6_addr),
      |                            ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      |                            |
      |                            int
/tmp/aa/zephyr/subsys/net/lib/shell/common.h:12:41: note: in definition of macro 'PR'
   12 |         shell_fprintf(sh, SHELL_NORMAL, fmt, ##__VA_ARGS__)
      |                                         ^~~
/tmp/aa/zephyr/subsys/net/lib/shell/tcp.c:86:34: note: format string is defined here
   86 |                         PR("to [%s]:%u\n",
      |                                 ~^
      |                                  |
      |                                  char *
      |                                 %d

from ../../../../../nrf/subsys/nrf_security/include/psa/crypto_driver_contexts_composites.h

There seems to be an error here. Why the network shell "common.h" is tried to include by this crypto header.

from ../../../../../nrf/subsys/nrf_security/include/psa/crypto_driver_contexts_composites.h

There seems to be an error here. Why the network shell "common.h" is tried to include by this crypto header.

Right you are. @joerchan one for you, subsys/nrf_security/include/psa/crypto_driver_contexts_composites.h has:
#include "common.h"

#include "psa/crypto_driver_common.h"

There is no common.h in this folder, so the include path one is used, needs the file adding to the same folder or renamed to something that's not generic.

I renamed the net-shell common.h to be more unique in order to avoid possible naming conflicts. #66496

from ../../../../../nrf/subsys/nrf_security/include/psa/crypto_driver_contexts_composites.h

There seems to be an error here. Why the network shell "common.h" is tried to include by this crypto header.

Right you are. @joerchan one for you, subsys/nrf_security/include/psa/crypto_driver_contexts_composites.h has:
#include "common.h"

#include "psa/crypto_driver_common.h"

There is no common.h in this folder, so the include path one is used, needs the file adding to the same folder or renamed to something that's not generic.

@nordicjm That file is in NCS. Nothing to do for this project.

from ../../../../../nrf/subsys/nrf_security/include/psa/crypto_driver_contexts_composites.h

There seems to be an error here. Why the network shell "common.h" is tried to include by this crypto header.

Right you are. @joerchan one for you, subsys/nrf_security/include/psa/crypto_driver_contexts_composites.h has:
#include "common.h"

#include "psa/crypto_driver_common.h"

There is no common.h in this folder, so the include path one is used, needs the file adding to the same folder or renamed to something that's not generic.

Yeeeeah. That common.h file is in mbedtls. So that is not an easy fix there.

Yeeeeah. That common.h file is in mbedtls. So that is not an easy fix there.

What about having the base path as the include so that you then have to have library/config.h? It's not great but at least it will prevent problems with other libraries and user code

Yeeeeah. That common.h file is in mbedtls. So that is not an easy fix there.

What about having the base path as the include so that you then have to have library/config.h? It's not great but at least it will prevent problems with other libraries and user code

@nordicjm The files that use this header are built as part of the mbedtls library. All of the sources and headers have this include path. I'm not against fixing this issue, but I think to avoid any issues it needs to be done starting in mbedtls.
Example:
https://github.com/Mbed-TLS/mbedtls/blob/development/library/aes.c#L14


Change badges from django-idom to reactpy-django

Description
Change badges from django-idom to reactpy-django
Checklist:
Please update this checklist as you complete each item:

[x] Tests have been included for all bug fixes or added functionality.
[x] The changelog has been updated with any significant changes, if necessary.
[x] GitHub Issues which may be closed by this PR have been linked.

@rmorshea Can you delete the<EMAIL_ADDRESS>from PyPi? I'm not a pypi maintainer so I can't fix it.