sloppy_diffuser

joined 2 years ago
[–] sloppy_diffuser 13 points 1 day ago

If half your employees aren't acting the way they do in private, they're putting on a mask and not being their true selves

But you're making this point in defense of someone aligning themselves with a group who targets trans, women, and whoever else they can bully not like them for being their true selves... Do you not see the hypocrisy of such a point given the context of the quote?

[–] sloppy_diffuser 7 points 4 days ago

Major desktop environments are KDE as you mentioned and Gnome.

Arch wiki is a good resource even if not running arch. You may want to look into their dotfiles page to back up your settings: https://wiki.archlinux.org/title/Dotfiles.

NixOS ended up being my distro of choice for reproducible installs but it has a high learning curve and poor documentation so I wouldn't recommend to start with. That said you can still use Nix on other distros with home manager to manage dotfiles and install non-system apps.

Distros just pick the default things to install. You can always use the package manager to install something else like a better file manager.

A lot of choices are simply subjective so its hard to recommend any one distro. Mint is close to windows, based on Ubuntu and uses Gnome. Ubuntu based on Debian I find to be user friendly. Not used a Fedora based distro in ages but there is also Silverblue I've heard mentioned positively.

Distros like Arch and NixOS are more design your own system setups. Pick what you want. I used arch for a bit, but got annoyed at keeping all my systems in sync. Had a huge wiki of all the tweaks I made. Then scripts to automate some of it. I started looking at automation tooling like ansible when I found nix.

[–] sloppy_diffuser 5 points 1 week ago (2 children)
[–] sloppy_diffuser 2 points 1 week ago

Note this is only for backup. If you want a gallery type view with thumbnails, you may be able to combine it with this but I don't have a ready to go solution.

Rclone: https://rclone.org/

Android Rclone: https://github.com/newhinton/Round-Sync

Round sync isn't in any app store so use https://github.com/ImranR98/Obtainium.

Use rclone on PC and round sync on android.

Round sync can do scheduled backups.

Will have to setup cron or w/e on PC.

You can pick most any storage provider with rclone and wrap in an encrypted vault which means it won't get compressed, or it will be lossless compression.

Use copy instead of sync otherwise it will delete files.

[–] sloppy_diffuser 2 points 1 week ago

Best of luck! Sounds like a cool project.

Not sure if NeoVim uses tree-sitter as the default syntax highlighter, but it will give you Abstract Syntax Tree info if you can jack into it for the document so you don't have to parse the markdown. Your WYSIWYG view just has to translate the AST which may help with removing style symbols.

One of many ways to tackle I'm sure.

[–] sloppy_diffuser 7 points 1 week ago* (last edited 1 week ago)

4 tier filing cabinet myself. Just the skinny one though.

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

Assuming it means congestion pricing is a poor tax. The ruling class mandating return to office forces people to commute when they otherwise wouldn't need to. Congestion pricing forces those workers to either pay in wages for the toll or pay in time (at least in my city) by making the commute longer.

The pricing isn't enough to impact the rich and it's too much for those forced to commute. Forcing them to pay in time to take public transit reduces the congestion (and cost) for those who can afford the toll. At best it deters someone from making a trip that is able to do so at a better time.

Minimizing the need to live in or commute to dense population centers would do more for congestion than congestion pricing.

[–] sloppy_diffuser 1 points 1 week ago

I won't lie, it was a learning curve. That said you don't have to go full blown nixos. I use nix + home manager to manage my macOS and Ubuntu user dotfiles.

You can also use nix per project with dev shells and direnv to automatically load the dev shell when in the repo.

I maintain a nix config for my work's repo and it keeps everyone (Mac or Linux) on the exact same version of our tooling (node, python, bash, etc.).

[–] sloppy_diffuser 5 points 1 week ago (2 children)

You probably don't want the entire terminal rendered in your UI for the reason you gave that it is intended for monospace.

Rather, you want the buffer which is markdown and contextual info like cursor position.

You might hit some challenges like how to handle style elements. For example:

<cursor>*bold*

Moving the cursor to the right of the b will take two key presses in nvim but would typically be one key press in a WYSIWYG editor.

There are probably many ways to handle this in nvim through the plugin system, but both paths of embedding vs emulating nvim has a good chunk of dev work to be completed.

Emulating will likely be more rewarding at the start as you can get incremental improvements pretty quickly.

Embedding is a cool idea, but likely a ton of upfront work to get your first tangible results.

You might be interested in reviewing https://github.com/MeanderingProgrammer/render-markdown.nvim which attempts to render Markdown in the terminal. They have logic for rendering things like the bold example in bold while hiding the markup.

I personally just use https://github.com/iamcco/markdown-preview.nvim to render in a different window when render-markdown.nvim isn't enough.

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

Nix as the config tool + git. I use the same repo for all my systems so all my devices back each other up on top of the hosted git repo.

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

Ultimately we don't know the implementation. I've seen some bad sites like stealth truncating on the registration form but leaving the login form unbounded so the password you pasted in both times doesn't work.

Separate issue from truncating, I get suspicious when I see passwords capped to 16-20 chars for the reason you gave that they should be stored as fixed length hashes.

[–] sloppy_diffuser 2 points 2 weeks ago

Yeah, I hate that. They don't always lock it but will just reject the password with no indication of why.

view more: next ›