Create a sorted Index in Ectodefmodule MyApp.Repo.Migrations.AddMessagesInsertedAtIndex do use Ecto.Migration @disable_ddl_transaction true @disable_migration_lock true def change do create index("messages", ["inserted_at DESC"], concurrently: true) end end if y...Sep 9, 2023 · 1 min readmaqbool.net
Start async task under our application Supervision treeInside your application.ex file we will add our task supervisor with the name MyApp.TaskSupervisor MyApp.Application is the module where we essentially describe in what order BEAM should start our elixir application and it's the place where you descr...Sep 9, 2023 · 2 min readmaqbool.net
How to install Pharo on Gnu/LinuxPharo the Modern Smalltalk Download the Pharo and decompress the file $ unzip Pharo.zip $ sudo mv Pharo /opt/ Create the pharo.desktop file and paste the following contents [Desktop Entry] Encoding=UTF-8 Name=Pharo GenericName=Pharo Exec=pharo Icon=...Nov 24, 2017 · 1 min readmaqbool.net