Create a demo tenant

Create a tenant for the purposes of giving partners demo access.
Name of the tenant should be DEMO

@mattbroussard it works seamlessly in _staging, but fails in prod (couldn't figure out how to copy out of the Render shell, sorry):

On mobile atm but running migrations on prod will fix this

migration run and tenant created via this script. Will start a new issue tracking moving all non-USDR users to the demo tenant.

See #356


Revert "Add Sidebar Color Updates"

Reverts morpheusthewhite/spicetify-themes#261
I will push a clean fix

Ok done


Multiconfiguration Job Support - Extends "features mixins"

Multiconfiguration Jobs included in a Build Monitor View may be configured to show a widget for each build configuration

Generic support for representing a single Job with multiple JobView instances
Configurable
Unit Tested
Acceptance Tested

Do not merge yet. Troubleshooting NoClassDefFoundError when comparing the job type to MatrixProject.
Caused by: java.lang.NoClassDefFoundError: hudson/matrix/MatrixProject
	at com.smartcodeltd.jenkinsci.plugins.buildmonitor.viewmodel.JobViews.viewsOf(JobViews.java:51)

Added optional plugin dependency to resolve this problem.

Hey @jan-molak, we tried to follow the guidance from #62. Effectively, this PR extends "feature mixins" to allow a single job to present multiple JobView instances.
However, I am skeptical this is the right direction to take things. There are a few different directions we could take things.

Do you want support for multiple JobView instances for a single Job? We could perhaps clean things up some with a new WidgetView abstraction.
I believe a more natural approach is to extend ListView, override getItems, and BuildMonitorView could extend this new class.
Is it possible to override an extension point on ListView via a new plugin, such that MatrixConfiguration implements TopLevelItem? (I'm a relative beginner to Jenkins plugin dev)

What are your immediate thoughts on this PR?

Hey @NeverOddOrEven, @mwitcraft !
Multi-configuration projects, as well as support for folders and any other concept of grouping, is something that's been requested for quite some time. Regretfully, I didn't get a chance to commit enough time to solve this problem yet, but I'd be happy to help you out with direction.
To answer your questions:

I agree that representing a group of Jenkins jobs as a single job doesn't feel right. We could introduce a new abstraction, such as WidgetView (or Widget) and perhaps have different types of widgets? Folder widget, pipeline widget, matrix build widget, etc. come to mind... A "single job widget" could be a good place to start perhaps?
Yes, that could be an option. How do you propose the new getItems should behave?
My knowledge in this area is somewhat limited, I'm afraid. Jenkins documentation lists Matrix Project Plugin on the list of extension points, so I'd probably start my investigation there

The problem:

ListView only renders TopLevelItem instances
MatrixConfiguration is not a TopLevelItem (all build history and configuration owned by MatrixProject)
ListView relies on private state (e.g. cannot override getItems() as I suggested above)

The most robust approach:

Publish a new plugin "Generalized List View" that implements 'GeneralListView' which is basically a ListView with built in support for grouping. New selection predicate is not based on "TopLevelItem". This will likely require a refresh of the configuration UX.
Add optional dependency to the new plugin, which maintains backwards compatibility. BuildViewMonitor is a ListView if it is not installed. BuildViewMonitor is a GeneralListView if the plugin is installed.
Add support to the view layer to take advantage of the richer group metadata
Celebrate separation of concerns and clearly defined abstractions


adding @TinkerSec's disclosed password: https://twitter.com/TinkerSe…

No explanation required. :)

Nice!


fixed icons size

What does this PR do?
The size of the icons was so small. So in this PR, the icon's size is fixed.

For the example
Before :

After :

Hi @TorstenDittmann , please review the PR.

Hi @TorstenDittmann, now you can review the PR


Designer fails to render on first

I have an axaml file with some images linked as <Image Stretch="Uniform" Height="25" Width="25" Source="Resources/calendar.png" Margin="5"/>. The images are marked as AvaloniaResource and everything builds and starts just fine (the images are visible once the program is started). But the designer won't render and the Error List shows "The resource [image source] could not be found" (it's always for the first image source).
Any suggestions? Or is this just a bug?

Looks like a bug, a minimal repro would help.

Sure, here you go (let me know if you need more info)

I created a new Avalonia project & solution
Right-clicked on the projected and added an existing item and chose a .png on my computer (had to change the file explorer filter to "All Items")
Changed the Build Action for the .png to "AvaloniaResource"
Changed MainWindow.axaml to this:

<Window xmlns="https://github.com/avaloniaui"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
        x:Class="AvaloniaImageIssue.MainWindow"
        Title="AvaloniaImageIssue">
  <Image Source="settings.png"/>
</Window>

The Error List shows "The resource settings.png could not be found" and the designer does not render (briefly it shows the text "Invalid markup" then is replaced by a tiny white square in the middle). Everything builds and runs just fine with my image showing in the running application

Note that this also seems to fail for the Window.Icon property

I get the same behaviour, still a bug?


Limit the CI concurrency to allow one running CI per PR

Signed-off-by: Zheao.Li<EMAIL_ADDRESS>

Could you explain more?

Please take a look at it here. If people get N'times committed in a single PR. The whole CI process will be triggered N'times. So in my PR, the config limit a single running process for one PR(That means the GitHub workflow will cancel the previous CI process in the same PR automatically)

limit a single running process for one PR

Do we really need this? Are there any cases where this behaviour is problematic as of now? (e.g. are there something like rate limitations?)


configure cilium helm chart values

Description

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
[ ] Small minor change not affecting the Ansible Role code (GitHub Actions Workflow, Documentation etc.)

How Has This Been Tested?

This is actually fixed in https://github.com/lablabs/ansible-role-rke2/pull/265 without introducing new functionality. It's just that the existing j2 templated manifest copying is currently broken because it doesn't set the file name correctly.

Hi @ntheanh201 you can use rke2_custom_manifests for this purpose. There was already an issue with the same request https://github.com/lablabs/ansible-role-rke2/issues/236


Updating governance to point to Oversight Committee members

Surfacing current list of oversight committee members as a community member wasn't able to easily find current membership.

/rebase


Add Manage Server Role modal

SCRD-1607 Added Manage Server Role modal to the Cloud Model Summary page. The modal contains 3 tabs: Server Roles, Disk Models, Interface Models. Users can use this modal to add, edit, and remove server roles.
Also fixed a lint complaint in PlaybookProcess.js.

Closing this PR so that we do not have to keep looking past it. The branch is still being retained, so we can open a new PR with this same code if we want to move forward with it.

