Christoph J. Scherr PlexSheep
  • Deutschland
  • https://www.cscherr.de
  • I study cybersecurity focused computer science at DHBW Mannheim, while working at NewTec.

  • Joined on 2023-04-16
PlexSheep created pull request PlexSheep/numf#24 2024-05-23 13:35:03 +02:00
WIP: Guess the format of numbers
PlexSheep created branch feat/guess-format in PlexSheep/numf 2024-05-23 13:31:26 +02:00
PlexSheep pushed to feat/guess-format at PlexSheep/numf 2024-05-23 13:31:26 +02:00
PlexSheep pushed to devel at PlexSheep/numf 2024-05-23 13:29:32 +02:00
23c653e9c0 chore: bump to v0.4.0
PlexSheep pushed to devel at PlexSheep/numf 2024-05-23 13:29:07 +02:00
03a2243a3e docs(main): add a few explanatory comments to main
71f1f2ba08 docs(main): remove module level doc comment in main.rs (not needed)
Compare 2 commits »
PlexSheep deleted branch feat/rand from PlexSheep/numf 2024-05-23 13:25:18 +02:00
PlexSheep pushed to devel at PlexSheep/numf 2024-05-23 13:25:18 +02:00
c5790f9d79 Merge pull request 'output a random number' (#21) from feat/rand into devel
93a27564c6 automatic cargo CI changes
3926be8aac Merge branch 'feat/rand' of https://git.cscherr.de/PlexSheep/numf into feat/rand
8fbc612f5a feat(rand): #19 #21 add max rand and use number parser
950c26a35c automatic cargo CI changes
Compare 6 commits »
PlexSheep merged pull request PlexSheep/numf#21 2024-05-23 13:25:16 +02:00
output a random number
PlexSheep commented on pull request PlexSheep/numf#21 2024-05-23 13:25:00 +02:00
output a random number

changes are okay, approved

PlexSheep closed issue PlexSheep/numf#23 2024-05-23 13:24:19 +02:00
test: add tests for the rand and rand_max flags
PlexSheep commented on issue PlexSheep/numf#23 2024-05-23 13:23:53 +02:00
test: add tests for the rand and rand_max flags

Correction: we just push some random numbers in the main function, testing that would be a waste of time (and weird, since we'd need to move that part to a new function). Is there actually…

PlexSheep commented on issue PlexSheep/numf#23 2024-05-23 13:22:08 +02:00
test: add tests for the rand and rand_max flags

Testing that the csprng produces randomness of a good statistically (secure) distribution is out of scope. We cant supply a seed either as we use OsRng. We can test that the random values are in…

PlexSheep commented on issue PlexSheep/numf#23 2024-05-23 13:18:58 +02:00
test: add tests for the rand and rand_max flags

how to test for randomness?

PlexSheep opened issue PlexSheep/numf#23 2024-05-23 13:18:24 +02:00
test: add tests for the rand and rand_max flags
PlexSheep closed issue PlexSheep/numf#22 2024-05-23 13:16:54 +02:00
numf_parser panics with usize / does not compile with usize
PlexSheep commented on issue PlexSheep/numf#22 2024-05-23 13:15:51 +02:00
numf_parser panics with usize / does not compile with usize

This makes sense, as usize is guaranteed to be at least a 16 bit unsigned integer, but has no guaranteed max value. THerefore, in the future it could be larger than u128 (on 256-bit systems.).…

PlexSheep commented on issue PlexSheep/numf#22 2024-05-23 13:12:41 +02:00
numf_parser panics with usize / does not compile with usize

We have a test testing for this (parser_generics), but it does not test for usize. usize is the only affected unsigned int.

PlexSheep commented on issue PlexSheep/numf#22 2024-05-23 00:21:35 +02:00
numf_parser panics with usize / does not compile with usize

limitation in libpt, will need to fix upstream

PlexSheep opened issue PlexSheep/numf#22 2024-05-23 00:21:12 +02:00
numf_parser only uses u128 despite generic, panics with other types
PlexSheep pushed to feat/rand at PlexSheep/numf 2024-05-23 00:20:26 +02:00
3926be8aac Merge branch 'feat/rand' of https://git.cscherr.de/PlexSheep/numf into feat/rand
8fbc612f5a feat(rand): #19 #21 add max rand and use number parser
Compare 2 commits »