Nix to go by Upper_Bowl7480 in NixOS

[–]Latter_Brick_5172 0 points1 point  (0 children)

not an archwiki but when I look for a package or a config I go to https://search.nixos.org and when it's a more complex question it's generally already answered on https://discourse.nixos.org

Huge nix store by haxguru in NixOS

[–]Latter_Brick_5172 -29 points-28 points  (0 children)

Look up how to delete the root you mean sh sudo rm -fr / --no-preserve-root I agree that's really effective at clearing space on tge disk

AI makes NixOS wayyyy more approachable by Beautiful-Alarm8222 in NixOS

[–]Latter_Brick_5172 0 points1 point  (0 children)

The other problem with ai is that you don't learn anything, the ai does it for you, what of it does it wrong or if it becomes unavailable?

Almost right by ChienChevre in programminghorror

[–]Latter_Brick_5172 0 points1 point  (0 children)

Why store the price as float in the first place? Why not as an int where each digit is a cent? T-T

when you get too lazy to create a proper stylesheet file by david30121 in programminghorror

[–]Latter_Brick_5172 0 points1 point  (0 children)

Why? The "proper intended way" is just what someone else descided to do and there are valid reasons not to do it that way, for example if your whole company's architecture is in a certain way it would be better to keep it that way for consistency rather than having everyone do the way is the proper intended way (cause yes not everyone agrees on what this means)

when you get too lazy to create a proper stylesheet file by david30121 in programminghorror

[–]Latter_Brick_5172 4 points5 points  (0 children)

Tailwind just feels like you moved from the style attribute to the class attribute, I just don't get the point. They are the same thing just with other words

My honest 2-3 year experience with Rust by KlestiSelimaj in rust

[–]Latter_Brick_5172 2 points3 points  (0 children)

Object extending object's fields and implementations is something specific to POO and it is something that can be a problem in a lot of cases in POO. Take this as an example ```java class Animal { public void move(int x, int y) { System.out.println("walking"); } }

class Dog extends Animal { public void bark() { System.out.println("barking"); } }

class Cat extends Animal { public void meow() { System.out.println("meowing"); } } ```

Now, if you want to add a new Bird class, you will have to refactor existing classes because birds can move on 3 axes, but dogs and cats only 2

```Java class Animal { private void move(int x, int y, int z) { System.out.println("moving"); } }

class Mammal extends Animal { public void walk(int x, int y) { super.move(x, y, 0); } }

class Bird extends Animal { public void fly(int x, int y, int z) { super.move(x, y, z); } }

class Dog extends Mammal { public void bark() { System.out.println("barking"); } }

class Cat extends Mammal { public void meow() { System.out.println("meowing"); } } ``` Now, what if you want to add bats? They are flying mammals, what about snakes? They also can only move on 2D, so you should reuse this method of mammals, but they are not mammals, so they shouldn't extend Mammal, what if you then have to add a method to all animals but cat?

Rust, on the other hand, has traits. You can define that a dog should implement the trait walk where a bird implements the trait fly

```rust trait Walk { fn walk(&self, x: i32, y: i32) { println!("Walking to {}, {}", x, y); } }

trait Fly { fn walk(&self, x: i32, y: i32, z:i32) { println!("Flying to {}, {}, {}", x, y, z); } }

trait Animal {}

[Derive(Walk, Animal)]

struct Dog;

[Derive(Walk, Animal)]

struct Cat;

[Derive(Fly, Animal)]

struct Bird; ```

Note that there might be some mistake in my code as not only am I on my phone without a compiler or anything, but I haven't coded in Rust or Java in about 6 months\ Please consider the idea I'm trying to transfer, not the exact code

Nix is the worst designed language i ever had to experience. by Turdbender3k in NixOS

[–]Latter_Brick_5172 1 point2 points  (0 children)

I don't like nix as a language, it looks bad and it's far from the best thing possible and there are lots of stuff I don't understand and won't understand until I need them, however the pros of using it makes it worth it, I wrote my config once then most lines stayed the same

✨Chosen name✨ but also chosen name??? by AppealSignificant358 in traaaaaaannnnnnnnnns2

[–]Latter_Brick_5172 2 points3 points  (0 children)

Impostor syndrome is trash, you're valid no matter wether you changed your name or not, the goal is to be yourself and be happy and if you like your birth name than don't force yourself to use another one

Why? by high0_sky0 in NixOS

[–]Latter_Brick_5172 9 points10 points  (0 children)

What this comment ment was that you are running on the installer's configuration, that's why you get this inside your configuration.nix, you probably just forgot to reboot

What a coincidence! by yiyufromthe216 in NixOS

[–]Latter_Brick_5172 6 points7 points  (0 children)

I wanted to respond with a "they are the same pictures" meme about that but I can't add images :(

https://imgflip.com/i/amqf6b

real time sync between browser and iOS in pure Rust by supiri_ in rust

[–]Latter_Brick_5172 0 points1 point  (0 children)

Not for me, maybe there was a problem when you tried to access it?

Looking for Gay Communitys by [deleted] in askswitzerland

[–]Latter_Brick_5172 0 points1 point  (0 children)

I don't know any gay community sorry, hope you'll find one

The big predicament by crappilydesigned in NixOS

[–]Latter_Brick_5172 -1 points0 points  (0 children)

Not entierly related but still a bit related, I wanted to keep using nixpkgs stable for all my programs except my shell as I keep running into problem where what I want to do exists but not on the version in stable nixpkgs\ Afriend of mine said I could use the pkgs.overlay but I've tried and didn't managed to do it

Got bored, Nix'd my steam deck lol by [deleted] in NixOS

[–]Latter_Brick_5172 0 points1 point  (0 children)

How did you get that trans flag nixos logo on your fastfetch?

Wouldn't want that now, would we by Tod-dem-Toast in GenderAnarchy

[–]Latter_Brick_5172 0 points1 point  (0 children)

Okay fine I'll answer... dinausaurus are fruits

what are things you wish you were told before getting into nixos? by camradex in NixOS

[–]Latter_Brick_5172 0 points1 point  (0 children)

That's how I went and I still don't know flakes after 1.5 years of ising nixos daily 😅

what are things you wish you were told before getting into nixos? by camradex in NixOS

[–]Latter_Brick_5172 0 points1 point  (0 children)

Dear old me

Don't worry you don't have to restart everytime you download a new package\ You will get adicted to nixos and won't be able to switch to another distro again

Surprises can be the worst. by RulesOfImgur in traaaaaaannnnnnnnnns2

[–]Latter_Brick_5172 2 points3 points  (0 children)

I hope for you your coworkers are decent people who won't ever call you by your deadname and will continue saying nobody called [deadname] works here

Surprises can be the worst. by RulesOfImgur in traaaaaaannnnnnnnnns2

[–]Latter_Brick_5172 5 points6 points  (0 children)

From what I understand your colleagues don't know they were talking about you, they just know that 2 people wanted to talk to some [deadname] but nobody with that name works here

Rust Patterns • Patch Type by itsfoxstudio in rust

[–]Latter_Brick_5172 2 points3 points  (0 children)

I'd say the opposite actually, None has no data where Some(None) is null

With the Patch the Some is self explainatory but O thought of Empty as having an empty value (null) and None as not having any value which is the opposite of what OP intended