krash

@krash@lemmy.ml

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

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,

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.

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,

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,

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

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 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,

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.

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,

    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,

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

    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,

    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,

    I didn’t really see the benefit of this besides having a snapshot or backup of my home folder for my use case (I don’t have that many config/text files that needs tracking), but I can recommend chezmoi for those interested.

    krash,

    There’s so much you could do.

    • have a reverse proxy for your services, as containers
    • connect then through netbyrd or nebula if you want the FOSS route (or headacalescale)
    • set up an IDPS, such as fail2ban, snort, etc
    • Set up a backup job, there’s many projects that does this well - check out Borg and kopia.
    • since we’re on linux, try out different shells. Zsh or fish are pretty popular and pretty to look at.

    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, (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.

    krash,

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

    krash,

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

    krash,

    All kinds of stuff. I use it when I need a way to structure my data:

    • I use it to keep track of software / libs that are of interest, what they are an alternative to. See example here: ibb.co/ncsdt0W
    • I’ve also tried to recreate the functionality of a personal relational management (a la MonicaHQ, or per this post: medium.com/…/my-homegrown-personal-crm-87dffbcf54…) but found it to be an overengineered solution.
    • I also used it to interact and store data through my python apps, to avoid dealing with it directly in python.
    • You can also use it as a Kanban board
    • Also, I’ve been trying to use it as an excel replacement - which is an overengineered solution but you get impeccable dataquality.

    Nocodb is a bit wonky, but it is quite easy to work with (front- and backend) and since everything is in the database format you choose - you’re in control of how you want your data.

    krash,

    I’ve been using it for a while without any noticeable problems. What issues did you run into?

    krash,

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

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