Sender | Message | Time |
---|---|---|
29 Mar 2024 | ||
Soup | what error does it give you? | 07:16:53 |
b00tr |
| 14:18:32 |
b00tr | The same code but for Postgres works fine | 14:18:53 |
Soup | You should try asking on the elixir forum perhaps. Perhaps the postgres adapater is a bit less hooked into OTP compared to mnesia which might make sense, and so it agrees to run even if the otp app given isn't actually running. | 16:12:58 |
Soup | Not sure how to start an application with a specific atom name, normally thats done in the mix.exs file | 16:13:21 |
Soup | normally the "app name" is given in the mix.exs file * | 16:13:35 |
b00tr | It seems that a proper Mix project has to be created first with a DB schema and running mix ecto.create and only then the live book can be attached to this application and use the db :(( .. which requires a shell and cannot be done solely in livebook | 16:42:56 |
b00tr | ecto sqlite seems to be the way to go.. it's running no problem.. mnesia is probably obsolete | 23:58:15 |
b00tr | * ecto sqlite seems to be the way to go.. it's running no problem.. mnesia is probably obsolete and defunct | 23:58:35 |
30 Mar 2024 | ||
b00tr | * ecto sqlite seems to be the way to go.. it's running no problem.. ecto mnesia support is probably obsolete and defunct | 15:53:48 |
b00tr | Is it possible to unset/destroy a module? | 15:55:36 |
b00tr | * Is it possible to undefine/unset/destroy a module? | 15:55:53 |
Nicd | In reply to @b00tr:matrix.orghttps://www.erlang.org/doc/man/code#delete-1 and purge/soft_purge do something like that | 19:54:27 |
b00tr | In reply to @Nicd-:matrix.orgthank you! | 22:00:56 |
b00tr | Now I can change NIFs at runtime in livebook without problems :) | 22:02:32 |
31 Mar 2024 | ||
b00tr | wow.. so I finally put together pure Elixir script that computes histograms for 56k files at 2GB in 15 seconds. no NIFs.. thats really cool | 04:09:11 |
kshlm changed their display name from kshlm to kshlm (Old). | 04:13:57 | |
Soup | whats your plan for 10s? | 04:14:27 |
Soup | 🙂 | 04:15:08 |
kshlm invited @kshlm:matrix.kshlm.xyz. | 04:25:25 | |
@kshlm:matrix.kshlm.xyz joined the room. | 04:25:49 | |
b00tr | yeah. I have to really understand how to control paralellism in Flow .. and perhaps a NIF for the histogram compute... | 04:32:13 |
kshlm changed their display name from kshlm (Old) to kshlm. | 04:33:02 | |
@kshlm:matrix.kshlm.xyz left the room. | 04:35:36 | |
shreyan | I'm trying to use the Memento library to store data in Mnesia... unfortunately I get errors when trying to create a table
| 05:43:57 |
shreyan | * I'm trying to use the Memento library to store data in Mnesia... unfortunately I get errors when trying to create a table
| 05:44:01 |
maulik1 joined the room. | 12:35:54 | |
b00tr | In reply to @shreyan:beeper.comI have no clue but I would start from an example that works and incrementally add complexity to achieve your goal. On the way you find the bug. | 13:31:18 |
b00tr | This example works fine for me
| 13:58:40 |
b00tr | * This example works fine for me
| 13:58:57 |