This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-05-11
Channels
- # aws (6)
- # beginners (105)
- # boot (6)
- # cider (50)
- # cljsrn (10)
- # clojure (41)
- # clojure-brasil (6)
- # clojure-italy (25)
- # clojure-nl (17)
- # clojure-russia (4)
- # clojure-serbia (1)
- # clojure-spec (8)
- # clojure-uk (242)
- # clojurescript (27)
- # core-async (10)
- # cursive (5)
- # data-science (9)
- # datomic (43)
- # emacs (6)
- # fulcro (6)
- # graphql (1)
- # javascript (3)
- # juxt (4)
- # lein-figwheel (1)
- # mount (1)
- # onyx (19)
- # parinfer (2)
- # portkey (15)
- # protorepl (1)
- # re-frame (30)
- # reagent (3)
- # ring-swagger (1)
- # shadow-cljs (22)
- # sql (6)
- # tools-deps (23)
- # vim (13)
My "yay!" is due entirely to finally being able to install WIndows 10 17666 after 36 hours of failures (and 17661 restarted Windows Explorer every two minutes so it was next to useless).
(but it's bedtime here)
Happy Friday
mÄning y'all
do tell!
(which is then followed by a conversation about weather, wrong kind of leaves, and other customary subjects)
(On a more serious note, have you read âWatching the Englishâ? Itâs fascinating.)
(My landlord recommended it to me after I moved to the UK and now after a couple of years itâs funny to point at things and say âoh yeah I read about thatâ XD )
An anthropologist went âwhy do we only ever study âother peopleâ?â and studied her own culture using the same tools. Personally, I found it most endearing when she described how she almost gave up on the idea because she dreaded purposefully bumping into people on the train and not apologising! (to see what they would do)
it's soo hard to even almost bump into someone and not say "oop. sorry"
Thing is, if you bump into a Brit on the train it's quite likely that they will apologise to you.:thinking_face:
I've definitely apologised to inanimate objects for almost bumping into them in the past
I've done it absent mindedly, certainly. Because it didn't register until after I had apologised that it wasn't another person
I apologise when people walk into me -.- best way to train yourself out of it is to move to London though, people walk into you all the time XD
I felt as though this was an early start for me, but y'all have been up and at 'em far longer as far as I can tell!
@lady3janepl did my use of scandi Ă„
(Ă„ sounds like the aw in paw so is phonetically correct for "morning" sounded without rolled r) help solve the mystery ?
I like being really chipper in the morning - partly to convince myself that the world won't end given that I've not had enough coffee yet and partly because living in the UK has turned me into a complete wind up merchant
@mccraigmccraig I'm always disappointed you aren't more rhotic
@otfrom all those universes in which you don't have coffee end up rather badly
Happy day.
i can do rhotic if it pleases you @otfrom
i can't skarre very well though
but what about espressos
i keep giving up caffeine, but i keep falling off the wagon too. seems i just like the taste of coffee
@bronsa 100%, I stopped drinking it four years ago, not by choice, when you walk past a love fresh pot it's just not fair
@mccraigmccraig yes, youâre the source of enlightenment:D
they need to invent a form of coffee where you inhale it it always smells better than it tastes
but how @lady3janepl?
like caffeine but nastier đ
so true @danieleneal
In the case of coffee, the taste is also hampered by the fact that 300 of the 631 chemicals that combine to form its complex aroma are wiped out by saliva, causing the flavour to change before we swallow it, Prof Smith added.
Those zip taps don't quite cut it for tea-making. One needs a kettle for a proper cup of brown joy.
Has anyone here played with GraalVM yet?
@bronsa Thanks - I'll take a look!
I agree, ziptaps make tea taste a bit weird
but coffee isnât? the ancestors are turning over in their graves so fast that they generate electricity
Regular tea is meh, though my wife seems to live on it. Earl Grey is đ:skin-tone-2:, but she's allergic to it đ
i've resorted to earl grey with two bags and milk when i've run out of other caffeinated beverages. it's ok, not much better or worse than builder's tea, but a pale shadow of the magnificent flavour of that first double-creamed & lengthened double-espresso
@lady3janepl i suspect my dour ancestors have long since given up on me
I do like chai lattes as well. One of these days I'll have to try a proper chai. We have one team member from India and another from Pakistan and both have espoused the joy of proper chai where milk + a lot of sugar is kept on a rolling simmer and the tea leaves are steeped in it for a long time
Usually Assam or Darjeeling for me, occasionally Oolong. Loose leaf. Milk first.
And proud of it! đ
only CHF38 - what excellent value: https://www.iso.org/standard/8250.html
how about chilli chocolate? I keep trying to convert people but the general populace remains sceptical đ
There's a Tom Scott video about that - https://www.youtube.com/watch?v=nAsrsMPftOI
I have tried chilli chocolate, but am not generally a fan. In my experience it's generally dark choc that get chilli'd, and I'm not actually big on chocolate. It's just a really convenient cream+sugar delivery mechanism when it's milk choc or whatever
Mmmm.... Cheeeeesecake đ
Mmmm..... Chocolate đ
i like chilli chocolate and cheesecake both
Mmmm..... Both đ
Well I do sometimes just eat buttercream, or peppermint wafer mix (butter, icing sugar, bit of peppermint essence)
I may need to get in my car to sort out this sugar addiction soon
I'm guessing you'd like a good peppermint tart then Dan?
When I was a teen my lunch at the bakery I worked at on weekends was a Cornish Pasty and a 1kg block of regalice ready to roll white icing. I'm not sure how I didn't die (or become diabetic). I tried it about 10 years ago, when I was 23-24, and got a massive sugar hangover and felt crap for days
1kg of royal icing @carr0t - that's very impressive!
We don't get Peppermint Crisps here, but... http://www.picknpay.co.za/recipe-search-results/peppermint-crisp-tarthttp://www.picknpay.co.za/recipe-search-results/peppermint-crisp-tart
you must have the pancreas of thor
Isn't that what this is for @lady3janepl? https://www.sainsburys.co.uk/webapp/wcs/stores/servlet/gb/groceries/betty-crocker-vanilla-butter-cream-icing-450g
I think I've eaten what was left of a tub of that after a cake was iced, but never a full tub
(âŠalso Iâll be baking carrot cake this Sunday and that requires buttercream, and I always make too much buttercreamâŠ)
When I was still living at home, since I was about 7 or 8, my favourite dessert was always syrup sponge. This is because it was dead easy to make in the microwave and only took about 10 mins, so I was allowed to do it myself. I always made a double batch of the mix and ate half
I used to enjoy a Sussex Pond Pudding. The sort of thing a wasp would turn down as "a bit on the sweet side for me". :face_with_rolling_eyes: Not much in it other than sugar, fat and a lemon.
side note: Iâm trying to figure out an alternative convention for naming predicates in a language that doesnât support ? in symbol names
turns out it does support Unicode characters, and there are Unicode question marks that are not question marks.
Iâm not gonna use that in prod code because someone would kill me, but ⊠fingers itching now I found out XD
The usual practice in Java was to prefix things with "is" or "has". Can't say that I was ever enamoured of that approach.
hahah @otfrom I was gonna suggest the same
(Iâm halfway through a Haskell uni course, so I canât claim any fluency either. just aesthetically nice.)
@carr0t i know i shouldn't, but: a monad is a "container" type and a way of composing sequences of operations on the contained values, one neat thing is that the sequence composition can use properties of the type, so with e.g. Maybe
you get short-circuiting behaviour when the contained value is Nothing

See, that's a simple explanation I can understand. I know the concept, I use them all the time, but every time I try to find anything explaining what a Monad actually is it gets into all sorts of mathsy terms I don't know either
Maybe is just a sum type of Nothing or Just <value>. It has various instances defined for it in haskell like Functor, Applicative, Monad that get more complicated to understand
My brain is essentially a forgetful functor. :face_with_rolling_eyes:
This is like how I still don't know the difference between a verb, noun, adjective etc. I know how to use them correctly, but I can't say which one a given word is or what the defining properties of one or the other is. People have explained it hundreds of times, and it just never stays in. As long as I can use them correctly my brain just discards the info as unimportant
Yeah listening to other peopleâs explanation doesnât really make you learn these things. Itâs much better to implement them yourself, starting with the simplest
As long as you can use them correctly, when is it important for a writer to know they type of each word in a sentence or similar?
oh I'm not saying you can't write (clearly you can, you're doing it right now), but I have a hard time believing that you can be a serious writer without any understanding of grammar. Sure there might be exceptions, after all there's plenty of musicians who can't read music or don't understand music theory, but having that knowledge allows gives you a broader bag of tricks to pick from, and to get excellent at your art form rather than just good
>when is it important for a writer to know they type of each word in a sentence or similar? the simple answer is: when you want to make sure you're writing correctly structured phrases
and if being correct is necessary and not just something that would be nice to have (imagine writing formal documents), then knowing the theory is paramount
this is all setup for the hard sell of an app that will formally verify your sentences for you
if your sentence type checks, it must be correct!
what's that thing they say about haskell
something like that
my theory is that if something doesn't compile for long enough it forces you to look at it for hours and hours and you end up spotting loads of bugs you missed before
what is a generative grammar
@danieleneal in short, this kind of stuff: https://en.wikipedia.org/wiki/Backus%E2%80%93Naur_form
Also if you heard of Noam Chomsky, thatâs where the approach comes from. I was surprised to find that heâs more known in CS than linguistics đ
Incidentally, have you seen Inform 7? I love how it reads like plain English. This is actual source code: http://inform7.com/learn/eg/bronze/source_1.html
:gnome:
Esperanto is an interesting intersection: itâs a constructed language, but has native speakers and it has evolved
Sure. AFAICT itâs got a subculture that looks a bit like couch surfing, and the native speakers are bilingual, raised by parents who are Esperantists. (Although it has the same problem every bi- (or multi-) lingual kid encounters, in that if the language isnât spoken by the rest of the kidâs environment like school, the kid forgets the language or refuses to use it)
also found it surprising that itâs relatively popular in the far east despite its eurocentric vocabulary and grammar
I've been a paid writer for nearly a decade and I don't know shit about tenses
pure intuition babyyyy
that said, bc of learning french I know most of them in french, I just don't have to hand the english equivalents... because I'm, dumb, I guess?
gosh that last sentence was like the somme in its punctuation usage
a quagmire
come to think of it, one other major reason for knowing grammar is better reading comprehension skills
I like grammar because it creates slots in my brain that then everything falls into. A classification system.
I can then read a sentence and the parts instantly becomes discernible even if I donât know the vocabulary.
Granted, this (1) applies only when learning a foreign language and (2) apparently most people donât learn language like that and find it strange đ
But with any other concept, learning the pattern / regularity allows you to make sense of noise, and things that relate to what you already have in your head tend to be easier to understand and easier to remember.
Itching to do some more clojure
i've got so much of it i've forgotten i even wrote lots of it @yogidevbear - i keep coming across code and git-blame
points the finger at me but i have no recollection
is there a nice way to convert a keyword (maybe with a namespace) to a string such that it can be easily converted back to a keyword again ?
yeah, subs seems nicer than str/join
it does seem a bit odd that (keyword "foo/bar")
generates a keyword with namespace and name, rather than just name
i'm liking that bit atm - i'm coercing btw json objects and clojure maps and i want the namespaced keywords to survive the journey to and fro
i think i've repeatedly forgotten about subs
because it's not in clojure.string
ah, keyword
delegates to Symbol.intern
in the java, which does an explicit check for /
, so it is intentional: https://github.com/clojure/clojure/blob/master/src/jvm/clojure/lang/Symbol.java#L58-L64
So⊠the subs call is making me think (rest ":keyword")
which Iâm sure is going to be painfully inefficient⊠Whatâs the purpose of treating strings like sequences of characters, and have you ever made use of it?
I donât think Iâve ever made use of it - it might be good in interviews if someone asked you to code up a palindrome detector or something. I feel like it was almost just showing off - âLook at all the things that can be united with the sequence abstraction!â
@lady3janepl clojure isn't treating strings like sequences
clojure is automatically converting the string to a seq and then returning the rest of that seq
I think you'd agree that making a string a seqable makes sense, and that being able to take the rest
of a sequable also makes sense
I think it's not controversial that if you can operate on strings directly rather than on sequences of chars, that's better
Iâm not questioning that making a string a seqable makes sense, because it is a sequence of characters by definition; rather I thought there was a low-level usecase somewhere that I wasnât aware of
@peterwestmacott yes, Iâve only used it in 4clojure before but it was definitely useful there đ
if I can steal your carrot cake recipe