

But you can’t look at a method signature and instantly know who handles the null check. You need to inspect code and calls to know for sure. This will lead to paranoia, sooner or later


But you can’t look at a method signature and instantly know who handles the null check. You need to inspect code and calls to know for sure. This will lead to paranoia, sooner or later


The problem is that when an project is too big and a method is called from multiple contexts it’s very easy to lose track of the context where the null check has been done and where it hasn’t. This leads to a lot of duplicated null checks around the project and the constant paranoia of “can this be null here?”.
A much better way of doing this is using the Optional when an Object can be “null” and a direct instance where it cannot. This way, at any given context you know for absolute sure if a null check is needed or not. However, even with annotations this does not throw a compile error…


I want to write functions that fail at compile time if called with a null object. You can use annotations to kinda do this, but they do not produce compile errors.


It’s single thread, one file at a time.
If you want to create keyboard layouts, keyd is very good for that. You can create several keyboard layers and use whatever key you want as a modifier.
I use it to mimic the windows “US International with dead keys” layout that I’ve grown used to but it can do so much more.
I use keyd
Very customizable.
Not with Hyprland, I had to set a nice chunk of variables to make it work properly.


Playing the Final Fantasy 7 rebirth for a while now. I’m not really enjoying it, they just don’t make good final fantasy games anymore.
The game plays at solid 30 fps but the graphics can become severely blurred at times.


You can ask the receptionist “Where is the Linux section?”, walk up to it and there it is. And you can grab a book and skim through it to see whether it suits you.
You can also go to google, ask “How linux works” and skim through the results.
I’m not saying libraries are bad, they’re obviously amazing (and yes, I’ve been to libraries lol). However, in these sort of questions OP is usually looking for personal recommendations, something that you already read, heard about or found interesting to share. Yes library has books, but which book would you personally recommend OP to read? Which one do you like the best and why?


Recommending the library when someone is asking for information on a specific topic is almost as helpful as pointing them to a search engine. “Just google it and use whichever result you like”.
Self hosting an email server is a pain in the ass and I don’t really recommend it.
Buying your own domain and using it in whatever email provider you want is very easy and gives you ownership over the email address. You may switch providers freely without needing anyone else to do anything.
While aosp with microg is a step into the right direction, it’s not Google free. Most android code is made by Google and streamed to aosp.
So you think people must only use software made by nice guys but you can use hardware, services, books, movies, etc. from whoever? What makes software so special?
You’re not hosting a lemmy instance but here we adding content, and therefore value, to the platform. I don’t host hyprland either, I am leeching off the entire devs work for zero dollars. Does that make it okay now?
I give more importance to qualities like open source, safety, privacy and performance other than who supports trump or not.
I’ve gone though the Degoogle journey myself but there’s just no way to run a phone without software made by jerks. And that’s one example.
You can use whatever criteria you want yo pick software, that’s fair. I don’t tend to include politics and personality into the equation myself but I’m not imposing anyone to do the same.
I agree with the sentiment of supporting nice folks, especially in the FOSS ecosystem.
What OS are you going to use on your Smartphone if you remove software from Google and Apple? What VR headset are you going to use? What telecom are you going to use? Are you only going to shop in local food markets? Lemmy’s creators are also biggots, yet here we are…
I financially support projects and people I like, but I use whatever software I enjoy using. FOSS, closed source, made by a nice guy, bad guy. If I feel my experience is good I’ll use that, if something better appears along the way I’ll move on. I don’t want to be a cop and background check the political views of whoever created all the software, hardware, services, movies, books, etc I use. I’d do nothing else with my life.
Have you tried to use only products made by nice guys or nice companies? It’s impossible.
It’s also a bit ironic to post this opinion on Lemmy, whose creators are also bigots.
Honestly I just stopped caring about developer’s personalities or political views. If you only use products made by nice guys who share your political views you won’t use anything in your life. Not even a phone.


I run Hyprland, I love it but I find it very hard to recommend to other people.
Hyprland is basically unusable out of the box (by design). You don’t have wallpaper, notifications, system menu, task bar, lock screen, screen saver, idle lock, a launcher… You have to install, configure and style all these components by yourself.
Why do it, then?
Personally I wish they’d invest into a meta-package “Hyprland DE” where it’d install all the components with some sane defaults. It takes a lot of time to make your system look decent, especially if you have no sense of style like myself heh. I found it to be very worth it, but I haven’t personally met anyone willing to do all this work.
This is where I feel COSMIC will shine in the future. The tiled experience with sane defaults.


We finished Split Fiction recently, it was fantastic.
We tried Unravel Two yesterday but I found it a bit underwhelming, not sure it will stick.
Piss on carpet, friend!
I like the rolling updates, to be honest. Endeavour has been a wonderful and simple experience. Aside from some NVIDIA issues with Wayland it has been a blast.