@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

“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 😅

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

Something that I’ll definitely keep an eye on. Thanks for sharing!

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

First off, I was ready to close the tab at the slightest suggestion of using Velocity as a metric. That didn’t happen 🙂


I like the idea that metrics should be contained and sustainable. Though I don’t agree w/ the suggested metrics.

In general, it seems they are all designed around the process and not the product. In particular, there’s no mention of the “value unlocked” in each sprint: it’s an important one for an Agile team as it holds Product accountable to understanding of what is the $$$ value of the team’s effort.

The suggested set, to my mind, is formed around the idea of a feature factory line and its efficiency (assuming it is measurable.) It leaves out the “meaning” of what the team achieve w/ that efficiency.

My 2 cents.


Good read nonetheless 👍 Got me thinking about this intriguing topic after a few years.

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

Thanks for the link. Had no idea about that.

bahmanm,
@bahmanm@lemmy.ml avatar

beyond acceptable use

Since literally every aspect of lemmy-meter is configurable per instance, I’m not worried about that 😎 The admins can tell me what’s the frequency/number they’re comfortable w/ and I can reconfigure the solution.

You can hit the endpoint /api/v3/site for information about an instance including the admins list.

Exactly what I was looking for. Thanks very much 🙏

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

sane defaults and a timeout period

I agree. This makes more sense.

Your name will be associated with abuse forevermore.

I was going to ignore your reply as a 🧌 given it’s an opt-in service for HTTP monitoring. But then you had a good point on the next line!

Let’s use such important labels where they actually make sense 🙂

bahmanm,
@bahmanm@lemmy.ml avatar

Agreed. It was a mix of too ambitious standards for up-to-date data and poor configuration on my side.

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

Update 1

Thanks all for your feedback 🙏 I think everybody made a valid point that the OOTB configuration of 33 requests/min was quite useless and we can do better than that.

I reconfigured timeouts and probes and tuned it down to 4 HTTP GET requests/minute out of the box - see the configuration for details.


🌐 A pre-release version is available at lemmy-meter.info.

For the moment, it only probes the test instances

  • enterprise.lemmy.ml
  • ds9.lemmy.ml
  • voyager.lemmy.ml

I’d very much appreciate your further thoughts and feedback.

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,
@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,
@bahmanm@lemmy.ml avatar

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

bahmanm,
@bahmanm@lemmy.ml avatar

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 @PrettyFlyForAFatGuy

bahmanm,
@bahmanm@lemmy.ml avatar

Love the attitude 💪 Let me know if you need help in your quest.

bahmanm,
@bahmanm@lemmy.ml avatar

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.

bahmanm,
@bahmanm@lemmy.ml avatar

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

No Strings Attached: Enjoy the Freedom of Free Disposable Email (discuss.tchncs.de)

TempEmailGo understands the importance of privacy. That’s why we offer a hassle-free, registration-free, and cost-free solution to protect your online identity. With our free disposable email service, you can receive emails and verification codes without sharing any personal information. It’s time to take control of your...

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

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.

bahmanm,
@bahmanm@lemmy.ml avatar

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

bahmanm,
@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,
@bahmanm@lemmy.ml avatar

A bit too long for my brain but nonetheless it written in plain English, conveys the message very clearly and is definitely a very good read. Thanks for sharing.

bahmanm,
@bahmanm@lemmy.ml avatar

When i read the title, my immediate thought was “Mojolicious project renamed? To a name w/ an emoji!?” 😂


We plan to open-source Mojo progressively over time

Yea, right! I can’t believe that there are people who prefer to work on/with a closed source programming language in 2023 (as if it’s the 80’s.)

… can move faster than a community effort, so we will continue to incubate it within Modular until it’s more complete.

Apparently it was “complete” enough to ask the same “community” for feedback.

I genuinely wonder how they managed to convince enthusiasts to give them free feedback/testing (on github/discord) for something they didn’t have access to the source code.


