Fork me on GitHub
#clojure-europe
<
2022-05-25
>
slipset06:05:51

So when you do a lein repl or similar, you get a REPL without paredit. And that kinda sucks (or perhaps not). Is there like A rlwrap but with paredit out there?

practicalli-johnny06:05:30

Highlighting matching parens is common, but haven't seen parents style. https://github.com/bhauman/rebel-readline does pretty much everything else though (multi-line commands, docs, function signature, etc)

practicalli-johnny06:05:16

Or you could use NeoVim and Conjure in the terminal 😉

practicalli-johnny06:05:28

I have a little work trip next week, so just getting my mini laptop ready for hacking some code 😂

metal 8
😂 1
mario-star 1
🤓 1
otfrom07:05:57

at least we'll know why your coding style says "no functions longer than 9 lines"

practicalli-johnny08:05:56

I use that principle on my ultra-wide hi-rez monitor too 😂

otfrom08:05:31

do you have really big letters on the screen or do you use just a very small part of it?

practicalli-johnny08:05:51

Pinching the screen zooms the font size in and out... I increase the font for the picture to make it readable 😁

mpenet09:05:31

you need a 90deg usb-c plug/cable :)

maleghast09:05:13

This is SWEET!

otfrom09:05:50

but how big are the letters on your big montitor

vijaykiran10:05:51

NeoVIM - blasphemy!

otfrom10:05:20

he was already evil

practicalli-johnny11:05:15

I have contact lenses that are easier to carry 😁 I'll also start adding more carrots 🥕🥕🥕🥕🥕

practicalli-johnny11:05:14

I haven't tried plugging the phone into the ultra-wide monitor yet, that could be very interesting

practicalli-johnny11:05:47

I'll try and get Emacs on the phone as well, especially if it can use Spacemacs and my own configs. Although not sure if there is native compilation support in Termux Emacs...

simongray07:05:19

Anyone here using Logseq, Athens, or Roam? I find it interesting that much of the buzz in note-taking world is driven by similar Clojure software all using the same core libs.

👀 1
mdallastella08:05:31

I use Logseq, but still to figure out a proper workflow. I hate the fact that the plugins use Typescript/JavaScript, I'm trying to write an example plugin in ClojureScript.

🙏 1
🙌 1
mpenet08:05:40

I use org-roam

otfrom08:05:55

I'm using org-roam as well and liking it

mpenet08:05:01

I guess it doesn't qualify, it's not clojure, even tho strongly inspired by roam

mpenet08:05:19

in theory it's compatible with logseq I think

simongray08:05:49

Well, there is definitely some overlap there

mdallastella08:05:18

Looking at some video tutorials, it looks like Logseq staff suggest to use Markdown format instead of Org lately... Quite disappointing. Actually I use Logseq + Orgzly on Android, hope they won't drop the Org support.

mpenet09:05:15

honest question: what doe logseq bring to an org-roam user using git to store its files already?

mpenet09:05:13

I guess mobile apps for one

1
borkdude09:05:53

so org-roam has nothing to do with roam research?

otfrom09:05:52

inspired by

simongray07:05:29

… and good morning, of course!

pez08:05:10

Good morning! Checking out Logseq, Athens and Roam today.

👍 1
thomas09:05:33

Morning lovely people!

genRaiy09:05:51

Good morning

🎨 1
borkdude12:05:11

Generic part of the day

reefersleep13:05:55

Which ones aren’t?

borkdude13:05:33

Universal greetings back at you.

reefersleep13:05:17

bonjour

🍷 1
reefersleep13:05:36

I was genuinely wondering, though

reefersleep13:05:54

I wouldn’t put it past some inventive people to come up with extremely niche parts of the day

borkdude13:05:27

Like 2-3 AM in the night, what's that called?

reefersleep13:05:28

That was my initial thought as well (and I can’t remember it either), but perhaps people have even chiseled out odd parts in the more boring, well known parts

reefersleep13:05:56

one common example is 4:20, I guess, but there’s gotta be more exotic and exciting examples

borkdude13:05:15

Excellent thoughts

🧠 1
genRaiy13:05:22

00:06:9 is a nice time and all the more precious for its fleeting nature

borkdude13:05:38

@raymcdermott I was about to make that joke and tag you - but then I didn't because I thought that would be too lame laughcry

🤡 2
reefersleep13:05:52

Actually, come to think of it, I often go “heh” when I look at the clock and it’s 13:37

💯 2
reefersleep13:05:02

Reminds me of good times

reefersleep13:05:09

> Like 2-3 AM in the night, what’s that called? “Insert batch job here”

lread12:05:31

Good morafteveght

reefersleep13:05:57

Does anyone in here do art apart from @raymcdermott?

genRaiy13:05:00

ouch - I thought I was among several people who sent photos of their morning views. Yes, I am also a show off 🙂

1
mccraigmccraig13:05:09

lol @raymcdermott - you are not alone - i have also been guilty of sending morning view photos, and sometimes even evening view photos. i'm not sure i would go so far as to call mine art though

genRaiy13:05:57

ha me neither ... I have had that "thrust upon me"

genRaiy13:05:44

I do post stuff like this on Instagram and think I'm cute

genRaiy13:05:15

Or this if I'm feeling :male-artist:

reefersleep13:05:44

There are very few photos I’ve seen in here that I don’t find artful 🙂

maleghast13:05:01

I am a keen photographer, but a lot of my work is NSFW

otfrom14:05:02

does bad art count?

otfrom14:05:10

I'm more about enthusiasm than quality

reefersleep14:05:04

How do you know that people here will think it’s bad? 🙂 in any case, I would like to see it ☺️

otfrom14:05:56

I do post them. Sometimes they look good. I know my composition isn't great, mostly I just try not to ruin things that already look good and stick to the rule of 3rds

reefersleep14:05:22

@U08ABGP70 idk if there are actually any restrictions or conventions regarding that sort of stuff on Clojurians slack, or on this channel. But, I must say, I’ve never seen anything particularly NSFW on Clojurians slack.

reefersleep14:05:48

@U0525KG62 I can’t remember anything. Do you have an example at hand?

maleghast14:05:01

@U0AQ3HP9U - have a look through this blog, as long as you are free to do so in terms of location, policies etc... https://www.techno-mage.co.uk/blog

thomas15:05:38

So how would (any of) you model multiple choice questions in an SQL db?

thomas15:05:15

Have a questions table and then the various options in a separate table? linked by ID?

thomas15:05:20

and some order in the in the options table?

mccraigmccraig15:05:48

😈 i might also be tempted to use a JSON field

thomas15:05:08

hmm I like that...

thomas15:05:09

and as I use Postgres I think JSON is a native datatype...

mccraigmccraig15:05:56

with postgresql you can even index JSONb fields!

mccraigmccraig15:05:28

(although i haven't used that feature, so can't comment on how useful/good it is)

thomas15:05:33

I don't think I need that... but could come in handy of course

thomas15:05:34

hmmm and now the answers... and that is something I might need to search one.

mccraigmccraig16:05:38

i would probably use a separate table for the answers, with a row per answer, since (i assume) they are likely to be added separately and concurrently

thomas16:05:46

Yes, separate table for the answers.

thomas16:05:52

I was thinking about a json structure with the options from the question that have been selected as answers.

mccraigmccraig11:05:28

sounds reasonable to me @U052852ES

borkdude15:05:37

If you are using etaoin (browser testing) and babashka, you may like this: https://clojurians.slack.com/archives/CLX41ASCS/p1653490545688549

babashka 5
🎉 1