microsoft / microsoft/pxt-microbit

data logging: simulator could show "time until log full"

Open
#5,368 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

data logger Simulator
Dominant language
TypeScript
Stars
804
Forks
721
Avg merge
2d 9h
Merged PRs (30d)
2

Description

One of the things that's quite hard with a micro:bit and data logging is working out in advance how soon you will fill up the data log.

Once logging has started, given we have a fixed log size, it would be great to give an indication of how long it would take the log to fill up at the current rate of logging.

Without this, a user has to
a) work out how large the log is (120kB)
b) work out how much data they're logging each log/per second
c) calculate how long that would take to fill up

Or, just test it, but if the time to fill the log is, say, 20 minutes (or even 1 day), that could be really annoying.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the simulator's data-logging interface and the code that tracks log size and logging rate. Confirm how the fixed 120kB capacity is represented, then define the estimate's display location and update behavior; done means users can see how long the current logging rate would take to fill the log.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
embedded-iot, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.