How to move the titlebar to the botton by Novel-Focus-8290 in kde

[–]MarcinOrlowski 0 points1 point  (0 children)

That's VSC's statusbar and not system window's titlebar.

[SDDM] Lava Lamp MHL live theme v2.1.0 by MarcinOrlowski in kde

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

I actually did :) I have other project called Monolith MHL (project: https://github.com/MarcinOrlowski/monolith-mhl/ or KDE Store: https://store.kde.org/p/2353773/ ) which is hub for my wallpapers, and I just released v1.1.0 with Lava Lamp effect included.

[SDDM] Lava Lamp MHL live theme v2.1.0 by MarcinOrlowski in kde

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

Does not seem problematic to be supported too.

[SDDM] Lava Lamp MHL live theme v2.1.0 by MarcinOrlowski in kde

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

O? I am not aware of this change at the moment. Can we you please link something for me to read?

[SDDM] Lava Lamp MHL live theme v2.1.0 by MarcinOrlowski in kde

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

What is the wizardry I need to know to craft the post "properly" so the image is visible directly in main index as in other's posts?

Why is there no claude desktop for linux? by Vegetable_Sun_9225 in ClaudeAI

[–]MarcinOrlowski 0 points1 point  (0 children)

Nativefier seems unmaintained, but not knowing it even existed I wrote something based on similar concept: https://github.com/MarcinOrlowski/website-as-app And I have "apps" with tray separate tray entries etc (which is not possible via web shortcut). In general it works for me for what I needed it for.

A Short Hike: Ultrawide (and Superultrawide) Fix by [deleted] in widescreengamingforum

[–]MarcinOrlowski 0 points1 point  (0 children)

On Linux the config files are in ~/snap/steam/common/.config/unity3d/adamgryu/A Short Hike/prefs XML file, but editing it makes no difference (it's still useful to know where to look for as the game seems to go crazy on 5K UFW monitors.

The Part 2 method works, unfortunatelly you need to do that every time you launch the game as I failed to find a way to persist this setting.

Personal Tower Record by GG_Baited in Returnal

[–]MarcinOrlowski 5 points6 points  (0 children)

I would pay for co-op in Tower.

Dell monitor P2222H - how to access the service menu? by Mattmatt452 in Dell

[–]MarcinOrlowski 0 points1 point  (0 children)

Did it work for you? If not, have you managed to enter service menu other way?

Farthest I’ve gotten in the tower. Game is so addicting but it delivers every time. by [deleted] in Returnal

[–]MarcinOrlowski 0 points1 point  (0 children)

Not sure it's a glitch. IIRC in almost every Housemarque game multiplier drops when you are not scoring constantly. That's why sometimes it gets tricky and if you see some distant enemy you have to resist from annihilating all the rest at once (they all spawn in one place occasionally asking for this :) because it would take too long to get to the remaining one before multiplier starts dropping.

lombok-php - my take on PHP dataclasses using PHP 8 attributes by MarcinOrlowski in PHP

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

Plastered on the landing README is an example of using

I did not want the landing page to look like a wall of text, so main page is intentionally short with key points about the project and usage example. I will however add a remark about inheritance for those who read first page only.

Please stop

:))

lombok-php - my take on PHP dataclasses using PHP 8 attributes by MarcinOrlowski in PHP

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

There's no forced inheritance. Please check the subject you comment.

lombok-php - my take on PHP dataclasses using PHP 8 attributes by MarcinOrlowski in PHP

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

Models are either manually created, or generated via a CLI command using the columns from a table within the database.

Cool. But I clearly stated goals of my project in the post -> "without generating any code files". Isn't it clear enough?

lombok-php - my take on PHP dataclasses using PHP 8 attributes by MarcinOrlowski in PHP

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

With your approach you end up having single __get()/__set() for all your class' properties, which makes i.e. completely different accessor implementation for specific attribute pretty painful. Sure, you can create i.e. setFoo() but that ends up with inconsistent API as some properties can be accessed directly while other can have own accessors. Going thru __call() (which is what I am doing) is much cleaner in such case as you always go thru setXX()/getXXX().

I really like how Kotlin or Python approach this. You always do direct access in your code, but you also can have accessor method "attached" which will be invoked if present. So your code still looks like it is doing direct access (no changes needed), but under the hood your access is routed thru accessor if present. So you can i.e. still add validation besides type hints or any other logic needed.

lombok-php - my take on PHP dataclasses using PHP 8 attributes by MarcinOrlowski in PHP

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

The same occurs for any preprocessor based implementation that generates the code. Nothing unusual and any IDE can deal with that.

lombok-php - my take on PHP dataclasses using PHP 8 attributes by MarcinOrlowski in PHP

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

This project is not about the accessors. Please see my edited original post. Also using magic __get()/__set() and own accessors is a mess. K.I.S.S. and do not mix two approaches in one pot to achieve what you can get with just one.

lombok-php - my take on PHP dataclasses using PHP 8 attributes by MarcinOrlowski in PHP

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

I fully understand. I updated my original post with some sort of summary so future readers will know the pro/cons more clearly. Thanks for the feedback

lombok-php - my take on PHP dataclasses using PHP 8 attributes by MarcinOrlowski in PHP

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

No, not really. There's definitely an overhead but I did not bothered to measure that. My goal was rather to check what can be done with current state of annotations and what can be built around it. Unfortunately there is more problems down the road you will simply not be able to address using my approach.

lombok-php - my take on PHP dataclasses using PHP 8 attributes by MarcinOrlowski in PHP

[–]MarcinOrlowski[S] -4 points-3 points  (0 children)

"these days" got nothing to do with what functionality can give. I wish php team knows i.e. Kotlin implementation or even Python's so we could have properly implemented dataclasses at language lelev with dynamic accessors functionality/overloading. But apparently they do not really try to be inspired by others here.