This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-03-08
Channels
- # announcements (11)
- # babashka (13)
- # beginners (11)
- # biff (2)
- # calva (17)
- # cider (19)
- # clojure (60)
- # clojure-berlin (1)
- # clojure-dev (20)
- # clojure-europe (48)
- # clojure-nl (1)
- # clojure-norway (98)
- # clojure-spec (7)
- # clojure-uk (5)
- # core-typed (32)
- # cursive (13)
- # datomic (12)
- # dev-tooling (5)
- # emacs (7)
- # figwheel-main (2)
- # graalvm (4)
- # hyperfiddle (4)
- # introduce-yourself (1)
- # malli (14)
- # missionary (32)
- # off-topic (7)
- # overtone (4)
- # pedestal (10)
- # proletarian (4)
- # re-frame (8)
- # releases (11)
- # tools-build (1)
- # tools-deps (4)
- # xtdb (38)
Morning *!
These are pictures i can't take because I'm more of a night owl. I'm the guy for sunsets. 😉
But I really love them.
Bore da
I seem to finally be making a break through in programming emacs rather than just configuring it. It has only taken 25 years or so
![emacs-spin](https://emoji.slack-edge.com/T03RZGPFR/emacs-spin/749b80f0fe0294a3.gif)
I'll see whether my current struggles pay off. I'm hoping to get some code reviews that tell me how I'm doing it wrong. My code is definitely too brittle still
And I can't get match-string and string-match to work, so I might be a bit previous in my crowing
Here is what I have so far. I'm still a bit confused about why I needed to write link-title
the way I did.
Mostly I'm trying to capture and refile things from pocket, orgzly, or just an inbox of links to put them into org-roam nodes or into an org-roam-daily node with the hope that some day I'll do something like rememberance agent.
https://gist.github.com/otfrom/6b4d9a54dff2d4edcf16d8a39a5469de
If I got the url from the org-link I could probably archive things using org-eww-copy-for-org-mode
and store that.
I'm getting annoyed with things that are disappearing from the interwebs (link rot) and external search is getting worse and worse for finding things I've found before
Yeah ... I'm using orgzly to capture links too, but I'm manually refiling them right now ... I don't use a date based setup, but maybe that would be helpful ... idk ... my initial suggestion for changing the string-match
/`match-string` thing in link-title
would be to maybe just do a regex replace?
(replace-regexp-in-string "..\\(.*?\\)].*" "\\1" "[[][Homepage]]") ;; => ""
not sure if that sparks more joy 😉I don't either, but it is good for getting past some annoying javascript/css paywalls and for archiving things
Thanks! It was the reaction I wanted, @U08ABGP70 😃 https://yamlscript.org/
I do hope they hurry up with publishing the presentation from tonight: https://www.meetup.com/seajure/events/299251467/ It blew my mind!
babashka for yaml? :thinking_face:
Here’s a good section on that site: https://yamlscript.org/posts/advent-2023/index/
@U0ETXRFEW - If you're on a Mac, try this:
ys -e '(->> ["Good" " " "Morning"] (apply str) say)' | say
![metal](https://emoji.slack-edge.com/T03RZGPFR/metal/9f936a4278.png)
There’s some shell namespace too, if I understood correctlty. But we can ask in #C05HQFMTURF
I think a lot of existing YAML configs would benefit from it. And it’s not asking for a change of behaviour the way Clojure, and albeit to a lesser extent, Babashka does. It’s your familiar YAML file and you want to have scripting powers there.
Suddenly you have written your first Clojure code without realizing you’ve been fiddling with a Lisp.
I have to figure out how to make Calva work with it. Or how to give some access to the repl.