-
-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Creating example directory with books and hashes examples from wiki #204
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
John, thanks a million for this contribution! I've been meaning to do something similar, but never quite found the time. This really helps a lot! 🙂
I've flagged a couple of minor formatting issues. Otherwise LGTM.
(EDIT: I did note that this is currently a copy/paste of the non-building examples. But I appreciate the initiative. We'll get this fixed!)
I opened a pr on this pr: frumioj#1 Can confirm that after fixing the build issues it just hangs. Here's an interesting observation: If I apply this additional patch, it works:
i.e. it works fine if you use a real network connection, instead of |
Fixing the futures calls so the example builds.
@frumioj The current work-around for this is to increase the We're working on a fix for this. ETA unknown, but it's basically our highest-priority item. |
Is this ready to merge? |
I had planned to:
before merge. Can also do either/both as a new PR? WDYT? |
Let's wait on these tasks before merging; it's not like we're likely to
have conflicts with other ongoing work.
Quoting John Kemp (2021-12-18 13:22:55)
… Is this ready to merge?
I had planned to:
1. Get the books example done
2. Put documentation comments in my code
before merge. Can also do either/both as a new PR? WDYT?
--
Reply to this email directly, [1]view it on GitHub, or [2]unsubscribe.
Triage notifications on the go with GitHub Mobile for [3]iOS or
[4]Android.
You are receiving this because you commented. Message ID:
***@***.***>
Verweise
1. #204 (comment)
2. https://github.com/notifications/unsubscribe-auth/AAGXYPX6AFBNUDN7X37KRJ3URTGP7ANCNFSM5KJC5YIA
3. https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
4. https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub
|
In the books example code, I get a panic when reading the books schema into the decoder:
|
The example program is expecting to read a capnproto encoded message from stdin, containing a If you want to construct messages from text for testing purposes, look at the |
Thanks. I created a |
Hi, I think I addressed the review changes (review is also outdated) but github prevents this from being merged. Is this PR OK @lthibault, or what else remains? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks mostly reasonable, a couple comments in-line.
The one other thing I would suggest is that we at least build these in CI (if not actually run them), so we'll notice if the examples get out of date again. Actually I think the existing CI should run it, since it just does ./...
; nevermind.
Thanks for the patch!
Co-authored-by: Ian Denhardt <ian@zenhack.net>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
LGTM. I'll wait for CI to run and @lthibault to sign off before merging. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Bump @frumioj |
Apologies - I somehow missed these comments (may have been on holiday I guess?) - will address ASAP! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🎉
Many thanks once again for your help, John! Out of curiosity, what are you building? |
I'm working on building a distributed cryptographic key management system (https://github.com/frumioj/capnkeys). I'd like to use capnproto for the interface to that if possible. |
No description provided.