flashgnash

joined 1 year ago
[–] flashgnash@lemm.ee 1 points 17 hours ago
[–] flashgnash@lemm.ee 1 points 18 hours ago* (last edited 18 hours ago)

Screen sharing from Linux is amusing though, so far I've yet to have anyone even mention it (hyprland so looks very different to Windows)

[–] flashgnash@lemm.ee 7 points 18 hours ago (3 children)

Sounds like some pretty serious cons

Out of curiosity why do you like qubes? Having everything in a VM doesn't sound that great to me

I get that the main concern of it is security but what do you do that it demands that level of hardening? I've only ever got one virus in my life that I know of as it is and that was on windows

[–] flashgnash@lemm.ee 2 points 18 hours ago

Generally I think "I agree with *.hexbear.net" is a pretty telling sign for the opinion that's about to come next

The reason people say stuff like this though is because while you can try to force it into behaving like windows, you're going to get a much better experience if you let go of that and embrace the differences

Tiling window managers, package managers and command line tools are all examples that you just don't really get properly using windows and they provide a lot of the reasons people want to daily drive linux

[–] flashgnash@lemm.ee 1 points 18 hours ago

Pretty sure they didn't want to go for command line editors but helix has a much more intuitive search and replace feature nowadays where you don't need to type a whole sed command

[–] flashgnash@lemm.ee 2 points 18 hours ago

It's not that it's not widely usable, it's just that you should be open to different workflows

An oven and a toaster can both toast bread, but you wouldn't expect someone who's just bought a toaster after using an oven to complain because it doesn't have a door or shelves

[–] flashgnash@lemm.ee 1 points 18 hours ago

I've found vscode generally doesn't open as fast as np++ did

[–] flashgnash@lemm.ee 5 points 18 hours ago* (last edited 18 hours ago)

Check protondb instead of winehq, it's normally accurate and something like 95% of games are playable now

Though no games outside of steam, personally I don't have many games on anything other than steam that I want to play so I don't know how other launchers fare (though heroic is a thing for epic and gog)

Notepad++ I couldn't say because I only really use terminal based stuff now with the aforementioned million shortcuts, but I think kde's built in one (Kate) does exactly what you want

Nvidia drivers aren't that much of a problem anymore, last big issue for me was explicit sync which they fixed a couple months ago (though some distros make it a bit of a pain to install them)

Rdp not an issue unless the machine you're rdping into is using strict AD settings that only allow connections from other AD machines, you should use Remmina imo it's very good

Xbox one controllers should work fine, I don't own one but I've used controllers that present themselves as Xbox one controllers

Only controller that hasn't just worked perfectly straight away is PS5 and that was because of a Bluetooth setting

As for distro, bazzite is probably a pretty good one to look at, it's immutable so there's a limit to the amount you can break it though sometimes it can make more technical things difficult to do

MPV is a frontend by itsself, just set it as your default in your file browser and it'll play video files if you open them

Depending on the game modding can be a challenge. If mod organizer supports it you can usually get it to work fine, anything that supports mods by default will generally be fine and Minecraft is pretty much the exact same modding experience as windows

While you can do a lot on Linux without the terminal now you shouldn't be afraid of it as it can often be the quickest and easiest way to do things. It's one of the big advantages of Linux in general that the terminal experience is so good

[–] flashgnash@lemm.ee 3 points 1 day ago (1 children)

This is unfortunate for new programmers cause I think it's some kind of learned instinct rather than a hard rule

[–] flashgnash@lemm.ee 5 points 1 day ago (1 children)

Error between chair and clock

[–] flashgnash@lemm.ee 29 points 1 day ago

Programmers don't get given the leeway to make the work they do of good quality if it doesn't directly lead to more profit

[–] flashgnash@lemm.ee 17 points 1 day ago* (last edited 1 day ago)

"tells the user the current time" would be an excellent comment for a clock

I'm not the best at commenting my code, but generally I just try to think of what information I'd want to know if looking at this 10 years from now

Imo comments are best used sparingly, don't bother commenting something that anyone with a basic understanding of programming would understand straight away by reading the code

Functions should generally be commented with what parameters are and what they're for, plus what they output

use reqwest::Client;

// create a http client class that all other files can import 
// so as to only create one instance globally 

pub struct HttpClient {
    client: Client,

}
impl HttpClient {
        pub fn new() -> Self {
            HttpClient {
                client: Client::new(),
            }
        }

        pub fn client(&self) -> &Client {
            &self.client

        }

}

Here's an example where if I were to stumble onto this file 10 years from now, I might think wtf is this looking at it out of context, the comment explains why it exists and what it's used for

(we'll ignore the fact I totally didn't just add this comment because I suck at commenting personal projects)

 

