bahmanm

joined 2 years ago
MODERATOR OF
4
submitted 7 months ago* (last edited 7 months ago) by bahmanm@lemmy.ml to c/programming@lemmy.ml
 

If there was one reason I liked coding in Java, it'd be AssertJ and its brilliant extensibility.

The image is an example of it from bjForth

The ability to create custom assertions makes the test code concise and read naturally.

 

I've been recently thinking about the future of lemmy-meter and where should we go next from where we stand today.

It quickly became obvious to me that I've got no clue where do we stand today. I've been too caught up with my life (and possibly too lazy and distracted) that I never ran a survey to gather any sort of feedback.

Since many of you have been using lemmy-meter for more than a month already, I'd like to redirect the following important questions to you:

Strengths

What do you think lemmy-meter does right?
What are its strength?
In other words, what makes you enjoy using lemmy-meter (if at all)?

Weaknesses

Where do you think lemmy-meter falls short?
What are the things that make unsatisfied or even disappointed?

Potentials

Do you see any areas to explore that we haven't touched yet?
Do you think lemmy-meter can expand to cover new realms?
What could be the ideas that would take lemmy-meter to next level?

Thank you, Your friendly neighbourhood observability enthusiast

 

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

I wanted to share a personal experience that might resonate with some of you. I've been diagnosed with ADD and major depressive syndrome, and for a long time, I struggled to enjoy over-the-board chess.

The fast pace and constant need for focus left me feeling drained and frustrated โ€“ blaming myself for not being able to concentrate.

Then, I discovered correspondence chess! This format allows for a much slower pace, giving me the time I need to analyze positions and make thoughtful moves. It's been a game-changer. No more pressure, just the joy of strategic thinking without the stress.

Do you ever feel like traditional chess isn't quite the right fit?

If you struggle with focus or find the fast pace overwhelming, correspondence chess could be for you! Here are a couple of options to get you started:

  • ICCF.com (International Correspondence Chess Federation): This is the official platform for serious correspondence chess with tournaments and rankings.

  • Daily Chess on chess.com: This is a more casual option where you can play correspondence games at your own pace.

Let me know in the comments if you've tried correspondence chess, or if you're interested in giving it a go!

 

I wanted to share a personal experience that might resonate with some of you. I've been diagnosed with ADD and major depressive syndrome, and for a long time, I struggled to enjoy over-the-board chess.

The fast pace and constant need for focus left me feeling drained and frustrated โ€“ blaming myself for not being able to concentrate.

Then, I discovered correspondence chess! This format allows for a much slower pace, giving me the time I need to analyze positions and make thoughtful moves. It's been a game-changer. No more pressure, just the joy of strategic thinking without the stress.

Do you ever feel like traditional chess isn't quite the right fit?

If you struggle with focus or find the fast pace overwhelming, correspondence chess could be for you! Here are a couple of options to get you started:

  • ICCF.com (International Correspondence Chess Federation): This is the official platform for serious correspondence chess with tournaments and rankings.

  • Daily Chess on chess.com: This is a more casual option where you can play correspondence games at your own pace.

Let me know in the comments if you've tried correspondence chess, or if you're interested in giving it a go!

4
submitted 11 months ago* (last edited 11 months ago) by bahmanm@lemmy.ml to c/chess@lemmy.ml
 

I stumbled upon Opening Master the other day and am quite tempted to buy the Golem subscription and use it with Scid.

Have you ever used their databases? If yes, can you share your thoughts please?

In particular:

  • How is the quality of the compilation?
  • Are there any annotated games in the database (like ChessBase)?
  • Is it as large as they claim it to be?
  • Does it receive proper regular updates?
 

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

Shameless plug: I am the author.

 

Shameless plug: I am the author.

 

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

Just wanted to share some (exciting) news about my Common Lisp project, euler-cl. I finally got the time to sit down and integrate it with Codecov! This means a couple of cool things:

  • ๐Ÿ“ˆ Test Coverage Tracking: I can now see how well my code is tested over time, giving valuable insights into code quality.
  • ๐Ÿ… Codecov Badge: euler-cl now sports a snazzy Codecov badge to show off!
  • ๐Ÿ“ฆ Reusable Setup: The code and setup process should be simple enough to be used as a reference to integrate Codecov (and potentially other services) into your own Common Lisp projects!

If you're interested this commit is almost all you need: https://github.com/bahmanm/euler-cl/commit/855b014

Let me know in the comments if you have any questions or want to chat about integrating Codecov into your own projects!

 

Just wanted to share some (exciting) news about my Common Lisp project, euler-cl. I finally got the time to sit down and integrate it with Codecov! This means a couple of cool things:

  • ๐Ÿ“ˆ Test Coverage Tracking: I can now see how well my code is tested over time, giving valuable insights into code quality.
  • ๐Ÿ… Codecov Badge: euler-cl now sports a snazzy Codecov badge to show off!
  • ๐Ÿ“ฆ Reusable Setup: The code and setup process should be simple enough to be used as a reference to integrate Codecov (and potentially other services) into your own Common Lisp projects!

If you're interested this commit is almost all you need: https://github.com/bahmanm/euler-cl/commit/855b014

Let me know in the comments if you have any questions or want to chat about integrating Codecov into your own projects!

 

