Toby Allsopp

273 posts

Toby Allsopp

Toby Allsopp

@toby_allsopp

Ex-organiser of the Auckland C++ Meetup. Gopher. He/him.

Auckland, New Zealand Inscrit le Eylül 2009
153 Abonnements327 Abonnés
BLACKCAPS
BLACKCAPS@BLACKCAPS·
News | New Zealand-based cricket fans will be able to watch the BLACKCAPS and WHITE FERNS’ home internationals across Sky’s platforms from the 2026-27 season. Read more ⬇️ nzc.nz/news-items/nzc… #CricketNation
English
11
10
79
9.4K
Toby Allsopp retweeté
Sean Baxter
Sean Baxter@seanbax·
I think I'll host a Zoom tomorrow to present the Safe C++ stuff I've been working on. I need to get informed people up to speed with what I have so there can be a discussion on some of the finer, unresolved points about integrating safety into C++. How does 10am EST sound?
English
7
7
149
10.3K
Toby Allsopp
Toby Allsopp@toby_allsopp·
@TaeKahn @code_report I don't follow, what did you mean to write then? Note that omitting the & operator will still take the function's address.
English
1
0
0
93
Taekahn
Taekahn@TaeKahn·
@toby_allsopp @code_report Yes, it was a typo. Taking the address isn't required here. Its rare that i'm willing to delete a tweet to fix a typo.
English
3
0
0
126
Conor Hoekstra
Conor Hoekstra@code_report·
Typing out this C++ code is heartbreaking. The fact that std::plus, std::minus, etc work but std::max & std::min fail and need to be wrapped in a lambda is 💔 And if C++ algorithms were well-named/consistent this would be std::scan_copy and there would also be a std::scan 💔
Conor Hoekstra tweet media
English
5
4
67
6.6K
Toby Allsopp
Toby Allsopp@toby_allsopp·
@TaeKahn @code_report Not sure if you're aware, but it is not permitted to take the address of standard library functions (with a few exceptions). See #Addressing_restriction" target="_blank" rel="nofollow noopener">en.cppreference.com/w/cpp/language…
English
3
0
2
265
Taekahn
Taekahn@TaeKahn·
@code_report std::inclusive_scan(v.cbegin(), v.cend(), v.begin(), &std::max<int>); ......just because you've never read the standard library....
English
1
0
2
352
Toby Allsopp
Toby Allsopp@toby_allsopp·
@ericniebler If you want to keep all of the conflict resolutions from the commit you've already made, you can do `git merge -s ours <commit-hash>` to create a merge commit that doesn't make any actual changes.
English
2
0
11
0
@ericniebler.bsky.social
@ericniebler.bsky.social@ericniebler·
Git experts! I somehow committed a complex merge as a regular commit instead of a merge commit. Now git thinks all those merged commits are still unmerged. How do I tell git, "you've already done this merge up to <commit-hash>, trust me"?
English
9
0
12
0
Toby Allsopp
Toby Allsopp@toby_allsopp·
I have spoken at CppCon in the past. I will not do so again, or attend, unless this is sorted out satisfactorily. I fully support Patricia's stance on this and have signed her open letter.
English
0
1
4
0
Toby Allsopp
Toby Allsopp@toby_allsopp·
Yes, it was great to reconnect. Thanks for organising it, Paul.
English
0
2
2
0
Tony Van Eerd
Tony Van Eerd@tvaneerd·
If someone asks a question in a code review, 9 times out of 10, instead of answering in the code review, change the code such that the question would not have been asked. (9/10 may be a bit high, but I'd say at least 7/10 from my experience, YMMV, depends on your team, etc etc.)
English
2
2
20
0
Toby Allsopp retweeté
Jason Turner
Jason Turner@lefticus·
Here's a progressive coupon for my book, C++ Best Practices, good for 36 hrs from now. The coupon starts at 9.99 USD. For each retweet this gets, I'll reduce the price by 0.01 USD. The maximum reduction is 700 retweets @ 2.99 USD for the book! leanpub.com/cppbestpractic…
Jason Turner tweet media
English
16
403
292
0
Tom Isaacson
Tom Isaacson@parsley72·
Ran “patch —dry-run” on this kernel source about 20 mins ago and it’s still going. Is this good or bad?
English
1
0
2
0
Toby Allsopp
Toby Allsopp@toby_allsopp·
@TartanLlama @seanbax The problem (well one of the problems) you'll run into is that with c++ coroutines you can't invoke the continuation more than once, which I imagine is needed for parsing lists, for example. Maybe you can avoid that when using parser combinators?
English
0
0
1
0
Sy Brand
Sy Brand@TartanLlama·
Has anyone written a parser combinator library with C++20 coroutines yet?
English
6
3
22
0
Toby Allsopp retweeté
Nick Sarten
Nick Sarten@NickSarten·
I'm looking for people excited about working with Rust to join me in developing performant software for photographers, get in touch if this sounds like you! Based in Auckland, NZ. narrative.so/job/rust-engin…
English
0
1
0
0