I kinda like the look of them and often feel myself wanting a second monitor if I'm working on my laptop.

(I've come to the conclusion if people think I'm working I won't look like as much of a massive dork)

Always had the feeling they'd be a bit crap though, like the hinges break or the monitor isn't too good or it's big and bulky and you can't really carry it

Ideally I'd like to find a single fold out side monitor that attaches to my laptop (big chunky ThinkPad) somehow and doesn't need its own power supply but that may be asking too much

 

Saw an advert for this thing, in theory it looks pretty good (repairable e-ink tablet) but I'm a little confused by their statement that it will at some point in the future run a linux based operatint system

"A Linux-based system will be open in the future for community modifications and customizations. *Not built-in with the device"

I guess this probably means it's not actually as open as they claim if you can't just put mainline Linux/android on it but thought I'd ask here cause in theory it seems like a neat tablet

 

I've heard cosmic is in the process of being packaged for nix, but on the tracking issue the only things not complete are the video player and the app store, neither of which I care about

Is there any halfway sensible way to get the bits that do work running on nixos? Would quite like to try this desktop out

 

I've got this idea in my head that I want a tofi based sound board that I can summon on a button press (and maybe fuzzy find through)

Should be fairly simple to do with the way tofi works to make the interface, but as far as I can find there's not a quick and easy way to mix sounds in with mic input using pactl

Is there any single line solution for playing a sound over mic (like a soundboard would) anyone can think of or do I need to mess around with virtual audio devices to achieve this

 

There's a video on YouTube where someone has managed to train a network of rat neurons to play doom, the way they did it seems reminiscent of how we train ML models

I am under the impression from the video that real neurons are a lot better at learning than simulated ones (and much less power demanding)

Could any ML problems, such as natural language generation be solved using neurons instead and would that be in any way practical?

Ethically at this point is this neuron array considered conscious in any way?

113
submitted 5 months ago* (last edited 5 months ago) by flashgnash@lemm.ee to c/asklemmy@lemmy.ml
 

Am I the only one who gets to the self checkout and is compelled to finish as soon as humanly possible?

Imagine if there was a speedrun timer on them and a leaderboard

Would make boring everyday life a little more interesting

 

Often find myself getting frustrated editing yaml, and it seems to be used everywhere for some reason I cannot fathom

I have an idea to write an editor plugin that will, when opening a yaml file, convert it to json (or some other less painful configuration language), then convert back on save. I don't know enough about yaml syntax to know if that's possible or if there's some quirk that makes them not completely cross compatible

Or alternatively if it exists a better CLI tool for editing yaml than just a normal text editor because I'm getting sick of pasting in a block of yaml and then having to fix the 8 indentation errors that somehow spawn from that

 

Not sure if what I'm looking for exists, but thought I'd ask.

I like the boss fights of games like sekiro and and dark souls but I always end up getting bored of them before getting particularly far for one reason or another

I'm not a huge fan of the grungey art style most souls likes seem to adopt, and I often find myself wandering around not really knowing where I'm going, what I'm doing, or why I'm doing it

Really loved the Nier series. The combat in that makes you feel like a badass, whereas souls likes tend to make your character look like a regular guy with a sword (which I get is the point but not what I tend to look for)

Also like the visual style of black desert, the combat feels pretty good and looks very cool though I'm not a fan of all the micro transactions and pay to win (more or less the same goes for Warframe, at least when I played it years ago)

Does anyone know of any games that might scratch that itch, don't necessarily have to be souls likes as long as they look good and have challenging boss fights

 

Just googled to see if there was an activitypub git host yet and came across this claiming gitlab are working on it at the moment and that it's available as an experimental feature

Seems odd to me that people aren't talking about this more here, has anyone tried it and if so is it any good?

 

Seeing as Yuzu has been nintendo'd recently, what do people think will happen to ryujinx? Can Nintendo get them on the same grounds as Yuzu or would they need to come up with a new case against them?

158
submitted 7 months ago* (last edited 7 months ago) by flashgnash@lemm.ee to c/asklemmy@lemmy.world
 

My phone's just bitten the dust and now I need to look for a new one again.

Thought I'd test the waters and see what kinds of phones people on here are using nowadays and what for, what features set them apart if any etc

Bonus points if anyone's managed to get mainline linux running on them either via KVM or bare metal

Edit: Thanks for everyone who talked about their choices of phone, I am now writing this on a fairphone 4 and am quite happy with it so far.

 

Does anyone know of a mod that, given the seed for example, could locally generate chunks so that they can be displayed before the server generates them?

IE if multiple people are exploring and the server's struggling to keep up, it would be awesome if the client could generate them locally and fill in the gaps locally until the server gets around to generating them proper

(Kinda like how I imagine distant horizons does it)

view more: next ›