PS: I didn’t downvote. I simply got upset to see this happening in 2023.

bahmanm,
@bahmanm@lemmy.ml avatar

Thanks. Yes, lemmy-status.org was where I got the initial idea 💯

automatic list

For the website I’m thinking about, I’d rather keep it exclusively opt-in. I don’t wish to add any extra load since most of the instances are running off of enthusiasts’ pockets.

bahmanm,
@bahmanm@lemmy.ml avatar

I still haven’t made up my mind as to what is a good interval. But I think I’ll take a per-endpoint approach, hitting more expensive ones less frequently.

So far I can only think of 4-5 endpoints/URLs that I should hit in every iteration as outlined in the post above.

web/mobile home feed
web/mobile create post/comment
web/mobile search

I think those will cover most of the usecases.

bahmanm,
@bahmanm@lemmy.ml avatar

Thanks all for the input 🙏

I did a quick experiment w/ the APIs and I think I have identified the ones I’d need. Obviously, all is open source (GPLv3) available on github: lemmy-clerk

As the next step, I’m going to expose that data to Prometheus for scraping.

bahmanm,
@bahmanm@lemmy.ml avatar

I’m not sure I understand the value of tags for Lemmy (or Reddit in a similar vein.)

Lemmy’s main (& sole?) dimension of organisation is the concept of “community.” You subscribe to communities to automatically receive their updates on your feed.

Now, tags are going to add another dimension for organisation which allows one to curate their feed w/o subscribing.

The good thing about tags is that they simplify “listening.” No need to keep searching for communities or keep scrolling through your feed to find the content you’re interested in.

The downside of tags, IMO, is that it fundamentally competes w/ the concept of “communities” in the sense that, why would I bother w/ finding communities and “explore”, and consequently, potentially contribute to the content of a community where I can simply listen to tags I’m interested in and forget about the rest.
IMO, the reason that tags (moderated or not) are working so beautifully on Mastodon is the lack of communities: listening is the only option.

I stand to be corrected, but it (tags and communities) very much feels like an either/or situation.

PS: Despite its quality and friendliness, Lemmy’s user base and the content they creates is still small. That means, for the time being, communities may work just fine. As we grow and so does our volume of content, we’d probably need new strategies to augment communities. Though I wouldn’t call that a concern of now or near future.

My 2 cents.

bahmanm,
@bahmanm@lemmy.ml avatar

That’s a fair use-case.

You see memes in your feed (despite not subscribing to meme’y communities). Three things come to my mind, thinking out loud here:

(1) Could it be b/c the community is not granular enough? Remember we’re in the early stages of Lemmy w/ big “holistic” communities. I’d suppose as we grow, a overarching community will specialise and be split into several more specific ones?

(2) Creating “filters” based on tag/content is a fair usecase and I would second the idea as long as the main dimension of organisation remains “community.” I’m a bit over-attached to “community” b/c I feel that’s a defining element of Lemmy experience & am afraid that touching that balance may change the essence.

(3) Tags can be used to achieve (2) indeed but is the added complexity (❓) to the codebase and UI/UX worth it?

bahmanm,
@bahmanm@lemmy.ml avatar

OK, I think I see your point more clearly now. I suppose that’s what many others do (apparently I don’t represent the norm ever 😂.)

So tags can be useful for not only listening but also discovery.

I guess my concern RE tag & community competing. But I’ve got no prior experience designing a social/community based application to be confident to take my case to the RFC.

Hopefully time will prove me wrong.

bahmanm,
@bahmanm@lemmy.ml avatar

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

bahmanm,
@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,
@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,
@bahmanm@lemmy.ml avatar

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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Food
  • random
  • uselessserver093
  • aaaaaaacccccccce
  • test
  • CafeMeta
  • testmag
  • MUD
  • RhythmGameZone
  • RSS
  • dabs
  • feritale
  • KamenRider
  • SuperSentai
  • oklahoma
  • TheResearchGuardian
  • All magazines