Fork me on GitHub
#off-topic
<
2019-04-12
>
Stefan07:04:56

There was some talk about keyboards over here recently. Just wondering: anybody using the Workman(-P) keyboard layout? I’m trying to learn it. I quite like the ideas behind it. https://workmanlayout.org

dominicm07:04:31

I was going to try it, then I found Halmak, which seems very cool

Stefan08:04:03

Didn’t know about that one yet. Are you trying it out or not yet?

mpenet08:04:05

case without default is fine imho

mpenet08:04:52

same with cond, but that's just me

borkdude08:04:38

you can ignore warnings of course. but in some cases it made me aware of something I didn’t think about

mpenet09:04:30

would be handy to have a way to turn-off some warnings like this then

valtteri09:04:32

Hmmhm basically it would mean that when I want case or cond to throw with unexpected input I should explicitly add the default (throw...) to make the linter happy. It could be a good thing though.

danielstockton09:04:59

If it's something really unexpected, I would probably just let it blow up naturally (the default error message is pretty self explanatory).

valtteri09:04:52

True that as well. Implicit vs. explicit.. which one is more idiomatic in this case? troll

borkdude09:04:36

yeah, I think I’m going to let this be configurable. everyone happy

borkdude09:04:56

here are some binaries you can try out to see what it does for you code (cond + case linting that is): https://twitter.com/borkdude/status/1116629662954692608

borkdude09:04:40

made a #clj-kondo chamber as to not spam y’all next time 😉

Vincent Cantin10:04:11

@valtteri Unlike case that crashes, cond returns nil if no condition is true.

👍 4
valtteri11:04:12

True. I remembered that wrong.

borkdude10:04:55

what’s the badge generator for slack channels for a github project?

lread13:04:11

I don’t know about badges, but got a link in my macOS client by right clicking on the channel.

borkdude10:04:42

I’ve seen it at least in one project, but can’t remember which

dmarjenburgh11:04:11

Does anyone else have the experience of lying down to get some hammock time and then just falling asleep before you get any serious thought in?

Lennart Buit11:04:38

well, sleeping helps thinking 😉

😴 4
💡 8
gklijs13:04:09

I do have experience sleeping in a hammock while above a concert was taking place 😛. For me either taking a shower or going for a run works better then a hammock.

3Jane14:04:32

apparently this (falling asleep when attempting to take a break for thinking) means you’re not sleeping enough

3Jane14:04:16

shower works for idea generation, but nothing beats staring at the wall/ceiling for mulling things through 😄

Vincent Cantin15:04:50

My way is to pet my cat while laying on the sofa, with the notebook hovering above me. .. I do fall asleep sometimes however.

Eric Ervin18:04:29

My understanding of the hammock talk is that the ideas keep forming while you're asleep.

dmarjenburgh18:04:12

Not enough sleep is probably a good cause haha. The background thread in your head will only work if you primed it enough while awake.

victorb12:04:48

@d4hines re db as fs, look at IPFS, distributed file storage, where you can mount directories in the network as local resources (with NFS). Basically unix file storage over network

borkdude12:04:05

@dmarjenburgh try zen meditation style, I have a hard time falling asleep that way 😉

lread13:04:27

Has anyone else noticed that a parenthesis looks like a little hammock?

💡 12
borkdude13:04:33

Got the badges working btw

ScArcher15:04:06

Does anyone have experience testing code against "thousands of endpoints" by spinning up the windows / linux vms in Azure or AWS? I'm curious if there are tools that make this easier.

Marcin17:04:56

Maybe this helps you, i’ve recently discovered artillery but haven’t played with it yet: https://github.com/Nordstrom/serverless-artillery-workshop It’s using AWS lambdas for load-testing your endpoints.

valtteri18:04:39

We used this at work and were quite happy with it https://loadimpact.com/

victorb16:04:23

@scott.archer terraform + docker + jmeter could help you out

👍 4
victorb16:04:58

otherwise I guess BlazeMeter is a SaaS that could help as well, but it's expensive

borkdude22:04:08

in case anyone is savvy about the DocumentationTool and modules in Java 11: https://stackoverflow.com/questions/55660157/running-documentationtool-on-sources-from-openjdk-11