The code that was in this branch, which was a single commit, has been attached as a patch file to the jira item (https://jira.prv.suse.net/browse/SCRD-1607), and the branch has been removed. That patch will be a good starting point should this change be worked on again.


Can't sign if PIN is required per action

If a PIN is required per action like on the Digital Signature slot on a Yubikey [https://developers.yubico.com/PIV/Introduction/Certificate_slots.html](yubikey PIV slots)
sign will throw a UserNotLoggedIn exception.
with token.open(rw=True,user_pin='<PIN>') as ses:
    private = ses.get_key(label='SIGN key')
    sig = private.sign('<data>') `

throws
Traceback (most recent call last):
  File "./script.py", line 21, in <module>
    sig = private.sign('<data>')
  File "/usr/lib/python3.8/site-packages/pkcs11/types.py", line 936, in sign
    return self._sign(data, **kwargs)
  File "pkcs11/_pkcs11.pyx", line 900, in pkcs11._pkcs11.SignMixin._sign
  File "pkcs11/_pkcs11.pyx", line 910, in pkcs11._pkcs11.SignMixin._sign
  File "pkcs11/_errors.pyx", line 88, in pkcs11._pkcs11.assertRV
pkcs11.exceptions.UserNotLoggedIn

signing using this key and mechanism works when using the pkcs11-tool

Yeah, I'm familiar with this particular spec requirement, although I'm not sure how to handle it in this type of setup. Do we hold the pin in memory? Do we add a new API that users can use to submit a pin when required? I'm happy to accept a pull request to implement something here.

I don't like the idea of holding the PIN in memory. This should be handled in the program using this interface. Either add an optional pin argument to the function (and the others) or a callback that is invoked on pin requirement. The callback makes the fact that a PIN was used for this action more obvious.

I think a callback API is probably outside the scope of this API, because I'm not sure we can rely on the return code from the PKCS#11 implementor. Also it creates weirdness for different async models. Probably the easiest option is to have a new API that let's you send login detail whenever you desire and to implement the callback/exception handling on the app-side in whatever your async loop is.


Select a Language for a new file does not work

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.91.0 (portable)
OS Version: W10 x64 22H2 19045.4529

Steps to Reproduce:

File > New Text File
click the "Select a language" blue text link - nothing happens

/duplicate and fixed in upcoming 1.91.1

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


There were some problems when I opened your project in Unity3D

When I opened your project in Unity3D, some error happened:

emmm   The picture may can't be seen. The error infomation is there:
IOException: Win32 IO returned 234. Path<EMAIL_ADDRESS>System.IO.FileStream.get_Length () (at :0)
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at :0)
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) (at :0)
(wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) (at :0)
System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) (at :0)
System.IO.StreamReader..ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) (at :0)
System.IO.StreamReader..ctor (System.String path) (at :0)
(wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string)
System.IO.File.ReadAllText (System.String path) (at :0)
UnityEditor.Scripting.ScriptCompilation.EditorCompilation.LoadCustomScriptAssemblyFromJson (System.String path) (at D:/unity/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:463)
UnityEditor.Scripting.ScriptCompilation.EditorCompilation.SetAllCustomScriptAssemblyJsons (System.String[] paths) (at D:/unity/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:681)
UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:SetAllCustomScriptAssemblyJsons(String[])

Which unity version are you using?
Can you try the version that I used in the repo? If it works then we know
it's a version problem.
On Sat, Apr 4, 2020, 11:54 HUSTlwr<EMAIL_ADDRESS>wrote:

emmm The picture may can't be seen. The error infomation is there:
IOException: Win32 IO returned 234. Path:
<EMAIL_ADDRESS>\Tests\Editor\Unity.Analytics.StandardEvents\Unity.Analytics.StandardEvents.EditorTests.asmdef
System.IO.FileStream.get_Length () (at :0)
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode,
System.IO.FileAccess access, System.IO.FileShare share, System.Int32
bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at :0)
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode,
System.IO.FileAccess access, System.IO.FileShare share, System.Int32
bufferSize, System.IO.FileOptions options, System.String msgPath,
System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean
checkHost) (at :0)
(wrapper remoting-invoke-with-check)
System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool)
System.IO.StreamReader..ctor (System.String path, System.Text.Encoding
encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32
bufferSize, System.Boolean checkHost) (at :0)
System.IO.StreamReader..ctor (System.String path, System.Text.Encoding
encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32
bufferSize) (at :0)
System.IO.StreamReader..ctor (System.String path, System.Boolean
detectEncodingFromByteOrderMarks) (at :0)
System.IO.StreamReader..ctor (System.String path) (at :0)
(wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string)
System.IO.File.ReadAllText (System.String path) (at :0)
UnityEditor.Scripting.ScriptCompilation.EditorCompilation.LoadCustomScriptAssemblyFromJson
(System.String path) (at
D:/unity/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:463)
UnityEditor.Scripting.ScriptCompilation.EditorCompilation.SetAllCustomScriptAssemblyJsons
(System.String[] paths) (at
D:/unity/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:681)
UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:SetAllCustomScriptAssemblyJsons(String[])
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/off99555/Unity3D-Python-Communication/issues/5#issuecomment-608974036,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADUCY5ETCHLCQIIF4LYDRG3RK24RRANCNFSM4L5FWAWA
.

Which unity version are you using? Can you try the version that I used in the repo? If it works then we know it's a version problem.
…
On Sat, Apr 4, 2020, 11:54 HUSTlwr @.> wrote: emmm The picture may can't be seen. The error infomation is there: IOException: Win32 IO returned 234. Path: @. \Tests\Editor\Unity.Analytics.StandardEvents\Unity.Analytics.StandardEvents.EditorTests.asmdef System.IO.FileStream.get_Length () (at :0) System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at :0) System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.IO.FileOptions options, System.String msgPath, System.Boolean bFromProxy, System.Boolean useLongPath, System.Boolean checkHost) (at :0) (wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,System.IO.FileOptions,string,bool,bool,bool) System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize, System.Boolean checkHost) (at :0) System.IO.StreamReader..ctor (System.String path, System.Text.Encoding encoding, System.Boolean detectEncodingFromByteOrderMarks, System.Int32 bufferSize) (at :0) System.IO.StreamReader..ctor (System.String path, System.Boolean detectEncodingFromByteOrderMarks) (at :0) System.IO.StreamReader..ctor (System.String path) (at :0) (wrapper remoting-invoke-with-check) System.IO.StreamReader..ctor(string) System.IO.File.ReadAllText (System.String path) (at :0) UnityEditor.Scripting.ScriptCompilation.EditorCompilation.LoadCustomScriptAssemblyFromJson (System.String path) (at D:/unity/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:463) UnityEditor.Scripting.ScriptCompilation.EditorCompilation.SetAllCustomScriptAssemblyJsons (System.String[] paths) (at D:/unity/Editor/Mono/Scripting/ScriptCompilation/EditorCompilation.cs:681) UnityEditor.Scripting.ScriptCompilation.EditorCompilationInterface:SetAllCustomScriptAssemblyJsons(String[]) — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#5 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ADUCY5ETCHLCQIIF4LYDRG3RK24RRANCNFSM4L5FWAWA .

Sorry, I forgot to tell you the my verison of Unity.  The version is Unity 2018.3.11f1 (64-bit) and I will try your version.

I found your version is older than mine. Is there any way else I can use your project normally except to change my unity version. Thanks.

First, I want you to confirm the problem. Try launching it in the old version and see if it works.  If it works then we are completely sure it's the version problem.
If it does not work I'm not sure how to fix it.


[router][controller][server] Cleanups to partition/replica state

Various parts of the code dealt with status in the form of strings, and those strings corresponded to values of the ExecutionStatus or HelixState enums. Worse, in some cases, a string could represent either of these enums. This commit fixes this by using strong types instead.

Partition is the most significantly refactored class, leading to the elimination of the string-keyed map of states to host list. The old constructor that takes in a string-keyed map is still there but only used by tests and marked deprecated. All main code paths now construct instances via a new more efficient constructor that takes in EnumMaps directly.

ReplicaState now carries just an ExecutionStatus rather than both states, each in a separate string. Also removed the isReadyToServe field, since it could be inferred from the venicePushStatus instead.

PartitionStatus removes some redundant map lookups.

ReplicaStatus now avoids processing statusHistory in code paths that don't need it.

HelixExternalViewRepository::getReplicaStates now throws an exception. It was never used in the previous code, and carried lingering uses of code paths that are now cleaned up.

HelixCustomizedViewOfflinePushRepository::onCustomizedViewDataChange has a few efficiency improvements related to Partition states and also reduces logging volume in cases instances were found in the CV, but missing from Live Instances. This is now going to be printed once per ZK watch invocation, with all relevant hostnames included, rather than once per missing replica.

Deleted RoutingDataRepository::refreshRoutingDataForResource and all implementations.

How was this PR tested?
GHCI
Does this PR introduce any user-facing changes?

[x] No. You can skip the rest of this section.
[ ] Yes. Make sure to explain your proposed changes and call out the behavior change.

Thanks for the cleanup. I took a pass and left some comments. Also, it looks like HelixState.java has some xxxx_STATE which can all be replaced by enum.name()?

This is not possible... the annotations require a fully static constant, which apparently does not allow calling this function...

I have rebased and pushed one more commit, which removes the unnecessary log @sixpluszero pointed out, as well as some dead code I found. I also rewrote the commit message to include all details from the various iterations. Thanks for the reviews!

LGTM thanks!

Thanks for the review!


Naming Consistency

The other Event nodes in Warudo, including the Websocket ones, are named New X. The node provided by this plug-in is named OSC Input, and should probably be On OSC Message or On OSC Data.

Fixed in the node rework in v0.2.0.


showing shadow behind text in PowerToys Run

Microsoft PowerToys version
0.62.1
Running as admin

[x] Yes

Area(s) with issue?

PowerToys Run

Steps to reproduce

Enter more than limit (45 Characters)in PowerToys Run's searchBar

❌ Actual Behavior

/dup #13554


scrcpy weird scaling, itstarts in 640x480 landscape?

scrcpy-server.jar: 1 file pushed. 2.1 MB/s (19342 bytes in 0.009s)
INFO: Initial texture: 640x480
disable auto rotation
adb shell settings put system accelerometer_rotation 0
use custom rotation (0=portrait, 1=landscape)
adb shell settings put system user_rotation 1
playing around with these commands I was able to get it to go into portrait mode for a second when opening the Contacts app but it immediately goes landscape and contacts "unfortunately Contacts has closed" also tried to use the --crop with 1920:1080 settings but option was not recognised. Doing Ctrl + G does nothing but Ctrl + F does go fullscreen.
Runing on windows 10 and using Android 5 i've tried the latest version of scrcpy and 1.2 both same results.
Sorry if info is a bit non technical but if there is anything else i could provide that could help to solve this do let me know.
P.S Despite this issue i am having I know a lot of people love this tool so well done and keep up !!!

Just to be sure I understand correctly, could you provide a screenshot of scrcpy when it starts?
The window is 640×480, but the actual content of the screen is portrait (and rotated 90°)?

@Saurey ?


Handle errors spanning multiple tokens

This PR resolves #144 by creating a new function that checks whether each token is within the range of an error (e.character to e.character + e.length). Checking the range produces the correct results (T[Key] is highlighted as an error):

This function replaces findTokenFunc only when handling errors (lsp responses + queries still use findTokenFunc).
I also added isTokenWithinErrorRangeDebug which is similar to findTokenFuncDebug for any future debugging needs.

The accurateErrors fixture from remark-shiki-twoslash is failing, but I'm not entirely sure why. After removing all the noise, here's the diff:
- <data-lsp lsp='const todo: Readonly<Todo>' >todo</data-lsp>.<data-err><data-lsp lsp='(property) title: any' >title</data-lsp></data-err>
+ <data-lsp lsp='const todo: Readonly<Todo>' >todo</data-lsp>.<data-lsp lsp='(property) title: any' >title</data-lsp>

It shows that it's not rendering title in todo.title = 'Hello' as an error, but if I run this locally using these same changes (using remark-shiki-twoslash), title is highlighted just fine:

Any ideas?

Oof, not sure when I'll find time to dig into this properly - this section of code is super gnarly and not an area I fully grok anymore


The Snippets configuration can't sync

🐛 Describe the bug
I worked between Linux and Windows, when I using the Sync Setting, most configuration of VS-code can work very well, but I found that the Snippets can't sync between Linux and Windows.
I write personal snippets of c.json and cpp.json, and I found it already sync the configuration on Gist. Then I download the configuration on Linux System, the Linux VS-code can't replace the file in correct folders. Like the pic:

🌴** Linux Visual Studio Code Version: ** [Version: 1.37.0-insider
Commit: 0bd57ac9efae79f9eb1aedc3818ebbb570b9bf6b
Date: 2019-08-02T21:21:57.165Z
Electron: 4.2.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 4.15.0-29deepin-generic]
🌴 Windows Visual Studio Code Version : [ Version: 1.37.0-insider (user setup)
Commit: 4a03f7e7eff2560d2e53c029321870514d19a2aa
Date: 2019-08-05T09:34:10.366Z
Electron: 4.2.7
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Windows_NT x64 10.0.17134 ]
🌴 Code Settings Sync Version : [ 3.4.1 ]
🌴 Standard or Insiders : [ Insiders]
🌴 Portable or Installed : [ Installed]
🌴 OSS or Official Build : [ Offical Build]
🌴 Operating System : [ Windows and Linux]
🌴 Occurs On: [Upload and Download  ]
🌴 Proxy Enabled: [ No ]
🌴 Gist Id: [ 14ef3d36b4aba6674fd5e71a20401cc4]
📰 To Reproduce
Steps to reproduce the behavior:

Go to Windows System do some changes on global snippets, like c.json
Click on upload
Download the configuration on Linux System
The snippets can't work. See error

💪 Expected behavior
Fix issues
📺 Console Error Log
No Error log
📺  Additional context

I'm experiencing this issue as well.
Could be related to: https://github.com/shanalikhan/code-settings-sync/issues/988

I have same issue too

Yes. It will be fixed in next version.
Thanks for informing.

same issue with my windows and macOs sync

v3.4.3 Released. Let me know if there is any problem :)


fix systemd template w.r.t. extra_parameters

The <%= @image %> tag should come immediately before the <%= @command %> otherwise docker will interpret any extra_parameters as the command argument and fail. The existing /etc/init.d/docker-run.erb template does this correctly. This fix makes both init.d and systemd templates consistent.

@jtriley thanks, much appreciated.


[Rector] Apply Full PHP 7.3 Rector set list

This try apply full PHP 7.3 Rector set list.
Checklist:

[x] Securely signed commits

closing for now as possibly break existing functionality.


query "protein deglycation, methylglyoxal removal"

isn't this
GO:0036530
protein deglycation, methylglyoxal removal
rally the same as this?
GO:0019243
Name	methylglyoxal catabolic process to D-lactate via S-lactoyl-glutathione
(I.e isn't the protein here just an intermediate in the catabolic process?)

Based on a ticket just opened, not all deglycation is protein specific, so I don't think we should merge these. See #13827
guanine deglycation
The removal of a sugar or dicarbonyl from a glycated guanine.

However, now in looking at a couple of references for deglycation of proteins, these name of terms above might be confusing (at least I am confused).
see
http://www.sciencedirect.com/science/article/pii/S0003986103004247
Protein deglycation: not via  D-lactate via S-lactoyl-glutathione
"Two types of enzymes, fructosyl lysine oxidase and fructose lysine 3-phosphokinase, catalyze the deglycation reaction and generate free amine groups."

I added glycation terms per #13827;


Every x minutes scheduling problem

I schedule a task to run every 40 minutes:
{
      type: 'text',
      cron: 'every 40 minutes',
      exec: 'backup'
}

And it ran at:
August 5th 2015, 20:00:00.000		Starting job
August 5th 2015, 19:40:00.000		Starting job
August 5th 2015, 19:00:00.000		Starting job
August 5th 2015, 18:40:00.000		Starting job

18:40 and 19:00 is only 20 minutes apart?

we use later.setInterval(job, later.parse('every 40 minutes')) to schedule the jobs

This is a common misunderstanding with Later. Later is for defining deterministic schedules only, that is, schedules that produce the same valid occurrences no matter when the schedule is executed or what start date is used. A schedule such as every 40 minutes starting from x is not deterministic because the results will change depending on what x is used.
Instead, when you request a schedule that occurs every 40 minutes you are telling Later that minutes 0 and minutes 40 should be considered valid. And this is the result that was returned. You can do console.log(later.parse.text('every 40 minutes') to view the set of constraints that Later will use to find valid schedules.

so what should I do if I want to run it every 40 minutes?

If you really just need every 40 minutes, then you probably don't need to use Laterjs.  You should just use Cron directly.


Upgrade react-photo-album and change code to support v3

What does this change?
As per https://github.com/wellcomecollection/wellcomecollection.org/pull/11294
Moving to v3 broke a few things https://github.com/igordanchenko/react-photo-album/releases/tag/v3.0.0 so I aimed to figure out how to not change anything UI facing whilst going with what is now offered by the library.
How to test

Run locally
go to http://localhost:3000/search/images and http://localhost:3000/concepts/fmydsuw2, do they look the same as in prod? On all screen sizes?
Try to resize, does it looks good?

How can we measure success?
Up to date packages and seemingly lighter version of it.
Have we considered potential risks?
If well tested, low risk

Tests seem to fail because the provided stylesheet can't be loaded properly.

why
why does it make pages that don't use that component fail as well?

I'm not sure I'm a fan of the stylesheet, especially as it seems to load on every page. Tempted to stay on v2 of the package, or maybe download the stylesheet and re-add it as styles of our own?

Ticket created to explore other avenues. In the meantime, we'll stick to v2 as discussed.


feat: set functions and tests

This is funny: when doing [err=f"Expected ragged type but got {type(x)}", raise TypeError(err)] in specified lines, mypy says it's an unreachable statement. When I switch this back to [raise TypeError(f"Expected ragged type but got {type(x)}")] ruff says exception must be assigned to variable first...


test(visual-regression): implement post-setup action

LGTM, are there maybe more existing tests which could use it?

Just a few of them, the ones that really needs it are still in progress 😅


ARROW-94: [Format] Expand list example to clarify null vs empty list

WIP to make sure what I've done so far looks good.  Per discussion on the JIRA item I started conversion of examples images to "text diagrams", but I wanted to get feedback to see if this is actually desirable (and if the way I'm approaching it is desirable).  The remaining diagrams are for unions which I can convert if the existing changes look OK to others (although I think the Union diagrams are are pretty reasonable/compact).
This change also includes some other minor cleanup, as well as including a statement about endianness per the discussion on the mailing list.
Rendered markdown can be seen at: https://github.com/emkornfield/arrow/blob/emk_doc_fixes_PR3/format/Layout.md

This looks great to me -- I think using text diagrams going forward will be more sustainable and clear to external readers, though hopefully we are close to finalizing some of the lingering format details!

Do you want to also delete the existing graphical diagrams as part of this patch?

Might as well just pushed another commit.

+1. Merging this. If there is something causing lingering controversy from this patch I encourage everyone to continue discussion on the mailing list so we can make further decisions there where relevant.


Review Async/Await

Puppeteer relies on using async/await & promises. Here are some guides that I used to help me understand.

https://javascript.info/async-await
https://codeburst.io/javascript-es-2017-learn-async-await-by-example-48acc58bad65

Since this is a shared issue, once you're done you can comment "done" and the last person can close the issue.

Done


SPA rules engine route

I am trying to serve a SPA over front door. So in the rules engine i am trying to route any request that does not have an file extension to go to my index.html page.  So i have a rule

and this works for the root  www.mydomain.com/ but for any path it does not seem to work www.mydomain.com/test
How can i accomplish this?

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

ID: 60119f51-51f3-223f-58d0-38578fbbcc6d
Version Independent ID: 0e633d67-bf20-036f-a59d-10fc538b751b
Content: Azure Front Door
Content Source: articles/frontdoor/front-door-rules-engine-match-conditions.md
Service: frontdoor
GitHub Login: @megan-beatty
Microsoft Alias: mebeatty

I have also tried

But then neither the root www.mydomain.com/ or a path www.mydomain.com/test work

It would be very helpful to have a way to test these before needing to submit and wait to propagate

@arsnyder16 I would redirect anything that does not have specified extensions to your index page. For Example, if your page serves images and word documents, you can say If extension Does not equal .jpg & .docx, redirect to index.
If you would like us to add a way to test out the rules before you create them, please leave your feedback here at Azure Networking's feedback.azure.com page.

@TravisCragg-MSFT Can you give me more information on why these two conditions do not work?  Its not a simple as a couple extensions that i need to exclude. Its a living website that changes constantly, my initial approach is much more maintainable. Would you agree?
I have also tried.
Request Path does no contain . no luck.
Request file name not any no luck.

@aramesh-msft Thank you that makes a lot of sense based on the behavior, unfortunately i attempted to append a fragment which would allow this to work but the character is not allowed  /index.html#   so that it would be forwarded to www.mydomain.com/index.html#/test.
Do you have an suggestions on getting this to work?, this seems like a fairly common use case with SPA. I am also not able to use @TravisCragg-MSFT suggestion because i can't do a redirect or else i will lose my routing

@arsnyder16 That's very good feedback for supporting SPA. Since we have this limitation and there isn't really a good workaround, for now, I can suggest you taking a look at CDN url rewrite action that has option to not preserve unmatched path.
https://docs.microsoft.com/en-us/azure/cdn/cdn-standard-rules-engine-actions#url-rewrite

Struggling with exactly same problem and wondering why you wouldn't add more flexibility into rule engine to make SPA scenarios possible?
What does 'Not Any' exactly mean? What's the purpose that this condition?
Could you add a condition to match empty extension (no extension)?
Even support for regular expressions could solve the problem.

Same issue here, trying to replicate this workaround using frontdoor instead of CDN but so far no luck. Any suggestions for a workaround or an ETA of when this will be supported?

I'm letting it fail to 404 and using the index.html as the error page configured in the static web site...

It's awful, It works but the answer is 404.
I want this feature! it's been at least a year!

#reassign: gunjanj

@gunjanj
Just to add more information surrounding this since i have been working around this for over a year.
One of main thing missing from the front door rules engine that the cdn rules engine has is the "Preserve unmatched path" option.  Front door always assumed "Yes"
Here are some simple rules i use in cdn. Basically redirect all paths to /client container in blob. If there is no file extension then just serve the index.html page.

Since front door has no option of "Preserve unmatched path" then any route that has no file extension for example  my.app.com/some/specific/path  Will end up forwarding to the back end as something like  /client/index.html/some/specific/path  obviously this can be resolved by putting every possible path of your client app into the rules engine, but that is just not a scalable solution.

I set up a redirect rule in frontdoor as suggested by Microsoft (see screenshot) that seems to do the trick (no more 404 error) BUT when users try to access a deep link page (typing the url / clicking a bookmark / refreshing the page once the user is already in a path that is not the home page) they end up in the home page (as any url without extension is redirected to index.html).
So this is not a good solution

I also tried to add a staticwebapp.config.json config file as written in the docs but it didn't work.
Does anyone have a solution to have SPAs working properly on an Azure Storage account?

Well, I had the same problem described, after some days to try different approaches and configurations. I found a way to redirect correctly using the WAF FrontDoor custom rule configured with Request Uri and RegEx, therefore any after / will redirect to the index.html file except .js and .css files., for instance, react rule will redirect to the index.html file. Of course, I had to associate the WAF FrontDoor Policy with the corresponding FrontEnd of FrontDoor.
My backend is a storage account that has SPA, with the WAF FrontDoor custom rule I was able to solve the problem about react routes through FrontDoor.
Hope this solution works for everyone.

@arsnyder16 This feature will be supported in the newer tier of Azure Front Door - Standard/Premium. #please-close

Still doesn't work even with Azure Front Door - Standard/Premium.
I mean, the rule is not matched when condition is set to "Request file extension" or "Request file name", operator is "Not any" and the request is something like /, /custom-url or /whatever/nested-whatever.
Why isn't this working?

@ozkoidi  did you solve this?

@duongau this was incorrectly closed. Azure Front Door - Standard/Premium does not support this feature.
Honestly, is the only way to host an SPA on Azure to run an Apache/nginx server? Something as simple as index rewrites, it's a disgrace that's not possible. This is not a difficult feature to implement!
There are two blindingly obvious scenarios:

SPA - /, /xyz, /abc/def --> /index.html
Indexes - / --> /index.html, /xyz --> /xyz/index.html

I'm glad I came upon this thread. I too have this issue and its sad that FrontDoor can't support this very common type of application. I had to go back to using the Verizon Premium CDN to accomplish this.

#please-open

@zliebersbach I have reopened this issue and have brought it up again to our PM team. I will provide more updates once I hear back from the. Thank you.

@kamilzzz @zliebersbach
Azure Front Door - Standard/Premium has support for URL rewrites mentioned above. Do not use 'Any' or 'Not any' operators with Request file extension or Request file name. 'Any' operator only makes sense if the match variable you are comparing is of key-value type where the presence of a key will be regarded as a match for 'Any', for example request headers where the key 'user-agent' ANY would match if user-agent exists in the request, ignoring whatever value it contains.
We will work with our doc team to have this updated.
So, to match / and rewrite to /index.html use request path < 1, and to append /xyz -> /xyz/index.html do use server variable {url_path}/index.html and set preserve unmatched path to false.

Since there hasn't been a response on this for the last month, I'm going to proceed in closing this issue. Please feel free to reach out again if you have any further questions. Thank you. #please-close

Thank you for you dedication to our documentation.
Unfortunately, we have been unable to review this issue in a timely manner. We sincerely apologize for the delayed response. We will create an internal tracking work item to address this issue. For now, we are closing this issue. If you have any additional information you would like to, please respond to this issue with any additional details.
Please continue to provide feedback about the documentation. We appreciate your contributions to our community.
#please-close

@aramesh-msft thanks for your response and sorry for the delay in getting back.
Could you please provide a screenshot example which supports the two scenarios I outlined (SPA and Index). Otherwise, has the doc team made any progress outlining these basic use cases?

@aramesh-msft thanks for your response and sorry for the delay in getting back.
Could you please provide a screenshot example which supports the two scenarios I outlined (SPA and Index). Otherwise, has the doc team made any progress outlining these basic use cases?

I got mines working, the first rule is to help deal with SPA browser refresh problems ( you can also use .htaccess file to compensate for this ), and the next rule is to rewrite to index.html


Returned JSON from MS SQL gets cut off in length

I have an MS SQL table and a stored proc returning a JSON string (FOR JSON PATH). The results are ok in length in Management Studio but when NPOCO has had its way with the string-data it clips the result to 2033 chars. Is there a max length on the returned value from an ExecuteScaler method or is this an error?
Stored proc in MS SQL:
...
SELECT		CityId,
ZipCode,
CityName
FROM		Cities
WHERE		RegionId = @RegionId
ORDER BY	CityName
FOR JSON PATH
...
.NET Core code:
...
return db.ExecuteScalar(Sql.Builder.Append(statement, args));

It seems this is a SQL client driver thing. In this case you are probably better off writing the raw reader code. The connection, and command can be used from NPoco to make it a little easier.
https://social.msdn.microsoft.com/Forums/en-US/982edf0e-e3e2-4fe4-87b0-6eaca7296152/truncated-string-returned-by-stored-procedure?forum=adodotnetentityframework

Ok. I will try another driver against the MS SQL server.
As a note: When using the Oracle.ManagedDataAccess.Core v. 2.18.3 against an Oracle DB which delivers the result as a clob then there is no problem. Just tried with 20k of chars.


Fix protobuf reference paths

They were out of sync with the other ones. They're autogenerated files and I didn't bother regenerating them but this seems sufficient to get it compiling again.

I don't think the travis failure is related to this, but it's hard to be sure!

Thanks for the PR!
I think the tests are just github being flaky today, I'm having lots of issues downloading dependencies from here as well.
The good news is that your change is included in https://github.com/AdRoll/hologram/pull/27, which we're merging right now (in order for it to work we also need to modify the Godeps file so we can pull the right deps) so I'll close this one.

https://github.com/AdRoll/hologram/pull/27 has been merged, so this change is included there. Thanks for reporting, @copumpkin !

Great, thanks!


Hyprland crashes when disconnecting HDMI monitor

Hyprland Version
Hyprland, built from branch  at commit b08b72358ad549fd066e5be0fc3aa4c9df367607 dirty ().
Tag: v0.27.2

flags: (if any)

Bug or Regression?
Bug
Description
Hyprland will work fine when connecting my laptop to an HDMI screen, but when I disconnect it Hyprland will crash with SIGABRT. Originally assuming maybe its because my monitor configuration was weird (i was attempting to mirror an HDMI screen onto internal, and wondered if maybe Hyprland was crashing because it lost a display).
This was my hyprland.conf when this issue was happening. It would work perfectly fine when connecting, but it would crash on a disconnect.
monitor=HDMI-A-1,3840x2160,0x0,2
monitor=eDP-1,1920x1080,0x0,1,mirror,HDMI-A-1

I set out to use https://github.com/coffebar/hyprland-monitor-attached to get around the issue by dynamically using hyprctl keyword monitor ... to reconfigure my monitors on the fly as necessary.
hyprland.conf
monitor=eDP-1,highres,auto,1

exec-once = /usr/bin/hyprland-monitor-attached ~/bin/on_mon_attach ~/bin/on_mon_detach

~/bin/on_mon_attach
hyprctl --batch "keyword monitor HDMI-A-1,3840x2160,0x0,2;keyword monitor eDP-1,1920x1080,0x0,1,mirror,HDMI-A-1"

~/bin/on_mon_detach
hyprctl keyword monitor eDP-1,highres,auto,1

This is my new and current setup. I hoped this would also work, but it still had the exact same behaviour, perfectly fine when first connecting, but a crash when the HDMI cable disconnects from the laptop.
How to reproduce
Using the above configuration (probably fixing resolutions), attach an HDMI cable into the device, and once its connected and displaying correctly disconnect it. Hyprland should freeze up and within a few seconds crash, taking you back to either tty or your login manager.
Crash reports, logs, images, videos
hyprland.log
hyprlandCrashReport72209.txt
coredump_72209.txt

This sounds a lot like the issue I raised, #1667 and #2646
I get a similar crash like this when the television I use as my main display is turned on and it sends out HDMI CEC signals.
By any chance, are you using the amdgpu driver?

No im using Intel, i think its a hyprland-specific issue because I recall another user had found a way to fix it somewhere in the code (tho it never made it into a PR)

I'm also using Intel HD Graphics (4000), Hyprland always crashes when I change monitors with similar scripts (I'm toggling between built-in and 1 external)
builtin only:
hyprctl --batch "keyword monitor LVDS-1,1920x1080,0x0,1; keyword monitor DP-2,disabled"
external only:
hyprctl --batch "keyword monitor DP-1,1920x1080@60,0x0,1; keyword monitor LVDS-1,disabled"

Same issue here. It was introduced with 0.29 for me.

what about 0.29.1?

ohh there is 0.29.1 out? Give me a second to update!

It looks like 0.29.1 makes the problem worse for me, before the update it crashed not right after you switch the monitor, but during the second time, for example

Builtin monitor -> External monitor (no crash)
External monitor -> Builtin monitor (crash)

But now, it crashes every time on first try, here are 2 last logs I got
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
I tried so hard, and got so far...

Hyprland received signal 11 (Segmentation fault)

Version: 96d555e8e794627bfc561e294e148ab8a9961fcc
Tag: v0.29.1

System info:
	System name: Linux
	Node name: archlinux-thinkpad
	Release: 6.4.12-arch1-1
	Version: #1 SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:38:14 +0000

GPU:
	00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
	DeviceName: VGA compatible controller

os-release:
	NAME="Arch Linux"
	PRETTY_NAME="Arch Linux"
	ID=arch
	BUILD_ID=rolling
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://archlinux.org/"
	DOCUMENTATION_URL="https://wiki.archlinux.org/"
	SUPPORT_URL="https://bbs.archlinux.org/"
	BUG_REPORT_URL="https://bugs.archlinux.org/"
	PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
	LOGO=archlinux-logo

Backtrace:
	#0 | Hyprland(_Z12getBacktracev+0x62) [0x55dbe07a1492]
		??
		??:0
	#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x42c) [0x55dbe077c05c]
		??
		??:0
	#2 | Hyprland(_Z25handleUnrecoverableSignali+0x47) [0x55dbe07139d7]
		??
		??:0
	#3 | /usr/lib/libc.so.6(+0x3e710) [0x7fe83ae3e710]
		??
		??:0

Log tail:
[LOG] Callback 55dbe41eda40 -> 55dbe41eda38, layerSurface removed.
[LOG] Callback 55dbe41edaa8 -> 55dbe41edaa0, layerSurface removed.
[LOG] Callback 55dbe41edb10 -> 55dbe41edb08, layerSurface removed.
[LOG] Callback 55dbe41edbe0 -> 55dbe41edbd8, layerSurface removed.
[LOG] LayerSurface 55dbe44d2c20 arranged: x: 0 y: 0 w: 1920 h: 30 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 55dbe44259a0 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor DP-2 layers arranged: reserved: 0.000000 30.000000 0.000000 0.000000
[LOG] Registered signal for owner 55dbe452afe0: 55dbe44e51b0 -> 55dbe452b1c0 (owner: layerSurface)
[LOG] Registered signal for owner 55dbe452afe0: 55dbe41ed700 -> 55dbe452b088 (owner: layerSurface)
[LOG] Registered signal for owner 55dbe452afe0: 55dbe44e51c0 -> 55dbe452b0f0 (owner: layerSurface)
[LOG] Registered signal for owner 55dbe452afe0: 55dbe44e51d0 -> 55dbe452b158 (owner: layerSurface)
[LOG] Registered signal for owner 55dbe452afe0: 55dbe41ed710 -> 55dbe452b228 (owner: layerSurface)
[LOG] LayerSurface 55dbe41ed640 (namespace notifications layer 3) created on monitor DP-2
[LOG] LayerSurface 55dbe44d2c20 arranged: x: 0 y: 0 w: 1920 h: 30 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 55dbe44259a0 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 55dbe329c698 arranged: x: 1718 y: 34 w: 198 h: 117 with margins: t: 4 l: 4 r: 4 b: 4
[LOG] Monitor DP-2 layers arranged: reserved: 0.000000 30.000000 0.000000 0.000000
[LOG] LayerSurface 55dbe41ed640 mapped
[LOG] Registered signal for owner 55dbe452b000: 55dbe44e51f0 -> 55dbe452b008 (owner: CWLSurface)
[LOG] CWLSurface 55dbe452b000 called init()
[LOG] LayerSurface 55dbe44d2c20 arranged: x: 0 y: 0 w: 1920 h: 30 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 55dbe44259a0 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 55dbe329c698 arranged: x: 1718 y: 34 w: 198 h: 117 with margins: t: 4 l: 4 r: 4 b: 4
[LOG] Monitor DP-2 layers arranged: reserved: 0.000000 30.000000 0.000000 0.000000
[LOG] Window 55dbe452d210 destroyed, queueing. (class )
[LOG] XWayland class raw: fcitx
[LOG] Callback 55dbe452d370 -> 55dbe452d368, XWayland Window removed.
[LOG] Callback 55dbe452d780 -> 55dbe452d778, XWayland Window removed.
[LOG] Callback 55dbe452d920 -> 55dbe452d918, XWayland Window removed.
[LOG] Callback 55dbe452d988 -> 55dbe452d980, XWayland Window removed.
[LOG] Callback 55dbe452d9f0 -> 55dbe452d9e8, XWayland Window removed.
[LOG] Unmapped window 55dbe452d210 removed instantly
[LOG] Window 55dbe44e2b20 destroyed, queueing. (class )
[LOG] XWayland class raw: (null)
[LOG] Callback 55dbe44e2c80 -> 55dbe44e2c78, XWayland Window removed.
[LOG] Callback 55dbe44e3090 -> 55dbe44e3088, XWayland Window removed.
[LOG] Callback 55dbe44e3230 -> 55dbe44e3228, XWayland Window removed.
[LOG] Callback 55dbe44e3298 -> 55dbe44e3290, XWayland Window removed.
[LOG] Callback 55dbe44e3300 -> 55dbe44e32f8, XWayland Window removed.
[LOG] Unmapped window 55dbe44e2b20 removed instantly
[LOG] Window 55dbe44ea260 destroyed, queueing. (class )
[LOG] XWayland class raw: (null)
[LOG] Callback 55dbe44ea3c0 -> 55dbe44ea3b8, XWayland Window removed.
[LOG] Callback 55dbe44ea7d0 -> 55dbe44ea7c8, XWayland Window removed.
[LOG] Callback 55dbe44ea970 -> 55dbe44ea968, XWayland Window removed.
[LOG] Callback 55dbe44ea9d8 -> 55dbe44ea9d0, XWayland Window removed.
[LOG] Callback 55dbe44eaa40 -> 55dbe44eaa38, XWayland Window removed.
[LOG] Unmapped window 55dbe44ea260 removed instantly
[LOG] Fading out a non-existent LS??
[LOG] Cleanup: destroyed a layersurface

--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
Calm down, it was a misinput! MISINPUT!

Hyprland received signal 11 (Segmentation fault)

Version: 96d555e8e794627bfc561e294e148ab8a9961fcc
Tag: v0.29.1

System info:
	System name: Linux
	Node name: archlinux-thinkpad
	Release: 6.4.12-arch1-1
	Version: #1 SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:38:14 +0000

GPU:
	00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
	DeviceName: VGA compatible controller

os-release:
	NAME="Arch Linux"
	PRETTY_NAME="Arch Linux"
	ID=arch
	BUILD_ID=rolling
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://archlinux.org/"
	DOCUMENTATION_URL="https://wiki.archlinux.org/"
	SUPPORT_URL="https://bbs.archlinux.org/"
	BUG_REPORT_URL="https://bugs.archlinux.org/"
	PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
	LOGO=archlinux-logo

Backtrace:
	#0 | Hyprland(_Z12getBacktracev+0x62) [0x561061700492]
		??
		??:0
	#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x42c) [0x5610616db05c]
		??
		??:0
	#2 | Hyprland(_Z25handleUnrecoverableSignali+0x47) [0x5610616729d7]
		??
		??:0
	#3 | /usr/lib/libc.so.6(+0x3e710) [0x7fbf9663e710]
		??
		??:0
	#4 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa0) [0x7fbf97176ae0]
		??
		??:0
	#5 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7fbf971772d7]
		??
		??:0
	#6 | Hyprland(main+0x8d9) [0x561061662089]
		??
		??:0
	#7 | /usr/lib/libc.so.6(+0x27cd0) [0x7fbf96627cd0]
		??
		??:0
	#8 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7fbf96627d8a]
		??
		??:0
	#9 | Hyprland(_start+0x25) [0x5610616701c5]
		??
		??:0

Log tail:
[LOG] Callback<PHONE_NUMBER>c8 -><PHONE_NUMBER>c0, layerSurface removed.
[LOG] Callback<PHONE_NUMBER>90 -><PHONE_NUMBER>88, layerSurface removed.
[LOG] Callback<PHONE_NUMBER>f8 -><PHONE_NUMBER>f0, layerSurface removed.
[LOG] Callback<PHONE_NUMBER>60 -><PHONE_NUMBER>58, layerSurface removed.
[LOG] Callback<PHONE_NUMBER>30 -><PHONE_NUMBER>28, layerSurface removed.
[LOG] LayerSurface 561064ace530 arranged: x: 0 y: 0 w: 1920 h: 30 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 561064a95860 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor DP-2 layers arranged: reserved: 0.000000 30.000000 0.000000 0.000000
[LOG] Registered signal for owner 561064ac3f90: 561064b5fdc0 -> 561064ac4170 (owner: layerSurface)
[LOG] Registered signal for owner 561064ac3f90: 561064b605a0 -> 561064ac4038 (owner: layerSurface)
[LOG] Registered signal for owner 561064ac3f90: 561064b5fdd0 -> 561064ac40a0 (owner: layerSurface)
[LOG] Registered signal for owner 561064ac3f90: 561064b5fde0 -> 561064ac4108 (owner: layerSurface)
[LOG] Registered signal for owner 561064ac3f90: 561064b605b0 -> 561064ac41d8 (owner: layerSurface)
[LOG] LayerSurface 561064b604e0 (namespace notifications layer 3) created on monitor DP-2
[LOG] LayerSurface 561064ace530 arranged: x: 0 y: 0 w: 1920 h: 30 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 561064a95860 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 561064af2c68 arranged: x: 1718 y: 34 w: 198 h: 41 with margins: t: 4 l: 4 r: 4 b: 4
[LOG] Monitor DP-2 layers arranged: reserved: 0.000000 30.000000 0.000000 0.000000
[LOG] LayerSurface 561064b604e0 mapped
[LOG] Registered signal for owner 561064ac3fb0: 561064b5fe00 -> 561064ac3fb8 (owner: CWLSurface)
[LOG] CWLSurface 561064ac3fb0 called init()
[LOG] LayerSurface 561064ace530 arranged: x: 0 y: 0 w: 1920 h: 30 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 561064a95860 arranged: x: 0 y: 0 w: 1920 h: 1080 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] LayerSurface 561064af2c68 arranged: x: 1718 y: 34 w: 198 h: 41 with margins: t: 4 l: 4 r: 4 b: 4
[LOG] Monitor DP-2 layers arranged: reserved: 0.000000 30.000000 0.000000 0.000000
[LOG] Window 561064b172a0 destroyed, queueing. (class )
[LOG] XWayland class raw: fcitx
[LOG] Callback 561064b17400 -> 561064b173f8, XWayland Window removed.
[LOG] Callback 561064b17810 -> 561064b17808, XWayland Window removed.
[LOG] Callback 561064b179b0 -> 561064b179a8, XWayland Window removed.
[LOG] Callback 561064b17a18 -> 561064b17a10, XWayland Window removed.
[LOG] Callback 561064b17a80 -> 561064b17a78, XWayland Window removed.
[LOG] Unmapped window 561064b172a0 removed instantly
[LOG] Window 561064ae1d20 destroyed, queueing. (class )
[LOG] XWayland class raw: (null)
[LOG] Callback 561064ae1e80 -> 561064ae1e78, XWayland Window removed.
[LOG] Callback 561064ae2290 -> 561064ae2288, XWayland Window removed.
[LOG] Callback 561064ae2430 -> 561064ae2428, XWayland Window removed.
[LOG] Callback 561064ae2498 -> 561064ae2490, XWayland Window removed.
[LOG] Callback 561064ae2500 -> 561064ae24f8, XWayland Window removed.
[LOG] Unmapped window 561064ae1d20 removed instantly
[LOG] Window 561064ad6060 destroyed, queueing. (class )
[LOG] XWayland class raw: (null)
[LOG] Callback 561064ad61c0 -> 561064ad61b8, XWayland Window removed.
[LOG] Callback 561064ad65d0 -> 561064ad65c8, XWayland Window removed.
[LOG] Callback 561064ad6770 -> 561064ad6768, XWayland Window removed.
[LOG] Callback 561064ad67d8 -> 561064ad67d0, XWayland Window removed.
[LOG] Callback 561064ad6840 -> 561064ad6838, XWayland Window removed.
[LOG] Unmapped window 561064ad6060 removed instantly
[LOG] Cleanup: destroyed a layersurface

I have the following config on startup in hyprland.conf
monitor=LVDS-1,1920x1080,0x0,1
monitor=DP-2,1920x1080@60,1920x0,1

And I use these 2 commands to switch between the windows
  hyprctl --batch "keyword monitor LVDS-1,1920x1080,0x0,1; keyword monitor DP-2,disabled"
  hyprctl --batch "keyword monitor DP-2,1920x1080,0x0,1; keyword monitor LVDS-1,disabled"

I don't have a refresh rate 1920x1080@60 set manually in these commands, but it made no difference when I did

try with -git as this looks like https://github.com/hyprwm/Hyprland/issues/3076 which was fixed today

Unfortunately it looks like I still get a crash -git :(
But something was fixed, now I get crash only when switching to an external monitor, no crash when switching to internal LVDS-1

Last crash log:
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
I hope you didn't have any unsaved progress.

Hyprland received signal 11 (Segmentation fault)

Version: 96d555e8e794627bfc561e294e148ab8a9961fcc
Tag: v0.29.1

System info:
	System name: Linux
	Node name: archlinux-thinkpad
	Release: 6.4.12-arch1-1
	Version: #1 SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:38:14 +0000

GPU:
	00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
	DeviceName: VGA compatible controller

os-release:
	NAME="Arch Linux"
	PRETTY_NAME="Arch Linux"
	ID=arch
	BUILD_ID=rolling
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://archlinux.org/"
	DOCUMENTATION_URL="https://wiki.archlinux.org/"
	SUPPORT_URL="https://bbs.archlinux.org/"
	BUG_REPORT_URL="https://bugs.archlinux.org/"
	PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
	LOGO=archlinux-logo

Backtrace:
	#0 | Hyprland(_Z12getBacktracev+0x62) [0x558308d98492]
		??
		??:0
	#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x42c) [0x558308d7305c]
		??
		??:0
	#2 | Hyprland(_Z25handleUnrecoverableSignali+0x47) [0x558308d0a9d7]
		??
		??:0
	#3 | /usr/lib/libc.so.6(+0x3e710) [0x7f0f2383e710]
		??
		??:0
	#4 | Hyprland(_ZN17CAnimationManager14animationSlideEP7CWindowNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEb+0x1c6) [0x558308db6a06]
		??
		??:0
	#5 | Hyprland(_ZN17CAnimationManager23onWindowPostCreateCloseEP7CWindowb+0x4e2) [0x558308db8822]
		??
		??:0
	#6 | Hyprland(_ZN6Events20listener_unmapWindowEPvS0_+0x4d1) [0x558308d89221]
		??
		??:0
	#7 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x40) [0x558308d98bf0]
		??
		??:0
	#8 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7f0f2432101e]
		??
		??:0
	#9 | /usr/lib/libwlroots.so.12032(wlr_surface_unmap+0x2a) [0x7f0f243e95aa]
		??
		??:0
	#10 | /usr/lib/libwlroots.so.12032(+0x7f6b7) [0x7f0f243e96b7]
		??
		??:0
	#11 | /usr/lib/libwlroots.so.12032(+0x7f7e8) [0x7f0f243e97e8]
		??
		??:0
	#12 | /usr/lib/libwayland-server.so.0(+0xb9ba) [0x7f0f243229ba]
		??
		??:0
	#13 | /usr/lib/libwayland-server.so.0(wl_client_destroy+0xab) [0x7f0f243230db]
		??
		??:0
	#14 | /usr/lib/libwayland-server.so.0(+0xc60e) [0x7f0f2432360e]
		??
		??:0
	#15 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xa2) [0x7f0f24322ae2]
		??
		??:0
	#16 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7f0f243232d7]
		??
		??:0
	#17 | Hyprland(main+0x8d9) [0x558308cfa089]
		??
		??:0
	#18 | /usr/lib/libc.so.6(+0x27cd0) [0x7f0f23827cd0]
		??
		??:0
	#19 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f0f23827d8a]
		??
		??:0
	#20 | Hyprland(_start+0x25) [0x558308d081c5]
		??
		??:0

Log tail:
[LOG] LayerSurface 55830b0292d0 unmapped
[LOG] Framebuffer created, status 36053
[LOG] Callback 55830b0294a0 -> 55830b029498, CWLSurface removed.
[LOG] CWLSurface 55830b029470 called destroy()
[LOG] LayerSurface 55830b0292d0 destroyed
[LOG] Callback 55830b029658 -> 55830b029650, layerSurface removed.
[LOG] Callback 55830b029520 -> 55830b029518, layerSurface removed.
[LOG] Callback 55830b029588 -> 55830b029580, layerSurface removed.
[LOG] Callback 55830b0295f0 -> 55830b0295e8, layerSurface removed.
[LOG] Callback 55830b0296c0 -> 55830b0296b8, layerSurface removed.
[LOG] LayerSurface 55830b06a510 arranged: x: 1920 y: 0 w: 1920 h: 30 with margins: t: 0 l: 0 r: 0 b: 0
[LOG] Monitor DP-2 layers arranged: reserved: 0.000000 30.000000 0.000000 0.000000
[LOG] LayerSurface 55830b036ed0 unmapped
[LOG] Framebuffer created, status 36053
[LOG] Callback 55830b0a9390 -> 55830b0a9388, CWLSurface removed.
[LOG] CWLSurface 55830b0a9360 called destroy()
[LOG] LayerSurface 55830b036ed0 destroyed
[LOG] Callback 55830b0a9548 -> 55830b0a9540, layerSurface removed.
[LOG] Callback 55830b0a9410 -> 55830b0a9408, layerSurface removed.
[LOG] Callback 55830b0a9478 -> 55830b0a9470, layerSurface removed.
[LOG] Callback 55830b0a94e0 -> 55830b0a94d8, layerSurface removed.
[LOG] Callback 55830b0a95b0 -> 55830b0a95a8, layerSurface removed.
[LOG] Monitor DP-2 layers arranged: reserved: 0.000000 0.000000 0.000000 0.000000
[LOG] Removed monitor DP-2!
[WARN] Unplugged last monitor, entering an unsafe state. Good luck my friend.
[LOG] Searching for matching rules for Alacritty (title: hyprland.conf (~/.config/hypr) - NVIM)
[LOG] Window rule workspace 2 ->       class:^(Alacritty.*)$,title:^((?!cli_file_explorer).)*$ matched 55830b0e1420 [hyprland.conf (~/.config/hypr) - NVIM]
[LOG] Searching for matching rules for org.keepassxc.KeePassXC (title: Passwords.kdbx [ロック] - KeePassXC)
[LOG] Window rule workspace 9 -> KeePassXC matched 55830b0e8870 [Passwords.kdbx [ロック] - KeePassXC]
[WARN] Attempted to render frame on inactive session!
[LOG] Applying monitor rule for LVDS-1
[LOG] Not applying a new rule to LVDS-1 because it's already applied!
[LOG] Applying monitor rule for DP-2
[LOG] Window 55830b0e8870 unmapped (class org.keepassxc.KeePassXC)
[LOG]  [hookSystem] New hook event registered: closeWindow
[LOG] Unregistered late callbacks XDG
[LOG] Callback 55830b0e8898 -> 55830b0e8890, XDG Window Late removed.
[LOG] Callback 55830b0e8a38 -> 55830b0e8a30, XDG Window Late removed.
[LOG] Callback 55830b0e8b70 -> 55830b0e8b68, XDG Window Late removed.
[LOG] Callback 55830b0e8ca8 -> 55830b0e8ca0, XDG Window Late removed.
[LOG] Callback 55830b0e8c40 -> 55830b0e8c38, XDG Window Late removed.
[LOG] Callback 55830b0e8bd8 -> 55830b0e8bd0, XDG Window Late removed.
[LOG] Callback 55830b0e8d10 -> 55830b0e8d08, XDG Window Late removed.
[LOG] Callback 55830b0e8b08 -> 55830b0e8b00, XDG Window Late removed.
[LOG] Unmapped was not focused, ignoring a refocus.
[LOG] Destroying the SubSurface tree of unmapped window 55830b0e8870
[LOG] Callback 55830b06ba88 -> 55830b06ba80, SurfaceTreeNode removed.
[LOG] Callback 55830b06baf0 -> 55830b06bae8, SurfaceTreeNode removed.
[LOG] Callback 55830b06ba20 -> 55830b06ba18, SurfaceTreeNode removed.
[LOG] SurfaceTree Node removed

@jakubreron fixed in 8b9cc9a8dbebc0dc988a97d95c49cce2993529e1

@vaxerski Thank you for your efforts, and I'm sorry, I think my setup is cursed 🥲
I've updated hyprland with the latest git version,

Here is a new crash log it happened, when I've switched from LVDS-1 to DP-2 with the following command:   hyprctl --batch "keyword monitor DP-2,1920x1080,0x0,1; keyword monitor LVDS-1,disabled"
--------------------------------------------
   Hyprland Crash Report
--------------------------------------------
I hope you didn't have any unsaved progress.

Hyprland received signal 11 (Segmentation fault)

Version: 0be6b03ee972fcc4921984f3b68469a2ee121511
Tag: v0.29.1-31-g0be6b03e

System info:
	System name: Linux
	Node name: archlinux-thinkpad
	Release: 6.4.12-arch1-1
	Version: #1 SMP PREEMPT_DYNAMIC Thu, 24 Aug 2023 00:38:14 +0000

GPU:
	00:02.0 VGA compatible controller [0300]: Intel Corporation 3rd Gen Core processor Graphics Controller [8086:0166] (rev 09) (prog-if 00 [VGA controller])
	DeviceName: VGA compatible controller

os-release:
	NAME="Arch Linux"
	PRETTY_NAME="Arch Linux"
	ID=arch
	BUILD_ID=rolling
	ANSI_COLOR="38;2;23;147;209"
	HOME_URL="https://archlinux.org/"
	DOCUMENTATION_URL="https://wiki.archlinux.org/"
	SUPPORT_URL="https://bbs.archlinux.org/"
	BUG_REPORT_URL="https://bugs.archlinux.org/"
	PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
	LOGO=archlinux-logo

Backtrace:
	#0 | Hyprland(_Z12getBacktracev+0x62) [0x5573c3d3d2a2]
		??
		??:0
	#1 | Hyprland(_ZN13CrashReporter18createAndSaveCrashEi+0x560) [0x5573c3ceecb0]
		??
		??:0
	#2 | Hyprland(_Z25handleUnrecoverableSignali+0x44) [0x5573c3c5bd04]
		??
		??:0
	#3 | /usr/lib/libc.so.6(+0x3e710) [0x7f41cd23e710]
		??
		??:0
	#4 | Hyprland(_ZN13CHyprRenderer13renderMonitorEP8CMonitor+0x365) [0x5573c3e1f735]
		??
		??:0
	#5 | Hyprland(_Z13handleWrappedP11wl_listenerPv+0x40) [0x5573c3d55d80]
		??
		??:0
	#6 | /usr/lib/libwayland-server.so.0(wl_signal_emit_mutable+0x7e) [0x7f41cdc2001e]
		??
		??:0
	#7 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch_idle+0x23) [0x7f41cdc21a23]
		??
		??:0
	#8 | /usr/lib/libwayland-server.so.0(wl_event_loop_dispatch+0xfd) [0x7f41cdc21b3d]
		??
		??:0
	#9 | /usr/lib/libwayland-server.so.0(wl_display_run+0x27) [0x7f41cdc222d7]
		??
		??:0
	#10 | Hyprland(main+0x8d5) [0x5573c3c48a55]
		??
		??:0
	#11 | /usr/lib/libc.so.6(+0x27cd0) [0x7f41cd227cd0]
		??
		??:0
	#12 | /usr/lib/libc.so.6(__libc_start_main+0x8a) [0x7f41cd227d8a]
		??
		??:0
	#13 | Hyprland(_start+0x25) [0x5573c3c5bba5]
		??
		??:0

Log tail:
[LOG] Framebuffer created, status 36053
[LOG] Callback 5573c6e84d90 -> 5573c6e84d88, CWLSurface removed.
[LOG] CWLSurface 5573c6e84d60 called destroy()
[LOG] LayerSurface 5573c5cb2d70 destroyed
[LOG] Callback 5573c6e84f48 -> 5573c6e84f40, layerSurface removed.
[LOG] Callback 5573c6e84e10 -> 5573c6e84e08, layerSurface removed.
[LOG] Callback 5573c6e84e78 -> 5573c6e84e70, layerSurface removed.
[LOG] Callback 5573c6e84ee0 -> 5573c6e84ed8, layerSurface removed.
[LOG] Callback 5573c6e84fb0 -> 5573c6e84fa8, layerSurface removed.
[LOG] Monitor LVDS-1 layers arranged: reserved: 0.00000 0.00000 0.00000 0.00000
[LOG] Removed monitor LVDS-1!
[WARN] Unplugged last monitor, entering an unsafe state. Good luck my friend.
[LOG] Applying monitor rule for DP-2
[LOG] Callback 5573c5cb0de8 -> 5573c5cb0de0,  removed.
[LOG] Callback 5573c5cb0e50 -> 5573c5cb0e48,  removed.
[LOG] Registered signal for owner 5573c5cb0a70: 5573c5c96620 -> 5573c5cb0d58 (owner: )
[LOG] Registered signal for owner 5573c5cb0a70: 5573c5c966b0 -> 5573c5cb0dc0 (owner: )
[LOG] Registered signal for owner 5573c5cb0a70: 5573c5c966a0 -> 5573c5cb0e28 (owner: )
[LOG] Registered signal for owner 5573c5cb0a70: 5573c5c96630 -> 5573c5cb0e90 (owner: )
[LOG] Registered signal for owner 5573c5cb0a70: 5573c5c96640 -> 5573c5cb0ef8 (owner: )
[LOG] Registered signal for owner 5573c5cb0a70: 5573c5c96660 -> 5573c5cb0f60 (owner: )
[LOG] Registered signal for owner 5573c5cb0a70: 5573c5c96680 -> 5573c5cb0fc8 (owner: )
[LOG] Added new monitor with name DP-2 at 0,0 with size 1920x1080, pointer 5573c5c964d0
[LOG] New monitor: WORKSPACEID 2, exists: 0
[LOG] moveWorkspaceToMonitor: Moving 1 to monitor 1
[LOG] moveWorkspaceToMonitor: Moving 3 to monitor 1
[LOG] moveWorkspaceToMonitor: Moving 7 to monitor 1
[LOG] Monitor DP-2 layers arranged: reserved: 0.00000 0.00000 0.00000 0.00000
[LOG] Monitor DP-2 is disabled but is requested to be enabled
[LOG] Monitor DP-2: requested<EMAIL_ADDRESS>found available mode: 1920x1080@60000mHz, applying.
[LOG] Monitor DP-2 -> destroyed all render data
[LOG] arrangeMonitors: 1 to arrange
[LOG] arrangeMonitors: DP-2 explicit [0.00, 0.00]
[LOG] arrangeMonitors: DP-2 xwayland [0, 0.00]
[LOG] Monitor DP-2 layers arranged: reserved: 0.00000 0.00000 0.00000 0.00000
[LOG] Monitor DP-2 data dump: res<EMAIL_ADDRESS>scale 1.00, transform 0, pos 0x0, 10b 0
[WARN] Attempted to render frame on inactive session!
[LOG] Applying monitor rule for LVDS-1
[LOG] Applying monitor rule for DP-2
[LOG] Not applying a new rule to DP-2 because it's already applied!
[LOG] Monitor DP-2 layers arranged: reserved: 0.00000 0.00000 0.00000 0.00000
[LOG] New LayerSurface has no preferred monitor. Assigning Monitor DP-2
[LOG] Registered signal for owner 5573c6c307c0: 5573c6c99360 -> 5573c6c309a0 (owner: layerSurface)
[LOG] Registered signal for owner 5573c6c307c0: 5573c6ec2b60 -> 5573c6c30868 (owner: layerSurface)
[LOG] Registered signal for owner 5573c6c307c0: 5573c6c99370 -> 5573c6c308d0 (owner: layerSurface)
[LOG] Registered signal for owner 5573c6c307c0: 5573c6c99380 -> 5573c6c30938 (owner: layerSurface)
[LOG] Registered signal for owner 5573c6c307c0: 5573c6ec2b70 -> 5573c6c30a08 (owner: layerSurface)
[LOG] LayerSurface 5573c6ec2aa0 (namespace notifications layer 3) created on monitor DP-2
[LOG] LayerSurface 5573c6edfcf0 arranged: x: 1718 y: 4 w: 198 h: 41 with margins: t: 4 l: 4 r: 4 b: 4
[LOG] Monitor DP-2 layers arranged: reserved: 0.00000 0.00000 0.00000 0.00000

I've found a workaround for my issue:
First I need to execute
  hyprctl reload
  sleep 1;

and only then
  hyprctl --batch "keyword monitor DP-2,1920x1080,0x0,1; keyword monitor LVDS-1,disabled"

With this approach, Hyprland doesn't crash

My laptop has amd gpu. Hyprland doesn't crash, but chrome crashes and my background image is gone (only shows gray background) when I unplug my usb-c monitor. Im using swww for my background image.

wasnt that fixed in git

Now everything is working great 🎉
I think this commit fixed it for me: https://github.com/hyprwm/Hyprland/commit/3859607b6cf26ead21f4a23ee11458b7b67fe542
Thank you!


Add pkg-pr-new workflow

If you install this GitHub App, you'd get "nightlies" for free with any push or PR: https://github.com/stackblitz-labs/pkg.pr.new?tab=readme-ov-file#pkgprnew-

Thanks for PR. I prefer to keep using npm for nightly channel as it requires no custom registry config today.
PR based previews are cool though and we are in contact to make it possible once pkg.pr.new is not depending on github internals.

Fair enough! I love it, folks can just open their own PR + install anywhere.


clarify if TP2 is supported

I haven't been able to find any info on whether the rich-text type supports or not the Transformation Property 2. I'd be great to add this to the README.

It does not. rich-text is one of many ottypes and their docs discuss if a type supports tp2.

Thanks
On Tue, Jan 12, 2016 at 6:58 PM Jason Chen<EMAIL_ADDRESS>wrote:

It does not. rich-text is one of many ottypes and their docs
https://github.com/ottypes/docs discuss if a type supports tp2.
—
Reply to this email directly or view it on GitHub
https://github.com/ottypes/rich-text/issues/15#issuecomment-170994425.


Roles menu not appera in sidebar Nova 4

Hello
Roles menu not appera in sidebar Nova 4
Please help

make sure that you return a true value in all methods at RolePolicy class


Need to switch Accounts from CLI

This is request for an enhancement or an explanation of how to use a hidden feature.
When using the CLI tool, I am unable to control which NetSuite account the CLI is communicating with. For example, I need to be able to do things like the following ...
suitecloud object:import --type ALL --account <my SANDBOX account id>
and then
suitecloud project:deploy --account <my PRODUCTION account id>
In issue #21 , it was mentioned that the account could be controlled via the account.json file which is no longer present in the project. However, there is a suitecloud.config.js file. If the default account is modifiable via the suitecloud.config.js file, then an improved documentation of how to do that is required.
My environment
OS: Windows 10
Node.js version: e.g. 12.16.1
suitecloud-cli version: 1.0.2
Terminal/CMD tool: I use PowerShell, VSCodeTerminal and the native windows command prompt.

Hi @grugknuckle
account.json is deprecated. That was before we officially released.
Now the file which is used to contain the default project is called project.json
This file will be automatically generated if you run suitecloud setup:account and then you will have 2 options.

Select one of the exisiting authid
Complete the authentication flow

Everytime you want to change the default account. Run suitecloud account:setup inside your project and select the authID(account) you want to use. That will be set as your project until you change it.

You can find this information in read.me file of suitecloud-cli.
Please try it out, and if you any doubts let me know. once you confirm it's working for you, i will close this issue.

Thank you @alii-gator. There was some initial confusion about the authId naming. But it's working now. Is there a way to remove / rename existing roles for an existing project?

@grugknuckle this feature is under development. Hopefully should be available in next release.
If your original question is resolved i will close this issue. If you have anu further problems please open a new issue.


Export/import links disconnected in subflows

Current Behavior
When I export part of flow or subflow containing connected link out and link in nodes and then I want to import it in a subflow, all links are disconnected. It happens only in subflows, in flows everything is connected as it was before export.
Expected Behavior
After importing links in subflow, they should be connected as they were befor export.
Steps To Reproduce
Just put an inject node connected to debug node via link out and link in and deplay in flow. Now export this 4 nodes and their connection by selecting them by mouse rectangle selection and then export using menu. Then if you import it in flow, everything is connected correctly, but if you import it in subflow the link connection is gone.
Example flow
[
    {
        "id": "3b24750ce87de25a",
        "type": "inject",
        "z": "374ac2b2.da0bfe",
        "name": "",
        "props": [
            {
                "p": "payload"
            },
            {
                "p": "topic",
                "vt": "str"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "",
        "payloadType": "date",
        "x": 280,
        "y": 1560,
        "wires": [
            [
                "29c6ba283d6beacd"
            ]
        ]
    },
    {
        "id": "e30f72747f1ec71b",
        "type": "debug",
        "z": "374ac2b2.da0bfe",
        "name": "debug 7",
        "active": true,
        "tosidebar": true,
        "console": false,
        "tostatus": false,
        "complete": "false",
        "statusVal": "",
        "statusType": "auto",
        "x": 680,
        "y": 1560,
        "wires": []
    },
    {
        "id": "07dc92545e6cdb61",
        "type": "link in",
        "z": "374ac2b2.da0bfe",
        "name": "link in 31",
        "links": [
            "29c6ba283d6beacd"
        ],
        "x": 525,
        "y": 1560,
        "wires": [
            [
                "e30f72747f1ec71b"
            ]
        ]
    },
    {
        "id": "29c6ba283d6beacd",
        "type": "link out",
        "z": "374ac2b2.da0bfe",
        "name": "link out 139",
        "mode": "link",
        "links": [
            "07dc92545e6cdb61"
        ],
        "x": 405,
        "y": 1560,
        "wires": []
    }
]

Environment

Node-RED version: 3.0.2
Node.js version: 16.18.1
npm version: 9.1.2 (i think)
Platform/OS: raspbian
Browser: chrome

Fixed via #4082  - will be in NR 3.1

@knolleary, node_map[id] is undefined while a console.log shows that the node exists in the object.
Does the Proxy already exist at this stage?
(id, node_map, node_map[id])

The issue only appears when importing a copy.
https://github.com/node-red/node-red/blob/61b12f6bbe3169d87637f6841075ff502f8a27e0/packages/node_modules/%40node-red/editor-client/src/js/nodes.js#L2409

Please raise a new issue with details. Worried this will get lost if tracked in the comments for an issue that has been closed for over a year


Add ability to merge pacts via PATCH requests

Adds new endpoint PATCH /pacts/provider/:provider_name/consumer/:consumer_name/versions/:consumer_version_number that merges the same-version pact with an existing pact. Endpoint has identical restrictions and contract to the PUT method at the same path, differing only in function.

Looking pretty good, just have a few requests and comments.

Ready for re-review.

This looks great. There's one more check however. If an interaction has the same provider state and description, but has any other field that is different, then it should return a 409 conflict. The way to implement this is not exactly clear, because the conflict question gets asked in is_conflict?, but the merging happens in from_json. You may need to implement a separate object or method in PactMerger to determine whether this is the case. The reason that we need this detection is that the provider state and description should uniquely identify an interaction.

I'm merging this so that you can use the feature @ThePletch, but hoping you'll be able to implement the is_conflict as well.

1.10.1 released.

Just realised that the webhook will get executed each time a patch is done. Is this what we want?

I don't see how else you can do it. There is no way to know when the pact is complete to execute the webhook.

The only other option would be to only do it when an existing pact doesn't already exist. Not sure which is better.

Hey @ThePletch, I'm implementing some functionality in the broker that the PATCH is going to be a real problem for. If we can create a client side tool that will merge the pacts before they're pushed, would this be a workable solution for you instead of using the PATCH? I'd really like to take that functionality out.

That should work for us, yeah - pact-related parts of our infrastructure are fairly static right now, so if you need to push back the priority of the client-side tool once the PATCH-less version lands, we can just stay on the current version for a while.

Okey dokey.

You're absolutely right. I have corrected it, and will release a patch version today.


Pause/Resume Ffmpeg transcoding process on Windows?

Hello everyone, is there a way to pause/resume the ffmpeg process systematically on Windows?
command.kill() works on Mac but I don't think Windows supports signal which maybe the reason it failed.
Any suggestions on workaround?
Thanks!
Version information

fluent-ffmpeg version: 2.1.2
ffmpeg version: 3.4.1
OS: Windows 10

Code to reproduce
command.kill('SIGSTOP')

(note: if the problem only happens with some inputs, include a link to such an input file)
Expected results
ffmpegProc should pause.
Observed results
[0] internal/util.js:186
[0]   throw new errors.TypeError('ERR_UNKNOWN_SIGNAL', signal);
[0]   ^
[0]
[0] TypeError [ERR_UNKNOWN_SIGNAL]: Unknown signal: SIGCONT
Checklist

[x] I have read the FAQ
[ ] I tried the same with command line ffmpeg and it works correctly (hint: if the problem also happens this way, this is an ffmpeg problem and you're not reporting it to the right place)
[x] I have included full stderr/stdout output from ffmpeg

I was looking for the same thing, found an answer on video.stackexchange:

A simple method is to suspend it with ctrlz. Or you could get the PID with pgrep ffmpeg then use kill -s SIGSTOP <PID> to suspend.
Then resume with fg command or kill -s SIGCONT <PID>

I think it might be easier if this were implemented in fluent-ffmpeg itself, it could these signals to the ffmpeg child process.

Click F12 (Pause) and when ready, resume by giving the console window focus and clicking the "Eneter" key. This will not let you close the console window or reboot the computer.

In Windows 10, run ffmpeg from a PowerShell window.
Now while transcoding, if you select a block of text the process will be paused.
Press enter to unselect the text and the process will resume.

I'm writing this just for reference, for anyone who might still be looking for a way to pause FFmpeg, or any other process type from Node.js.
Suspending a process in Windows is a non-trivial topic, there is no way (as of today) to do it from JavaScript in Node.js, the only way to do it is to write a native addon and suspend the process by its id from C++.


Fix buffer leak introduced by 693633eeff106febf4403208f9eed2117931f45a

Motivation:
As we not used Unpooled anymore for allocate buffers in Base64.* methods we need to ensure we realease all the buffers.
Modifications:
Correctly release buffers
Result:
No more buffer leaks

Cherry-picked into 4.0 (26ee81944eddd6d54907834c2cee5d5415248968) and 4.1 (79bc90be3215509e98a86239217226572e7887e5)

@normanmaurer - I've got a follow up PR related to this.


Added tensorflow sigmoid and tanh parametrizations

Fixed box registries for tf min delta box tensor
Created sigmoid and tanh params in tensorflow
Added tests for sigmoid and tanh params
Created tensorflow utils under common directory

Made the suggested changes


Azure key vault task bug fixes and CR feedback

@lovakumar,
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


Create an interpreter that adds Spark support

Decided to focus on doobie as the main integration. This should allow much tighter AST bindings that let us do more with SQL.


Unexpected noise in diff on bucket policy

Description
AWS backend mutate some fields on a request to a different format, creating a irrelevant drift between the state and the live version.
Environment

OS: Ubuntu LTS
driftctl version: 0.8.0

How to reproduce

Apply this

resource "aws_s3_bucket" "foobar-policy" {
    bucket = "${random_string.prefix.result}.policy.driftctl-test.com"
    policy = <<POLICY
{
  "Version":"2012-10-17",
  "Statement":[
    {
      "Sid":"PublicRead",
      "Effect":"Allow",
      "Principal": "*",
      "Action":["s3:GetObject","s3:GetObjectVersion"],
      "Resource":["arn:aws:s3:::${random_string.prefix.result}.policy.driftctl-test.com/*"]
    }
  ]
}
POLICY
}

Change Action field to "Action":["s3:GetObject"],
Run apply again
Run plan

You can see there's a unexpected diff on the Action field which became a string, instead of a Array.
  # aws_s3_bucket.foobar-policy will be updated in-place
  ~ resource "aws_s3_bucket" "foobar-policy" {
        id                          = "90174981742.policy.driftctl-test.com"
      ~ policy                      = jsonencode(
          ~ {
              ~ Statement = [
                  ~ {
                      ~ Action    = "s3:GetObject" -> [
                          + "s3:GetObject",
                          + "",
                        ]
                      ~ Resource  = "arn:aws:s3:::90174981742.policy.driftctl-test.com/*" -> [
                          + "arn:aws:s3:::90174981742.policy.driftctl-test.com/*",
                        ]
                      ~ Sid       = "PublicRead" -> "teat"
                        # (2 unchanged elements hidden)
                    },
                ]
                # (1 unchanged element hidden)
            }
        )
        tags                        = {}
        # (9 unchanged attributes hidden)

        # (1 unchanged block hidden)
    }

Plan: 0 to add, 1 to change, 0 to destroy.

Possible Solution

Create a middleware to ignore that kind of diffs

Additional context
This is a known bug from AWS backend.

it happens only when using an array of a single element => solution is to use a string

closing


Suggestion: Switch to vulkan.hpp

Anvil is C++ only anyway, so I don't see much of a reason to stick to the C-header. Most C++-programmers (including me) would probably be more comfortable with the provided type safety of vulkan.hpp.

I'm on the fence with this problem.
On one hand, I agree the proposed solution introduces useful type safety and other benefits stemming from the fact C is no more.
On the other hand, the ask here really seems to be to drop any locations in Anvil where programmers need to pass raw Vulkan structure and enums, and instead have them pass Anvil-specific type-safe values. Is my understanding correct?
Admittedly, oldschool C enums that are still used in some areas of Anvil are a pain and a source of endless bugs, and we should move to fixed-type enums instead. The migration has actually happened some time ago but the pace has been mediocre, to say the least. Getting this resolved is on my TODO list.
Are there any other things in Anvil you're finding too C-like, which - when addressed - would improve your user experience? Thanks.

Type safety is now enforced in Anvil.


Fix autoload path for composer

The autoload path makes composer autoload to look for extensions in path like :
/vendor/twig/extensions/lib/Twig/Extensions/Twig/Extensions/Extension/I18n.php
It should be :
/vendor/twig/extensions/lib/Twig/Extensions/Extension/I18n.php
This patch should fix the problem

:+1:


Does Enchanted support Oauth with Ngrok?

Does Enchanted support Oauth with Ngrok?: username / password

No, it is pretty particular about having just a direct link to your ollama instance.
https://github.com/AugustDev/enchanted/blob/main/Enchanted/Services/OllamaService.swift


The isAJAX method does not exist in filters

I need to do a comparison inside a filter to know if $request is of type ajax. but it seems that the method loaded in the callback is not there:
public function before(RequestInterface $request, $args = null){
    if($request->isAJAX()){ // <- not defined method
          ......
    }
}

I think that method should be inside the request since until now it could only be solved in the following way:
if($_SERVER['HTTP_X_REQUESTED_WITH'] == 'XMLHttpRequest'){
    ....
}

greetings

The method definitely exists, IncomingRequest line 279:
public function isAJAX(): bool

You may have something wrong with your installation, or perhaps using a custom Request object? Since Filters receive RequestInterface $request it isn't necessarily an IncomingRequest. Add this to your filter to see what kind of object you're actually getting: dd($request);

I can't reproduce, I used it in https://github.com/samsonasik/ci4-vue project and working OK:
https://github.com/samsonasik/ci4-vue/blob/7572347636babc30cadb4ea91cca6e6c7e3508d5/app/Filters/LayoutUsage.php#L11-L17

I couldn't reproduce it either. What version of CI are you using?

 I close the issue :(


page.analyzePage() returning value as null

When trying to fetch HTML of the whole page in onenote add in, analyzePage() returning value as null.
Here's a code snippet:
await OneNote.run(async (context) => {      const page = context.application.getActivePage();     return context         .sync()         .then(async function () {             console.log(page.analyzePage())         }) })
Here's what it logs in console:
{     m_isLoaded:true,     m_type:0,     m_value:null,     value:null,     [[Prototype]]:Object }

Any update on this issue ?
Is this repo still being maintained ?


Passing --signoff flag through to git commit.

Hello, our project is using your action to publish the our documentation, so first off, thank you for the action.
We'd like to adopt DCO our project with automated enforcement (https://probot.github.io/apps/dco/).
I notice that the git commit used by asciidoctor-ghpages-action doesn't pass the --signoff flag, I'm expecting the action to break once the switch is thrown.
Would you be open to PR that allows --signoff to be enabled?

Yes, I would. But that should be disabled by default

Sorry, I realise I have made a mistake.  The commit made by the action is subjected to the DCO check at all.   This feature isn't useful.


Automated cherry pick of #6782: fix: Add '/version' handler for notify

Cherry pick of #6782 on release/3.0.
#6782: fix: Add '/version' handler for notify

Codecov Report

Merging #6785 into release/3.0 will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@              Coverage Diff               @@
##           release/3.0   #6785      +/-   ##
==============================================
- Coverage         6.92%   6.91%   -0.01%
==============================================
  Files              541     541
  Lines            91753   91753
==============================================
- Hits              6351    6349       -2
- Misses           84880   84882       +2
  Partials           522     522

Flag
Coverage Δ

#aFlag
6.91% <0.00%> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/cloudcommon/policy/resources.go
0.00% <ø> (ø)

pkg/cloudprovider/objectstore.go
2.51% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/buckets.go
1.23% <0.00%> (ø)

pkg/compute/models/guestdisks.go
0.57% <ø> (+<0.01%)
:arrow_up:

pkg/compute/models/secgroups.go
1.88% <0.00%> (-0.01%)
:arrow_down:

pkg/compute/models/snapshots.go
1.58% <0.00%> (+<0.01%)
:arrow_up:

pkg/hostman/isolated_device/isolated_device.go
3.22% <0.00%> (-0.06%)
:arrow_down:

pkg/util/rbacutils/policyset.go
75.00% <0.00%> (+9.78%)
:arrow_up:

pkg/util/rbacutils/rbac.go
55.04% <0.00%> (-0.70%)
:arrow_down:

Continue to review full report at Codecov.

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


Good deterministic random hash in wgsl: pcg3d/pcg4d

What problem does this solve or what need does it fill?
In shaders, whenever randomness is required a good hash function is good to have.
"Good" can mean:

Fast, i.e. good runtime performance
High quality: No apparent visual periodicity, also passes test-benches aimed at hash/rng functions
Stable: Does not stop being random after some amount of time (happens in e.g. some trigonometry based hash functions)

What solution would you like?
Availability of pcg3d and pcg4d in Bevy. Perhaps via bevy_pbr/src/render/utils.wgsl, but it might be better to start putting noise/rng/hash functions in a dedicated wgsl file.
This paper shows why pcg is a great choice. Section 6.1 also has GLSL code for it, so only porting is needed.
The signatures for pcg3d and pcg4d is to both take and return vectors of unsigned ints.
The authors' ShaderToy example shows that we can get float versions via dividing the unsigned int vectors by float max. So pcg3df and pcg4df (float versions) would be great to have as well since we often operate on colors.

This is an interesting idea and the implementation seems easy enough to translate. Bevy has never had an official RNG crate because of concerns for how it would be used, but perhaps it will be different with shaders.
I recommend pinging one of the people labeled "SME-Rendering" on the Bevy People page to get their advice on this matter. :)

See GLSL Code
uint3 pcg3d(uint3 v)
{
  v = v * 1664525u +<PHONE_NUMBER>u;
  v.x += v.y*v.z; v.y += v.z*v.x; v.z += v.x*v.y;
  v ^= v >> 16u;
  v.x += v.y*v.z; v.y += v.z*v.x; v.z += v.x*v.y;
  return v;
}

uint4 pcg4d(uint4 v)
{
  v = v * 1664525u +<PHONE_NUMBER>u;
  v.x += v.y*v.w; v.y += v.z*v.x; v.z += v.x*v.y; v.w += v.y*v.z;
  v ^= v >> 16u;
  v.x += v.y*v.w; v.y += v.z*v.x; v.z += v.x*v.y; v.w += v.y*v.z;
  return v;
}

because of concerns for how it would be used

:thinking: not sure what this means?

I recommend pinging one of the people

Then perhaps @IceSentry could chime in?
Also perhaps the scope of this issue could be increased (or a follow-up issue after) to have an example using the hash function to scroll noise like the shader-toy example I linked. This would be both instructional and would allow us to verify (at least visually) that over time the noise does not degrade.
So something like an example with a custom frag shader which writes its color output via the hash function onto all sides of a cube or something.

because of concerns for how it would be used

🤔 not sure what this means?

Mainly I could see RNG being misused, especially for cryptographic purposes or not. For instance, should a bevy_rng crate read from /dev/urandom like getrandom or should it instead have a pseudo-random number generator like Python? I feel like this decision is better made by 3rd party libraries, so that the consumer can pick which they want.
On the other hand, I can't see any point in requiring a cryptographically-secure for shaders. I think it's a little easier to provide a default since it would be harder to misuse.

Security is not a concern for shader random functions.
For white noise, I'd like to upstream my PCG wgsl ports: https://github.com/JMS55/bevy/blob/solari3/crates/bevy_pbr/src/solari/global_illumination/utils.wgsl#L8-L36
For blue noise, there's spatio-temporal blue noise: https://github.com/JMS55/bevy/blob/solari3/crates/bevy_pbr/src/solari/stbn.ktx2

Security is not a concern for shader random functions.
For white noise, I'd like to upstream my PCG wgsl ports: https://github.com/JMS55/bevy/blob/solari3/crates/bevy_pbr/src/solari/global_illumination/utils.wgsl#L8-L36 For blue noise, there's spatio-temporal blue noise: https://github.com/JMS55/bevy/blob/solari3/crates/bevy_pbr/src/solari/stbn.ktx2

Great, upstreaming would be appreciated :+1:

@torsteingrindvik I opened https://github.com/bevyengine/bevy/pull/11956. I didn't add 3d or 4d functions. Let me know what you want that's missing.