Fork me on GitHub
#clojure-europe
<
2022-10-13
>
teodorlu06:10:06

Good morning!

thomas07:10:00

Morning lovely people

Dimitar Uzunov08:10:36

hello fellow Europeans

simongray08:10:36

I just love graphs as a data structure.

pez09:10:19

I read “I just love graphics as a data structure” and my imagination ran with that for a while. 😂

😂 1
simongray09:10:51

passes joint

❤️ 2
simongray09:10:39

“think of it, man… graphics… but as a data structure!”

wow 1
jkxyz09:10:25

pupils dilate THE UNIVERSE IS A GRAPH

ray12:10:53

I love the smell of graphic cards in the morning — Bitcoin sergeant major

simongray08:10:14

the query functionality of a database, map-like semantics, and basic set operations for gluing data together. So great.

ray08:10:19

I’m doing a project with Tinkerpop / ogre and yes … extremely powerful

simongray08:10:22

Oh, interesting @U04V5V0V4! What made you decide on Ogre?

ray08:10:43

I didn’t see any other gremlin implementations

ray09:10:25

But it’s a bit behind so I’m talking to the maintainer about helping to bring it up to date

ray09:10:37

AWS Neptune supports gremlin

thomas09:10:04

We are looking at Neo4j at the moment... in certain cases a lot faster compared to Postgres.

ray11:10:52

Especially as the relationships become more nested / recursive

Daniel Craig13:10:20

Ogre is pretty great, I've used it at work as well.

✔️ 1
slipset17:10:46

@U04V5V0V4 a word of advice. Never expose gremlin to your end users. At least with the stuff we use you unleash groovy with all its powers. Which lets the user issue queries like

System.exit
Which can induce serious performance problems.

😂 1
slipset17:10:50

So for end-user facing stuff I’d argue for making the query language an impl detail which should be kept behind an interface.

ray21:10:24

Er, yeah no problem - that’s idea.

ray21:10:04

Main win is that the graph db fits the data model and make queries fast and concise in the back end

ray08:10:39

Good morning

Ivar Refsdal09:10:20

I had a dream last night. I was reading a cartoon-ish book about the history of Clojure. Several bridges were built in Colorado, and they were demolished as they weren't good enough. Finally there was the Clojuria bridge which, apparantly, was good enough. And that was what Clojure (and clojurians) were named after: the Clojuria bridge in Colorado. "Why didn't I know this earlier," I asked myself in the dream. Good morning ¯\(ツ)/¯.

😆 13
teodorlu14:10:23

Did pragmatism just visit you in a dream?

robert-stuttaford09:10:34

-books tickets to Colorado-

simongray09:10:20

> Clojuria bridge in Colorado. *Clojurado

Ben Sless09:10:48

The road to Cloj Durado

😁 4
pez10:10:02

Candide would have loved Clojure!

Ben Sless09:10:48

The road to Cloj Durado

😁 4
otfrom14:10:19

if you have a function that takes a single parameter, or a single parameter with some config, is your 2-arity function [x config] or [config x]?

otfrom14:10:44

the 1 arity function calls the 2 arity one with a default config map

borkdude14:10:25

with varargs I now tend to do [config & args], but with 2 arity I tend to do [arg config] The reason for varargs is that it works easier with apply, but if it's fixed arity then config goes last since it's optional

borkdude14:10:35

Recently 1-arg map in map out functions become more standard though

👍 1
🙏 1
slipset17:10:16

I’m no longer a huge fan of varargs fns as the linters don’t have me when I mess up.

☝️ 1