Skip Navigation

Posts
16
Comments
86
Joined
2 yr. ago

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.

  • "Announcment"

    It used to be quite common on mailing lists to categorise/tag threads by using subject prefixes such as "ANN", "HELP", "BUG" and "RESOLVED".

    It's just an old habit but I feel my messages/posts lack some clarity if I don't do it 😅

  • Update

    sh.itjust.works in now added to lemmy-meter 🥳 Thanks all.

  • 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):

     
        
    $ ls ~
    bin  
    desktop  
    doc  
    downloads  
    mnt  
    music  
    opt 
    pictures  
    public  
    src  
    templates  
    tmp  
    videos  
    workspace
    
      

    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)
  • Thanks! So much for my reading skills/attention span 😂

  • Which Debian version is it based on?

  • sh.itjust.works Main Community @sh.itjust.works

    Would you be interested in opting-in to lemmy-meter?

  • Mozilla.ai is a new startup and community funded with 30M from Mozilla that aims to build trustworthy and open-source AI ecosystem

    Jump
  • Something that I'll definitely keep an eye on. Thanks for sharing!

  • 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.

     
        
    export PERL5LIB="$HOME/opt/perl5/lib/perl5${PERL5LIB:+:${PERL5LIB}}"
    export PERL_LOCAL_LIB_ROOT="$HOME/opt/perl5${PERL_LOCAL_LIB_ROOT:+:${PERL_LOCAL_LIB_ROOT}}"
    export PERL_MB_OPT="--install_base \"$HOME/opt/perl5\""
    export PERL_MM_OPT="INSTALL_BASE=$HOME/opt/perl5"
    export PATH="$HOME/opt/perl5/bin${PATH:+:${PATH}}"
    
      

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

  • 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) 🙂

  • That sounds a great starting point!

    🗣Thinking out loud here...

    Say, if a crate implements the AutomatedContentFlagger interface it would show up on the admin page as an "Automated Filter" and the admin could dis/enable it on demand. That way we can have more filters than CSAM using the same interface.

  • 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.

  • 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.

  • Linux @lemmy.ml

    Variables in GNU Make: Simple and Recursive

    www.bahmanm.com /2023/09/variables-in-gnu-make-simple-and.html
  • Love the attitude 💪 Let me know if you need help in your quest.

  • I see.

    So what do you think would help w/ this particular challenge? What kinds of tools/facilities would help counter that?


    Off the top of my head, do you think

    • The sign up process should be more rigorous?
    • The first couple of posts/comments by new users should be verified by the mods?
    • Mods should be notified of posts/comments w/ poor score?

    cc @[email protected]

  • Interesting topic - I've seen it surface up a few times recently.

    I've never been a mod anywhere so I can't accurately think what workflows/tools a mod needs to be satisfied w/ their, well, mod'ing.

    For the sake of my education at least, can you elaborate what do you consider decent moderation tools/workflows? What gaps do you see between that and Lemmy?

    PS: I genuinely want to understand this topic better but your post doesn't provide any details. 😅

  • I just love the "Block User" feature. Immediate results w/ zero intervention by the mods 😆

  • Nice! Good to see this idea becoming more common 👍

    I personally use Firefox Relay which gives me better control for my workflow - I usually need my temporary e-mails to last a bit longer, eg a week or a month.


    On another note, the post clickable URL opens the Lemmy instace landing page and not that of the disposable email service.

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

  • Would be lovely to have a download per release diagram along w/ the release date (b/c Summer matters in the FOSS world 😆)

  • Open Source @lemmy.ml

    RIP Thien-Thi Nguyen (ttn) 😑

  • Programmer Humor @lemmy.ml

    Vagrant Public Networks

  • Linux @lemmy.ml

    Using Make and cURL to measure Lemmy's performance

    github.com /bahmanm/lemmy-clerk/tree/v0.0.1
  • Linux @lemmy.ml

    Gnome Online Accounts (Google)

  • Linux @lemmy.ml

    #.mk - A Matrix room dedicated to Make

  • Linux @lemmy.ml

    Quickly benchmark commands using Perl

  • Linux @lemmy.ml

    bmakelib - generate high resolution timestamp

    github.com /bahmanm/bmakelib/issues/42
  • Firefox @lemmy.ml

    [Q] Reuse last search query

  • Linux @lemmy.ml

    bmakelib: The minimalist Makefile standard library you'd always wished for!

    github.com /bahmanm/bmakelib/releases/latest
  • Linux @lemmy.ml

    Makefile: If target name contains colon (:)

  • Linux @lemmy.ml

    Q: Gnu Make 4.4 on Ubuntu LTS (22.04 and 20.04)

  • Technology @beehaw.org

    What to know about Threads

    blog.joinmastodon.org /2023/07/what-to-know-about-threads/