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

systemd path unit questions

Hello together. I try to use a systemd path unit, to monitor a directory structure. But as of now, I was only successful for the top level directory. The unit should be triggered, if a new file is written to either the top level of the monitored directory and also, if there is a new file in any of its subdirectories. I don’t...

bahmanm,
@bahmanm@lemmy.ml avatar

I don’t think you’ll be able to achieve that with systemd paths, I’m afraid. It’s not a use-case it is designed for.

It’s hard to come up with a suggestion without knowing more about the depth of the directory and the number of nodes in each level. But you could try updating a dummy file such as latest_timestamp in the top-level directory (which a systemd path can monitor BTW) and let the service unit be triggered by that.

bahmanm,
@bahmanm@lemmy.ml avatar

It doesn’t look to be a decline at all (quite healthy on the contrary) until around the time ChatGPT was released.

bahmanm,
@bahmanm@lemmy.ml avatar

I’m definitely interested to take a look at the code. Any other URL you could share that wouldn’t require logging in?

bahmanm,
@bahmanm@lemmy.ml avatar

People like me, who actually learned GIMP before PS, obviously didn’t go in with the same bias and therefore have a much better grasp on it.

Speaking for myself, I can say that’s true. To the point that even if I’ve got access to both, my default would be GIMP.

bahmanm,
@bahmanm@lemmy.ml avatar

I had no idea you could do that via about:config 😅 I would always either disable “Use the selected profile …” or launch it with firefox -P --no-remote as suggested.

FYI after years of having several profiles for different activities, I settled down on Multi-account containers and have been quite happy with it. I even wrote a little blogpost about my experience sometime ago - you might find it useful.

bahmanm,
@bahmanm@lemmy.ml avatar

A bit over elaborating some obvious points but nonetheless a good read on how to interpret ClientReads.

Monitoring databases and their performance used to be quite an intense and complicated effort. Luckily nowadays it’s just intense when you export the metrics to Prometheus and have nice dashboards in Grafana.

Keep sharing such insightful links please!

bahmanm,
@bahmanm@lemmy.ml avatar

Been there! Once I lost ~120 points in one sitting 🤦 I was bored and was playing without being really engaged in the game - something that used to happen frequently. I stopped that behaviour and since then been only playing only when I feel my brain is ready, rather than playing every day or week. It’s been working quite well for me.

bahmanm,
@bahmanm@lemmy.ml avatar

It’s insane. We spend almost 4x the amount we used to back in 2019 for our weekly groceries (nothing fancy, just Freshco and Walmart) and I, honestly, can say the quality of our material life has dropped noticeably.

Oh and don’t get me started on the rent!

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

lambda calculus

I wouldn’t say so. I’d say you can try quickly skimming through the theoretical explanation and instead reading the code snippets provided. I’ve got a feeling that you’re already familiar with the concept and can figure out the code - it’s just the math behind it which can read too intense.

bahmanm,
@bahmanm@lemmy.ml avatar

Could openSUSE MicroOS check the boxes for you?

bahmanm,
@bahmanm@lemmy.ml avatar

I’m not using it myself as am on Tumbelweed but I do know it’s quite similar to the idea OP is talking about. Oh and I couldn’t find any references to it being beta on the website 🤷‍♂️

bahmanm,
@bahmanm@lemmy.ml avatar

I was in a somehow similar scenario a few years ago and ended up using profiles.

I created and configured the “perfect” profile on my laptop and made a copy of it on my flash drive. Then whenever I needed to work on a new machine, all I had to was to copy the profile directory from my flash drive.

The details may have changed since then, but I think the idea is still applicable. HTH

bahmanm,
@bahmanm@lemmy.ml avatar

Hang on…I’m testing and writing the procedure on my blog. I will post back here as soon as I’m done.

bahmanm,
@bahmanm@lemmy.ml avatar

Here’s a step-by-step guide on how to do it: bahmanm.com/…/firefox-profiles-quickly-replicate-…

bahmanm,
@bahmanm@lemmy.ml avatar

I’ve only used Common Lisp. I find them quite handy as a light-weight abstraction to represent data for a simple script or a small program. Though, to my mind, they can get pretty unwieldy as the domain gets even a bit complex.

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