@bahmanm@lemmy.ml cover
@bahmanm@lemmy.ml avatar

bahmanm

@bahmanm@lemmy.ml

Husband, father, kabab lover, history buff, chess fan and software engineer. Believes creating software must resemble art: intuitive creation and joyful discovery.

🌎 linktr.ee/bahmanm

Views are my own.

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

bahmanm ,
@bahmanm@lemmy.ml avatar

Good question!

IMO a good way to help a FOSS maintainer is to actually use the software (esp pre-release) and report bugs instead of working around them. Besides helping the project quality, I’d find it very heart-warming to receive feedback from users; it means people out there are actually not only using the software but care enough for it to take their time, report bugs and test patches.

bahmanm ,
@bahmanm@lemmy.ml avatar

Which Debian version is it based on?

bahmanm ,
@bahmanm@lemmy.ml avatar

Thanks! So much for my reading skills/attention span 😂

bahmanm ,
@bahmanm@lemmy.ml avatar

RE Go: Others have already mentioned the right way, thought I’d personally prefer ~/opt/go over what was suggested.


RE Perl: To instruct Perl to install to another directory, for example to ~/opt/perl5, put the following lines somewhere in your bash init files.


<span style="color:#323232;">export PERL5LIB="$HOME/opt/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"
</span><span style="color:#323232;">export PERL_LOCAL_LIB_ROOT="$HOME/opt/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"
</span><span style="color:#323232;">export PERL_MB_OPT="--install_base "$HOME/opt/perl5""
</span><span style="color:#323232;">export PERL_MM_OPT="INSTALL_BASE=$HOME/opt/perl5"
</span><span style="color:#323232;">export PATH="$HOME/opt/perl5/bin${PATH:+:${PATH}}"
</span>

Though you need to re-install the Perl packages you had previously installed.

bahmanm ,
@bahmanm@lemmy.ml avatar

I didn’t like the capitalised names so configured xdg to use all lowercase letters. That’s why ~/opt fits in pretty nicely.

You’ve got a point re ~/.local/opt but I personally like the idea of having the important bits right in my home dir. Here’s my layout (which I’m quite used to now after all these years):


<span style="color:#323232;">$ ls ~
</span><span style="color:#323232;">bin  
</span><span style="color:#323232;">desktop  
</span><span style="color:#323232;">doc  
</span><span style="color:#323232;">downloads  
</span><span style="color:#323232;">mnt  
</span><span style="color:#323232;">music  
</span><span style="color:#323232;">opt 
</span><span style="color:#323232;">pictures  
</span><span style="color:#323232;">public  
</span><span style="color:#323232;">src  
</span><span style="color:#323232;">templates  
</span><span style="color:#323232;">tmp  
</span><span style="color:#323232;">videos  
</span><span style="color:#323232;">workspace
</span>

where

  • bin is just a bunch of symlinks to frequently used apps from opt
  • src is where i keep clones of repos (but I don’t do work in src)
  • workspace is a where I do my work on git worktrees (based off src)
bahmanm ,
@bahmanm@lemmy.ml avatar

This is fantastic! 👏

I use Perl one-liners for record and text processing a lot and this will be definitely something I will keep coming back to - I’ve already learned a trick from “Context Matching” (9) 🙂

bahmanm ,
@bahmanm@lemmy.ml avatar

That was my case until I discovered that GNU tar has got a pretty decent online manual - it’s way better written than the manpage. I rarely forget the options nowadays even though I dont’ use tar that frequently.

bahmanm ,
@bahmanm@lemmy.ml avatar

This is quite intriguing. But DHH has left so many details out (at least in that post) as pointed out by @breadsmasher - it makes it difficult to relate to.

On the other hand, like DHH said, one’s mileage may vary: it’s, in many ways, a case-by-case analysis that companies should do.

I know many businesses shrink the OPs team and hire less experienced OPs people to save $$$. But just to forward those saved $$$ to cloud providers. I can only assume DDH’s team is comprised of a bunch of experienced well-payed OPs people who can pull such feats off.

Nonetheless, looking forward to, hopefully, a follow up post that lays out some more details. Pray share if you come across it 🙏

bahmanm OP ,
@bahmanm@lemmy.ml avatar

TBH I use whatever build tool is the better fit for the job, be it Gradle, SBT or Rebar.

But for some (presumably subjective) reason, I like GNU Make quite a lot. And whenever I get the chance I use it - esp since it’s somehow ubiquitous nowadays w/ all the Linux containers/VMs everywhere and Homebrew on Mac machines.

bahmanm , (edited )
@bahmanm@lemmy.ml avatar

That single line of Lisp is probably (defmacro generate-compiler (…) …) which GCC folks call every time they decide to implement a new compiler 😆

bahmanm OP ,
@bahmanm@lemmy.ml avatar

Oops! My mistake 🤦 Updated the post.

bahmanm OP ,
@bahmanm@lemmy.ml avatar

It is: opensource.org/license/mit/

It’s most probably a bug in the addon. Best to report it on the repo’s issue tracker: github.com/galdor/github-license-observer/issues

bahmanm OP ,
@bahmanm@lemmy.ml avatar

