This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
- # 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)
- # 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).
(which is then followed by a conversation about weather, wrong kind of leaves, and other customary subjects)
(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)
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
@otfrom all those universes in which you don't have coffee end up rather badly
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
they need to invent a form of coffee where you inhale it it always smells better than it tastes
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.
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
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
how about chilli chocolate? I keep trying to convert people but the general populace remains sceptical 😞
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
Well I do sometimes just eat buttercream, or peppermint wafer mix (butter, icing sugar, bit of peppermint essence)
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
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
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.
(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
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
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
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
@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
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
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?
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.
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 ?
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
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!”
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 😄