datahike

Coby Tamayo 2026-01-18T04:47:21.881579Z

hey, I tried following the Einbetten README but ./setup.sh crashed

whilo 2026-01-18T20:52:31.562409Z

i can port it from the lmdb backend, it is not really needed, i am just experimenting with it to see whether it adds benefits; in some cases it can

whilo 2026-01-18T21:13:33.291199Z

@coby lmk if you are stuck and I can remove lmdb or help you fix it.

whilo 2026-01-18T22:08:08.847729Z

lmdb replaced by file backend, now it should be much easier

Coby Tamayo 2026-01-18T22:11:12.841109Z

Thanks! I ran into a different error last night and ran out of steam. Hopefully it is now irrelevant. Afk now but will check later.

👍 1
Coby Tamayo 2026-01-18T22:29:36.370569Z

OK it's choking trying to import numpy C extensions now. Probably something to do with how awesome nix is. I use nix btw. 😆

whilo 2026-01-18T22:40:41.347359Z

right

whilo 2026-01-18T22:40:58.475289Z

i decided against it because i feared the difficulties of managing python envs and stuff like this

whilo 2026-01-18T22:41:30.339949Z

i like the ideas though; guix might also be interesting

Coby Tamayo 2026-01-18T22:48:22.894289Z

very valid

Coby Tamayo 2026-01-18T22:48:33.235399Z

my solution so far has been "avoid Python" lol

whilo 2026-01-18T22:48:53.990439Z

hehe; tough call

Coby Tamayo 2026-01-18T22:49:19.830399Z

yes, hard to get away from for "data" stuff

Coby Tamayo 2026-01-18T04:48:17.182089Z

Execution error (UnsupportedClassVersionError) at java.lang.ClassLoader/defineClass1 (ClassLoader.java:-2).
coffi/ffi/Loader has been compiled by a more recent version of the Java Runtime (class file version 66.0), this version of the Java Runtime only recognizes class file versions up to 65.0

Coby Tamayo 2026-01-18T04:48:38.968049Z

λ java -version
openjdk version "21.0.9" 2025-10-21
OpenJDK Runtime Environment (build 21.0.9+-nixos)
OpenJDK 64-Bit Server VM (build 21.0.9+-nixos, mixed mode, sharing)

timo 2026-01-18T04:56:46.375189Z

I guess it has something to do with that: https://github.com/replikativ/proximum?tab=readme-ov-file#requirements

Coby Tamayo 2026-01-18T05:07:24.705619Z

oh heh, my bad

😁 1
timo 2026-01-18T05:08:06.540169Z

could be made more obvious in the requirements of einbetten

Coby Tamayo 2026-01-18T06:38:30.266699Z

ok updated. Now I get:

...

⏱️   Estimated time: 2 minutes

WARNING: Using incubator modules: jdk.incubator.vector
Execution error (UnsatisfiedLinkError) at java.lang.ClassLoader/loadLibrary (ClassLoader.java:2249).
Can't load library: /home/tamayo/projects/einbetten/lmdb

Full report at:
/tmp/clojure-18229950992628213065.edn
do I need to install lmdb too?

timo 2026-01-18T06:40:33.662709Z

looks like:) https://github.com/replikativ/datahike-lmdb?tab=readme-ov-file#requirements

👍 1