Scott Armitage

Results 13 comments of Scott Armitage

Thank you @residentsummer ; I can't believe this capability is not built into the app. I converted from whatever the current Android version is to 2.18.92 on iOS12 mostly successfully....

Hey, I also saw your macOS pull request; I can mount littlefs file systems manually, but did you work out a way to have them mounted automatically when plugged in?...

[Here is an example](https://techoverflow.net/2015/02/03/reading-the-stm32-unique-device-id-in-c/) of reading the STM32 unique identifier from C; I'm sure there are many others.

It actually looks like the file `Src/usbd_desc.c` already has a function to get the device UUID, `USBD_FS_SerialStrDescriptor`. I just have no idea how to take that and make the OS...

> My understaing so far you want your segment to start right at the alignment boundary, say we have boundary 4, so segments should be 0-3, 4-7, 8-11 and so...

Sure, but I didn't set out to re-write `segments`, just avoid adding inefficiencies that weren't there before :) I don't feel strongly either way; I'll give you both versions. I...

I've unrolled the recursion into an iteration. No noticeable change in speed. I've also added a stress-test for `_align_segment` that easily made the recursive approach fall over, but gives the...

Here are a few different options for the final return statement. Option 1 (current; nested list comprehension): ```python return [(a, b+1) for (x, y) in zip(beginings, endings) for (a, b)...

Option 4: same list comprehension as option 1, but with line breaks to show double-loop format of option 2: ```python return [(a, b+1) for (x, y) in zip(beginings, endings) for...

Agreed. There are a few options I kicked around: 1. Do a DB lookup, or pull a configuration file from S3, or similar. This is slow and cumbersome. 2. Make...