jjba23

joined 4 months ago
 

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

Introducing Veritas v0.0.20: my new Lisp-powered (Guile Scheme) testing framework!

https://codeberg.org/jjba23/veritas

Born from my engineering experience and frustrations, I aim for incredible expressiveness. It is currently super early stages, also eager for other people to pitch in ideas before fully stabilizing the API. I also want to add many more capabilities for integration tests, containers and more.

veritas aims to be a simple and lightweight testing framework written in Scheme. Its main purpose is to help developers verify that their code behaves as expected. It achieves this by providing a clear structure for writing tests and producing easy-to-read feedback in various formats.

The framework is built around the concepts of "suites," which group related "tests," and "assertions," which perform the actual checks. I'd encourage you to peruse the test/ folder of this project to see real examples of how to use veritas.

The power of veritas lies in its simplicity, expressive embedded domain-specific language (EDSL), and some clever features that promote robust testing practices and correctness, like order randomization and concurrent testing.

 

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

Introducing Veritas v0.0.20: my new Lisp-powered (Guile Scheme) testing framework!

https://codeberg.org/jjba23/veritas

Born from my engineering experience and frustrations, I aim for incredible expressiveness. It is currently super early stages, also eager for other people to pitch in ideas before fully stabilizing the API. I also want to add many more capabilities for integration tests, containers and more.

veritas aims to be a simple and lightweight testing framework written in Scheme. Its main purpose is to help developers verify that their code behaves as expected. It achieves this by providing a clear structure for writing tests and producing easy-to-read feedback in various formats.

The framework is built around the concepts of "suites," which group related "tests," and "assertions," which perform the actual checks. I'd encourage you to peruse the test/ folder of this project to see real examples of how to use veritas.

The power of veritas lies in its simplicity, expressive embedded domain-specific language (EDSL), and some clever features that promote robust testing practices and correctness, like order randomization and concurrent testing.

 

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

Introducing Veritas v0.0.20: my new Lisp-powered (Guile Scheme) testing framework!

https://codeberg.org/jjba23/veritas

Born from my engineering experience and frustrations, I aim for incredible expressiveness. It is currently super early stages, also eager for other people to pitch in ideas before fully stabilizing the API. I also want to add many more capabilities for integration tests, containers and more.

veritas aims to be a simple and lightweight testing framework written in Scheme. Its main purpose is to help developers verify that their code behaves as expected. It achieves this by providing a clear structure for writing tests and producing easy-to-read feedback in various formats.

The framework is built around the concepts of "suites," which group related "tests," and "assertions," which perform the actual checks. I'd encourage you to peruse the test/ folder of this project to see real examples of how to use veritas.

The power of veritas lies in its simplicity, expressive embedded domain-specific language (EDSL), and some clever features that promote robust testing practices and correctness, like order randomization and concurrent testing.

 

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

Introducing Veritas v0.0.20: my new Lisp-powered (Guile Scheme) testing framework!

https://codeberg.org/jjba23/veritas

Born from my engineering experience and frustrations, I aim for incredible expressiveness. It is currently super early stages, also eager for other people to pitch in ideas before fully stabilizing the API. I also want to add many more capabilities for integration tests, containers and more.

veritas aims to be a simple and lightweight testing framework written in Scheme. Its main purpose is to help developers verify that their code behaves as expected. It achieves this by providing a clear structure for writing tests and producing easy-to-read feedback in various formats.

The framework is built around the concepts of "suites," which group related "tests," and "assertions," which perform the actual checks. I'd encourage you to peruse the test/ folder of this project to see real examples of how to use veritas.

The power of veritas lies in its simplicity, expressive embedded domain-specific language (EDSL), and some clever features that promote robust testing practices and correctness, like order randomization and concurrent testing.

 

Introducing Veritas v0.0.20: my new Lisp-powered (Guile Scheme) testing framework!

https://codeberg.org/jjba23/veritas

Born from my engineering experience and frustrations, I aim for incredible expressiveness. It is currently super early stages, also eager for other people to pitch in ideas before fully stabilizing the API. I also want to add many more capabilities for integration tests, containers and more.

veritas aims to be a simple and lightweight testing framework written in Scheme. Its main purpose is to help developers verify that their code behaves as expected. It achieves this by providing a clear structure for writing tests and producing easy-to-read feedback in various formats.

The framework is built around the concepts of "suites," which group related "tests," and "assertions," which perform the actual checks. I'd encourage you to peruse the test/ folder of this project to see real examples of how to use veritas.

The power of veritas lies in its simplicity, expressive embedded domain-specific language (EDSL), and some clever features that promote robust testing practices and correctness, like order randomization and concurrent testing.

[–] jjba23@lemmy.ml 1 points 6 days ago (1 children)

the post has been revised and improved, and therefore i oublished again and deleted the old one, thanks

 

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

I wrote a short blog post with my thoughts and experience on using Lisps and Scheme. Maybe you like it .

https://jointhefreeworld.org/blog/articles/lisps/scheme-and-lisps-are-great-for-production/index.html

It covers #scheme (a minimalistic #lisp) and implicitly #emacs and my text editor (which i use to make and publish the website too with #orgmode). #guix is also a great killer app for #guile

 

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

I wrote a short blog post with my thoughts and experience on using Lisps and Scheme. Maybe you like it .

https://jointhefreeworld.org/blog/articles/lisps/scheme-and-lisps-are-great-for-production/index.html

It covers #scheme (a minimalistic #lisp) and implicitly #emacs and my text editor (which i use to make and publish the website too with #orgmode). #guix is also a great killer app for #guile

 

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

I wrote a short blog post with my thoughts and experience on using Lisps and Scheme. Maybe you like it .

