51
submitted 1 month ago* (last edited 1 month ago) by QuazarOmega@lemy.lol to c/linux@lemmy.ml

I sometimes play games and also open my music player, but the sound from the game drowns out the music, so I need to go into the sound mixer on KDE and manually lower the game's volume every time.
I was wondering, is there a way to do this process automatically? As in setting up conditions like "if music is playing (some MPRIS API?) then lower all other apps' volumes)", maybe even crazier "if some app is outputting voice then set its volume back up and lower music app's volume or pause its playback altogether for some specified timeout that keeps being refreshed for as long as voice is heard".
I imagine the latter is a bit of a dream, but maybe for the first, even some quick sound profile selector would go a long way, say switching from "normal profile" to "background music profile", etc. which specify preconfigured volumes for those apps.
Is that a thing?

18
submitted 3 months ago* (last edited 3 months ago) by QuazarOmega@lemy.lol to c/programming@programming.dev

I was looking to implement a year column and while researching I stumbled on the YEAR data type which sounded just right by its name, I assumed that it would just be something like an integer that can maybe hold only 4 digits, maybe more if negative?
But then I noticed while actually trying it out that some years I was inputting randomly by hand never went through giving an out of range error, so I went to look at the full details and, sure enough, it's limited to years between 1901 and 2155, just 2155!
In terms of life of an application 2155 is just around the corner, well not that any software has ever lived that long, but you get what I mean in the sense that we want our programs to be as little affected by time within what's reasonable given space constraints.
So what will they do when they get close enough to that year, because you don't even have to be in that year to need it accessible, there could be references that point to the future, maybe for planning of some thing or user selected dates and whatnot; will they change the underlying definition of it as time passes so it's always shifted forward? If that's the approach they'll take, will they just tell everyone who's using this type that their older dates will just not be supported anymore and they need to migrate to a different type? YEAR-OLD? Then YEAR-OLDER? Then YEAR-OLDER-BUT-LIKE-ACTUALLY? Or, that if they plan to stay in business, they should move to SMALLINT?
Or will they take the opposite approach and put out a new YEAR datatype every time the 256 range is expired like YEAR-NEW, YEAR-NEW-1, YEAR-FINAL, YEAR-JK-GUYS-THE-WORLD-HASNT-COLLAPSED, etc.?

So I wonder, what's the point of this data type? It's just so incredibly restricted that I don't see even a hypothetical use.
There exist other questions like this (example) but I think they all don't address this point: has anyone from MariaDB or MySQL or an SQL committee (I don't know if that's a thing) wrote up some document that describes the plan for how this datatype will evolve as time passes? An RFC or anything like that?

342
submitted 5 months ago* (last edited 5 months ago) by QuazarOmega@lemy.lol to c/linuxmemes@lemmy.world

We all know who's the real steward of free software and federation

*smiles in anticipation*


legit had to draw the vector logo of Gogs for this, smh

edit: actually... it already exists, oopsie (ᵕ—ᴗ—) smh my head

[-] QuazarOmega@lemy.lol 117 points 6 months ago

The fuckin Tux tattoo is what sends me, lmao

[-] QuazarOmega@lemy.lol 68 points 8 months ago
> 1 == 1
true
> 1 == '1'
true
> 1 === '1'
false

(from node REPL)

Basically it's the real equals sign perfection

[-] QuazarOmega@lemy.lol 119 points 8 months ago

Can you compile sex from source? Ha, didn't think so!

[-] QuazarOmega@lemy.lol 154 points 9 months ago
[-] QuazarOmega@lemy.lol 164 points 9 months ago

Hmm yes, web dev horrors beyond my comprehension!

[-] QuazarOmega@lemy.lol 65 points 9 months ago

I'd say a normal phone is a lot worse than smartphones in general, unless you don't care about all your communications being readable by the carrier. With a smartphone you can make actually encrypted calls and texts over trustworthy applications/protocols (Signal, Matrix, Simplex, etc.), on a phone you're stuck with the carrier service; another thing that comes to mind is the storage, as far as I know there are no normal phones with an encrypted filesystem while it is default for a long while on Android.

On the other hand, if your new smartphone model isn't loaded with a privacy respecting ROM you'll also have at least some data sent to other third parties like Google and whatnot, but if you can change the ROM, then the potential for better privacy far outweighs the benefits of normal phones doing fewer things with your data by default. If you're going to use your new smartphone like an old phone, to make carrier calls and SMS, then there will be near to no improvements (except storage security maybe) and as you say, more data snooping

[-] QuazarOmega@lemy.lol 170 points 10 months ago

And then everyone praises him for standing up against Google and Apple for crippling/banning third-party app stores, like, cool... but clearly he's just chasing money, not doing it out of the goodness of his heart for us poor gamers

[-] QuazarOmega@lemy.lol 116 points 10 months ago

