Guilhermo Barretti (@Guilhermodsb) header
Guilhermo Barretti (@Guilhermodsb) profile picture

Making Indigo (2D Platformer with custom engine/physics in C++/OpenGL/Lua)

Brazil
Joined May 2009
Photo by Guilhermo Barretti (@Guilhermodsb)Photo by Guilhermo Barretti (@Guilhermodsb)Photo by Guilhermo Barretti (@Guilhermodsb)Photo by Guilhermo Barretti (@Guilhermodsb)Photo by Guilhermo Barretti (@Guilhermodsb)Photo by Guilhermo Barretti (@Guilhermodsb)Photo by Guilhermo Barretti (@Guilhermodsb)Photo by Guilhermo Barretti (@Guilhermodsb)Photo by Guilhermo Barretti (@Guilhermodsb)Photo by Guilhermo Barretti (@Guilhermodsb)
This is Indigo, a 2D platformer game with level editing tools that I'm developing using C++/OpenGL/SDL! #gamedev #indiegame
6
15
2
63
Guilhermo Barretti retweeted
Galera se divertindo no c3 battle coliseu em sso psulo tenho bastante vídeos pra mostrar hoje
8
90
757
Guilhermo Barretti retweeted
Game dev is crazy I can make something and think it looks amazing and then 2 months later I think it looks like complete shit
63
44
13
740
26,447
Guilhermo Barretti retweeted
Pqp fazer pedra pensar é a coisa mais pica da humanidade
🇨🇳 A China acabou com o monopólio das empresas ocidentais e de Taiwan no setor de semicondutores. Pela primeira vez na história, a China conseguiu produzir uma máquina de litografia ultravioleta extrema (EUV) para a fabricação de chips avançados. Em um laboratório de alta segurança em Shenzhen, cientistas e engenheiros chineses desenvolveram o primeiro protótipo de uma máquina de litografia EUV produzida com componentes nacionalizados. Esse tipo de máquina é utilizado para produzir semicondutores de ponta que são utilizados em IA, smartphones, satélites e armas modernas, por exemplo. A máquina instalada em Shenzhen já está em funcionamento, emitindo luz EUV de forma operacional. Segundo a Reuters, a China realizou engenharia reversa das máquinas da ASML (a única empresa que domina essa tecnologia no mundo), com ex-engenheiros chineses da própria ASML liderando, comprando peças em leilões internacionais e milhares de cientistas mobilizados pela Huawei e institutos estatais. A mídia ocidental está chamando a iniciativa de "Projeto Manhattan Chinês", devido ao esforço hercúleo em quebrar o monopólio ocidental e dominar uma tecnologia extremamente avançada. Atualmente, o Ocidente só permite a venda das máquinas da ASML para a empresa TSMC de Taiwan, que fabrica quase todos os chips avançados do mundo, fornecendo os componentes para a Nvidia, Apple e AMD. A China estava proibida de comprar máquinas de litografia da ASML devido às sanções aplicadas pelos EUA que visavam atrasar o desenvolvimento chinês no setor de chips e inteligência artificial. No fim, as sanções serviram como catalisador para os chineses desenvolverem tecnologia própria e superar a barreira tecnológica para a produção de chips localmente. A previsão é de que, até 2030 (talvez antes), a China produza chips de última geração com 100% de tecnologia própria, sem depender de nenhum fator externo. O atual plano quinquenal definido pelo governo chinês prevê soberania total nos setores de IA, 5G/6G, supercomputadores, semicondutores e sistemas de defesa tecnológicos. As sanções dos EUA, que eram para conter Pequim, acabaram acelerando o avanço chinês. Quando uma nação decide ser soberana tecnologicamente, nenhuma barreira externa para ela. O futuro dos semicondutores já tem um novo dono no horizonte.
26
138
6
3,599
111,865
Guilhermo Barretti retweeted
Researchers at Oxford argue that LLMs can't invent anything. It's impossible mathematically. The paper is called "Theory Is All You Need." Teppo Felin and Matthias Holweg take the famous "Attention Is All You Need" title and flip it. Their argument is that AI predicts from the past, while humans reason forward into the future, and those are two different kinds of thinking. Start with the numbers. The authors estimate a large language model trains on roughly 13 trillion tokens. A human reading at 150 words a minute would need about 164,000 years to get through that. A child hears around 20,000 words a day and roughly 36.5 million words in their first five years. It's the same task with wildly different data, and the child still ends up with language that goes far beyond anything they heard. Their point is that the model learns which words tend to follow other words. It becomes a mirror of what people have already written. It doesn't build a theory of how the world works, so it can't step outside its training data. The paper's sharpest thought experiment makes this painful. Imagine an LLM trained in 1633 on every scientific text ever written up to that point. Ask it about Galileo and heliocentrism. Thousands of years of geocentric texts would swamp Galileo's ideas, so the model would tell you he's wrong. It would also rate Tycho Brahe's astrology as more credible than the idea that the Earth moves, because more people had written about astrology. Then there's flight. In 1888 the scientist Joseph LeConte looked at bird data, noted that no bird above 50 pounds could fly, and concluded humans couldn't either. Lord Kelvin, then president of the Royal Society, said he had not the smallest molecule of faith in aerial navigation. The New York Times estimated in 1903 that flight was one to ten million years away. Nine weeks later the Wright brothers flew. The Wrights didn't have better data. They had a theory. They broke flight into three problems, lift, propulsion, and steering, built their own wind tunnels, and generated the data that didn't exist yet. Wilbur wrote in 1900 that he had been "afflicted with the belief that flight is possible to man." Every prediction machine on Earth would have told him no. The authors call this the data belief asymmetry. Every real breakthrough starts with someone believing something the existing data says is wrong. A system trained to minimize surprise can't do that by design. They're not anti AI. They say AI will win at routine, repetitive decisions that extrapolate from the past, which is most decisions. They're just pushing back on the idea that you should replace humans with algorithms whenever possible, which is a direct quote from Kahneman. I use these models every day and this matches what I see. The new stuff comes from the human at the keyboard who decides the data is wrong. LLMs don't think, you do!
287
884
169
3,095
1,109,211
Guilhermo Barretti retweeted
On fire #pixelart
27
287
8
3,221
82,759
Guilhermo Barretti retweeted
If the world doesn’t give you a path, then paint one yourself ! 🖌️ This skill is called InkStep. #GameDev | #IndieDev | #screenshotsaturday | #ゲーム制作
13
35
186
17,064
Guilhermo Barretti retweeted
Ngl i didn't know about Alyssa before now and this is coming from someone who enjoys reading about top dawgs in Computer Science generally. But after hearing about the Apple M1 GPU RE I spent the past two days reading up on lady Rosenzweig. Apparently she didn't start reverse engineering GPUs this year. It was back in 2017 when she was in highschool which later turned into a Collabora job working on Panfrost(the open Mesa driver for Mali(graphics processors designed by ARM)). This specific Apple M1 GPU work commenced in Dec of 2020, despite the fact that there weren't any publicly available docs by Apple for their GPU ISA/command stream. Hector Martin(founder of Asahi Linux) kicked off the Asahi Linux project to port the Linux operating system directly to Apple's silicon(M1 and M2 series chips). She bought herself an M1 Mac mini as a 'christmas present' and commenced work on the GPU. Typically, it used the same black-box method as Panfrost, idk much about these really but it's a black-box reverse-engineering technique used to build open source graphics drivers without access to official documentation or source code. After a few weeks she could disassemble simple shaders. Not long after she drew a triangle(drawing a triangle is the ultimate Proof of Concept in graphics engineering). You know what they say, "once you can draw a triangle, you can do anything." Fast forward to 5 years later and we have conformant OpenGL 4.6, OpenGL ES 3.2, Vulkan 1.4,... Proton gaming works on M1 Mac running Linux(this is ridiculously insane btw). She wrapped up the project this year and other efforts are now building on what she reverse-engineered.
42
122
16
1,909
83,056
Guilhermo Barretti retweeted
Felizmente, existe a Alessandra Orofino para botar os pingos nos ii. Ouçam com atenção o corte. É do programa Calma Urgente. Faz a conexão necessária; joga luz onde era preciso iluminar.
347
5,266
552
17,232
1,509,729
Guilhermo Barretti retweeted
This post totally misunderstands what is hard about making games.
Astra + unreal engine + blender is going to make everyone a game developer, at some point soon we should be having AAA games for 5 dollars from indie devs, no more 60-70$ for a game.
40
11
739
36,774
Guilhermo Barretti retweeted
Leyndell, Royal Capital (Elden Ring) #pixelart #ドット絵
16
562
8
4,477
78,433
Guilhermo Barretti retweeted
I don't really talk about the technical side of Metroidvania Maker much, but the whole game and editor run on a custom engine I wrote in C using raylib. Just wanted to give raylib a shoutout. It's been great to work with and I'd definitely recommend giving it a try!
2
6
2
98
14,751
Guilhermo Barretti retweeted
O maior retrato do apodrecimento da república e do capitalismo é que os golpistas e quem julgou os golpistas estão no bolso do mesmo banqueiro de merda. Tudo indica que a família Bolsonaro e o juiz que mandou o ex-capitão para trás das grades tinham o mesmo mecenas. Não é lindo?
53
204
7
2,058
25,593
Guilhermo Barretti retweeted
everyone has already given their opinion but my first year classes were taught with C, when I entered my 3rd year they swapped to python/js and when I became one of the uni's first cs tutors I experienced first hand the damage this does to your brain
Google researcher @lauriewired warns the shift from C++ to Python in universities is creating programmers who don't understand how computers actually work: "When I was in college getting my CS degree, my year was one of the last years that was using C++ as the core language for teaching students. Actually they were switching over to Python of all languages." "One of the biggest issues that I have is that a lot of these higher level languages are really abstracting away what is happening under the hood. If you're not aware of how the computers work in general, then you're gonna have problems when it comes to debugging." "Starting with a language like C++ gives you the ability to do these really high level abstractions, but it also gives you the ability to customize your memory management and get really close to the underlying machine. Especially if you're trying to work in high performance computing, game development, or high frequency trading." "At C++ conferences, there's almost this fundamental anger response when it comes to mentioning something like C or C++. People start complaining about the complexity of it." @Google
82
141
21
4,723
236,677
Guilhermo Barretti retweeted
🧠 | LA PROLETARIZACIÓN COGNITIVA Un nuevo informe de Anthropic ha dado dimensión a las amenazas de la IA sobre la actividad intelectual. La presión sobre la base productiva ya no es la única; la expropiación del conocimiento de la clase profesional ha comenzado y es alarmante: 1/ La fase de captura: Expropiación de capital cognitivo La distancia entre la capacidad teórica (área azul) y la ejecución real (área roja) no refleja una "adopción lenta"; muestra la fase de acumulación primitiva de datos: el porcentaje de saber experto que las corporaciones ya han logrado privatizar e indexar. En computación y administración, donde la capacidad supera el 90%, los modelos no están "asistiendo" al trabajador; están extrayendo la lógica operativa de su función para sustituir la masa salarial por renta de cómputo. 2/ La descalificación del trabajo de "cuello blanco" La ilusión del refugio meritocrático se ha derrumbado: los perfiles con estudios de posgrado son cuatro veces más propensos a ubicarse en el tramo de máxima exposición que los roles manuales. La IA ejecuta una subsunción real del trabajo intelectual: -Programadores de Computadoras: ~74.5% de saber expropiado -Servicio al Cliente: ~70.1% de saber expropiado -Entrada de Datos: ~67.1% de saber expropiado -Registros Médicos: ~66.7% de saber expropiado -Analistas Financieros: ~57.2% de saber expropiado 3/ Degradación de la renta y precarización de plataforma El "desempleo masivo" no aparece en las estadísticas tradicionales porque el impacto inicial no es (aún) la cesantía, sino la devaluación del valor de la hora de trabajo. El profesional no es despedido de inmediato; es degradado a la condición de corrector precarizado del algoritmo que lo reemplazará. No hay estabilidad y esto no es una sensación: hay una reconfiguración de facto hacia una economía de gig economy de alta cualificación. 4/ El tapiado generacional de la reproducción social El bloqueo en las tasas de contratación de jóvenes (22-25 años) en sectores expuestos corta la transmisión del saber técnico. Al eliminar los puestos de entrada (entry-level), las corporaciones han destruido (y destruirán más) las vías y las escalas de ascenso social. Con ello, se consolida una tendencia hacia una gran masa de graduados hipertitulados pero estructuralmente excluidos de la estructura formal de ingresos y derechos. 5/ Tecnofeudalismo y pérdida de soberanía estatal La contracción de rentas altas erosiona los ingresos impositivos, pero el riesgo de fondo no es meramente fiscal: es de gobernanza. Si la infraestructura cognitiva de la economía y la administración pública pasa a depender de clústeres privados de cómputo, el Estado pierde autonomía política. 6/ Este es el punto crítico La respuesta no puede limitarse a esquemas de contención como la Renta Básica; exige discutir la propiedad social del software, la fiscalidad al capital algorítmico y la soberanía sobre la infraestructura de cómputo. El debate del siglo XXI no es ni debe ser sobre cuántos empleos destruirá la tecnología, sino quiénes serán y cuáles son los límites que las sociedades puedan construir a tiempo a los dueños de las infraestructuras que programen el trabajo humano. 📝 Informe completo: anthropic.com/research/labor…
52
893
110
1,947
231,063
Guilhermo Barretti retweeted
Já não restam dúvidas de que o Estado de Israel é a Alemanha Nazista do século XXI. Eu confesso que não gosto de equiparações históricas. Cada fenômeno social e político é, por natureza, singular. Mas as similaridades entre o genocídio do povo palestino e o Holocausto estão cada dia maiores. E o pior é que não há vergonha por parte do governo israelense em expor as suas ações. As pessoas precisam entender que o Holocausto nazista não ocorreu do dia para a noite. Foram anos até se chegar à solução final. Da mesma forma, o genocídio do povo palestino também está evoluindo paulatinamente para o mesmo destino. É triste e desesperador acompanhar esse processo e constatar a inação da grande maioria dos países do mundo sobre esse massacre.
Ministro de Netanyahu posta vídeo celebrando fome de palestinos em prisões de Israel; cena é comparada a campo de concentração glo.bo/4qN1AX0 #g1
16
179
2
941
12,133
Guilhermo Barretti retweeted
This hex planet is actually a flat plane! 🌍 madhumster used a shader to bend it into a sphere for their Unity game, Tile Crawl. See how they made it: reddit.com/r/Unity3D/comment… Want to learn shader development in Unity? jettelly.com/store/the-unity… #unity3d #gamedev #indiegame
18
1
227
9,625
Guilhermo Barretti retweeted
Under capitalism, it's normal to let children go hungry, let banks force people out of their homes, let sick people die for lack of access to healthcare. But the idea that billionaires could just be less rich - not poor, not struggling, just less rich, is considered insane.
58
733
11
3,250
28,693
Guilhermo Barretti retweeted
Google researcher @lauriewired warns the shift from C++ to Python in universities is creating programmers who don't understand how computers actually work: "When I was in college getting my CS degree, my year was one of the last years that was using C++ as the core language for teaching students. Actually they were switching over to Python of all languages." "One of the biggest issues that I have is that a lot of these higher level languages are really abstracting away what is happening under the hood. If you're not aware of how the computers work in general, then you're gonna have problems when it comes to debugging." "Starting with a language like C++ gives you the ability to do these really high level abstractions, but it also gives you the ability to customize your memory management and get really close to the underlying machine. Especially if you're trying to work in high performance computing, game development, or high frequency trading." "At C++ conferences, there's almost this fundamental anger response when it comes to mentioning something like C or C++. People start complaining about the complexity of it." @Google
286
457
265
5,159
1,894,036
Guilhermo Barretti retweeted
"people were able to politically coexist" i remember in the mid-2000s hearing my CTO say out loud that he would never allow a woman to be a manager they were always doing identity politics, it just benefited you
Wrong. The video game industry was built by a significant number of conservative men. The pioneers of the Western game industry came from all sorts of political backgrounds (many were conservatives). From a social perspective, however, the majority were generally outwardly apolitical. Politics would be discussed, but there were no meltdowns over misgendering someone, or because someone voted for literally Hitler. It was a completely different social landscape. People were able to politically coexist. Then in the 2010s, far-left identitarians invaded the industry and, through bullying and cancel culture, forced everyone else to comply. Two groups of people were negatively affected: 1. Political normies who just played along because they didn’t want to lose their jobs (probably 80% of the industry) 2. Conservatives who spoke out and were ostracized/fired/quit After vocal conservatives were pushed out, you’re left with a company of 25% woke assholes and 75% who either didn't speak up or just didn't care. That’s when the decline started. The leftist purity tests became more insane, more people were pushed out. Now it’s all collapsing. But the tide is shifting. I have so many people (former colleagues, industry veterans) reaching out to me because they are tired of this bullshit and want to see change. More people will speak out and reject the woke identitarians. The industry will shift back to its roots. It’s just a matter of time.
11
36
1
362
6,994
Guilhermo Barretti retweeted
Some heroes do wear capes.
327
2,308
130
34,959
2,022,142