https://jointhefreeworld.org/blog/articles/lisps/scheme-and-lisps-are-great-for-production/index.html

It covers #scheme (a minimalistic #lisp) and implicitly #emacs and my text editor (which i use to make and publish the website too with #orgmode). #guix is also a great killer app for #guile

 

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

I wrote a short blog post with my thoughts and experience on using Lisps and Scheme. Maybe you like it .

https://jointhefreeworld.org/blog/articles/lisps/scheme-and-lisps-are-great-for-production/index.html

It covers #scheme (a minimalistic #lisp) and implicitly #emacs and my text editor (which i use to make and publish the website too with #orgmode). #guix is also a great killer app for #guile

 

I wrote a short blog post with my thoughts and experience on using Lisps and Scheme. Maybe you like it .

https://jointhefreeworld.org/blog/articles/lisps/scheme-and-lisps-are-great-for-production/index.html

It covers #scheme (a minimalistic #lisp) and implicitly #emacs and my text editor (which i use to make and publish the website too with #orgmode). #guix is also a great killer app for #guile

[–] jjba23@lemmy.ml 2 points 1 week ago* (last edited 1 week ago) (1 children)

By default it is, but there are many non-free channels you can use to add the OG Linux kernel to your Guix install as well as nonfree drivers. A famous one is nonguix, which i also use in my config. They also make custom ISOs with the Linux kernel, which helps some hardware indeed. So the libre only policy is a non issue if you read into it a little, but unfortunately most people stay at surface level

[–] jjba23@lemmy.ml 11 points 1 week ago* (last edited 1 week ago) (3 children)

With Guix you have reproducibility, freedom, good docs and peace of mind, also when configuring things more deeply. You also have a powerful programming language (Scheme / Lisp) with which to define your system config as well as your dotfiles. This is my insight after years of GNU/Linux usage. I run Guix on laptops, desktops and servers, and I never have configuration drift, as well as the benefit that I have a self documenting system.

https://codeberg.org/jjba23/sss

[–] jjba23@lemmy.ml 2 points 3 weeks ago

thank you! really appreciate the kudos !

 

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

With the idea of promoting the usage of Guix and of my favourite programming language Guile Scheme, I created a small project which is still in early stages, but I think with some more love and effort can be quite something.

https://jointhefreeworld.org/guile-show-hub/

The Guile ShowHub! Promoting all Guile projects out there! By reading from foss Guix project source code we can tap into a plethora of information, and leverage the homoiconicity of Lisp to directly analyze the source code and extract info.

 

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

With the idea of promoting the usage of Guix and of my favourite programming language Guile Scheme, I created a small project which is still in early stages, but I think with some more love and effort can be quite something.

https://jointhefreeworld.org/guile-show-hub/

The Guile ShowHub! Promoting all Guile projects out there! By reading from foss Guix project source code we can tap into a plethora of information, and leverage the homoiconicity of Lisp to directly analyze the source code and extract info.

[–] jjba23@lemmy.ml 2 points 1 month ago

You might be interested in Emacs, it has (among many other things) artist-mode where you can draw with your cursor and obtain good ASCII art

[–] jjba23@lemmy.ml 3 points 1 month ago

check out my config for a real world example, many things here are simply inconceivable without the power of a proper programming language, and a powerful one like Scheme

https://codeberg.org/jjba23/sss

[–] jjba23@lemmy.ml 3 points 1 month ago

I find it funny that you call Lisps and Emacs obsolete and dead, when they are more alive than ever. I agree with most of the article, but I think you ignore what makes these two great

[–] jjba23@lemmy.ml 2 points 1 month ago (1 children)

no question is a bad question friend! a lot of people like me, and other power users, have keyboard driven workflows in their computer, and as such find title bars and window buttons to be of little use, and not justifying the screen space they take. This is mostly a window manager (WM)/ desktop environment (DE) dependent thing, regardless of distro. this is specially true when you have a tiling WM, like Hyprland.

[–] jjba23@lemmy.ml 3 points 2 months ago

@triplenadir thanks for the heads-up, I edited the title, since I never meant any negative message with this

[–] jjba23@lemmy.ml 2 points 2 months ago

There are many reasons why a Lisp is a great fit for most software. More specifically, websites are tree like data structures, and you really can't beat Lisps at that, due to homoiconicity and so much more. some thoughts here:

https://jointhefreeworld.org/blog/articles/lisps/why-i-program-in-lisp/index.html

[–] jjba23@lemmy.ml 2 points 2 months ago

v0.0.14 now uses libcurl and works nicely :)

         (file-port (open-input-file the-file))
         (handle (curl-easy-init))
         (_ (begin
              (curl-easy-setopt handle
                                'url
                                (format #f "smtp://~a:~a" access-server
                                        access-port))
              (curl-easy-setopt handle
                                'verbose #t)
              (curl-easy-setopt handle
                                'use-ssl 1)
              (curl-easy-setopt handle
                                'username access-key)
              (curl-easy-setopt handle
                                'password access-secret)
              (curl-easy-setopt handle
                                'mail-from from-address)
              (curl-easy-setopt handle
                                'mail-rcpt
                                (list to-address))
              (curl-easy-setopt handle
                                'readdata file-port)
              (curl-easy-setopt handle
                                'upload #t)))
         (r (curl-easy-perform handle #t))
         (rr (catch #t
                    (lambda ()
                      (bytevector->string r "utf-8"))
                    (lambda (key . args)
                      r))))
[–] jjba23@lemmy.ml 2 points 2 months ago (1 children)

i understand the mixed feelings about AI, but I think we should stop and think that we sometimes have nice and fun use cases, like image generation

view more: next ›