sloppy_diffuser

joined 2 years ago
[–] sloppy_diffuser 2 points 18 hours ago

Is there any issue with this sort of design

I was answering this question. No, no issue. A HoC is just an enhancement to reuse the layout. See my self reply with more info on file splitting by single export convention. It is just for ease of navigating a repo and human-readability. Is it needed for a small project? No. My personal preference is to be consistent so I usually follow the same conventions regardless of project size.

[–] sloppy_diffuser 2 points 18 hours ago (1 children)

In addition, one advantage of still splitting Header and Footer, even with a Layout, is you can make them optional props to App with what you have as the defaults so they can be overriden.

It could still be the same file, but the typical convention is one exported component per file where the filename matches the component name. This is just a style guide for recommended best practices and readability.

[–] sloppy_diffuser 4 points 19 hours ago (4 children)

No. I usually have a Layout.tsx that looks like this. Then I make App a higher-order component (hoc), so I can reuse the layout on every page by just passing in a content component.

[–] sloppy_diffuser 8 points 2 weeks ago

Thought I was seeing a post from AI Generated Porn for a second.

[–] sloppy_diffuser 15 points 1 month ago (1 children)

Less public / archived spaces as well. Videogame lobbies were rampant with Trump / MAGA messaging in 2019. Not sure what its like now as I quit all online gaming. Anyone 14-17 during that period who are now of voting age has likely gotten a massive dose of right wing propaganda.

[–] sloppy_diffuser 2 points 1 month ago

No. Its all text file config. You wouldn't use live CD mode. You define your own how you want it to work.

Its a steep learning curve so if looking for off the shelf solutions, don't use nix. If you need something custom but through a single config paradigm, nix is awesome.

[–] sloppy_diffuser 2 points 1 month ago (2 children)

Soap boxing here but I feel these kinds of use cases is what NixOS is built for.

Declarative config to setup the system, users, and apps.

Declarative and customizable impermanence exactly how you want it.

I use Tails as well but NixOS is my daily driver. Anything not marked explicitly to persist is dropped each reboot. I'm the only user so I keep the last 30 days of non persisted data for like a power outage but that's something I had to go out of my to setup for my use case.

[–] sloppy_diffuser 30 points 1 month ago (2 children)

1000% this. I'm now rediscovering my rather fluid gender identity and attraction to both genders that started in my late 30s. Looking back, all the signs were there, I just kept things private as it wasn't socially acceptable. Had some outlet with the teen goth scene, which was nonexistent in college. Grew up in a heavily catholic influenced region.

Have an awesome wife who is supportive and revealed she is (now was) also closet bi from the same generation.

We moved away from there, but when I visit family all the churches are run down and closed. I smile every time knowing their grip is loosening. All the LGBT hate today just tastes like desperation.

[–] sloppy_diffuser 1 points 1 month ago

Its pricey but I've been jealous of my colleague's iPad for written notes. Its tempting.

[–] sloppy_diffuser 9 points 1 month ago* (last edited 1 month ago)

There is anonymity and pseudonymity.

Do you need your opsec to be resistant to state-level actors (oppressive regime, censorship, illegal activities)? Well then you need to make sure you don't introduce anything that will deanonomize you.

Are you trying to be resistant to mass data collection efforts used for profit? Being on the pseudonymity spectrum is a good step.

Dealing with the latter is like dealing with a bully. Make it not worth their time. They just want to put you in bucket X so they can estimate the most likely way to influence you for reason Y. Pseudonymity is about having multiple aliases that get put into different buckets so their privacy invasive efforts are less effective.

[–] sloppy_diffuser 2 points 2 months ago

I'm both experienced and know jack shit because there is just too much to learn. I just started using it (1998ish) to make cool looking UIs. Its been my daily driver for 15 years now.

You will never learn it all. Over time you may become more familiar with the terminal or you may not. Doesn't matter. You do you.

Its pretty easy to test drive. Grab a distros "Live CD" version, put in on a thumb drive, reboot and play around. This wont be persistent. When you're ready, install it on an external SSD. Play around some more now that your edits will be persistent. You'll mess up. Take notes. Start again once you've hosed your system.

view more: next ›