"Good catch"
--------------
Dec 1
Dec 2
Dec 2
"That works, thanks"
----------------------
Nov 27
...
(Code reviews)
"Good catch"
--------------
Dec 1
Dec 2
Dec 2
"That works, thanks"
----------------------
Nov 27
...
(Code reviews)
github.com/tvaneerd/tod...
TLDR: mark file-local functions as `static`, even if in an anonymous namespace.
github.com/tvaneerd/tod...
TLDR: mark file-local functions as `static`, even if in an anonymous namespace.
But if the ratings go up to 10, you actually rate it for real. 9/10, 8/10, even 7/10 (even though you might not have picked 4/5 stars).
5 star ratings are, quite literally, overrated.
But if the ratings go up to 10, you actually rate it for real. 9/10, 8/10, even 7/10 (even though you might not have picked 4/5 stars).
5 star ratings are, quite literally, overrated.
I also put two spaces after semicolons - in code:
if (int x = f(); x > 0)
...
Mostly for if statements, but also for for-loops. Why not. Particularly when they get a bit verbose.
I also put two spaces after semicolons - in code:
if (int x = f(); x > 0)
...
Mostly for if statements, but also for for-loops. Why not. Particularly when they get a bit verbose.
databases talk about row-oriented vs column-oriented databases.
For basically the same reasons.
I mean, probably not a revelation, but I typically don't do db stuff.
databases talk about row-oriented vs column-oriented databases.
For basically the same reasons.
I mean, probably not a revelation, but I typically don't do db stuff.
Python foundation said no and rejected the grant.
If you use Python, send a few dollars to the charity to keep it going. I’m pushing a dono on behalf of ScamGuard.
Python foundation said no and rejected the grant.
If you use Python, send a few dollars to the charity to keep it going. I’m pushing a dono on behalf of ScamGuard.
Learn the number one trick that all Senior developers do!
@tvaneerd.bsky.social tackles "Should I Check for Null Here?". This talk reveals C++26 Contracts for error handling & bugs! Learn what they are (and AREN'T!), plus how & WHY to use them.
🔗 sched.co/21xRf
Tickets: CppNorth.ca
🍁 Toronto, July 20-23! #CppNorth
Learn the number one trick that all Senior developers do!
July 20-23. I can't wait!
(*now that USA no longer exists)
cppnorth.ca/2024-05-07-h...
July 20-23. I can't wait!
(*now that USA no longer exists)
cppnorth.ca/2024-05-07-h...
cppnorth.ca/2024-05-07-h...
Include your name in the name of your resume file.
I receive LOTS of Resume.pdf files, and they get lost (or overwritten) in my downloads folder.
So YourName_resume.pdf
Or maybe try
YourName_TheOneYouWantToHire_resume.pdf
Include your name in the name of your resume file.
I receive LOTS of Resume.pdf files, and they get lost (or overwritten) in my downloads folder.
So YourName_resume.pdf
Or maybe try
YourName_TheOneYouWantToHire_resume.pdf
int main(int, char**)
{
std::variant
auto v2 = std::move(v);
return *std::get<1>(v2);
}
COMPILER:
main:
mov eax, 17
ret
godbolt.org/z/M8154ev75
int main(int, char**)
{
std::variant
auto v2 = std::move(v);
return *std::get<1>(v2);
}
COMPILER:
main:
mov eax, 17
ret
godbolt.org/z/M8154ev75
But VC's were about to divest;
Not a file was compiling,
Not even a test.
But VC's were about to divest;
Not a file was compiling,
Not even a test.
Some one took my rhyme out of the (draft) C++ standard.
Some one took my rhyme out of the (draft) C++ standard.
I was just looking at a complicated class and thought
"This could have been a function."
I was just looking at a complicated class and thought
"This could have been a function."
template
Pixel
{
...
}
I only want operator+ on some Pixel formats.
How do I give good error messages, AND also good sfinae?
template
Pixel
{
...
}
I only want operator+ on some Pixel formats.
How do I give good error messages, AND also good sfinae?