bahmanm

joined 1 year ago
MODERATOR OF
[–] bahmanm@lemmy.ml 4 points 1 year ago

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

[–] bahmanm@lemmy.ml 2 points 1 year ago* (last edited 1 year ago) (2 children)

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@lemmy.ml 44 points 1 year ago (4 children)

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@lemmy.ml 6 points 1 year ago* (last edited 1 year ago)

TIL indeed!

Verb Noun
[–] bahmanm@lemmy.ml 2 points 1 year ago

Feedack from Emacs Matrix room:

The code will fail if a sequence contains duplicates
Also, seq-* implies that it is assuming to work on any sequence type, not just lists

[–] bahmanm@lemmy.ml 2 points 1 year ago

Now that I know which endpoints I'm interested in and which arguments I need to pass, exporting them to Prometheus is my next step. Though I wasn't sure where to begin w/ - I was thinking about writing the HTTP requests in Java or Python and export the results from there.

Blackbox exporter is definitely easier and cleaner. Thanks for the tip πŸ’―

[–] bahmanm@lemmy.ml 2 points 1 year ago

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@lemmy.ml 2 points 1 year ago

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@lemmy.ml 1 points 1 year ago

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@lemmy.ml 3 points 1 year ago (3 children)

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@lemmy.ml 2 points 1 year ago

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

 

I am not the author.

https://github.com/galdor/github-license-observer

https://addons.mozilla.org/en-GB/android/addon/github-license-observer/

This is a cool little addon to help you tell, at a glance, if the repository you're browsing on github has an open source license license.

Especially relevant nowadays given the trend to convert previously OS repos to non-OS licenses as a business model (eg Akka or Terraform.)

265
submitted 1 year ago* (last edited 1 year ago) by bahmanm@lemmy.ml to c/technology@lemmy.ml
 

Got a notification from LinkedIn saying "You're one of the few experts who have been invited to collaborate on ..." I got curious and opened up the link.


Apparently, now instead of professional writers being paid to pen down their, usually, cohesive & authentic views, LinkedIn is trying out the idea of generating content using an LLM and then asking for free editorial services from users in exchange for "badges" 🀯 πŸ€¦β€β™‚οΈ

This is cheap IMO. Even for LinkedIn.

What's happened to the "content team" at LinkedIn!?

 

Lemmy, in particular lemmy.ml, is so good that I've got completely used to checking it out almost every hour to enjoy the content. Kudos to all the mods and developers ❀️


Recently, in the past few weeks, I couldn't help but notice that momentary outages of lemmy.ml, ranging from a couple of mins to longer than 30mins, have become more frequent.

Is my observation correct? Or I'm just addicted to Lemmy? πŸ˜‚

If it is correct, have we got any idea what are the possible causes of the outages? In particular, I'd like to know if there's anything that I, as a member of this safe & welcoming community, can do to potentially help ΒΉ.


On a related note, if the outages are of such a nature that may be predicted but not prevented (such as routine maintenance restart, load-testing or new feature deploy), do you folks think it makes sense to have a post here in "meta" at least a few mins prior to the action?

ΒΉ I've got about a quarter of a century experience dealing w/ code and systems.

 

cross-posted from: https://lemmy.ml/post/4183051

I thought I'd share how happy I've been w/ my Gnome experience these past few years despite the usual controversial UI/UX decisions the Gnome folks make.

I use Gnome Online Accounts integration w/ Google (drive, e-mail, calendar & contacts) and it "just works"β„’ & it does so quite reliably.

It's so polished & well-integrated in the desktop that I often don't even notice that I'm using in on a daily basis ❀️

PS: I'm using Gnome 44.3 on openSUSE Tumbleweed running on an old ThinkPad T530 w/ an nVidia GPU.

101
submitted 1 year ago* (last edited 1 year ago) by bahmanm@lemmy.ml to c/linux@lemmy.ml
 

I thought I'd share how happy I've been w/ my Gnome experience these past few years despite the occasionally controversial UI/UX decisions the Gnome folks tend to make.

I use Gnome Online Accounts integration w/ Google (drive, e-mail, calendar & contacts) and it "just works"β„’ & it does so quite reliably.

It's so polished & well-integrated in the desktop that I often don't even notice that I'm using in on a daily basis ❀️

PS: I'm using Gnome 44.3 on openSUSE Tumbleweed running on an old ThinkPad T530 w/ an nVidia GPU.

 

cross-posted from: https://lemmy.ml/post/4079840

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

I just created a public room dedicated to all things about Make and Makefiles.

#.mk:matrix.org
or
matrix.to/#/#.mk:matrix.org

Hope to see you there.

 

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

I just created a public room dedicated to all things about Make and Makefiles.

#.mk:matrix.org
or
matrix.to/#/#.mk:matrix.org

