krash

@krash@lemmy.ml

This profile is from a federated server and may be incomplete. Browse more on the original instance.

How often do you back up?

I was wondering how often does one choose to make and keep back ups. I know that “It depends on your business needs”, but that is rather vague and unsatisfying, so I was hoping to hear some heuristics from the community. Like say I had a workstation/desktop that is acting as a server at a shop (taking inventory / sales...

krash,

Like you said, “it depends” 😁

I have a huge datablob that I mirror off-site once monthly. I have a few services that provides things for my family, I take a backup of them nightly (and run a “backup-restoration” scenario every six months). For my desktop, none at all - but I have my most critical data synched / documented so they can be restored to a functional state.

krash,

I second obsidian. I was on the verge to jump onto logseq, but found its way of handling notes to be… different. I also felt a dislike of anytype where I don’t really have control over my notes. Obsidian clicked with me from the start and felt right. So I went with it, even though it’s not FOSS (which is usually a hard requirement from me).

krash,

I really look forward to spin this up tomorrow. Awesome release as always!

krash,

Never heard of falco, why would you recommended it over other similar solutions out there?

krash,

But this is by design, snap containers aren’t allowed to read data outside of their confinements. Same goes for flatpak and OCI-containers.

I don’t use snap myself, but it does have its uses. Bashing it just because it’s popular to hate on snap won’t yield a healthy discussion on how it could be improved.

krash, (edited )

Just make sure about what you’re getting yourself into: features such as IR facial detection and stylus input isn’t supported on all models OOTB by the surface kernel. Also, it is a bit messy with how surface handles booting.

Linux on surface works (I got Ubuntu on both my Go gen 1 and pro 7) but expect to put in time to tinker and manage unexpected issues.

krash,

How is C more secure than Rust? Doesn’t it lack features such as safe memory handling?

krash,

Textual is great, and the community at discord is very helpful and welcoming.

deleted_by_author

  • Loading...
  • krash, (edited )

    Of of curiosity, what is it that you dislike? I have Linux on a surface go gen 1 (which works flawlessly) and use gnome for the tablet mode. The only thing that sucks is the on-screen keyboards, but it works surprisingly well otherwise.

    krash,

    This is awesome. What hardware are you running (m1 or m2)? Also, is there anything that isn’t working?

    I’ve been eyeing to buy a m* silicon based mac, but I’m not into tinkering into fixing things.

    Is Ubuntu deserving the hate? (lemmy.ml)

    Long story short, I have a desktop with Fedora, lovely, fast, sleek and surprisingly reliable for a near rolling distro (it failed me only once back around Fedora 34 or something where it nuked Grub). Tried to install on a 2012 i7 MacBook Air… what a slog!!! Surprisingly Ubuntu runs very smooth on it. I have been bothering all...

    krash,

    Doesn’t Debian still ship with X11 by default? For my desktop use, I can’t go back from wayland.

    krash,

    I prefer software with defaults that are in line with my preferences. I rather have sensible defaults and a nice OOTB experience, instead of fighting my distro and it’s packages.

    krash,

    +1 on tabby. Another nice feature tabby has is sync of secrets and settings. It is not very resource efficient, but it’s still nice.

    krash,

    I have the Go gen 1 with 4 Gb ram, for the exact same user cases ad you described.

    The compatibility with Linux is great, but be mindful that you need a Windows installation to boot from USB (!). But the pen and touchscreen works out of the box.

    The performance though is not the best, boot can take some time. I’d say forget about YouTube. But light coding and non-demanding websites could work. The form factor is great though… 😊

    OP, if you’re interested in buying a used one, we could perhaps arrange something, if you live in Europe? Message me in that case.

    PS. A Linux surface community would be great, I’d happily join it!

    krash,

    In addition to all the sound advice you’ve been give so far, you should have a support contract in case you run into problems and ideally, contract someone to set up your laptop so you have proper encryption, backup etc. You have to consider both meeting the business deadlines, and ensuring the confidentiality and availability of the data. If you want to do this yourself, contract someone to validate your configuration.

    krash, (edited )

    This was dumb on so many levels.

    I downloaded an iso and was supposed to dd it to my USB drive. You can see where this is leading, but it’s worse than you think.

    I overwrote the hdd. While I was on an airplane. Of a macbook air that I had no idea how to restore to a functioning state. And this was my workplace laptop.

    Like I said, dumb on many levels…

    Edit: while the question is about breaking ones Linux installation, one could argue that macOS share the same lineage as Linux and share many similarities.

    krash,

    I love how tabby contains all keys, identities, configurations etc. But it is sluggish compared to the competition.

    krash, (edited )

    You can make your own bash/ fish/ python menu pretty easily if what you want is to have an “address book” or a speed dialer to you’re ssh servers. Let me know if you’re curious and I could share mine.

    EDIT: so what I use is a fish function, and my “adress book” is hardcoded in it. It was a quick and dirty POC that never moved passed the “conecpt” stage, but ideally - these values should be stored in a csv file so it can be accessible from whatever program you’re making / using.

    This can surely be easily adaptable to bash or python through a coding LLM for the lazy.

    The code below should be in ~/.config/fish/functions/ssh_menu.fish for fish shell.

    
    <span style="color:#323232;">function ssh_menu
    </span><span style="color:#323232;">    </span><span style="color:#0086b3;">set </span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">l servers[</span><span style="color:#0086b3;">1</span><span style="color:#323232;">] </span><span style="color:#183691;">"user@ip_or_domainname"
    </span><span style="color:#323232;">    </span><span style="color:#0086b3;">set </span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">l servers[</span><span style="color:#0086b3;">2</span><span style="color:#323232;">] </span><span style="color:#183691;">"user@ip_or_domainname"
    </span><span style="color:#323232;">    </span><span style="color:#0086b3;">set </span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">l servers[</span><span style="color:#0086b3;">3</span><span style="color:#323232;">] </span><span style="color:#183691;">"user@ip_or_domainname"
    </span><span style="color:#323232;">    </span><span style="color:#0086b3;">set </span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">l servers[</span><span style="color:#0086b3;">4</span><span style="color:#323232;">] </span><span style="color:#183691;">"user@ip_or_domainname"
    </span><span style="color:#323232;">    </span><span style="color:#0086b3;">set </span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">l servers[</span><span style="color:#0086b3;">5</span><span style="color:#323232;">] </span><span style="color:#183691;">"user@ip_or_domainname"
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">    clear
    </span><span style="color:#323232;">    </span><span style="font-weight:bold;color:#a71d5d;">for </span><span style="color:#323232;">i </span><span style="font-weight:bold;color:#a71d5d;">in </span><span style="color:#323232;">(seq (count $servers))
    </span><span style="color:#323232;">        echo </span><span style="color:#183691;">"[$i] $servers[$i]"
    </span><span style="color:#323232;">    end
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">    echo </span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">n </span><span style="color:#183691;">"Enter the number of the server to SSH into: "
    </span><span style="color:#323232;">    read choice
    </span><span style="color:#323232;">
    </span><span style="color:#323232;">    </span><span style="font-weight:bold;color:#a71d5d;">if </span><span style="color:#323232;">test </span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">n </span><span style="color:#183691;">"$choice" </span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">a </span><span style="color:#183691;">"$choice" </span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">ge </span><span style="color:#0086b3;">1 </span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">a </span><span style="color:#183691;">"$choice" </span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">le (count $servers)
    </span><span style="color:#323232;">        </span><span style="color:#0086b3;">set </span><span style="color:#323232;">server_info $servers[$choice]
    </span><span style="color:#323232;">        </span><span style="color:#0086b3;">set </span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">l server_ip (echo $server_info </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#323232;">awk </span><span style="color:#183691;">'{print $NF}' </span><span style="font-weight:bold;color:#a71d5d;">| </span><span style="color:#323232;">tr </span><span style="font-weight:bold;color:#a71d5d;">-</span><span style="color:#323232;">d </span><span style="color:#183691;">'()'</span><span style="color:#323232;">)
    </span><span style="color:#323232;">        echo </span><span style="color:#183691;">"Connecting to $server_ip..."
    </span><span style="color:#323232;">        ssh $server_ip
    </span><span style="color:#323232;">    </span><span style="font-weight:bold;color:#a71d5d;">else
    </span><span style="color:#323232;">        echo </span><span style="color:#183691;">"Invalid choice."
    </span><span style="color:#323232;">    end
    </span><span style="color:#323232;">end
    </span>
    
    krash,

    Updated post with example.

    Linux on a 2in1 for Uni (lemmy.world)

    Hello linix@lemmy, I got fixed on the idea of replacing my iPad with a 2in1 like the thibkpad X13 for uni since I use the keyboard with my iPad a lot. The only time I need to take handwritten notes is in chemistry, mathematics and to annotate PDFs. Does anyone here have experience with convertibles running Linux? What would be...

    krash,

    Surface pros work, but they’re not ideal for linux. Expect struggle during the installation, and be aware some parts of the hardware won’t work.

    krash,

    I really want to have better tiling and window management in Gnome. Ubuntu has an add-on released with 23.10 that I haven’t got around to test yet. And I know that Gnome has that feature in the works, but it annoys me that Windows 11 has better management of windows with window-snapping than my DE of choice.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • localhost
  • All magazines
  • Loading…
    Loading the web debug toolbar…
    Attempt #