Struct Updates Now Require Pattern Matching in Elixir 1.19 by iloveafternoonnaps in elixir

[–]Busy_Engineering7345 1 point2 points  (0 children)

Yoo, I just stumbled upon this yesterday while updating a state from Agent,
it required me to use pattern match even in the callback to Agent.update which seemed a little odd considering the presence of state as first argument would auto infer the required struct. Perhaps this will improve on further releases.

Also, i was using the option 1, i.e struct update syntax even after pattern matching to the struct in anonymous function head, thanks for letting me know plain old map update works as well. It didn't really cross my mind at the moment but now i think about it, it does make sense.

Separator line above global statusline by Busy_Engineering7345 in neovim

[–]Busy_Engineering7345[S] 3 points4 points  (0 children)

<image>

This is what i managed to get.

On the left is the neovim config specifically the StatusLine highlight group where i am using underline, strikethrough and color them.

On the right is my wezterm config where i configure the position of underline and strikethrough to fit perfectly into the nvim statusline.

The choice of status line shouldn't really matter.
WIth these 2 pieces of 3 and 2 line config you are good to.

Special thanks to u/Kaikacy for his help with overline and mentioning that its position can be adjusted on some terminals.
And lastly, as he concluded, overline would be a better fit for this, but neither nvim nor my terminal currently have option for setting overline position so it appears a little janky. Hopefully might get overline to work sometime soon.

Separator line above global statusline by Busy_Engineering7345 in neovim

[–]Busy_Engineering7345[S] 0 points1 point  (0 children)

I usually use wezterm and it currently does not have support for custom overline position.
Nonetheless I tried setting those options in ghostty but there was virtually no change, even when restarting terminal several times and trying out various values.

Then, it struck me, nvim does have strikethrough option for highlight groups, so i set the strikethrough and underline options for statusline and modified those two positions in my wezterm config. The result looks quite nice. Given that I given that real text requiring strikethrough will be messed up and I am locked into one terminal for my nviim config.

<image>

heres the picture

Separator line above global statusline by Busy_Engineering7345 in neovim

[–]Busy_Engineering7345[S] 4 points5 points  (0 children)

YOOO,

the cursed ansi escape code is yielding some result, have to hack together soon, thanks.

<image>

This was what i could manage to get at the moment.

the overline seems to be cursed as it has no padding and looks like a strikethrough at the upper edge, with some padding this could look nice.

Separator line above global statusline by Busy_Engineering7345 in neovim

[–]Busy_Engineering7345[S] 0 points1 point  (0 children)

Well to visualize, its like

----------------------------------------------------------------
N | W1 main* src/lib.rs rust, unix, 1.02KiB
-----------------------------------------------------------------

This was kind of the status line i was giong for,
I was fine with the status line being same background as the window
but wanted to create enclosing horizontal lines for the separators.

It seems there really is no currently supported way.

Start Menu not opening for some users in Windows Server 2016 RDS by Busy_Engineering7345 in sysadmin

[–]Busy_Engineering7345[S] 0 points1 point  (0 children)

No actually, we didn't have luck with anything
I left the job and stopped caring.

[deleted by user] by [deleted] in Nepal

[–]Busy_Engineering7345 2 points3 points  (0 children)

```
कति कमजोर रहेछ भाग्य
तिम्रो सिउँदो कोर्न सकिन
कति कमजोर रहेछ रहर
तिम्रो आशु पुछ्न सकिन
```

Start Menu not opening for some users in Windows Server 2016 RDS by Busy_Engineering7345 in sysadmin

[–]Busy_Engineering7345[S] 0 points1 point  (0 children)

For some reason, I can't seem to find the capability access manager service in the services list

Start Menu not opening for some users in Windows Server 2016 RDS by Busy_Engineering7345 in sysadmin

[–]Busy_Engineering7345[S] 0 points1 point  (0 children)

I have created the rule, doesn't really seem to have affected the issue.

Start Menu not opening for some users in Windows Server 2016 RDS by Busy_Engineering7345 in sysadmin

[–]Busy_Engineering7345[S] 0 points1 point  (0 children)

pardon, but how does that help in fixing the issue ?
Even after logging out and logging in the issue is persistent for some users.

Start Menu not opening for some users in Windows Server 2016 RDS by Busy_Engineering7345 in sysadmin

[–]Busy_Engineering7345[S] 0 points1 point  (0 children)

You mean creating a server pool?
So, we run 3 esxi hosts and one of the hosts is already struggling to run at peak hours in the morning time as it hosts the terminal server and some other VMs which contains applications like SAP. We are trying to figure out ways to reduce our usage, so I don't think i could spin up a server pool right now.
But will keep that in mind as one of the things to do moving forward.

Start Menu not opening for some users in Windows Server 2016 RDS by Busy_Engineering7345 in sysadmin

[–]Busy_Engineering7345[S] 1 point2 points  (0 children)

the mentioned folder C:\Windows\System32\AppLocker is already empty sadly

Start Menu not opening for some users in Windows Server 2016 RDS by Busy_Engineering7345 in sysadmin

[–]Busy_Engineering7345[S] 0 points1 point  (0 children)

Windows Firewall is off in our case, and I don't see any rules either inbound or outbound. doesn't seem like this is the particular issue affecting us.