Skip Navigation

User banner
Posts
59
Comments
168
Joined
2 yr. ago

  • I'd find it a useful thing to have too 👍 Please see https://lemmy.ml/post/4196612 for a similar post (by me.)

    Not a show-stopper in any way though 💪

  • I've been using sdkman for about a decade now and am totally pleased w/ it. It does a very good job of managing JDK versions for you and much more, eg SBT, Gradle, Scala, Groovy, Leiningen, SpringBoot, ...

    Now, technically you could use sdkman in your CI/CD pipeline too but I'd find it a strong smell. I've always used dedicated images pre-configured for a particular JDK version in the pipeline.

  • I work primarily on the JVM & the projects (personal/corporate) I work w/ can be summarised as below:

    1. Building & running the repo is done on the host using an SCM (software configuration management tool) such as Gradle or SBT.
    2. The external dependencies of the repo, such as Redis, are managed via adocker-compose.yml.
    3. The README contains a short series of commands to do different tasks RE (1)

    However one approach that I've always been fond of (& apply/advocate wherever I can) is to replace (3) w/ a Makefile containing a bunch of standard targets shared across all repos, eg test, integration-test. Then Makefiles are thinly customised to fit the repo's particular repo.

    This has proven to be very helpful wrt congnitive load (and also CI/CD pipelines): ALL projects, regardless of the toolchain, use the same set of commands, namely

    • make test
    • make integration-test
    • make compose-up
    • make run

    In short (quoting myself here):

    Don't repeat yourself. Make Make make things happen for you!

  • The first few paragraphs were a good read where the author makes a good point.

    Sadly, it somehow turns into a BluSky promotion afterwards.

    Good read, nonetheless.

  • Good point! I just replaced my LI profile photo w/ an abstract image 🍻

  • Since I haven't heard/read about any bugs, I plan to release v5.0.0 on the 13th (😬)

    I'll keep this post, well, posted 🙂

  • I appreciate my post may sound like a criticism of lemmy.ml (and hence the downvotes.) It's not. As I said, I'm genuinely trying to see if there's anything I can do to give back to one of my (few) favourite online communities.

    That said, it seems like no one else shares my views. And that is understandable 🤷‍♂️

  • junk

    I'd say "irrelevant to my interests" 🤷‍♂️

  • 😆Can someone make a similar one for bluetooth devices too, pretty please?

  • Recently, I've found myself posting more often on Mastodon a Lemmy & blog way less - indeed credits go to Fediverse and the mods for making it a safe and welcoming place


    Here's my latest one: https://www.bahmanm.com/2023/07/firefox-profiles-quickly-replicate-your-settings.html

    It's not self-hosted, rather I'm using Google's blogspot. I used to host my own website and two dozens of clients' and friends' until a few years ago (using Plone and Zope.) But at some point, my priorities changed and I retired my rock-solid installations and switched to blogspot.

  • I agree w/ you RE posts looking horrible 👍

    Though I'd say for one-liners like this, it's mostly OK. It gets really messy when folks post more complex posts and mention and tag a bunch of times.

  • That's a good question 💯 In my case too, it took me some time (read years 😂) to figure out what I'm comfortable w/.

    I can think of 3 major ways that you can navigate the filesystem while being able to drop to a shell when you need it:

    • If you're familiar w/ Emacs, you can either:
      • Use dired and tramp on your machine to access/navigate the target machine.
      • Install Emacs (emacs-nox) on the target machine, SSH and then run emacs-nox and voila! No need for tramp in this scenario.
    • Use Midnight Commander (mc) which offers a TUI pretty much like Norton Commander (nc) from the days of yore.
    • Get used to the semi-standard structure of the file system and just use plain Bash (cd, pushd & popd) to move around. That is
      • Understand what usually goes into common directories (like /usr/share or /opt) and try to follow the same pattern when rolling your own software installations.
      • Learn how to use your distro's package manager to query packages and find out where things, like configurations and docs, are stored. Something as simple as rpm -q --list is what you usually need.

    HTH

  • messing with the partition any more than I already have

    Running fsck is a harmless and actually pretty useful operation, esp if you boot using a USB stick.

    But yes, never hurts to have backups - easier said than done 😂

  • I'm not on a Debian-based system but a recent experience w/ packaging a software as a DEB was quite eye-opening 😅 The format and the build process felt too cluttered (to me) and it wasn't easy for me to wrap my head around it.

    I'm happy that folks are working on alternatives ✌️

  • Have you tried booting into recovery mode and perform a fsck on the drive - using the grub menu? Or you could boot via USB and try the procedure.