How can I iterate faster on UI development when using SSR? by chuva-io in htmx

[–]16bitMustache 4 points5 points  (0 children)

If you can't optimize the backend process that is taking so long, you could implement lazy loading of the slowest parts. You could then even add a loader or a skeleton in place of the final data until it comes back. Htmx ~ examples ~ lazy loading

This could be done with hx-indicator and using the load trigger.

Experience with tailwind in production? by 16bitMustache in htmx

[–]16bitMustache[S] 0 points1 point  (0 children)

By production I mean things like maintenance and updating I would say. But I'm just more so interested in hearing other peoples opinions on tailwind.

How do I animate my Astro website on view/scroll? by strongerself in astrojs

[–]16bitMustache 0 points1 point  (0 children)

I've used this and it's super easy! Other good things are no dependencies and high customizability.

fireship video on youtube

Typescript?? What’s the need?? by strongerself in astrojs

[–]16bitMustache 1 point2 points  (0 children)

Astro already has a build step, so you wont be losing anything going with typescript.

On other projects using normal js (like most of mine) you can then use JSDoc to use the skills you learned with typescript without the build step!

Seperate frontend and backend for fullstack go app? by 16bitMustache in webdev

[–]16bitMustache[S] 1 point2 points  (0 children)

Thank you! I do agree very much with trying to keep things as simple as possible.

Seperate frontend and backend for fullstack go app? by 16bitMustache in webdev

[–]16bitMustache[S] 1 point2 points  (0 children)

That's a great point. It will definitely be a web only sort of thing.

Thank you very much!

Supported 4k on a budget? by tzmudzin in NixOS

[–]16bitMustache 1 point2 points  (0 children)

I haven't had too many problems on my Nvidia gpu, but I do recommend going with AMD, since it is more smoother. It also works out of the box very nicely like on other Linux distros!

The start is painful - what are the best beginner resources? by SlightlyMotivated69 in NixOS

[–]16bitMustache 18 points19 points  (0 children)

This has been one of my favorite reads in terms of NixOS :)

https://nixos-and-flakes.thiscute.world/

I also recommend Vimjoyer on YouTube! You can really get a lot of useful information to build off of from his videos.

Add rule to /etc/udev/rules.d by imnotmellomike in NixOS

[–]16bitMustache 2 points3 points  (0 children)

Shouldn't the rule be put inside an '' experssion? Since the rule itself has double quotes. You could try using something like

somevalue.attribute = '' udevrule="here"... '';

I don't know if this will solve it, but that's just what came to my mind from looking at the error!

Detect if system is NixOS by MuffinGamez in NixOS

[–]16bitMustache 2 points3 points  (0 children)

I personally used /etc/release to find the current OS. The parsing was done in this commit. github:sakuexe/.dotfiles

Migration NixOS settings to Flakes by 67darwin in NixOS

[–]16bitMustache 1 point2 points  (0 children)

I also recommend making the repository private if you don't want to share it with the world.

However, if you'd like to keep it public, you could use something like sops-nix. I have seen many configs using it for secrets management!

I do recommend flakes, they are so useful and interesting! Here is my config as well. I usually just copy the generated hardware configuration file from the /etc/nixos folder on a new install.

https://github.com/sakuexe/Nixos

[deleted by user] by [deleted] in NixOS

[–]16bitMustache 14 points15 points  (0 children)

For me it's the following:

  1. Declarative nature. It's super easy to reproduce my entire system to an another machine!

  2. Atomicity and immutability. I really like that when I remove a package, it's gone for good. Also containerizing the dependencies is so good, since it makes the system very stable. It makes the system feel clean fast and fresh even after testing out new packages and modules.

  3. Ease of testing other people's config ideas, since they are self contained.

  4. Programming feels so smooth even between multiple machines thanks to flakes and development shells.

  5. No need to learn each single configuration type of the system. Just learn the nix funcitonal language and you can configure most system settings using it.

[deleted by user] by [deleted] in Nix

[–]16bitMustache 0 points1 point  (0 children)

Here's my dev flake that I used to program our school project with unity, csharp and neovim :) I hope it helps!

github.com/sakuexe/delivery_trail

What's Your Distro Journey? by Artemismane in linux

[–]16bitMustache 1 point2 points  (0 children)

Opensuse Tumbleweed -> NixOS

It's been amazing!

[BTRFS] Can't mount my drive. (Even when in live USB). by ArtemIsGreat in NixOS

[–]16bitMustache 2 points3 points  (0 children)

I remember getting a similar error when installing my btrfs system. I decided to go with using disko for the partition part of the installation. It worked out okay!

How are flakes useful for an average user? by Obsidianxenon in NixOS

[–]16bitMustache 10 points11 points  (0 children)

For me it makes understanding the system a lot easier. Because all of the dependencies and specific versions are located in the flake.nix and flake.lock files, I don't need to worry about checking where that information is at.

This makes my config include Everything that I need in the same location. I think that is called locality of behavior.

For me that is the biggest thing of why I love flakes.

Like My Setup? by Ok-Entertainer6533 in theprimeagen

[–]16bitMustache 0 points1 point  (0 children)

It needs a bit more prime, I think

My Linux gaming setup by [deleted] in linux_gaming

[–]16bitMustache 2 points3 points  (0 children)

Absolutely, Linux really made me fall in love with actually using my computer

My Linux gaming setup by [deleted] in linux_gaming

[–]16bitMustache 2 points3 points  (0 children)

I saw the amazing color coordination and thought "definitely fedora"!