Tony Van Eerd

9.7K posts

Tony Van Eerd

Tony Van Eerd

@tvaneerd

My alter-ego's alter-ego. he/him or they/them. Table.

Canada, eh Katılım Eylül 2016
232 Takip Edilen3.1K Takipçiler
Sabitlenmiş Tweet
Tony Van Eerd
Tony Van Eerd@tvaneerd·
Wow. Thanks!
English
1
1
8
0
Tony Van Eerd retweetledi
SuperStarNova
SuperStarNova@SSNova64·
Listen, I know the game is a little controversial right now, but this post is too hilarious to not share
SuperStarNova tweet media
English
44
3.8K
30.3K
448.5K
Tony Van Eerd
Tony Van Eerd@tvaneerd·
@FriedgeHNIC If they tie by differential, then USA got at least 10 goals in the game, so they would have at least 21 goals for, and USA would win that tie breaker. But USA is not going to win by 10.
English
0
0
0
354
Elliotte Friedman
Elliotte Friedman@FriedgeHNIC·
Canada beats France 10-2, finishes round-robin with a goal differential of +17 USA enters Germany game later tonight at +7. To take top seed from Canada would need to win by at least 10. If they equal` in differential, second tiebreaker is goals for. Canada locked in at 20. USA starts tonight at 11.
English
81
129
2.3K
439.9K
Tony Van Eerd
Tony Van Eerd@tvaneerd·
@NHLBruins Hey, marketing/graphics team, consider lowering the goalie list in order to separate them from the D. ie:
Tony Van Eerd tweet media
English
0
0
1
201
Boston Bruins
Boston Bruins@NHLBruins·
The lines look like this:
Boston Bruins tweet media
English
20
36
429
39.3K
@ericniebler.bsky.social
@ericniebler.bsky.social@ericniebler·
Every time I wrap `max` in parens, I curse the Windows team under my breath.
English
10
3
59
10.6K
Sean Baxter
Sean Baxter@seanbax·
👀 Transitive property fail.
Sean Baxter tweet media
English
7
1
46
5.1K
David Sankel
David Sankel@david_sankel·
Should a simple `int main()` have `return 0;`
English
9
4
4
3K
David Stone
David Stone@david_m_stone·
I've been informed that this is a bad idea. I should use `switkh` instead.
English
1
0
2
179
David Stone
David Stone@david_m_stone·
To avoid using a keyword when I need something that should be named `switch`, I've been using `switch_`. But I think in honor of the "Use `klass` to refer to the concept of a class" idiom, I should be using `swich`.
English
2
0
3
386
Bryce, the CUDA Colonel
Bryce, the CUDA Colonel@blelbach·
Why is it so difficult to find a banana in an airport terminal?
English
7
0
10
2.3K
Tony Van Eerd
Tony Van Eerd@tvaneerd·
@googlemaps how about a safety option for walking directions that tries to stick to well lit and heavily trafficked paths instead of dimly lit paths and back alleys.
English
1
0
0
25
Michael Caisse
Michael Caisse@MichaelCaisse·
YouTube comment: "flaky talk. Doesn't reveal some insight into senders. Watch something else." Comment from committee member after talk: "I have a much better grasp on senders now" Love YouTube comments.
English
3
0
12
968
Tony Van Eerd
Tony Van Eerd@tvaneerd·
we added ; to if statements if (auto x = f(); x.has_value()) have we added it to while yet? while (auto x = next(); x.has_value()) or do I need for (auto x = next; x.has_value(); x = next())
English
3
0
8
1.1K
Tony Van Eerd
Tony Van Eerd@tvaneerd·
Another one is "could this be not a pointer" ie sometimes I see a raw pointer so I try to make it a unique_ptr and by the time I'm done I realize it could be not a pointer at all.
English
0
0
8
539
Tony Van Eerd
Tony Van Eerd@tvaneerd·
One that isn't always simple, but sometimes is doable: - make functions pure (return a result, have no side-effects)
English
4
0
15
864
Tony Van Eerd
Tony Van Eerd@tvaneerd·
What are some good simple coding habits, like - declaring variables where they are first used Maybe habits that you do when trying to fix/understand code and your first step is to just declutter and clean and once you are done the code suddenly is easy to understand.
English
17
0
20
3.6K
Tony Van Eerd
Tony Van Eerd@tvaneerd·
@basilyusuf1709 @blelbach We make projectors BTW, we typically bounce the photons off a screen first. Laser photons straight to the eye are not recommended
English
0
0
1
12
Bryce, the CUDA Colonel
Bryce, the CUDA Colonel@blelbach·
"I work for Christie Digital. We take electrons from the wall, turn them into photons and shoot them at your eyeballs." - @tvaneerd
English
1
0
9
963
Tony Van Eerd
Tony Van Eerd@tvaneerd·
@CppSage @ericniebler but the queen of clubs has to live outside the deck. It is dealt into your hand, then played onto the table, etc. Are those methods of deck?
English
1
0
0
156
Matt Calabrese
Matt Calabrese@CppSage·
@tvaneerd @ericniebler The same exact way you maintain any other invariant. This is not at all special. Mutating operations on the object are written to not violate the invariants upon return/exception (and those functions can have preconditions).
English
1
0
1
124
@ericniebler.bsky.social
@ericniebler.bsky.social@ericniebler·
Any C++ type that has a moved-from state should also be default-constructible into that state.
English
18
0
14
5.6K