bahmanm

joined 1 year ago
MODERATOR OF
 

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 2 months ago* (last edited 2 months ago) by [email protected] to c/[email protected]
 

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 ๐Ÿ™

[โ€“] [email protected] 2 points 6 months ago

Thanks for the pointer! Very interesting. I actually may end up doing a prototype and see how far I can get.

 

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.
[โ€“] [email protected] 1 points 6 months ago

Thanks. Bookmarked the site. Also noted RE age.

[โ€“] [email protected] 1 points 6 months ago

Thanks. I'd go the online route if my kid was a few years older but given the age, I believe in-person lessons are the best for now.

[โ€“] [email protected] 1 points 6 months ago

Thanks. Bookmarked.

 

Do you know any chess clubs/programmes for a 5-7 year old in Vancouver/Richmond area?

I would preferably want to be able to look up the coach(es) online or attend one of their lessons before enrolling my kid.

PS: I know I may sound very picky, but I have witnessed first hand how a not great tutor in the early ages can ruin the enthusiasm for chess and change the future.

 

I just started learning Prolog (based on "Programming in Prolog") and in doing so I've been trying to write code as much as I can.

So far, my little collection of tiny predicates have seemed OK, to my mind.

However, I'm not sure if I'm confident about the most recent piece of Prolog code I've written: https://github.com/bahmanm/prolog-etudes/blob/main/basic-list-techniques/mapping_nested.prolog

Which is why I'm asking if I could please get a code review from the experts. Any hint/feedback is highly appreciated ๐Ÿ™

[โ€“] [email protected] 1 points 10 months ago

UPDATE: lemmy.ml is now on lemmy-meter ๐Ÿฅณ

[โ€“] [email protected] 18 points 10 months ago

Good question!

IMO a good way to help a FOSS maintainer is to actually use the software (esp pre-release) and report bugs instead of working around them. Besides helping the project quality, I'd find it very heart-warming to receive feedback from users; it means people out there are actually not only using the software but care enough for it to take their time, report bugs and test patches.

[โ€“] [email protected] 10 points 10 months ago

"Announcment"

It used to be quite common on mailing lists to categorise/tag threads by using subject prefixes such as "ANN", "HELP", "BUG" and "RESOLVED".

It's just an old habit but I feel my messages/posts lack some clarity if I don't do it ๐Ÿ˜…

[โ€“] [email protected] 0 points 10 months ago

I usually capture all my development-time "automation" in Make and Ansible files. I also use makefiles to provide a consisent set of commands for the CI/CD pipelines to work w/ in case different projects use different build tools. That way CI/CD only needs to know about make build, make test, make package, ... instead of Gradle/Maven/... specific commands.

Most of the times, the makefiles are quite simple and don't need much comments. However, there are times that's not the case and hence the need to write a line of comment on particular targets and variables.

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

Can you provide what you mean by check the environment, and why youโ€™d need to do that before anything else?

One recent example is a makefile (in a subproject), w/ a dozen of targets to provision machines and run Ansible playbooks. Almost all the targets need at least a few variables to be set. Additionally, I needed any fresh invocation to clean the "build" directory before starting the work.

At first, I tried capturing those variables w/ a bunch of ifeqs, shells and defines. However, I wasn't satisfied w/ the results for a couple of reasons:

  1. Subjectively speaking, it didn't turn out as nice and easy-to-read as I wanted it to.
  2. I had to replicate my (admittedly simple) clean target as a shell command at the top of the file.

Then I tried capturing that in a target using bmakelib.error-if-blank and bmakelib.default-if-blank as below.

##############

.PHONY : ensure-variables

ensure-variables : bmakelib.error-if-blank( VAR1 VAR2 )
ensure-variables : bmakelib.default-if-blank( VAR3,foo )

##############

.PHONY : ansible.run-playbook1

ansible.run-playbook1 : ensure-variables cleanup-residue | $(ansible.venv)
ansible.run-playbook1 : 
	...

##############

.PHONY : ansible.run-playbook2

ansible.run-playbook2 : ensure-variables cleanup-residue | $(ansible.venv)
ansible.run-playbook2 : 
	...

##############

But this was not DRY as I had to repeat myself.

That's why I thought there may be a better way of doing this which led me to the manual and then the method I describe in the post.


running specific targets or rules unconditionally can lead to trouble later as your Makefile grows up

That is true! My concern is that when the number of targets which don't need that initialisation grows I may have to rethink my approach.

I'll keep this thread posted of how this pans out as the makefile scales.


Even though Iโ€™ve been writing GNU Makefiles for decades, I still am learning new stuff constantly, so if someone has better, different ways, Iโ€™m certainly up for studying them.

Love the attitude! I'm on the same boat. I could have just kept doing what I already knew but I thought a bit of manual reading is going to be well worth it.

[โ€“] [email protected] 1 points 10 months ago

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

Thanks ๐Ÿ™

[โ€“] [email protected] 1 points 11 months ago

Agree w/ you re trust.

[โ€“] [email protected] 1 points 11 months ago

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

view more: next โ€บ