I clicked on a picture of myself using Google Lens:

Not even a good guess…
James A. Chappell's technical web log
While doing a Bing search for c++ polynomial, Copilot generates the following code:
Note the method, Polynomial::evaluate(double x) const
While this will calculate the correct value, this naïve implementation is not a good way to evaluate a polynomial.
A better implementation would be:
Each iteration has one addition and one multiplication, while the Copilot version has one addition, one multiplication, and one call to std::pow per iteration. Also, the good version has no <cmath> dependency.
Copilot will generate something like the “better version” if one searches for c++ polynomial horner’s method. Since Horner’s Method is the preferred way to evaluate polynomials, one has to wonder why Copilot generates a not very good naïve implementation by default.
Here’s the full source of the “better version”:
See also: Polynomial
(via Devist)
Exciting news for C and C++ developers! @clion_ide just joined the club of WebStorm, Rider, and RustRover and is free for non-commercial use. Learning, developing open-source projects, creating content, and hobby development are now more accessible than ever before! More details: jb.gg/cl_free_bs
— JetBrains (@jetbrains.com) May 7, 2025 at 7:47 AM
[image or embed]
Link: CLion
(via Programmer Humor)
Emily Durie-Johnson – Lightning Talk: Strategies for Developing Safety-Critical Software in C++
(more…)"What trillion-dollar problem is AI trying to solve?" Wages. They're trying to use it to solve having to pay wages.
— Jack who wrote Aether Torrent (@jackscarab.bsky.social) December 27, 2024 at 11:41 AM
(via Threads)
SCRUM – An Honest Ad:
(more…)