Fork me on GitHub

Latest git release shows function context with -W which is highly useful.

$ git grep try-get-as-pdf

src/pdfboxing/common.clj:  (if-let [pdf (try-get-as-pdf pdf-file-or-path)]

$ git grep -W try-get-as-pdf

src/pdfboxing/common.clj-(defn is-pdf?
src/pdfboxing/common.clj-  "Confirm that the PDF supplied is really a PDF"
src/pdfboxing/common.clj-  [pdf-file-or-path]
src/pdfboxing/common.clj:  (if-let [pdf (try-get-as-pdf pdf-file-or-path)]
src/pdfboxing/common.clj-    (try
src/pdfboxing/common.clj-      (not (nil? pdf))
src/pdfboxing/common.clj-      (finally
src/pdfboxing/common.clj-        (.close pdf)))
src/pdfboxing/common.clj-    false))

😍 4

@xtreak29 that's pretty cool indeed (and even cooler that it seems to be aware of lisp)


I now wonder if rg has the same feature


Actually it sort of showed the entire ns I think. But it's configurable and Clojure is not supported by default. We can add custom ones at


Yes that's what I see as well with 2.16 - it shows the entire file


ot ot a friend of mine posted a pic of the throne of the prince of monaco on instagram today and it got me thinking about monarchies. And then I wondered if north korea is a monarchy, because it seems the difference between a monarchy and dictatorship is inheritance. But people saying no say so because they arent “traditional” or that they’re tyrannical. Which strikes me as splitting hairs. I mean look at the wars of the roses for example, a couple of warlords fighting to be king. The legitimacy of the rule is completely fabricated, its just whoever is strongest.


I remember an article about government systems in fantasy (as in books) and apparently monarchy is overwhelmingly portrayed as “how things should be” ¯\(ツ)


so it’s like there’s a strong association of monarchy with benevolence and divine right in collective unconscious


Most modern monarchies have only a very limited political role for the monarch, it’s almost only ceremonial.


it’s weird, though. in the UK the Queen is the head of the (national) church, and high-ranking members of the same church are on a governmental body (the house of lords, which also incidentally contains hereditary members - and wikipedia just enlightened me that most of these positions cannot be inherited by women).


like with coffee or alcohol, there’s a lot of cruft that everyone accepts because it’s always been that way, but if you tried to introduce a new X with the same rules/properties, you’d be met with a huge outcry.


It looks like North Korea is a democracy: 100.00% of the votes went for the party alliance of the Democratic Front for the Reunification of the Fatherland with 99.97% turnout


airquotes ommitted

✌️ 8

Is there a channel focused on Clojure Bridge-like coordination? Or the resources to build a Clojure Bridge workshop?


I may want to leverage too if/when it's ready. That looks like a pretty interesting greenfield clj-tool/cljs.main project to get familiar with.


Edge may also be something you want to look at :)


Nice! Thanks. I'll check it out.


> so it’s like there’s a strong association of monarchy with benevolence and divine right in collective unconscious Yes, it seems like people associate monarchies with benevolence and conveniently ignore that they’re authoritarian regimes.


modern monarchies are different of course for the most part


other than notable examples like Saudi Arabia and Thailand


The divine right is just a cult of personality under the guise of religion


Not necessarily personality; maybe moreso in modern times, but I'm sure tradition can also weigh in as well.


Clojure surpassed Scala in the TIOBE index… 😄

Alex Miller (Clojure team)18:04:59

Of all the broken invalid language indexes, tiobe is now my fav

😄 52
❤️ 8

You know, like the gardner quadrants for everything over the moon and the sun. I bet there is a gardner quadrant for every top 500 company on Earth / continent / country 😄


Time for a metaquadrant of quadrants.


has anyone read this I saw it on my twitter a while back, more of a rant (as the author himself claimed)


@theeternalpulse Yeah, I think I read it when it came out, and I've seen similar "rants" before and since by a number of people. I agree, for the most part, despite having been primarily an OO programmer professionally from around '92 to maybe 5-10 years ago (and a C, COBOL, and assembler programmer before that -- at least, professionally).


But then I was exposed to FP back at university in the early 80's so I'd already seen "better ways of doing things" by the time I started my career 🙂


compared to other languages, is Forth code trivial to decompile? it seems like if programs are lists of words to be interpreted, they should be fairly easy to read off (compared to other languages)


@theeternalpulse Wow that is a long article. I don't think I have the stamina to finish it, and I have spent many hours transcribing Rich Hickey and Stuart Halloway talks on similar topics 🙂


Haha, I forget the poster but I follow him because of his involvement with unity and Arcadia in clojure