Mr_Monkey: how do I delete my old db completely? I thought just doing `./develop.sh` and and running `database_init` script would upgrade my postgres to 12.
2020-05-30 15134, 2020
prabal
but I am getting this error
2020-05-30 15140, 2020
prabal
```
2020-05-30 15148, 2020
prabal
```
2020-05-30 15148, 2020
prabal
PostgreSQL Database directory appears to contain a database; Skipping initialization
2020-05-30 15148, 2020
prabal
2020-05-30T06:16:54.808091961Z
2020-05-30 15148, 2020
prabal
2020-05-30T06:16:54.816051707Z 2020-05-30 06:16:54.815 UTC [1] FATAL: database files are incompatible with server
2020-05-30 15148, 2020
prabal
2020-05-30T06:16:54.816072924Z 2020-05-30 06:16:54.815 UTC [1] DETAIL: The data directory was initialized by PostgreSQL version 9.5, which is not compatible with this version 12.3 (Debian 12.3-1.pgdg100+1).
Mr_Monkey Leftmost I was getting elastic search error. I thought it was because I updated my branch but didn't upgrade to PG12. But even with PG12 I am getting this error
[metabrainz.org] Freso opened pull request #345 (master…ORG-40-anti-sockpuppet-coc-clause): ORG-40: Add anti‐sockpuppet clause to the Code of Conduct https://github.com/metabrainz/metabrainz.org/pull…
shivam-kapila: yeah, that's what i'm talking about
2020-05-30 15109, 2020
iliekcomputers
if you change the time range to week, you'll get a graph
2020-05-30 15144, 2020
shivam-kapila
Ok Ok. Sorry to interrupt
2020-05-30 15148, 2020
iliekcomputers
2. the link params in the url bar should update as we change the graph we're viewing, so that it's easier for people to share their stats
2020-05-30 15103, 2020
iliekcomputers
shivam-kapila: no, no worries, you did the screenshot i was too lazy to do :D
2020-05-30 15115, 2020
iliekcomputers
i'll open a ticket for 2
2020-05-30 15144, 2020
iliekcomputers
3. the date for the week is 12 May, which is a Tuesday?
2020-05-30 15110, 2020
shivam-kapila
Why not 1st week of May, 2nd Week of May? Sounds better to me
2020-05-30 15100, 2020
iliekcomputers
i was more pointing out that we might be calculating stats from tuesday to tuesday instead of sunday to sunday
2020-05-30 15127, 2020
shivam-kapila
Oh
2020-05-30 15101, 2020
iliekcomputers
i personally prefer the date of the week, it's easier to keep context for me that way, but happy to change it to whatever seems more reasonable to the community.
does anyone understand why in the code above the key track_name is removed from self.data after this? I copied the data, so it should remain, but it does not.
2020-05-30 15139, 2020
iliekcomputers
.copy is a shallow copy
2020-05-30 15141, 2020
iliekcomputers
iirc
2020-05-30 15149, 2020
ruaok
it is.
2020-05-30 15111, 2020
ruaok
but I am removing a reference to a copied element.
2020-05-30 15128, 2020
ruaok
shallow copies make new references, deep copies copy everything.