Created an issue on the repo: github.com/galdor/github-license-observer/…/5

bahmanm OP ,
@bahmanm@lemmy.ml avatar

a list or database of projects that were open but then closed down

That’s a great idea! Esp if the list is actively maintained & updated.

Since I am NOT the author of this extension, do you think you could write down your thoughts on the project’s issue tracker?

bahmanm OP ,
@bahmanm@lemmy.ml avatar

That’s a fair point 👍 I just wanted to point out that I’m not the author.

As I said, I very much like the idea. It helps raise awareness around the current trend of switching licenses to curb competition/make $$$.

bahmanm OP ,
@bahmanm@lemmy.ml avatar

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

VENMusica , to linux
@VENMusica@mastodon.social avatar

@linux thank God for Timeshift

bahmanm ,
@bahmanm@lemmy.ml avatar

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.

VENMusica , to linux
@VENMusica@mastodon.social avatar

@linux I was able to install Keyscape on Ubuntu Studio, but the GUI won't work in the standalone or VST. Does anyone know how to resolve this? Should be similar if anyone has encountered this with Omnisphere

bahmanm ,
@bahmanm@lemmy.ml avatar

Any error logs? Try launching things from the terminal and note down any messages that are printed there.

bahmanm ,
@bahmanm@lemmy.ml avatar

I’m afraid I can’t be of any help 😕

bahmanm ,
@bahmanm@lemmy.ml avatar

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

bahmanm ,
@bahmanm@lemmy.ml avatar

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 ✌️

bahmanm ,
@bahmanm@lemmy.ml avatar

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.

bahmanm ,
@bahmanm@lemmy.ml avatar

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 😂

bahmanm ,
@bahmanm@lemmy.ml avatar

NOTE: Today is NOT Mozilla’s birthday!

Fun read nevertheless 🙂

[Thread, post or comment was deleted by the author]

  • Loading...
  • bahmanm , (edited )
    @bahmanm@lemmy.ml avatar

    I’d rather keep this community about Firefox the product and what it (doesn’t) brings to the table. That’s what I am, personally, interested in.

    It’d be great if we could keep all the other things such as controversies, allegations, rumours, gossips, … contained in a “mozilla” community and tried our best to maintain the separation.

    bahmanm ,
    @bahmanm@lemmy.ml avatar

    If the controversies, allegations, rumors and gossips are about firefox though it definitely is important.

    the huge chunks of money firefox gets from their biggest competitor

    I think we’re confusing things here 🙂

    Examples of topics relevant to Firefox
    • [Hypothetical] Firefox collects user data w/o consent.
    • [Hypothetical] Researchers found government backdoors X, Y and Z in Firefox code base.
    • [Hypothetical] Firefox to disable Javascript by default.

    Examples of topics NOT relevant to Firefox
    • Mozilla’s contract w/ Google
    • Mozilla’s political campaign
    • Mozilla’s CEO allegedly being a selfish a-hole

    Finally let’s not forget that Firefox is an open source project, the result of the collaboration of hundreds, if not thousands, of people over the past 2 decades. Despite Mozilla’s important role, there’s way more to Firefox and its potential future than the usual corporate gossip/controversies.

    My humble 2 cents 🙂

    bahmanm ,
    @bahmanm@lemmy.ml avatar

    Have you tried installing a non-snap version to confirm the theory?

    bahmanm ,
    @bahmanm@lemmy.ml avatar

    Not an Ubuntu user, but I think it’s all about how a snap uses filesystem, esp directories which are not writable by the “world”, such as your home directory.

    bahmanm ,
    @bahmanm@lemmy.ml avatar

    Would it make sense to stick to the good old DEB package instead of the snap then?

    The Mozilla Team PPA seems to be legit. If you’re not sure how to do it, please take a look at OMGI Ubuntu guide which uses the same PPA.

    bahmanm ,
    @bahmanm@lemmy.ml avatar

    I wanted to say “I’m not sure. I’m not on Ubuntu” but then I remembered about distrobox 😄

    It took only a few minutes to confirm that the links I shared earlier (lemmy.ml/comment/3090571) do NOT install the snap version.

    bahmanm ,
    @bahmanm@lemmy.ml avatar

    Interestingly “Bazzi” means “game” in Farsi 🤷‍♂️

    bahmanm ,
    @bahmanm@lemmy.ml avatar

    Tell me something I don’t know already 😂 The challenge is helping non-techies understand why they should wean themselves off of FB 🤷‍♂️

    bahmanm ,
    @bahmanm@lemmy.ml avatar

    The GNU GPL is not Mr. Nice Guy. It says no to some of the things that people sometimes want to do. There are users who say that this is a bad thing—that the GPL “excludes” some proprietary software developers who “need to be brought into the free software community.”

    But we are not excluding them from our community; they are choosing not to enter. Their decision to make software proprietary is a decision to stay out of our community. Being in our community means joining in cooperation with us; we cannot “bring them into our community” if they don’t want to join.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • random
  • tech
  • drbboard
  • updates
  • testing
  • til
  • bitcoincash
  • programming
  • Sacramento
  • All magazines