bahmanm

joined 2 years ago
[โ€“] [email protected] 1 points 2 years ago

Love the attitude ๐Ÿ’ช Let me know if you need help in your quest.

[โ€“] [email protected] 2 points 2 years ago (2 children)

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]

[โ€“] [email protected] 5 points 2 years ago (1 children)

I'm nitpicking but can you properly quote your code?

[โ€“] [email protected] 9 points 2 years ago (4 children)

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. ๐Ÿ˜…

[โ€“] [email protected] 3 points 2 years ago (1 children)

I just love the "Block User" feature. Immediate results w/ zero intervention by the mods ๐Ÿ˜†

[โ€“] [email protected] -2 points 2 years ago* (last edited 2 years ago) (1 children)

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.

[โ€“] [email protected] 7 points 2 years ago* (last edited 2 years ago)

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

[โ€“] [email protected] 4 points 2 years ago

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

[โ€“] [email protected] 1 points 2 years 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.

[โ€“] [email protected] 2 points 2 years 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 $$$.

[โ€“] [email protected] 1 points 2 years ago (2 children)

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?

1
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

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.

102
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

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.

 

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 โค

0
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

It's not the 1st time a language/tool will be lost to the annals of the job market, eg VB6 or FoxPro. Though previously all such cases used to happen gradually, giving most people enough time to adapt to the changes.

I wonder what's it going to be like this time now that the machine, w/ the help of humans of course, can accomplish an otherwise multi-month risky corporate project much faster? What happens to all those COBOL developer jobs?

Pray share your thoughts, esp if you're a COBOL professional and have more context around the implication of this announcement ๐Ÿ™

 

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

You probably have already noticed that nowadays it's becoming fashionable online to share technical material via videos (eg YouTube.)

I somehow can understand the appeal of creating videos for sharing thoughts/news, esp b/c it takes way less time and focus compared to writing things (just hit the record button and go.)

But videos are. ๐Ÿ‘Ž not index-able (at least locally)
๐Ÿ‘Ž not searchable. ๐Ÿ‘Ž not copy-paste friendly if at all. ๐Ÿ‘Ž impossible to skim through.
๐Ÿ‘Ž a major distraction from the train of thoughts.

IMO, in most cases, the more effective and impactful medium of technical comms is the written form: a Mastodon toot, a blog post, a gist, a Pastebin entry or even a Facebook post!

What are your thoughts?

2
submitted 2 years ago* (last edited 2 years ago) by [email protected] to c/[email protected]
 

When you open a new tab, you can instantly start typing and press ENTER which sends your query to the search engine.

However once that's done, there's no easy way to edit the query directly from the URL bar. The URL bar will contain, well, the URL and not the original query anymore.

Is there a way to edit the search query w/o using the search engine's web page or retyping the whole query again? In other words, is there a way to tell Firefox to show me the previous query in the URL bar instead of showing the URL?

I'd like to try to send as many queries as possible to Google directly from Firefox rather than using Google's webpage (more $$$ for Firefox.)

An example where I searched for Lemmy and tried to edit the search query

 

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

I've had the (mis)fortune to deal w/ a good number of Makefiles over the years. Enough to take a liking to Gnu Make ๐Ÿคทโ€โ™‚๏ธ

I've been haphazardly compiling a collection of common tasks that I'd like my Makefiles to do out-of-the-box for me.

The collection grew to a point where I thought it might benefit my fellow engineers in their day-to-day programming.

Hence bmakelib was born w/ an Apache v2.0 license ๐Ÿ‘ถ

It is essentially a collection of useful targets, recipes and variables you can use to augment your Makefiles.

The aim is not to simplify writing Makefiles but rather help you write cleaner and easier to read and maintain ones.

Everything is well tested via CI pipeline (yes, I wrote unittests for Makefiles ๐Ÿ˜Ž) and should work out of the box.

Please take a look and let me know what you think. I'd love to hear your thoughts and possibly your experience if you ever use bmakelib in your projects.

 

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

Suppose I've got a simple #Makefile w/ a few URLs that I'd like to process as dynamic targets.

For example here is a not working snippet:

.DEFAULT_GOAL := all

#####
URLS  = https://foo.example.com
URLS += https://bar.example.com
URLS += https://www.example.org

#####
% :
	@echo the url is $(*)

#####
.PHONY : all
all : $(URLS)

It fails w/

*** target pattern contains no '%'

I believe that's b/c of the character : being part of URLS which confuses Make after expansion (order o

As a workaround, I've removed https:// from all URLs. For example this works:

URLS = foo.example.com
URLS += bar.example.com

I know Make generally doesn't play well w/ targets w/ space or colon in the name but I wonder if the above is the best I can do. What do you think?

 

I'm working on a hobby project of mine which requires Gnu Make 4.4. I am now trying to setup the project's Travis pipeline on github. Travis, understandably, only offers LTS Ubuntu images and sadly Gnu Make 4.4 is not available on those images.

Is there any way, compiling from the sources aside, to install the said version on an Ubuntu image? Something like a PPA?

view more: โ€น prev next โ€บ