Hope to see you there.

 

cross-posted from: https://lemmy.ml/post/4027414

TIL that I can use Perl's Benchmark module to time and compare the performance of different commands in an OS-agnostic way, ie as long as Perl is installed.

For example, to benchmark curl, wget and httpie you could simply run:

$ perl -MBenchmark=:all \
     -E '$cmd_wget    = sub { system("wget  https://google.com > /dev/null 2>&1") };' \
     -E '$cmd_curl    = sub { system("curl  https://google.com > /dev/null 2>&1") };' \
     -E '$cmd_httpie  = sub { system("https https://google.com > /dev/null 2>&1") };' \
     -E '$timeresult  = timethese(15, { "wget" => $cmd_wget, "curl" => $cmd_curl, "httpie" => $cmd_httpie });' \
     -E 'cmpthese($timeresult)'

which on my old T530 produces:

Benchmark: timing 15 iterations of curl, httpie, wget...

      curl:  2 wallclock secs ( 0.00 usr  0.00 sys +  0.42 cusr  0.11 csys =  0.53 CPU) @ 28.30/s (n=15)
    httpie:  8 wallclock secs ( 0.00 usr  0.01 sys +  4.63 cusr  0.79 csys =  5.43 CPU) @  2.76/s (n=15)
      wget:  3 wallclock secs ( 0.00 usr  0.00 sys +  0.53 cusr  0.19 csys =  0.72 CPU) @ 20.83/s (n=15)
    
         Rate httpie   wget   curl
httpie 2.76/s     --   -87%   -90%
wget   20.8/s   654%     --   -26%
curl   28.3/s   925%    36%     --

Very handy indeed ❀

 

TIL that I can use Perl's Benchmark module to time and compare the performance of different commands in an OS-agnostic way, ie as long as Perl is installed.

For example, to benchmark curl, wget and httpie you could simply run:

$ perl -MBenchmark=:all \
     -E '$cmd_wget    = sub { system("wget  https://google.com > /dev/null 2>&1") };' \
     -E '$cmd_curl    = sub { system("curl  https://google.com > /dev/null 2>&1") };' \
     -E '$cmd_httpie  = sub { system("https https://google.com > /dev/null 2>&1") };' \
     -E '$timeresult  = timethese(15, { "wget" => $cmd_wget, "curl" => $cmd_curl, "httpie" => $cmd_httpie });' \
     -E 'cmpthese($timeresult)'

which on my old T530 produces:

Benchmark: timing 15 iterations of curl, httpie, wget...

      curl:  2 wallclock secs ( 0.00 usr  0.00 sys +  0.42 cusr  0.11 csys =  0.53 CPU) @ 28.30/s (n=15)
    httpie:  8 wallclock secs ( 0.00 usr  0.01 sys +  4.63 cusr  0.79 csys =  5.43 CPU) @  2.76/s (n=15)
      wget:  3 wallclock secs ( 0.00 usr  0.00 sys +  0.53 cusr  0.19 csys =  0.72 CPU) @ 20.83/s (n=15)
    
         Rate httpie   wget   curl
httpie 2.76/s     --   -87%   -90%
wget   20.8/s   654%     --   -26%
curl   28.3/s   925%    36%     --

Very handy indeed ❀

 

cross-posted from: https://lemmy.ml/post/3972223

I come from a generally dry country and the concepts of drought & conserving the water are not new to me.


One of the things that have stunned/upset me ever since I set foot in Canada (both east & west coasts) is watching people washing their cars using a hose and tap water:

For starters, tap water is not cheap. Moreover, one definitely doesn't need sanitised water to wash their car.

But more importantly, washing cars using a hose at home is very inefficient compared to taking it to an automatic car wash: something which is programmed to make every second of operation and every litre of water count (that's how they make a margin after all.)


TBH I'm not sure about the real impact this has on our water reserves & if there have been any studies on similar water-inefficiencies but I have yet to watch/read/hear a advertisement, newspaper column or radio talk on this topic: these dry seasons take extra measures as, IMHO, they're going to stay w/ us for the foreseeable future.


Am I being too sensitive about water shortage b/c of my background? What are your thoughts?

Image from Wikipedia

 

cross-posted from: https://lemmy.ml/post/3919105

bmakelib is a minimalist standard library for writing Makefiles.

What do you think about being able to easily generate Β΅second precision timestamps in a Makefile?

Please take a second to look at https://github.com/bahmanm/bmakelib/issues/42 & share your thoughts/emojis πŸ™

 

bmakelib is a minimalist standard library for writing Makefiles.

What do you think about being able to easily generate Β΅second precision timestamps in a Makefile?

Please take a second to look at https://github.com/bahmanm/bmakelib/issues/42 & share your thoughts/emojis πŸ™

view more: β€Ή prev next β€Ί