This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-03-03
Channels
- # announcements (15)
- # babashka (143)
- # babashka-sci-dev (2)
- # beginners (35)
- # biff (11)
- # calva (5)
- # cider (8)
- # clerk (4)
- # clj-kondo (58)
- # cljdoc (6)
- # clojure (88)
- # clojure-denmark (1)
- # clojure-europe (77)
- # clojure-nl (1)
- # clojure-norway (16)
- # clojure-uk (1)
- # clojurescript (19)
- # clr (32)
- # code-reviews (158)
- # datahike (5)
- # datomic (10)
- # deps-new (3)
- # fulcro (12)
- # graalvm (20)
- # honeysql (23)
- # hyperfiddle (32)
- # kaocha (17)
- # membrane (6)
- # observability (1)
- # other-languages (2)
- # pathom (5)
- # practicalli (12)
- # reagent (4)
- # reitit (7)
- # releases (1)
- # sci (25)
- # shadow-cljs (52)
thx @U04R4718WAJ I needed that
Good morning!
On my second coffee already.
Good morning and just finished my third and final coffee of the day
Four is usually my upper limit, after that sleep degrades sharply
I don't understand how people who drink coffee in the afternoon are able to sustain a normal life
I once heard that the coffee tradition in some scandinavian countries stem from people trying to bend the habits of the people from alcohol to caffeine as a "healthier" alternative drug
not sure if that was pure tourism or if there is some truth in there. alcohol surely is way more expensive in those countries
> I don't understand how people who drink coffee in the afternoon coffee has a half life of about 6 hours. even if you drink multiple coffees before lunch, it could affect sleep, but it varies a lot between individuals how much they are affected
my parents drink coffee at 8 pm and I was raised that way, which seriously fucked with my biorythm, I always had sleeping problems until in my 30s when I slowly decreased the amount of caffeine I was consuming
> I once heard that the coffee tradition in some scandinavian countries stem from people trying to bend the habits of the people from alcohol to caffeine as a “healthier” alternative drug we never had a strong temperance movement in Denmark, though, and alcohol isn’t that expensive or hard to come by here, yet we drink lots of coffee like the rest of the Nordic countries 🤷
> my parents drink coffee at 8 pm and I was raised that way, which seriously fucked with my biorythm, I always had sleeping problems until in my 30s when I slowly decreased the amount of caffeine I was consuming yes, I had a similar issue and experimented with different approaches. I remember the first time I heard about “evening coffee” as a thing people do and it just made zero sense to me.
my mother certainly is affected, she always has sleeping problems, but she doesn't want to know it might be the coffee at night
No more than 4 coffees, no coffee after 2pm for me. How does your sleep degrade if you drink too much/late? I usually fall asleep just fine but wake up at 2am and stay awake
My father can't sleep longer than 4am, my mother isn't affected, both drink coffee after dinner 🤷
My problem was usually falling asleep and then getting out of bed on time. I've had times in high school that I didn't make it to school before noon due to this problem
And because I couldn't sleep, I smoked out of the bed room window. I didn't know nicotine was also a stimulant. Those were the days.
“Aftenskaffe” (literally “Evening coffee”) for me is synonymous with “Let’s have some slow hygge by sitting down, having a snack (probably cake) and chat for a bit. Oh, some people drink coffee when this happens, it’s up to you”
I don’t think we ever had coffee at our aftenskaffe at home
Bore da . I usually limit myself to two coffees in the morning but I'm already at two and I feel the need, the need for more caffeine! It's been that kind of week!
Seeing as #clojure-denmark does not have a huge audience, I’m going to link to my post here as well to catch any in the Aarhus area of Denmark that might not have seen that the aarhus-clj meetup has rebooted: https://clojurians.slack.com/archives/C077SD30R/p1677839352076859
what’s even the point of having both package.json and package-lock.json if you’re meant to commit the package-lock.json file anyway?
the point is that in package.json you can define version ranges and package-lock has the locked versions, I think?
yeah, but if the package-lock.json is the canonical reference anyway, the package.json is useless
neil add dep
(#C03KCV7TM6F) does lock the version in deps.edn
(because there is no other way, lol)
I was just wondering whether it the split has any practical practical purposes if the package-lock.json is the canonical one anyway. It just seems like at some point they figured out that fixed versions are the way to go and hacked NPM a bit to make it work.
it's maybe a solution to a bad design decision they made earlier, which is often the case with npm
there was an effort called cljsjs who published npm deps to maven, it worked quite well, but things were always behind
I'm not sure how people actually use them but from the few examples I've seen, package.json is for humans (you just specify direct dependencies) and package-lock,json is so that tools can create 100% reproducible environments (i.e. it includes pinned versions of all transitive dependencies) That's how poetry (python) approaches it at least.
Languages other than Clojure allow you to specify version ranges as your dependencies, so assuming I create a project on machine A, I'm not guaranteed to get that exact environment if I try to recreate it a few weeks later on machine B, unless I have the exact library versions of the entire dependency tree A lock file like that though https://github.com/PavlosMelissinos/enet-keras/blob/master/poetry.lock, so you need an https://github.com/PavlosMelissinos/enet-keras/blob/master/pyproject.toml for that. (the examples in the links are from an old repo of mine) Poetry has pyproject.toml vs poetry.lock, node/js has package.json vs package-lock.json, etc Clojure doesn't have that problem because it doesn't support version ranges in deps.edn
Originally there was only package.json. There was a period (2015/2016 or so) when it was almost an heresy dispute that it was a good approach, even if in reality it was a massacre keeping up with libraries breaking each other. But reality prevailed, yarn came out providing a lock file, so also natively the same concept was introduced... optionally, coz The True Paladins Of SemVer weren't supposed to lock their versions (for minor and patches which in theory shouldn't break)! :rolling_on_the_floor_laughing: So, the real reason for having 2 files is historical heritage 🙂
I wish!
and we even start at 4 on both Thursday and Fridays... and it is free. Very dangerous.
@U052852ES What company is this? ;)
Varias, but we are in a shared workspace called Microlabs here in rdam and they provide the beer.
@U052852ES nice tradition