This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-09-26
Channels
- # 100-days-of-code (3)
- # announcements (2)
- # beginners (237)
- # bitcoin (2)
- # boot (5)
- # cider (15)
- # cljs-dev (9)
- # cljsrn (6)
- # clojure (75)
- # clojure-estonia (1)
- # clojure-italy (8)
- # clojure-losangeles (1)
- # clojure-nl (1)
- # clojure-spec (68)
- # clojure-uk (80)
- # clojurescript (89)
- # cursive (31)
- # datomic (22)
- # emacs (2)
- # events (3)
- # figwheel-main (184)
- # fulcro (28)
- # graphql (1)
- # hyperfiddle (2)
- # jobs (1)
- # jobs-discuss (64)
- # luminus (5)
- # off-topic (16)
- # om (2)
- # onyx (1)
- # pedestal (12)
- # portkey (1)
- # re-frame (13)
- # reagent (56)
- # reitit (13)
- # ring-swagger (13)
- # shadow-cljs (145)
- # slack-help (2)
- # specter (6)
morning
morning
has anyone used enlive on XML?
(other than HTML, which is obviously a kind of XML)
output that looks like hiccup input rather than what you get from clojure.data.xml
the c.d.xml stuff is quite convenient, but itβs a pain to eyeball
it was more curiosity than anything else
the c.d.xml stuff is well structured though, so itβs trivial enough to convert it
If I was asked to query xml today, I would use @tbaldridge's Odin
https://github.com/halgari/odin/blob/master/src/com/tbaldridge/odin/contexts/xml.clj examples / utilities
Last night's Clojure dojo diversity stats Gender diversity 40% Racial diversity 20% Geographical diversity 30% Beginning Clojure journey 70%
last time I had to mess around with xml in clojure I ended up writing a fair few macros
this is relevant to my interests btw, have you seen a better different option than xpath for specifying a pattern match on a tree?
the only alternative I remember seeing is https://en.wikipedia.org/wiki/Tom_(pattern_matching_language)
Morning π I shared this in #news-and-articles earlier: https://increment.com/programming-languages/crash-course-in-compilers/ I thought this was a really well written post.
https://github.com/halgari/odin/blob/master/src/com/tbaldridge/odin/contexts/xml.clj examples / utilities
I mean I could change my morning greeting to "Morning friends and that benevolent despotic dictator" so you don't feel left out...... π
could be helpful, depending on what you need to do
This would be a funny punch line in twitter bio
haha! given the ubiquity of voice-to-text software aren'tt we all dictators?
oh no Alexa is down
perhaps not today
@elise_huard got me into Specter for XML parsing, thanks for the reminder: https://github.com/MastodonC/kixi.hecuba.dcc.measurements/blob/master/src/kixi/hecuba/dcc/measurements/parser.clj
poor Hecuba
@ben.hammond I miss Hecuba too.
@ben.hammond badum tish!
in my days of xml wrangling I used https://clojure.github.io/data.zip/ and it felt very similliar to xpath
I am amused to admit that I would love to have a good reason to use Clojure and XML together.
I would much rather use proper xpath than data.zip, but sadly most libs that do xpath only really do it for reading, rather than updates etc as well
Every time I have to deal with XML in any other language, I wish it did it as well as xquery. Any time I have to do anything that isn't XML manipulation in xquery I wish I wasn't using xquery...
Programme Metadata, up in Salford. So PIPs and Nitro, both of which you may have heard of, are our old products. And our new workflows are Clojure microservices working on data from PIPs
@carr0t - I do know both PIPs and Nitro, as well as Dynamite, though it sounds as though that may have FINALLY been retired... I worked for Radio and Music for a while and ended up having to get my head round quite a lot of the Programme Metadata stuff. Glad to hear that it's getting the Clojure treatment π
I never worked at Media City - never even got a visit in - but I was born in Manchester and my parents live about 30 minutes by car from the Quays, so you are in the part of the country that is closest to my heart, working for my all-time favourite employer (except my current one, natch), doing Clojure on key infra / systems. I would say you are a lucky man, @carr0t π
Dynamite was 'running, but not in use' before I started in 2015. They finally actually turned it off and decommed the servers about 6 months back I think? Maybe a year
spent today smashing out a graphql endpoint on azure functions
have to admit the azure functions local scaffolding isn't bad, feels less of a pain than the AWS SAM stuff too... though with AWS you'd just use serverless framework because it's feature complete and better
mad how quickly you can build a microservice that's flexible these days
I know it's off-topic, but I built a bunch of things year before last in The Philippines, on top of AWS Lambda with an amazing framework in Python, called Zappa.
Blew me away how quickly one could have a working, powerful, reliable workflow for some thing or other.
oh nice
yeah we looked at zappa and then basically rolled our own (different team, diff project, diff constraints)
it looked ace tho
all python or nodejs here tho, no cljs in the day job π
@alex.lynham - Where in the World are you..?
In Manchester in the UK