Show newer

@JakubKuczys In this situation I am fine with using system pip because it's a docker container, the whole system is basically one big virtual environment.

@cnx @acdha Yes, but the way it works is that you create a dm-crypt partition seeded from `/dev/urandom`, then you mount it and fill it with 0s. The encryption translates the 0s into random bytes.

Here are the instructions I usually use: wiki.archlinux.org/title/Dm-cr

@acdha Yeah, this is an empty drive that I'm about to encrypt. Filling it with random data is the first step, which I may be cargo culting, but IIRC the idea is that it prevents leaking the amount of data on the drive or something.

@acdha Just in time for the second drive to arrive so I can start on that one. 😅

@acdha Hah, good call, I had *just* remembered that I usually do... something with block sizes when I saw this.

Speed is still trending down so maybe not a steady state yet, but looks like maybe a 4-5x speedup, so this might be done in only 16 or so hours!

`$ sudo dd if=/dev/zero of=/dev/mapper/to_be_wiped status=progress`
`59001459200 bytes (59 GB, 55 GiB) copied, 904 s, 65.3 MB/s`

65 MB/s, nice, nice. At this rate it's only going to take.... 3 days to wipe this 16TB drive.

```
Step 5/7 : RUN python3 -m pip install .
```
```
---> Running in 31b96e802fdb
/usr/bin/python3: No module named pip
```

Hmm.. So also ships a crippled thing that is not when you `dnf install python3`.

I was hoping that that was a reasonable alternative to Debian/Ubuntu ☹

@coveragepy Oh in the issue I guess you mention you just do line-wise regex matching.

@coveragepy How bulletproof of a solution do you want here?

Do you already have some model of the structure of the code or the context of a given method definition?

Solutions needed: Is it possible for coverage.py to automatically exclude Protocols from measurement?

github.com/nedbat/coveragepy/i

Should coverage.py report a missing branch if a comprehension doesn't run to completion? github.com/nedbat/coveragepy/i

Would it be better if instead of "2->exit" it said "completion(2)" ?

@jonafato "No, no, no, you've got us all wrong. We're trying to store it as a string, but sometimes Excel automatically turns it into an integer if it starts with a 0."

@wrog Interesting, though I think the Gregorian calendar is Good Enough™ at this point, and changing calendars would do more harm than good.

We won't be out of sync with the solar year by a margin of one day for another 2900 years. By then I fully expect us to either be extinct or at a level of technology where the seasons on Earth are not that important. Even if they are, there are still tens of thousands of years before things other than "hmm, the equinoxes seem to be off by a day" start to become obvious.

Bugs like `dt.replace(year=dt.year + 1)`, code that works with ordinal day-of-year, etc.

Show thread

Psst. Next year is a leap year. Depending on your deployment story, now (or 3 months ago😅) might be a good time to start looking into logic that won't handle leap years correctly.

@astrojuanlu Matrix is not great (literally nothing in this or the adjacent "SMS replacement" space is, in my opinion), but E2EE that is both secure and good UX is like... obscenely hard.

@astrojuanlu I mean, that's from E2E encryption, which I think Discord doesn't support at all? You can turn that off, and it's pretty easy to share keys between devices.

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.