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

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

Uh, I’m not sure I understand what you mean.

bahmanm,
@bahmanm@lemmy.ml avatar

I downvoted b/c it’s just a link to a video.

IMO, assuming you have already watched that video, writing up a summary w/ key takeaways can help the reader decide if they want to click on a YouTube link to know more details.

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

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

bahmanm,
@bahmanm@lemmy.ml avatar

I’d personally appreciate if you explained the intention behind asking these questions.

Is this for your personal market-awareness? Or is it part of a survey (community or corporate?)

Philosophy of coroutines (www.chiark.greenend.org.uk)

I’ve been using coroutines since I first encountered them in the same book that this author found them in. Unlike him I’ve used them all over the place professionally and in my personal stuff. I prefer them to threads, to FSMs, and to the callback Hell of reactors for most of my work. This article has a good explanation of...

bahmanm,
@bahmanm@lemmy.ml avatar

I just quote my comment on a similar post earlier 😅

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

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.

[Tool Anouncement] github-distributed-owners - A tool for managing GitHub CODEOWNERS using OWNERS files distributed throughout your code base. Especially helpful for monorepos / multi-team repos (github.com)

GitHub only supports a single CODEOWNERS file in a repository, which is fairly limiting. This tool allows OWNERS files to be distributed throughout the code base, and provide more localized semantic meaning....

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

Nice work 👏 I can easily see the usecase even without a giant monorepo: a typical MVC app (eg Django or RoR or Grails) which serves both the backend and frontend can easily see the benefit from this.

bahmanm,
@bahmanm@lemmy.ml avatar

I had so many typos - typed that on my phone 🤦‍♂️ Glad I was able to communicate in some way 😂

bahmanm,
@bahmanm@lemmy.ml avatar

Why the downvotes I wonder?

bahmanm,
@bahmanm@lemmy.ml avatar

Now I see the reason: insane cross-posting 🤯

Gods!

bahmanm,
@bahmanm@lemmy.ml avatar

Thanks for the code review and feedback. Here’s a 2nd attempt: pastebin.com/WBqs9u8L

I essentially threw away my bloated Java/C#'esq implementation and started from scratch. Please let me know what you think 🙏

bahmanm,
@bahmanm@lemmy.ml avatar

Oh!? And I was under the impression that the code reads more naturally than the initial version 😂


Let me try putting it in words and see if it makes sense to you:

Given sequences seq1 and seq2 and sequence of sequences sequences, seq-intersect-p should return non-nil if at least one pair of the input sequences have got an intersection.

  1. If seq1 and seq2 intersect return t
  2. Recursively check if seq1 intersects w/ any element in sequences. If it does, return t. Otherwise we know seq1 is safe to be ignored - no intersection whatsoever.
  3. Recursively check if seq2 intersects w/ any element in sequences. If they don’t, we know seq2 is safe to be ignored too.
  4. Recursively check if any elements of sequences intersect w/ each other.

There’s no caching or optimisation in this version. So it’s always O(n^2^).

bahmanm,
@bahmanm@lemmy.ml avatar

Yes, that’s essentially the snippet in my post 👍

bahmanm,
@bahmanm@lemmy.ml avatar

tests assertions top level

Noted. Makes sense.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • tacticalgear
  • thenastyranch
  • ngwrru68w68
  • magazineikmin
  • khanakhh
  • rosin
  • mdbf
  • Youngstown
  • slotface
  • everett
  • cisconetworking
  • kavyap
  • DreamBathrooms
  • anitta
  • InstantRegret
  • Durango
  • osvaldo12
  • ethstaker
  • modclub
  • GTA5RPClips
  • Leos
  • cubers
  • tester
  • normalnudes
  • megavids
  • provamag3
  • lostlight
  • All magazines