# 2023-02-24 Meeting minutes
###### tags: `Meeting`
**13:00 | EG-2516**
Present:
## Before the meeting
* Finish first draft of thesis (i.e. everyone reads through and fixes tempus)
## Agenda
* Around the table
* Decide on who will conduct peer review, half-time presentation and opposition
* half-time and opposition
* Jacob
* Christoffer
* final presentation
* Martin, Mathias, Edvin och Linn
* Prototype status report
* Progress?
* Scheduler:
* Fungerar bra med nuvarande implementationen
* Ray-implementationen blev klar rätt snabbt
* Crossbeam var lite krångligare (workers (alla hardware threads på datorn), global kön med tasks, stjäl av varandra)
* Christoffer jobbar på DAG implementation (olika stages där varje stage är independent) som verkar vara rätt seg (Nlog(N) i bästa fall)
* Kvar att göra: exekvera system enligt schemat, kunna schemalägga manuellt
* Querying:
* Man kan göra de schedulern kan göra:)
* Inget revolutionerande rent programmeringsmässigt
* Många lärdomar dock
* Storage:
* Implementerat en sparse set, inte helt färdig men går att användas
* Påbörjat implementation av Archetype
* Hittat ett exempel som har hanterar att rust inte har typer i runtime
* Börjat kolla på trädstruktur för archetypes
* hashmap av alla archetypes där typerna pekar på archetyper
* implementera edges på varje archetyp så den "kommer ihåg sina grannar"
* utforska id för archetyper (addera ihop hashfunktionen av typen?)
* Reached planned goals?
* Scheduler:
* Var lite optimistiska, ville ha en klar scheduler men den är ju inte det (galet mål)
* Har ett sätt att köra saker parallellt
* Querying:
* Mut och immut access inte uppnådd
* Har en basic querying
* Storage:
* Ingen blev implementerad klart
* Hann inte testa dem jämtemot varandra
* Any problems encountered
* Scheduler:
* Behövs något bättre sätt att hämta ut parametrarna från ett system
* Querying:
* Gigastuck, vart är vi påväg
* Hur mut och immut typer ska hanteras
* Följande:
```rust
= note: expected reference &&mut ComponentType found mutable reference &mut ComponentType
```
* Borrowcheckern är sur 😡 (lifetime är slut när funktionen är slut men vill få data från paramentern utan att datan har samma lifetime (och dör))
* Storage:
* Id för archetyper, troligen är en lösning på g
* Possible solution add TypeId
* Hur man gör lookup bäst
* Edges, hashmap eller något annat
* Bara addera TypeId för a_id
* Prototyping Evaluation
* What have you learned?
* Scheduler:
* Hur man hanterar olika workers i en workstealing scheduler och i relation till lifetime av tasks
* Hur DAG:en borde struktureras
* Hur man kodar i rust
* Querying:
* Ungefär hur API kommer se ut
* Hur man kodar i rust
* Storage:
* Olika data storage typer, framförallt vad en archetype är
* Utvecklat våra problemlösningsskills (vi är ju snart ingenjörer)
* Hur man kodar i rust
* What went well? What went less well?
* Saker tar tid
* Borrowcheckern är sur :anguished:
* Tugnt att inte ha något färdigt nu, men man får bara inse att tiden var knapp för de vi tog på oss att skapa
* Svårt att få källor för saker och ting, använder vi fel nyckelord?
* What would you have done differently?
* All:
* Be om hjälp från varandra oftare för att förkorta feedback cykler.
* Scheduler:
* nah
* Querying:
* Jobbat mer tillsammans
* Stämt av mer med varandra
* Storage:
* Bollat mer med varandra på slack och inte discord för resten av gruppen
* Reda ut hur vi båda såg på problemet tidigare
* Do we begin work on the MVP next week?
* Will another week of prototyping be worth it?
* We do one more week to have a more finalized prototype ready for the MVP
* Floating overlap with MVP, one person in the group helps discuss boilerplate and the other looks at the finishing touch on prototype + other tasks such as report
* Have we already learned enough from the prototypes?
* Is it worth it to delay the implementation of the mainline engine?
* Go through and resolve comments in thesis
* Send in first draft of thesis to peer-review group and examiner
* Information: 28th of Feb is the deadline for "Kunskapstestet"
## Decisions
* Create outline for half-time presentation on 27 feb monday.
* Slides will then be created by Jacob and Christoffer during the week.
* Sent to Yehia for review on structure, suggest the 6th as presentation day for him?
* Next week (Project week 7 (week 9))
* We do one more week of prototyping to have a more finalized prototype ready for the MVP
* Following week (Project week 8 (week 10))
* Gradual overlap with MVP, one person in each prototype-group helps discuss boilerplate and the other looks at the finishing touch on prototype + other tasks such as report
## Next meeting
**2023-02-27 | 15:15 | EG-3506**
* Talk about half-time presentation
* Find time for peer reviewing the other group
* check instructions for supervisor session 1
* Check if all other documents are in order?
* Time Log?
* Contribution Report?
* Project Diary?