Skip to content

Comments

Add '-progress' option. Closes #30#190

Closed
entrity wants to merge 2 commits intopauldreik:mainfrom
entrity:progress-option
Closed

Add '-progress' option. Closes #30#190
entrity wants to merge 2 commits intopauldreik:mainfrom
entrity:progress-option

Conversation

@entrity
Copy link
Contributor

@entrity entrity commented Mar 14, 2025

Pursuant to #30, this commit adds a '-progress' option. If set to true, then a function pointer is passed to 'fillwithbytes', with the result that each iteration of the loop in that function outputs a progress update.

The progress update appears at the end of the current line and overwrites itself with each repetition, producing an output resembling the following:

Now eliminating candidates based on [...]: (16/19324)

(This PR is a recreation of #159. I had to address a merge conflict there while I was waiting on that PR to be reviewed, and it borked the checks on the PR.)

@entrity
Copy link
Contributor Author

entrity commented Mar 14, 2025

I understand that a similar PR is open: #42. That PR has merge conflicts which must be resolved.

Other differences between that PR and this one are:

@entrity entrity changed the title Progress option Add '-progress' option. Closes #30 Mar 14, 2025
@entrity entrity force-pushed the progress-option branch 3 times, most recently from 3304abc to 072941f Compare March 14, 2025 01:01
Pursuant to pauldreik#30, this commit
adds a '-progress' option. If set to true, then a function pointer is
passed to 'fillwithbytes', with the result that each iteration of the
loop in that function outputs a progress update.

The progress update appears at the end of the current line and
overwrites itself with each repetition, producing an output resembling
the following:

    Now eliminating candidates based on [...]: (16/19324)
@entrity
Copy link
Contributor Author

entrity commented Mar 17, 2025

Hello, @pauldreik. Would you have a look at this solution for issue #30 ?

@entrity
Copy link
Contributor Author

entrity commented Mar 28, 2025

Hello, @trollkarlen. Would you review this solution for issue #30 ?

@entrity
Copy link
Contributor Author

entrity commented Apr 7, 2025

Hello, @mlissner . Would you review this solution for issue #30 ?

@mlissner
Copy link
Contributor

mlissner commented Apr 7, 2025

Sorry, am I the right person to copy this on, @entrity?

@entrity
Copy link
Contributor Author

entrity commented Apr 21, 2025

Sorry, am I the right person to copy this on, @entrity?

Thanks for getting back to me @mlissner . I guess I don't know who has the ability to approve changes on this repo. I see that @pauldreik is the owner, but I haven't gotten any traction from @pauldreik . Do you have any advice on how to get my change merged?

@mlissner
Copy link
Contributor

Not a clue. It's been years since I've done anything here.

@entrity
Copy link
Contributor Author

entrity commented Apr 23, 2025

Hi, @pauldreik . Would you review this pull request for issue #30?

@pauldreik
Copy link
Owner

sorry for being unresponsive, will try to have a look at this over the weekend.

@entrity
Copy link
Contributor Author

entrity commented May 9, 2025

Hi, @pauldreik. Here's a bump to prevent this from falling off your radar 💐

@entrity
Copy link
Contributor Author

entrity commented May 19, 2025

Hi, @pauldreik. Here's a bump to prevent this from falling off your radar 💐

1 similar comment
@entrity
Copy link
Contributor Author

entrity commented May 27, 2025

Hi, @pauldreik. Here's a bump to prevent this from falling off your radar 💐

@alexmi256
Copy link

Is this diff missing ListProgress.hh/cc or are those supposed to be pulled in by another tool when configuring?

@entrity
Copy link
Contributor Author

entrity commented Jun 6, 2025

Thanks, @alexmi256. It looks as if my rebase + merge resolution went off track. I've now restored the missing files, built it again locally, run it again locally, and run make check successfully. 🙏

@entrity
Copy link
Contributor Author

entrity commented Jun 9, 2025

Hi, @pauldreik . Would you review this pull request for issue #30?

5 similar comments
@entrity
Copy link
Contributor Author

entrity commented Jun 23, 2025

Hi, @pauldreik . Would you review this pull request for issue #30?

@entrity
Copy link
Contributor Author

entrity commented Jul 1, 2025

Hi, @pauldreik . Would you review this pull request for issue #30?

@entrity
Copy link
Contributor Author

entrity commented Jul 26, 2025

Hi, @pauldreik . Would you review this pull request for issue #30?

@entrity
Copy link
Contributor Author

entrity commented Aug 6, 2025

Hi, @pauldreik . Would you review this pull request for issue #30?

@entrity
Copy link
Contributor Author

entrity commented Aug 21, 2025

Hi, @pauldreik . Would you review this pull request for issue #30?

pauldreik pushed a commit that referenced this pull request Sep 11, 2025
this is based on the work by Markham in #190

I just modified it a tiny bit to use std::function instead of a raw function
pointer.

thanks!

co-authored-by: Markham Anderson <markham.anderson@meraki.net>
pauldreik pushed a commit that referenced this pull request Sep 11, 2025
this is based on the work by Markham in #190

I just modified it a tiny bit to use std::function instead of a raw function
pointer.

thanks!

co-authored-by: Markham Anderson <markham.anderson@meraki.net>
pauldreik pushed a commit that referenced this pull request Sep 12, 2025
this is based on the work by Markham in #190

I just modified it a tiny bit to use std::function instead of a raw function
pointer.

thanks!

co-authored-by: Markham Anderson <markham.anderson@meraki.net>
pauldreik added a commit that referenced this pull request Sep 12, 2025
Thanks @entrity and @t-oster for the work and the patience. This PR is
built on top of your work in #42
and #190. I made some
simplifications by using a std::function and caching the constant
output, instead of a function pointer.

closes #30
@pauldreik
Copy link
Owner

Thanks for your nice writeup and fixes! (And apologies for the world record delay.) Parts of this PR were incorporated into the devel branch just now.

@pauldreik pauldreik closed this Sep 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants