Presi300

joined 1 year ago
[–] Presi300@lemmy.world 1 points 2 days ago

"Did stuff"

[–] Presi300@lemmy.world 2 points 2 days ago* (last edited 2 days ago)

//TODO: Make this better

And you never look at it or touch it again.

There, code fixed!

[–] Presi300@lemmy.world 1 points 2 days ago (1 children)

Sums up my experience with C++. It's fun until you actually start using it and then you get hit with: Idiotic syntax, no package management, C compilers, different operating systems, compiling in general, having to code everything from scratch, memory management and a lot more...

Shit hit me so hard, I began learning web dev instead and never looked back...

[–] Presi300@lemmy.world 2 points 2 days ago

Changing stuff and seeing what happens. Yeah, about sums up my "debugging".

[–] Presi300@lemmy.world 20 points 2 days ago

Glory to 2B's as~ I mean mankind...

[–] Presi300@lemmy.world 4 points 2 days ago

What I usually do is I explain what the function does and, if not self explanatory, explain why it does such thing. Like, with the clock example, I'd explain that it tells the time and then, if not immediately obvious, explain why the time needs to be known... Smth like that.

There is no "correct" way of commenting code. I personally think the more verbose, the better, but that's an unpopular opinion afaik. As long as the code can be understood, the comment is doing it's job.

PS, I'm also kinda new to programming, mostly doing JS and React stuff

spoilerI love putting memes in comments :P

[–] Presi300@lemmy.world 1 points 2 days ago

No, I'm broke...

[–] Presi300@lemmy.world 2 points 5 days ago* (last edited 5 days ago) (1 children)

My advice: try them all and see what works.

I'd recommend nobara if you don't like gnome, but I am fairly biased towards it, so idk what my recommendation is worth.

Endeavor is also a decent choice, provided that you wanna deal with some arch Linux quirkiness from time to time.

But yeah, try them all and see what works best...

[–] Presi300@lemmy.world 4 points 6 days ago (6 children)

plan on not using Wayland

Strong disagree on that one, X11 sucks

[–] Presi300@lemmy.world 17 points 6 days ago

Coffee. Scary amounts of it.

[–] Presi300@lemmy.world 1 points 1 week ago

WinBTRFS is quirky at best. For the better or for worse, you're better off either setting up a network share or sticking with mounting the NTFS partition.

[–] Presi300@lemmy.world 1 points 1 week ago* (last edited 1 week ago) (2 children)

So you're telling me that you can use smth like a drill/angle grinder or go to a concert without ear protection and not feel pain?

 

Yeah, for some reason, after the newest UI update, changing the volume from another device is broken... AGAIN. Good thing I use spotify like that only 90% of the time.

I sure do love using services I pay for...

 

I am aware of the switches you can pass to each app to make it use native wayland, but is there any way to do it globally?

32
submitted 4 months ago* (last edited 4 months ago) by Presi300@lemmy.world to c/selfhosted@lemmy.world
 

This is sort of a follow-up to my previous post, asking about migrating ZFS pools to a new machine. Migration went smoothly and the new machine is quite the nice upgrade, if I may say so myself I went from:

A hacked together custom build

AMD FX-8320E 8c/8t @3.20 GHz 16GB ram

To a used HP ProLient dl380e gen8

2x Xeon E5-2450 16c/32t @2.10 GHz 64GB ram

Not mentioning storage, as I haven't changed that, still using a

5x 2TB RAIDz1 HDD pool

Huge thanks to anyone who replied to my old post :)

The ProLient has been quite the fun experience, got it for real cheap and it's been pretty great. Took me a while to figure out how to get the thing booting, iLO4 is not as horrible as I expected and it is kinda loud, but pretty great other than that.

13
submitted 4 months ago* (last edited 4 months ago) by Presi300@lemmy.world to c/selfhosted@lemmy.world
 

I've recently been looking at options to upgrade (completely replace) my current NAS, as it's currently more than a little bit jank and frankly kinda garbage. I have a few questions about that and about migrating my current TrueNAS scale installation or at least it's settings over.

Q1: Does the physical order of the drives matter? I.E. The order they are plugged into the SATA ports.

Q2: Since I have TrueNAS scale installed on a USB flash drive (yeah, ik you're not supposed to but it is what it is), how bad of an idea would it be to just... unplug it from my current NAS and plug it into the new one?

Q3: If all else fails, how reliable is TrueNAS scale's importing of ZFS Pools and are there any gotchas with it?

Q4: Would moving to a virtualized solution like proxmox and installing TrueNAS scale on top of that in a VM make more sense on a beefier server?

E: Thank you all for the replies, the migration went smoothly :)

8
submitted 4 months ago* (last edited 4 months ago) by Presi300@lemmy.world to c/linux_gaming@lemmy.world
 

I mean, the title really says it all. It occurs seemingly at random, but not all the time and I've been unable to determine any pattern to it... I'm using the latest proton stable version and pipewire-pulse for audio. Any ideas on how to fix it?

 

I've had this same issue on Gentoo and now on Alpine, both with plasma 6 (Wayland). Pipewire and plasma 6 seem to be working as intended other than that... Any help would be appreciated!

E: the issue is plasma 6 exclusive, I have hyprland installed along side it and screensharing works just fine there

 

Due to unfortunate circumstances (me dropping the laptop) I have now ended up with a half broken laptop that has a broken screen and a dying battery. I could repair it, however, I don't wanna bother as I'm very likely gonna be getting a new one soon.

The laptop itself still works fine, however the broken screen and dying battery make it pretty much useless as a laptop and I already have a home lab NAS thing, so I'm kinda out of ideas on what to do with it. Any ideas?

Here are the specs:

CPU: i5-8300h

GPU: intel HD830/GTX1050ti

RAM: 16GB

Storage: 128GB SSD

 

I have recently setup a system with TrueNAS scale and while it's been mostly smooth sailing (lies), I can't figure out why TrueNAS itself cannot connect to virtual machines and vice versa, which kinda sucks for me as I have a wireguard server setup on a virtual machine, which works but clients connecting to it cannot connect to anything hosted on the host itself...

(And the whole reason I have wireguard setup like this is because I couldn't figure out how to setup the wg-quick app, it just refuses to work for unknown to me reasons... and by "work" I mean that the WG clients just cannot connect to it, the webui itself works).

The VMs are set with Virtio as their NIC and truenas itself is set to a static IP and can connect to everything else...

Any help would be appreciated...

[SOLUTION]

This is gonna be a quick overview on how to fix this issue, as it seems to be fairly common. You can find more detailed instructions here: https://forum.level1techs.com/t/truenas-scale-ultimate-home-setup-incl-tailscale/186444

Scroll down to the section titled “Oh but wait”

Note: This problem cannot be fixed through neither the webui, web shell, nor SSH, you need to have physical access to the machine, a display adapter and a monitor to display the TUI on.

  1. From the cli menu, go to "Configure network interfaces"

  2. Remove DHCP/Any other static alias you have on your main interface by either pressing delete on it or by manually going to it and deleting it, just leave the alias field blank and ipv4_dhcp to "No", then click on Save

  3. Create a new interface by bressing "n", select type 'BRIDGE", set name to "br0" (without the quotes) and either enable DHCP or add the IP alias that you previously removed from your main interface as an alias here and click on Save

  4. Back on the main "Configure network interfaces screen" press "a" to save changes, then "p" to make them permanent (again without the quotes).

  5. At this point, your network should drop out and you shouldn't be able to connect to the WebUI. Reboot the system and everything should work properly again!

  6. That's it! Problem solved. Now you should go and change the NICs of the VMs to use the new br0 and they should able to connect to the truenas host just fine.

 

I recently got a few (5) hard drives to turn my home server into a NAS with trueNAS scale and my idea is to have 4 usable and 1 for redundancy, my question is... How does RAID work, like what is RAID 0, RAID 5, software RAID etc, and does any of that even matter for my use case?

67
[Plasma] Gren (lemmy.world)
submitted 11 months ago* (last edited 11 months ago) by Presi300@lemmy.world to c/unixporn@lemmy.ml
 

-=Stuff=-

OS: You can see it... do I need to type it here?

DE: Plasma (Wayland)

Panel: the plasma panel

Programs shown: Dolphin (file manager), neofetch (fancy Ascii art on the terminal)

Plasma theme: Fluent

Kvantum theme: Fluent-dark-green

Icons: Papirus

Background image: image

Original from pexels, upscaled with: Upscayl

 

Recently, I've been wanting to make a custom live iso with a couple of tools that I need but I really don't know where to start or what to do... any help?

E: I didn't phrase my post correctly, I need a portable set of desktop tools for development, running on the gnome desktop

 
view more: next ›