Alex Hadjadj
3.3K posts

Alex Hadjadj
@c0unt0
Postmodern C Programmer. VP of Technology / Technical Director: Graphics @ Rockstar Games. (Views my own, including the ones on metal)


When Gauss was 10 years old and attending elementary school, his teacher asked the class to add all the numbers from 1 to 100. A few moments later, young Gauss raised his hand and shouted out the answer, while the other students began tediously adding the numbers one by one. How did he come up with the answer so fast? Young Gauss realized that the sequence could be divided into pairs: the first number, 1, with the last number, 100; the second number, 2, with the second-to-last number, 99; and so on. Each pair would sum to 101. Recognizing that there were 50 pairs in total, Gauss multiplied 50 by 101 to obtain the sum of the sequence. The result, 5050, popped into his head almost instantly.




IT security in 1990s


J'ai terminé Far Cry 6, je me suis beaucoup amusé ! Je me tâte entre Cyber-Punk 2077 et Star Wars Outlaws maintenant. youtu.be/-IJuKT1mHO8?si…




Proud of my 0.4s faster code :) 0.4s faster loading time matters when you have a feed of instant-loading games. I'm glad to spend a week, or even more, for such significant gains.

The Nintendo Switch 2 is a Switch but bigger and better in every sense, with all of the original’s successes as well as most of its faults accounted for. Our review: bit.ly/45rVCCv #IGNSummerOfGaming




