Skip Navigation

Search

General Programming Discussion @lemmy.ml bahmanm @lemmy.ml

Using Make and cURL to measure Lemmy's performance

github.com GitHub - bahmanm/lemmy-clerk at v0.0.1

A web application to track Lemmy instances performance and represent the results visually - GitHub - bahmanm/lemmy-clerk at v0.0.1

GitHub - bahmanm/lemmy-clerk at v0.0.1

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

> A follow up on [DISCUSS] Website to monitor Lemmy servers' performance/availability > > --- > > I wanted to experiment w/ Lemmy's APIs to, eventually, build a public-facing performance monitoring solution for Lemmy. > > It started w/ a couple of shell commands which I found myself repeating. Then I recalled the saying "Don't repeat yourself - make Make make things happen for you!" and, well, stopped typing commands in bash. > > Instead I, incrementally, wrote a makefile to do the crud work for me (esp thanks to its declarative style): https://github.com/bahmanm/lemmy-clerk/blob/v0.0.1/run-clerk > > --- > > TBH there's nothing special about the file. But I thought I'd share this primarily b/c it is a demonstration of the patterns I usually use in my makefiles and I'd love some feedback on those. > > > Additionally, it's a real world use-case for bmakelib (a library that I maintain 😎 )

2
General Programming Discussion @lemmy.ml bahmanm @lemmy.ml

bmakelib - generate high resolution timestamp

github.com Generate high resolution timestamp · Issue #42 · bahmanm/bmakelib

I find myself frequently needing to generate a µs precision timestamp. some-target : @echo Microseconds: $(call now,micros) @echo Milliseconds: $(call now,millis) @echo Seconds: $(call now,secs) @e...

Generate high resolution timestamp · Issue #42 · bahmanm/bmakelib

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 🙏

2
General Programming Discussion @lemmy.ml bahmanm @lemmy.ml

IBM using LLMs to convert COBOL to Java

techcrunch.com IBM taps AI to translate COBOL code to Java | TechCrunch

IBM's new product offering, Code Assistant for IBM Z, leverages a generative AI model to translate COBOL code to Java.

IBM taps AI to translate COBOL code to Java | TechCrunch

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

> 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 🙏

4