This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-22
Channels
- # announcements (39)
- # architecture (9)
- # aws (2)
- # babashka (17)
- # beginners (73)
- # calva (6)
- # cider (27)
- # clj-kondo (140)
- # cljdoc (67)
- # cljsrn (1)
- # clojure (99)
- # clojure-dev (4)
- # clojure-europe (35)
- # clojure-nl (7)
- # clojure-spec (19)
- # clojure-uk (2)
- # clojurescript (40)
- # community-development (3)
- # cursive (10)
- # datalevin (2)
- # datavis (2)
- # datomic (27)
- # deps-new (5)
- # events (2)
- # fulcro (38)
- # integrant (6)
- # jobs (3)
- # keyboards (1)
- # leiningen (13)
- # lsp (3)
- # malli (10)
- # meander (5)
- # membrane (1)
- # membrane-term (9)
- # missionary (3)
- # off-topic (29)
- # polylith (3)
- # reagent (3)
- # reitit (5)
- # remote-jobs (2)
- # reveal (7)
- # shadow-cljs (20)
- # tools-build (4)
- # tools-deps (8)
- # vim (10)
- # xtdb (3)
I’m proud to present an initial release of tweet-def
library — tweet as a dependency! 🎉
https://github.com/vlaaad/tweet-def 🎉
Using this library you can depend on one-liners tweeted by other Clojurists!


😢
user=> (tweet/def "")
Execution error at io.github.vlaaad.tweet-def/def (tweet_def.clj:53).
EOF while reading
@U47G49KHQ will you also make an extension for tools.deps.alpha? it has extensible multimethods. I'm sure the community will make good use of it.
🎉
; clj -Sdeps '{:deps {io.github.vlaaad/tweet-def {:git/tag "v2" :git/sha "134a803"}}}'
Checking out: at 134a8033b371cbb783ff4011175666388fca6dec
Clojure 1.10.3
user=> (require '[io.github.vlaaad.tweet-def :as tweet])
nil
user=> (tweet/def "")
#'user/<<-
user=> (def a 1)
#'user/a
user=> (<<- (if (odd? a) 1) 3)
1
I challenge the immutability of tweets, though. 😃 They can be deleted and also made private/followers only.
This is a first truly social dependency! Where else can you go to definition of some function and leave reply to it with some memes

@U0ETXRFEW, your critique equally applies to git dependencies
I mean, what more do you need, if a library is longer than a tweet, it's obviously too complex

So then you won’t vote for a feature request that tweet/def should unwind twitter threads?
although I think there is a place for unwinded tweets to store base64-encoded blobs... tweet-def-lfs
looking at the twitter’s terms of service it seems by default tweet deps can be used only by twitter inc 😄
what could go wrong lol