If you've found yourself manually crafting complex Docker images or repeatedly installing tools, I've got something for you ๐Ÿ˜

Check out "fusions" in bdockerimg project (https://github.com/bahmanm/bdockerimg).


With fusions, you merge base images into powerful composite images.

Currently there are:

  • sdkman.bmakelib
  • quicklisp.bmakelib

Let me know what other fusions would make your Docker life easier ๐Ÿ™

 

I've been working on a small project called bdockerimg.

It's a collection of pre-built Docker images for some less common development tools (currently bmakelib, QuickLisp, and SDKMAN).

The idea is to streamline setup, especially for CI/CD pipelines, where I found myself repeating the same Dockerfile steps a lot. Basic functionality tests are included for a bit of extra peace of mind.


๐Ÿ‘€ Here's the repo if you're interested: https://github.com/bahmanm/bdockerimg
๐Ÿ—ฃ And here's the the Matrix room: https://matrix.to/#/#bdockerimg:matrix.org


I'm curious:

  • Does this seem like something you might find useful?
  • Are there any specific tools you'd love to see as easy-to-use Docker images?

This project is still in its early stages, so any feedback or contributions are much appreciated ๐Ÿ™

 

Recently I've been working on a reviving my, rather old, side project, euler-cl (https://github.com/bahmanm/euler-cl), where I solve Project Euler problems with Common Lisp.

As one of the first steps, I decided to establish a robust CI/CD pipeline using ASDF, FiveAM, Make, bmakelib, and CircleCI - I've attached a diagram for a quick overview.

I'd love to discuss the following:

  • Are there other tools within the CL ecosystem that excel in this area?
  • Any tips on optimizing this workflow further?
  • General thoughts on integrating CI/CD into Common Lisp projects.
[โ€“] bahmanm@lemmy.ml 1 points 2 years ago

That's a great starting point - and a good read anyways!

Thanks ๐Ÿ™

[โ€“] bahmanm@lemmy.ml 1 points 2 years ago

Agree w/ you re trust.

[โ€“] bahmanm@lemmy.ml 1 points 2 years ago

Thanks. At least I've got a few clues to look for when auditing such code.

[โ€“] bahmanm@lemmy.ml 3 points 2 years ago (1 children)

I'm not an 1.e4 or Sicilian player but this smells like wild tactical variations early in the game.

[โ€“] bahmanm@lemmy.ml 3 points 2 years ago

Done โœ…

Thanks for your interest ๐Ÿ™


Please do drop a line in either !lemmy_meter@lemmy.ml or #lemmy-meter:matrix.org if you've got feedback/ideas for a better lemmy-meter. I'd love to hear them!


Oh and feel free to link back to lemmy-meter from Blรฅhaj if you'd like to, in case you'd prefer the community to know about it.

[โ€“] bahmanm@lemmy.ml 1 points 2 years ago

Update 1

ttrpg.network is now on lemmy-meter ๐Ÿฅณ Thanks for your interest ๐Ÿ™

[โ€“] bahmanm@lemmy.ml 1 points 2 years ago (1 children)

To be precise, it's not 4 requests to the same endpoint.

lemmy-meter probes 4 endpoints each once per minute:

  • The landing page
  • api.getPosts (limit=1)
  • api.getComments (limit=1)
  • api.getCommunities (limit=1)

That's b/c I've frequently experienced cases when the landing page works but some mobile APIs don't and vice versa.

Hope that makes sense.


As I said, if after some time you feel like this is too much load, reach out to me and I can easily configure lemmy-meter to probe less frequently.

[โ€“] bahmanm@lemmy.ml 1 points 2 years ago

Update 1

lemmy.one is added to lemmy-meter ๐Ÿฅณ


Please do reach out if you've got feedback/suggestions/ideas for a better lemmy-meter ๐Ÿ™

You can always find me and other interested folks in

[โ€“] bahmanm@lemmy.ml 2 points 2 years ago

Oh, sorry to hear that ๐Ÿ˜•

I think I'll just go ahead and add you folks to lemmy-meter for now. In case you want to be removed, it should take only a few minutes.

I'll keep this thread posted once things are done.

[โ€“] bahmanm@lemmy.ml 3 points 2 years ago

Update

sh.itjust.works in now added to lemmy-meter ๐Ÿฅณ Thanks all.

[โ€“] bahmanm@lemmy.ml 1 points 2 years ago

I didn't like the capitalised names so configured xdg to use all lowercase letters. That's why ~/opt fits in pretty nicely.

You've got a point re ~/.local/opt but I personally like the idea of having the important bits right in my home dir. Here's my layout (which I'm quite used to now after all these years):

$ ls ~
bin  
desktop  
doc  
downloads  
mnt  
music  
opt 
pictures  
public  
src  
templates  
tmp  
videos  
workspace

where

  • bin is just a bunch of symlinks to frequently used apps from opt
  • src is where i keep clones of repos (but I don't do work in src)
  • workspace is a where I do my work on git worktrees (based off src)
[โ€“] bahmanm@lemmy.ml 14 points 2 years ago

Thanks! So much for my reading skills/attention span ๐Ÿ˜‚

view more: โ€น prev next โ€บ