Fun fact: they're actually the same person, but he sold it and bought it back when she realized the gross mistake she made

[-] QuazarOmega@lemy.lol 66 points 10 months ago

The client says: sorry I actually wanted the table legs to be be longer... And curved... And- wait, no, actually I think I'll tell you more later

[-] QuazarOmega@lemy.lol 78 points 1 year ago

I wish it were, but it really isn't.
Social media is so everywhere it's even outside of social media.

[-] QuazarOmega@lemy.lol 82 points 1 year ago

Nice to see it's getting on with the times, it feels like they do a lot of heavy lifting behind the scenes, which is impressive, the web is a monster (math functions in CSS???), but user facing features have been kinda left in the dust for a long time now, like the highly requested vertical tabs, or desktop PWAs for instance.
I hope they'll make it more feature rich in the future, I still swear by it, but it's a pity seeing all these other browsers with shiny new features I can't ever use

61
submitted 1 year ago by QuazarOmega@lemy.lol to c/firefox@lemmy.ml

In terms of the most balanced in speed, consistency in page rendering and good default settings, is there a clear winner?

Personally I've been using both Dark Reader and Midnight Lizard on different devices and I can't say I noticed much of a difference in terms of performance, what I did notice is that Dark Reader seems to have better defaults, but many complain that it slows down page loading a ton, I haven't heard the same about Midnight Lizard, but maybe that is by virtue that it has way way fewer installations and therefore fewer people talking about it.
Do you know if I've missed one and there is a totally different extension that does even better than both?

362

Reposting this since the original got deleted (except on the instances where it was federated in time) when my beehaw account was erased alongside a week worth of data a few months ago.
Came across the image and thought "why not post again?", I don't know if I still stand by the meme, but frankly I don't care...

I just want to schizopost

⠛⠛⣿⣿⣿⣿⣿⡷⢶⣦⣶⣶⣤⣤⣤⣀⠀⠀⠀
⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡀⠀
⠀⠀⠀⠉⠉⠉⠙⠻⣿⣿⠿⠿⠛⠛⠛⠻⣿⣿⣇⠀
⠀⠀⢤⣀⣀⣀⠀⠀⢸⣷⡄⠀ ⣀⣤⣴⣿⣿⣿⣆
⠀⠀⠀⠀⠹⠏⠀⠀⠀⣿⣧⠀⠹⣿⣿⣿⣿⣿⡿⣿
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠿⠇⢀⣼⣿⣿⠛⢯⡿⡟
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠦⠴⢿⢿⣿⡿⠷⠀⣿⠀
⠀⠀⠀⠀⠀⠀⠀⠙⣷⣶⣶⣤⣤⣤⣤⣤⣶⣦⠃⠀
⠀⠀⠀⠀⠀⠀⠀⢐⣿⣾⣿⣿⣿⣿⣿⣿⣿⣿⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠈⣿⣿⣿⣿⣿⣿⣿⣿⣿⡇⠀⠀
⠀⠀⠀⠀⠀⠀⠀⠀⠀⠙⠻⢿⣿⣿⣿⣿⠟

[-] QuazarOmega@lemy.lol 120 points 1 year ago* (last edited 1 year ago)
281
submitted 1 year ago by QuazarOmega@lemy.lol to c/linux@lemmy.ml

You may wonder:

It's 32 years old, so why does Tux look like a cub?

To that I say: It's 32 years... young!
Linux has never been more in shape than it is today :)

spoilerYou may title this as "The Curious Case of Benjamin ButTux", ooor not, that sounds suspiciously like "buttocks"


Side note

I wasn't expecting the birthday to come already, but, as it happens, I was working on my Tux design these past few days, so I felt hard pressed to release some celebratory art today when I found out.
You can see the little guy being built right now in my ~~laboratory~~ repository: https://codeberg.org/quazar-omega/tux-reloaded

