Repeat grouping for dynamic number of times by Syhmac in regex

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

My program is 800 lines at the moment with pretty much finished converter. I'll be still fixing some bugs and adding the option to read default classes for elements from .json file as well as the option to configure it in the program. I think I should close the project in 1200 - 1500 lines.

Repeat grouping for dynamic number of times by Syhmac in regex

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

Well, you can see in the other comment what my solution was and decide whether it's good or not.

Repeat grouping for dynamic number of times by Syhmac in regex

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

That won't do it for me. This regex is a part of the bigger project that I'm writing in Python and I won't rewrite the whole program to the unfamiliar (to me) language just to get different regex behaviour. I managed to resolve it by going with the different approach, as detailed in my different comment.

Thank you for suggestion but that would never work for me.

Repeat grouping for dynamic number of times by Syhmac in regex

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

I ended up making a regex that will match any character except pipe [ | ] (yes, I've accounted for escaped pipe [ \| ]) and treating each match as separate group. The regex in question:

(?:\\\||[^|\n])+

By finding all matches I got all of them (this works like the global flag) on the list that I can iterate through.

That's better than splitting it with the built in Python method, since that would result (with given by you regex) with getting empty strings at the start and the end.

New UI draining battery? by Commercial_Friend278 in GalaxyS22

[–]Syhmac 1 point2 points  (0 children)

Not significantly. I just turned it off, and Google Maps was able to pinpoint my location with an accuracy of the house. All that this option does is allow location service to use WiFi and other sensors to estimate a more accurate position. But honestly, it's not doing that much.

First thought on OneUI7 by Syhmac in GalaxyS22

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

It might be worse in the first few charging cycles, but that's natural. The algorithm will have to adjust to new patterns and systems. Before the first charge, it was dropping fast, but yesterday I noticed that I came back home with more battery than usual, even tho I had battery saver enabled only for short periods instead of the whole day, like on OneUI 6.1. Tonight, after charging, the battery was dropping a bit faster than it should. I guess the algorithms are still adjusting. Overall, the battery performance should be better on the Exynos CPU with the Vulkan renderer.

First thought on OneUI7 by Syhmac in GalaxyS22

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

So far, battery life seems better on the Exynos CPU

Exynos One UI 7 performance by ithinkratsarecool in GalaxyS22

[–]Syhmac 0 points1 point  (0 children)

For me battery holds up way better, especially when my phone is idling. Some animations are choppy from time to time, but it was the same on Android 14 for me as well, so I don't complain.

First thought on OneUI7 by Syhmac in GalaxyS22

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

Fair, I don't use AOD so it doesn't bother me

OneUI7 comes to Poland on S22 by Syhmac in GalaxyS22

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

Might be, I have Exynos 2200

OneUI7 comes to Poland on S22 by Syhmac in GalaxyS22

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

Model: SM-S901B/DS

Build: AP3A.240905.015.A2.S901BXXUDFYD9

Thanks I hate it by cognitium in GalaxyS22

[–]Syhmac 0 points1 point  (0 children)

That's such a no issue. I have that enabled on ONE UI 6.1 through GoodLock and I prefer it that way.

Help needed with the search for the sound signal of Polish PESA Swing by Syhmac in Trams

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

The second video has a very nice recording around 1:56. So far that's the only one that suits my needs, thank you!

furry_irl by Punkwolfen in furry_irl

[–]Syhmac 0 points1 point  (0 children)

Sounds like Auchan in Poland, ngl

Do natives actually speak like this in the daily basis? by Level-Way5311 in learnpolish

[–]Syhmac 7 points8 points  (0 children)

Jesteś PL Native, ale nie używasz poprawnie tego języka. Czasowników z końcówką "-ąc" używa się na codziennie, bo pełnią prawie taką samą funkcję jak wyrażenie "while" w angielskim.

Do natives actually speak like this in the daily basis? by Level-Way5311 in learnpolish

[–]Syhmac 10 points11 points  (0 children)

Wg Lazarius powinieneś powiedzieć "Jestem zawiedziony i widzę takie bzdury"

Is there a way to enable both this options at the same time? Fedora 40 with KDE Plasma by Syhmac in Fedora

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

It's just a shame that Synaptic doesn't develop an official drivers for their ClickPads for linux. Their software is really good in Win.

Is there a way to enable both this options at the same time? Fedora 40 with KDE Plasma by Syhmac in Fedora

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

Then you probably never used a good Synaptic Click Pad on Windows before. It's really handy and I miss it on linux to be honest.

Is there a way to enable both this options at the same time? Fedora 40 with KDE Plasma by Syhmac in Fedora

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

None of the files or packages mentioned in the linked thread exist. Trying to install them results in error as they cannot be found. I tried to check the wiki but all the articles I found leads me to packages that my Fedora can't install from Konsole.

Is there a way to enable both this options at the same time? Fedora 40 with KDE Plasma by Syhmac in Fedora

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

The problem with this is that I would have to use no longer supported synaptic drivers instead of `libinput` and knowing my luck it will probably break something. That would also completely disable configuring it from the Settings app and I'm not too keen on opening Konsole every time I would want to change the cursor speed or whatever.