Fork me on GitHub
#off-topic
<
2021-12-02
>
ksd03:12:07

I thought this was interesting and am very curious about what other Clojurians would think about it: http://pages.cs.wisc.edu/~anhai/courses/764-sp07-anhai/datamodel.pdf It is a survey of various types of databases that have come and gone from the 1970s to the early 2000s, and interpretations on why things developed the way they did. There is a short passage on the semantic web which I am especially curious about. I have been trying to find good documentation on RDF databases and have found relatively little so far. I keep coming across the semantic web and graph databases and I am thinking of reading some more on the latter. I would very much appreciate recommendations regarding RDF and graph databases. I am especially curious about something Rich mentioned, which is that RDF databases are often introduced when a company purchases another, to act as a “federation point”, my understanding being that a federation point is a database that somehow reconciliates disparate sources of data.

👀 2
hiredman04:12:28

Triple stores have very little inherent structure, so they can be a way to expose different databases with different tables/documents/whatever in a single data model

Alex Miller (Clojure team)04:12:28

if anything, it is an even simpler version of what they call the "simple" data model in that paper

Alex Miller (Clojure team)04:12:35

I've worked on the architecture of two database federation products - one for federated SQL relational dbs (surviving today as JBoss Teiid), and one for federated SPARQL for semantic web dbs (written in Clojure), and indeed their major use case was combining things not originally intended to be used together, when the migration costs were too high for any one of them

Alex Miller (Clojure team)04:12:20

the part of RDF / sem web that Rich most appreciates I think is the primacy of attributes over aggregates (entities / tables / etc)

Alex Miller (Clojure team)05:12:07

graph databases are most useful when you are representing social graphs or other such data so you can graph-like questions about the data (what nth degree connections do two users share?) - those queries suck in relational as they require an arbitrary set of subqueries but are very natural in a graph db

👍 1
Alex Miller (Clojure team)05:12:45

Datomic is imo a magical sweet spot in between all of these. It's "simple" in just being EAV like a triple store (but avoids a lot of the most cumbersome parts of RDF like uuids), pretty easy to use for the common "table" like use case (but can be sparse or more flexible if needed), can do just enough of the graph-like stuff with recursive queries to cover many app needs. and of course, it's attribute-first (also seen in spec)

🙂 1
Ben Sless05:12:03

Tangentially related, have you seen someone migrate from a graph database to Datomic? Did it go well? Also wondering if from an architectural point of view it is possible and a good idea to make access to the database freely available to all teams and not lock it behind one team's management? Or is it a moot point given how multiple data sources could be queried

xceno08:12:29

I didn't migrate, but after evaluating some options I chose to build my projects graph in datomic and it's going well so far

Alex Miller (Clojure team)05:12:04

don't think I've seen that so don't know. can't say I've ever seen unfettered and ad hoc db access go well for anybody :)

Ben Sless07:12:42

I'm wondering if I could set up a system of layered or modular access to data without locking it behind APIs. Let's say, team A is in charge of the core data model, writes to db A, team B wants to add its own things in terms of the data model in A. Writes to DB B, reads from both. Is this even a good idea?

Alex Miller (Clojure team)12:12:36

Seems like some variant of that is common and fine

Ben Sless12:12:37

I'm trying to poke holes in my idea to make sure I don't fall in love with it only because it's my idea. How do I answer the refrain by team A of "we don't want you to have to deal with the internals of our data model, they shouldn't bother you"?

Alex Miller (Clojure team)13:12:19

This seems like a social problem, not a technical one :)

Ben Sless13:12:51

"Software development is a social activity"

Ben Sless13:12:27

If you've got any stellar technical arguments on why they're wrong I'd be happy to borrow them

vemv05:12:33

Anyone has experience with arm-like keyboard trays? Like the ones 3M makes, I've never owned one. I'd want it for either my keyboard or maybe the whole MBP (which I use w/ a monitor). Typing above the lap but below the desk would seem the sweet spot for me (traditionally either I've placed the keyboard on my lap, or on top of a desk adjusted at low height + monitor at high height) I guess I'm seeking for two things at the same time: 1) has to be adjustable in all sorts of angles e.g. positive/negative tilt + height + depth and 2) has to be super sturdy/stable, for keeping said adjustments in place.

seancorfield06:12:47

My wife has one and I hate working on her side of the desk so it's definitely very subjective. When we set up the office at home, we both got articulated keyboard trays but I hated the setup so I've never used mine since that first setup twenty years ago. I prefer to just adjust my chair's height to get a comfortable position for my arms on the keyboard (on my desk) so I think it's really going to depend on your height, your desk's height, the length of your legs, and several other things. I don't know if that's helpful @vemv?

vemv06:12:27

Sort of, I can definitely see my experiment failing. As you hint it's subjective, often I use stuff in odd ways :) One piece of info I'm seeking specifically is a model that won't be an outright piece of junk, bad material -> experiment doomed from the beginning

seancorfield06:12:16

Ours was all Ikea. We love the huge, curved desk and side tables. Rock solid. My wife loves her articulated tray. I hated it. So we maybe wasted $100-150 on mine.

orestis07:12:31

A height adjustable desk plus monitor on an arm was perfect for me. You can bring keyboard/mouse at a comfortable height and then adjust the monitor too.

dharrigan09:12:25

I have a standing desk too that can go up...and down...tis great.

Max13:12:34

I went back and forth on chairs, adjustable desks, keyboard trays, and foot rests over the years. These days I just put my keyboard on my lap and it’s always the perfect height 😆

🙂 1
Colin P. Hill14:12:48

I really like having a keyboard in my lap, but I'm always keenly aware of how awful my posture is when I have to look down at the screen

Max15:12:34

Do you mean you have your keyboard on your lap or your laptop on your lap? I use an external keyboard and monitor so those things are decoupled

Colin P. Hill18:12:16

I mean that I like to have a keyboard in my lap, and that for this reason I appreciate having a laptop in my lap (since it is its own keyboard)

Colin P. Hill18:12:34

I haven't gotten around to getting myself a nice set of peripherals yet, still clearing out space for a proper workstation.

vemv18:12:09

I sometimes use apple's wireless peripherals joined by a MagicBridge

Colin P. Hill14:12:10

I've got back pain as it is, and that's only going to get worse as I age

borkdude19:12:09

Holy cow! Thanks @robert-stuttaford or whoever convinced the Slack CEO!

awesome 31
🎉 18
❤️ 7
metal 4
💯 2
catjam 2
jgertm19:12:16

Maybe it’s some of that NFT money making its way back here…

dpsutton19:12:53

oh awesome. didn’t know we’d get screenshare as part of this

seancorfield19:12:50

As noted in the announcement thread, it's for one year. We have to reapply each year.

👍 4
1
Stuart00:12:47

Well done guys, a year of slack can't be cheap

sova-soars-the-sora04:12:04

I for one am thrilled that IRC now has emoji 😛