I'll be posting a proper announcement when I feel like it's ready (if I don't get burned out before that X﹏X )

15
submitted 1 year ago* (last edited 1 year ago) by QuazarOmega@lemy.lol to c/firefox@lemmy.ml

Background

I'm using GNOME and it has this problem where it deletes all notifications coming from a single application when they exceed 3, so, without even having many websites that send notifications, I find myself opening the browser, getting a slew of them and most disappear immediately to make way for the others that all come in quick succession, so I don't get the chance to actually read them.
That's especially annoying when I spot a notification, try to dig up where it could have come from and don't manage to find anything, either because the website redacted it or because I misread it at a glance so I'm unable to point to which one it could have been

Actual question

How do we keep in a log all the notifications that are coming through? Preferably not in a way that is dependent on the OS, with Dbus in this case, but all inside Firefox

55

you haven't changed one bit

(I love you Olive <3)

9

cross-posted from: https://lemy.lol/post/3995572

(I hope the video link works, otherwise)

Genshin TCP

7
submitted 1 year ago* (last edited 1 year ago) by QuazarOmega@lemy.lol to c/webdev@programming.dev

Hey there!
As promised @etchinghillside@reddthat.com @CombatWombatEsq@lemmy.world I'm posting now (new account btw), thanks for the encouragement! :)

I made a very simple web app as an exercise, since I'm pretty much new to JavaScript frameworks. I got the idea from a post that was ciphered with ROT-1 [1]

fjhiupofojof QBSJT OZD UPLZP UBJQFJ

(why yes, I am a Genshin Impact enjoyer, how could you tell?)

⣿⣿⣿⣿⣿⣿⣿⣿⡿⠿⠛⠛⠛⠋⠉⠈⠉⠉⠉⠉⠛⠻⢿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⡿⠋⠁⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉⠛⢿⣿⣿⣿⣿
⣿⣿⣿⣿⡏⣀⠀⠀⠀⠀⠀⠀⠀⣀⣤⣤⣤⣄⡀⠀⠀⠀⠀⠀⠀⠀⠙⢿⣿⣿
⣿⣿⣿⢏⣴⣿⣷⠀⠀⠀⠀⠀⢾⣿⣿⣿⣿⣿⣿⡆⠀⠀⠀⠀⠀⠀⠀⠈⣿⣿
⣿⣿⣟⣾⣿⡟⠁⠀⠀⠀⠀⠀⢀⣾⣿⣿⣿⣿⣿⣷⢢⠀⠀⠀⠀⠀⠀⠀⢸⣿
⣿⣿⣿⣿⣟⠀⡴⠄⠀⠀⠀⠀⠀⠀⠙⠻⣿⣿⣿⣿⣷⣄⠀⠀⠀⠀⠀⠀⠀⣿
⣿⣿⣿⠟⠻⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠶⢴⣿⣿⣿⣿⣿⣧⠀⠀⠀⠀⠀⠀⣿
⣿⣁⡀⠀⠀⢰⢠⣦⠀⠀⠀⠀⠀⠀⠀⠀⢀⣼⣿⣿⣿⣿⣿⡄⠀⣴⣶⣿⡄⣿
⣿⡋⠀⠀⠀⠎⢸⣿⡆⠀⠀⠀⠀⠀⠀⣴⣿⣿⣿⣿⣿⣿⣿⠗⢘⣿⣟⠛⠿⣼
⣿⣿⠋⢀⡌⢰⣿⡿⢿⡀⠀⠀⠀⠀⠀⠙⠿⣿⣿⣿⣿⣿⡇⠀⢸⣿⣿⣧⢀⣼
⣿⣿⣷⢻⠄⠘⠛⠋⠛⠃⠀⠀⠀⠀⠀⢿⣧⠈⠉⠙⠛⠋⠀⠀⠀⣿⣿⣿⣿⣿
⣿⣿⣧⠀⠈⢸⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠟⠀⠀⠀⠀⢀⢃⠀⠀⢸⣿⣿⣿⣿
⣿⣿⡿⠀⠴⢗⣠⣤⣴⡶⠶⠖⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣀⡸⠀⣿⣿⣿⣿
⣿⣿⣿⡀⢠⣾⣿⠏⠀⠠⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠛⠉⠀⣿⣿⣿⣿
⣿⣿⣿⣧⠈⢹⡇⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⣰⣿⣿⣿⣿
⣿⣿⣿⣿⡄⠈⠃⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣴⣾⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣧⡀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣷⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣦⣄⣀⣀⣀⣀⠀⠀⠀⠀⠘⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⡄⠀⠀⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣧⠀⠀⠀⠙⣿⣿⡟⢻⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠇⠀⠁⠀⠀⠹⣿⠃⠀⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⡿⠛⣿⣿⠀⠀⠀⠀⠀⠀⠀⠀⢐⣿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⠿⠛⠉⠉⠁⠀⢻⣿⡇⠀⠀⠀⠀⠀⠀⢀⠈⣿⣿⡿⠉⠛⠛⠛⠉⠉
⣿⡿⠋⠁⠀⠀⢀⣀⣠⡴⣸⣿⣇⡄⠀⠀⠀⠀⢀⡿⠄⠙⠛⠀⣀⣠⣤⣤⠄⠀


About SolidJS, I'm really liking how signals work, at first it seemed a little strange to use them, but they're actually pretty comfortable and you can do neat things with them, I finished the first prototype in less than a day in fact, the real hard thing was CSS instead lol. I had digged myself into a hole of weird rules so I ended up rewriting most of the CSS in the end and that took a fair bit more time, then came the logo design... oof T . T

Let me know if you find anything, uhh, peculiar ;)


Here's the code: https://codeberg.org/quazar-omega/unslide

[1] Facebook post, sorry couldn't find a privacy respecting frontend for Facebook :/

view more: next ›

QuazarOmega

joined 1 year ago