
Operário de código, bancário C++, IA, segurança, dev, software, eletrônica CiC UnB Linux desde 1996 PERL desde 1997 Flamengo 🔴⚫ Brasília 🇧🇷
Brasília
Joined September 2026
- Tweets4K
- Following1.1K
- Followers155
- Likes6K
Replying to @dionisiodev
Basta comparecer todo dia que você já está acima da média
Se crescer 1% todo dia, dá 3678% em um ano
Não tenho a menor dúvida que redes sociais são a fonte da maior parte dos problemas atuais
Problemas sociais, politicos, interpessoais, pedagógicos e econômicos
I firmly believe the existence of social media has made everyone meaner. Politically, romantically, professionally, and interpersonally. Frankly, it should have never evolved past message boards/forums, emails, and match dot com. Was more than enough
16
Zé CPP retweeted
union U { std::string s[4]; };
U u; // error
You wanted raw storage for four strings, constructed later. C++ deleted the union's constructor and destructor instead
Every inplace_vector style container needed a workaround 🧵👇
Zé CPP retweeted
entrando na trend tbm!
Salve pessoal, sou indie dev, fundador da @BlackHoleGames_, prof do ensino médio de programação e robótica, sempre relacionando a games de alguma forma :B
admito que preciso aprender a postar mais nessa rede
#indiedev #gamedev #indiedevs #gamedevs
Zé CPP retweeted
Olá!! Sou um dev indie do Brasil, Game Designer generalista com interesses em Pixel Art, 3D e UX/UI gostaria de me conectar com outros devs indie!
Prometo postar alguns projetos muito legais nos próximos dias!!
#indiedev #indiedevs #gamedev
Zé CPP retweeted
1M rows. Only 200 countries and 5,000 cities, but std::string stores a copy in every row: 168 MB. One Boost library gets it down to 25 MB 🧵👇
Assustado com os comentários neste post
Está nesse nivel mesmo? Não pode mais comprar na @amazonbrasil ?
Homem compra controle de PS5 do GTA VI por R$ 599,90 e recebe três tubos de pasta de dente glo.bo/4jcVcWZ #g1
14
Zé CPP retweeted
Vamos conectar o pessoal aqui nos comentários:
- Programadores
- Amantes de tecnologia
- Vibecoders
- Entusiastas de IA
Zé CPP retweeted
In C++, default-initialization and value-initialization are distinct initialization mechanisms. The terminology is somewhat counterintuitive: default-initialization does not necessarily perform any initialization at all. For example, for a scalar type, no initialization is performed.
Unfortunately, until C++20, we didn't have a helper function to construct a dynamically sized array without initialization while automatically managing its lifetime. We had to explicitly construct a "unique_ptr" using the "new" operator (brrrr...).
Since C++20, we have "make_unique_for_overwrite<int[]>(size)", which creates an array whose elements have indeterminate values.
I found the first snippet below in my old C++17 code. It uses a temporary buffer to find the median and maximum absolute differences between two vectors. Now I can modernize it to elegantly avoid redundant value-initialization of the buffer elements.
Ignoring the subsequent filtering and statistical computations, the original code reads 8 B and writes 8 B per element, while the modernized version reads 8 B and writes only 4 B per element.
My measurements show that, for large arrays, the new version is indeed about 10% faster.
20
1,026
Voltamos aos fundamentos
Todo mundo é full stack de novo. Tipo programar em Delphi novamente 🤪
A era do dev de uma stack só acabou.
Se a LLM escreve a sintaxe de qualquer linguagem, saber React ou Rails não é mais diferencial.
Fundamentos valem mais do que nunca: estruturas de dados, redes, bancos, segurança e arquitetura. Quem domina isso revisa qualquer stack.
1
55
Um matemático provou que você só precisa de 1,43 metros de espaço pra fazer a baliza entre dois carros
Eu preciso de 5 metros pro carro da frente e 5 pro de trás 👍
In 2009, a mathematician decided to solve one of the most frustrating problems in everyday life: parallel parking.
Simon Blackburn derived a formula using the Pythagorean theorem three times.
His model showed that a typical car with certain dimensions needed just 1.43 metres of extra space for a smooth parking manoeuvre.
The width of the car ahead appears in the formula, but the width of your own car does not.
Perhaps driving instructors should teach a little more geometry.
21























