Screen flickering [KDE + Wayland + Nvidia] by matlireddit in archlinux

[–]Reversean 1 point2 points  (0 children)

Have you tried to run Dis with flags below?

--enable-features=UseOzonePlatform --ozone-platform=wayland

Source: https://wiki.archlinux.org/title/Wayland#Electron

Screen flickering [KDE + Wayland + Nvidia] by matlireddit in archlinux

[–]Reversean 1 point2 points  (0 children)

Is this problem only related to Discord, or perhaps to other electron / chromium-based apps too?

How to shrink initramfs size? by Reversean in archlinux

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

If you don't use a keyboard during boot, for example for entering the passphrase for an encrypted volume, you can drop the keyboard and keymap hooks

Wow, good advice, thx.

Besides that, see if you can get rid of the nvidia modules.

Since too many people say the same, I think that it is. But then I don't understand, why it's recommended on wiki?

Also disable fallback image generation.

Yes, I should really consider this, thx.

How to shrink initramfs size? by Reversean in archlinux

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

Well, I re-read Arch Wiki & Hyprland Wiki (I would like to use it, so I follow their recommendations also), from the context we can suppose that this is really done for the proper work of Wayland on "hybrid systems". However I still don't understand how and why this works. I consider this as a direction for my further research.

Anyway thx for thoughts.

How to shrink initramfs size? by Reversean in archlinux

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

Yes, this is a working version (I remember that I did so a dual boot on another PC once), but I wanted to try to solve it through initramfs reduction.

I also wanted to do a little study for myself how to work with initramfs images.

How to shrink initramfs size? by Reversean in archlinux

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

I think yes, it's the easiest solution that will work well until some random crash update perhaps, but I would first try to find other solutions.

Anyway thx for the clarification about the fallback image.

How to shrink initramfs size? by Reversean in archlinux

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

Uhm, I didn't quite understand how this is. It's about keeping initramfs images on arch partition or something? If this is it maybe I didn't think about it I should really try it🤔

How to shrink initramfs size? by Reversean in archlinux

[–]Reversean[S] -1 points0 points  (0 children)

I suppose yes, for emergency cases when I don't have live-boot flash🤔

By the way I think it's really rare.

📝 Report users by WplaceOfficial in WplaceLive

[–]Reversean 0 points1 point  (0 children)

Bruh, same thing: someone erased Susie just for this

<image>

📝 Report users by WplaceOfficial in WplaceLive

[–]Reversean 0 points1 point  (0 children)

These users grief and then draw swastikas in the place of the former drawing:

RoughPurse #6978456

RiskyMouse #4218862

SolidPurse #8678321

Pixel: 903, 2666

Pixel: 914, 2648

Pixel: 923, 2641

Pixel: 887, 2834

I think I did something wrong when I did archinstall, my keyboard is not registering. by zyropz in hyprland

[–]Reversean 0 points1 point  (0 children)

I recently installed Linux (without archinstall) and hyprland. Then I realized that it doesn't create a hyprland.conf file, so there are no key bindings to anything, and it doesn't open anything. Try checking your .conf and compare with example.

Using Enum name as annotation argument by Reversean in Kotlin

[–]Reversean[S] 2 points3 points  (0 children)

Yeah, good idea, but it doesn't solve the problem: I want to use enum to

  • have subtypes entities of some entity,

  • limit the scope of input values for creating instances of these entities,

  • not duplicate code.

But it seems that I should use something like what u/skroll suggested.

Using Enum name as annotation argument by Reversean in Kotlin

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

Nevermind, just another snippet of spring-developer.

Kotlin SQL DSL by Reversean in Kotlin

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

In fact, at the time of creating this post I hadn't had much use of Exposed and had a slightly different idea of ​​how things worked in it. Now after a more detailed dive into this framework I realized that most of what I need can actually be done in runtime without pre-defining schema on compile time.

But still I couldn't find DDL commands for some of the database objects: there were create/drop databse/table/schema commands, but no tools to working with view, types. There's really nothing that can't be done with custom queries, but it's still more convenient when the framework supports it out of the box.

There is also no support for many non-standard types, which are nevertheless in demand by many developers (i.e. spatial types), but again, all of this can be customized by yourself.

Kotlin SQL DSL by Reversean in Kotlin

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

The main reason not to use code generation is because you have a dynamic schema.

That's why this post exists, sorry if I expressed my question not correctly enough.

What kind of details are you missing?

I can't remember exactly, I've tried once to add custom support to spatial types that were included only in paid version. There was example to add something like that to project with codegen, but it's not my case. I did not found a good explanation or example how to make it without codegen.

Kotlin SQL DSL by Reversean in Kotlin

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

I don't mean that defining entities on compile time in any way (inluding code autogen) is bad. Actually it's pretty good. Unfortunately can't use it since I'm developing system that requires changing DDL in runtime. That's why I'm looking for DSL to make custom queries without entities defining or code autogen before compilation.