GitHub: http://github.com/whatacold
YouTube: https://www.youtube.com/@kenhuang-tech
Blog: https://whatacold.io
xenodium.com/emacs-send-t...
I'm glad I gave it a chance indieweb.social/@xenodium/11...
xenodium.com/emacs-send-t...
I'm glad I gave it a chance indieweb.social/@xenodium/11...
#clojure
#clojure
In case you don’t know it, we can use raw strings, like embedding JS code, in hiccup.
I just found out we can use `raw` to prevent strings from getting escaped.
I should’ve found this at the beginning, as it’s mentioned on the homepage, but somehow I missed it.
In case you don’t know it, we can use raw strings, like embedding JS code, in hiccup.
I just found out we can use `raw` to prevent strings from getting escaped.
I should’ve found this at the beginning, as it’s mentioned on the homepage, but somehow I missed it.
So you're more than excited to find out how #clojure thread macros can make code clean and concise, you just love it! But at some point you'll be trapped a bit as the threaded argument's positions are inconsistent using -> or ->>.
Luckily, you can use as-> (see the pic)
So you're more than excited to find out how #clojure thread macros can make code clean and concise, you just love it! But at some point you'll be trapped a bit as the threaded argument's positions are inconsistent using -> or ->>.
Luckily, you can use as-> (see the pic)
Example from github.com/functional-k...
Example from github.com/functional-k...
In #clojure, we can use comment for tests in development. However, since a comment evaluates to nil, you may run into surprising results/errors if you misuse it.
In these cases, you may tend to use ; to comment them out, but a better choice is to use the discard reader symbol #_.
In #clojure, we can use comment for tests in development. However, since a comment evaluates to nil, you may run into surprising results/errors if you misuse it.
In these cases, you may tend to use ; to comment them out, but a better choice is to use the discard reader symbol #_.
Even if we might not have the opportunity to code in #clojure at work, we can still use it for ad-hoc scripting or proofs of concept. I promise it’s a lot of fun, thanks to the interactive development approach. We can try out ideas, building stuff bottom-up or top-down.
Even if we might not have the opportunity to code in #clojure at work, we can still use it for ad-hoc scripting or proofs of concept. I promise it’s a lot of fun, thanks to the interactive development approach. We can try out ideas, building stuff bottom-up or top-down.
github.com/whatacold/go...
github.com/whatacold/go...
Having too many buffers isn't good for switching buffers in #emacs.
After finishing a project, we'd better close all its buffers. How?
1. C-x C-b opens up ibuffer
2. Click at the top to sort by that column, or hit s f
3. Mark them by m, then hit D to close them
Having too many buffers isn't good for switching buffers in #emacs.
After finishing a project, we'd better close all its buffers. How?
1. C-x C-b opens up ibuffer
2. Click at the top to sort by that column, or hit s f
3. Mark them by m, then hit D to close them
Just found out how to set thread numbers by setting :min-threads and :max-threads for #ring and #jetty in #clojure:
github.com/ring-clojure...
Just found out how to set thread numbers by setting :min-threads and :max-threads for #ring and #jetty in #clojure:
github.com/ring-clojure...
https://www.youtube.com/watch?v=gHwFCOkBb_o
#clojure #datascience
https://www.youtube.com/watch?v=gHwFCOkBb_o
#clojure #datascience
whatacold.io/blog/2025-02...
whatacold.io/blog/2025-02...
1/ Many languages boast REPLs, Clojure takes it to the next level. Imagine a live system springing to life the moment you fire up your project. With a seamless editor connection, you're not just coding—you’re in a live code playground 🔥
1/ Many languages boast REPLs, Clojure takes it to the next level. Imagine a live system springing to life the moment you fire up your project. With a seamless editor connection, you're not just coding—you’re in a live code playground 🔥
scicloj.github.io/docs/communi...
If anybody is considering a talk, now is the time to talk with us, and we will help you brainstorm your draft proposal.
scicloj.github.io/docs/communi...
If anybody is considering a talk, now is the time to talk with us, and we will help you brainstorm your draft proposal.
(hugoimg "#+caption: " (s caption) n
"#+attr_html: :alt " (s caption) n
"#+attr_html: :title Click to enlarge the image" n
"[[file:/img/" p ".jpg]]")
👇
github.com/reagent-proj...
github.com/reagent-proj...
This time, @ovistoica.com will talk about #voicefn, a Clojure library for building real-time voice-enabled AI pipelines.
clojureverse.org/t/scicloj-ai...
This time, @ovistoica.com will talk about #voicefn, a Clojure library for building real-time voice-enabled AI pipelines.
clojureverse.org/t/scicloj-ai...
github.com/clj-python/l...
github.com/clj-python/l...