This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-10
Channels
- # announcements (14)
- # beginners (55)
- # calva (4)
- # cider (9)
- # clojure (56)
- # clojure-austin (25)
- # clojure-brasil (1)
- # clojure-dev (29)
- # clojure-europe (44)
- # clojure-mexico (1)
- # clojure-nl (2)
- # clojure-norway (1)
- # clojure-uk (5)
- # clojurescript (15)
- # cursive (9)
- # datomic (5)
- # emacs (30)
- # events (1)
- # graalvm (30)
- # honeysql (17)
- # hyperfiddle (54)
- # introduce-yourself (1)
- # jobs-discuss (6)
- # kaocha (2)
- # leiningen (5)
- # lsp (6)
- # malli (3)
- # missionary (16)
- # off-topic (42)
- # overtone (40)
- # pedestal (2)
- # re-frame (21)
- # shadow-cljs (16)
- # squint (2)
- # tools-deps (14)
https://mitchellh.com/writing/zig-and-swiftui I have a project which will eventually have to export a library for flutter / react native / web / ios / android. As a clojure hacker, his idea of writing the core logic in one language really appeals to me. Has anyone tried something like above for Clojure? For JS I could lean on clojurescript / squint. For flutter I assume I could lean on clojure-dart. But for ios / android libraries, what would the solution be?
I've been thinking about this for a project, and the closest that I can picture is a getting Clojure to compile to WASM, and then using a WASM runtime with iOS/Android (e.g. wasmer https://wasmer.io/)
We're looking at using https://github.com/i-net-software/JWebAssembly to compile Clojure to WASM to then be able to "run anywhere"
As you mentioned, Zig is able to be compiled to nearly all target platforms, but I don't have the patience to for non-lisp code anymore 😅
I'm not familiar with the wasm options, but I would be more willing to bet on the graalvm team.
I've been slowly losing my mind trying to implement from the webauthn spec, and finally realized some of the tabs I had open were from different versions of the spec
my god, the hours of this day I could have back
omg lmao that's hell
in what experts are calling a "stunning advance in the technology of obfuscation," GPT-n has already fully automated the process of combining incompatible information from different versions of a specification
I read the novel because I heard of its popularity and that it's in the "hard sci-fi" category. Gotta say, I got disappointed. :( The "hard" part is almost not there, it reads mostly like plain sci-fi that's somewhat grounded in history. I feel like I've been spoiled by Peter Watts and how his novels have a giant list of references at the end, most of which are scientific papers. :)
I enjoyed it as well. I was also excited to read sci-fi from the perspective of a person from China. Though in the end I can’t say that it came across super clearly for me other than in the setting. I am not an expert on China or Chinese culture, so a lot of nuances might have been lost on me.
Reading volume 1, i like it so far. hopefully netflix doesn't Eff it up 😅
I currently work on a HTMX-like rendering library for ReactNative (it's not Clojure). I'd like to get feedback about the early version of it (especially from people who know ReactNative or people who used HTMX). PM or comment if anybody is interested.
I added run instructions into README. It has an Expo project that runs as an app and as a webpage
If I wanted to represent Clojure using an emoji or unicode character, which one would I use? It has to be a single character and lambda is already taken (by Haskell)
The meaning of symbols depends on the context. The less a symbol contains in itself, the more context is needed. λ by itself, without any context, is just a Greek letter. λ in the context of programming is lambda - an anonymous function. Unless someone decides to name a variable that way, but that would be an additional context. Haskell logos are never just λ, there are always other things that help distinguish it from the plain letter. Same with Clojure - its logo also has λ, but it's not by itself.
Combining diacritics are OK, right? Otherwise you should file a formal complaint. So you could glue a little pair of parentheses ( ), codepoint 1abb, over a letter j or a lambda. If anyone criticizes, saying "how cheap", you can honorably inform them that Clojure is a hosted language and so too should its Unicode avatar be.
Thank you @U2FRKM4TW for λ̮̮̑̑
😄 What I meant by taken was in the sense of “already used” by the Haskell module in https://starship.rs. I wanted to create a Clojure module for starship and that was the constraint. I’ve used your unicode character and created a PR in the starship
project at https://github.com/starship/starship/pull/5696 . Here is what my prompt now looks like:
Note that people might have fonts that don't support those diacritics.
FWIW, I myself would much rather prefer to see CLJ
or even Cloure
instead of λ̮̮̑̑
.
from what I can see in all the other modules (and my own testing), it has to be a single character. And starship has a hard requirement that the user must use a nerd-font to display the fancy symbols. Hence this character.
My initial choice had been (λ)
which I thought was a nice callout to the actual logo, but that didn’t work since it was three characters.
Fwiw this is what I use in my starship config: \ue768
☝️:skin-tone-2: how I set up my Clojure prompt in starship
I managed to snag a second hand physical copy of Joy of Clojure 2nd ed. for £7.50 🎉 . I look forward to adding it to my slowly growing library Lisp books
Fwiw this is what I use in my starship config: \ue768