Fork me on GitHub
#clojure-europe
<
2021-03-29
>
dharrigan05:03:25

Good Morning!

orestis08:03:32

Morning! Starting two weeks of vacation today, sorely needed :) now going through some defn podcast episodes 😀

hammock 9
3
simongray09:03:33

@orestis Enjoy your hammock time!

borkdude09:03:52

A week vacation coming up next week. Looking forward to the hammock time as well

borkdude09:03:36

Good day sir ;)

❤️ 3
otfrom12:03:03

bravo for the call back

orestis09:03:07

My hope is to stay off the hammock and just zone out playing games on the couch, some piano etc. I’m pretty sure I will get drawn to the computer to redo my blog though 😀

pez09:03:14

Piano, huh? I was watching this recent interview with Muricio Szabo on Youtube the other day and the observation that the overlap between programmers and people with musical talent seem larger than random would have made it was made. I don’t think I am one of those, but certainly I have observed the correlation, and not just at Spotify. 😃

pez09:03:07

Super interesting interview btw. You’ll find a link in #news-and-articles.

orestis10:03:43

Good question :) I’ve subscribed to Apple Arcade so probably some casual platformers. I bought an Xbox controller to be able to just lean back and relax. Not a big gamer!

orestis10:03:21

I’m almost done with little Orpheus which I found gorgeous and fun and very easy which suits me just right

simongray12:03:59

Cool. Seems to be lots of decent indie games on Apple Arcade.

reefersleep14:03:34

If you haven't, try Braid. Excellent little brain tickling platformer

simongray07:03:26

I’m going through Super Mario 3D World at the moment which is also suitable easy. Well, apparently once you beat it, it opens up an endgame containing some of the hardest Mario levels ever, so we’ll see about that in the long run.

jasonbell12:03:31

@pez The muso/programmer link has been going on for years. I agree in principle but I’d love to see some actual numbers.

reefersleep14:03:02

Good morning :hugging_face:

javahippie16:03:07

Heh, Oracle DB played a trick on me today. What do you think, what does the last line return? 😉

javahippie16:03:41

It’s obviously -9

synthomat16:03:36

has this caused your flaky tests?

javahippie16:03:15

No, they are still flaky 😄 This was the answer to the question “why do we have negative IDs in the DB?”

javahippie16:03:54

I guess it has something to do with caching of sequences, and that they never expected a sequence to be modified this way. Guess we should file a bug :thinking_face:

orestis16:03:32

After so much butt ache of sequences in databases I’ve sworn off them. UUIDs or similar work much much better. I wish there was a smaller UUID I could use easily though.

javahippie17:03:02

The systems I am building for myself get a UUID, too. It’s much nicer to have an identifier at object creation without the roundtrip to a DB, too

thomas17:03:05

I tend to use UUID's everywhere as well. at least you can't guess them

javahippie18:03:44

You can, but it takes time 😁

genRaiy19:03:12

V5uuids ftw

thomas08:03:27

I stand corrected

synthomat17:03:55

do you use uuid for internal reference as well?

synthomat18:03:21

I was reading different opinions about exposing internal IDs to clients; some suggested to use some "obfuscated" id to represent entities to clients (e.g. UUIDs) and keep INTs for internal reference

borkdude18:03:04

we use uuid as stable ids, so when we copy data from one database to another one, we don't rely on incremental ids which tend to be a pain for that case

3
👍 6
borkdude18:03:40

we use them also in urls

synthomat18:03:47

yeah that's one advantage though; also distributed generation of Ids

orestis18:03:25

We use ObjectIDs since our original database is Mongo. They are a bit more compact than UUIDs by default and supposedly shard better. There's also a date component inside them which leaks information if you care about this thing.

otfrom19:03:00

friends don't let friends use incremental ids

3
👍 3