pikuma.com Profile Banner
pikuma.com Profile
pikuma.com

@pikuma

Followers
17,290
Following
398
Media
2,494
Statuses
15,092

An education platform created by Gustavo Pezzi to teach the fundamentals of #ComputerScience , #Programming , and #Mathematics .

Joined March 2019
Don't wanna be here? Send us removal request.
Explore trending content on Musk Viewer
Pinned Tweet
@pikuma
pikuma.com
2 years
Hello! I'm Gustavo Pezzi 🇧🇷. I am a university lecturer in London & the founder of , where I teach low-level #CS & #Math . At , everything is taught from first principles. Zero ego; zero gimmicks. Come take a course with us! 🧉😉
Tweet media one
27
50
472
@pikuma
pikuma.com
1 year
If you're programming a game where a boat moves through water, you might be tempted (as I would) to change the V-shape angle of the waves behind the boat based on how fast the boat was moving! What if I told you that that V-shaped angle is always 19.47°, regardless of how fast
Tweet media one
97
957
10K
@pikuma
pikuma.com
1 year
When I accidentally double-click a small XML file on a Windows machine...
Tweet media one
61
637
5K
@pikuma
pikuma.com
4 months
Big if true
Tweet media one
@tsoding
Тsфdiиg
4 months
Chat is this Real?
Tweet media one
31
44
1K
13
394
5K
@pikuma
pikuma.com
4 months
Yes! But that's not coffee, that's sewage water.
@RyanEls4
Ryan Els
4 months
With JavaScript you can do it all 👌🏻
Tweet media one
105
104
966
28
260
5K
@pikuma
pikuma.com
1 year
Millitext is a font where glyphs are one-pixel wide. It's an exploitation of how subpixels (individual R/G/B lights of a display) are triggered by certain colors. For example, magenta pixels trigger subpixels R and B, while G is left dark between them. 🔗
Tweet media one
27
696
4K
@pikuma
pikuma.com
1 year
The real reason there was no Windows 9
Tweet media one
54
323
4K
@pikuma
pikuma.com
1 year
I remember reading about determinants in high school. The name was scary and not much context was given. 😦 For a long time, a determinant was just a value I had to blindly compute using a formula. Here's what I would like to know about determinants when I first started... 🧵
37
573
3K
@pikuma
pikuma.com
1 year
When I was a kid, I wrote a small keylogger. It was called expIorer.exe (with an uppercase "i") and I ran it in the school's computer lab. I've done many great things in my life, but very few come close to the thrill of seeing my classmate's password stored in a raw textfile.
Tweet media one
94
162
3K
@pikuma
pikuma.com
2 years
Please don't apply for a Senior dev position if your Github looks like this...
Tweet media one
52
123
3K
@pikuma
pikuma.com
6 months
Ceiling is being raised. Cursor's copilot helped us write "superhuman code" for a critical feature. We can read this code, but VERY few engineers out there could write it from scratch.
Tweet media one
24
196
3K
@pikuma
pikuma.com
4 months
I had a friend that worked in the support team and was famous for being too friendly with the customers. He was also very unprofessional so it was just a matter of time before something went wrong. Once, the system admin of an important customer called and asked him for a system
Tweet media one
32
113
3K
@pikuma
pikuma.com
1 year
1. Open Github 2. Search for "raycasting" 3. Download the code 4. Build the project and see it running 5. Continue your day not knowing anything about how a raycasting engine works
Tweet media one
@javilopen
Javi Lopez ⛩️
1 year
Create a basic 3D game prototype like Doom using GPT-4. Let GPT do all the maths, raycasting and hard work! 🧵 A thread
Tweet media one
151
1K
8K
24
198
3K
@pikuma
pikuma.com
11 days
Trying to hide that 'adult' video you have stored in memory.
Tweet media one
@cneuralnetwork
neural nets.
11 days
a side project given by my prof today had to store a 60second 60 fps video efficiently just by using C (no libraries allowed)
Tweet media one
209
137
5K
40
90
3K
@pikuma
pikuma.com
4 months
It's brutal out there!
Tweet media one
31
159
2K
@pikuma
pikuma.com
5 months
The NEW COURSE is finally out!!! 🕹️🙀 This is my love letter to the OG PlayStation!!! We'll cover the PS1 Hardware, MIPS assembler, C & PsyQ SDK, 3D graphics, fixed-point math, PS1 quirks, RISC pipeline, and much (!) more... Enroll: 🔗 See you inside!
116
428
2K
@pikuma
pikuma.com
8 months
Dude, where is my char* ?
Tweet media one
42
188
2K
@pikuma
pikuma.com
8 months
"The work I do in video games is actually far more complicated than the aerospace work." - Carmack
40
225
2K
@pikuma
pikuma.com
3 months
| 0.5 0.0 0.0 0.0 | | 0.0 1.0 0.0 0.0 | | 0.0 0.0 1.0 0.0 | | 0.0 0.0 0.0 1.0 |
@MetodoMoreira
〽️o r e i r a
3 months
Nova versão do tinquechento O duzentos e cinquento
820
828
16K
30
169
2K
@pikuma
pikuma.com
1 year
Remember when sizeof int was 2?
Tweet media one
67
195
2K
@pikuma
pikuma.com
1 year
Every day we stray further from God.
@terrajobst
Immo Landwerth
1 year
WAT
Tweet media one
65
40
427
41
204
2K
@pikuma
pikuma.com
1 year
Lately, I've been studying the early days of 3D polygons on home consoles for a new course. We often think 3D on the #PS1 or #Saturn , but there was a bracket of time where special chips were added to both #SNES & #Genesis to help them render fast polygons. Here's a review...🧵
32
241
2K
@pikuma
pikuma.com
5 months
There's also a /bin folder for recently-deleted files that get moved to trash. It's good practice to clear the bin folder every once in a while.
@tsoding
Тsфdiиg
5 months
Did you guy know that Linux is so Developer-Oriented that it has a special folder called /dev/ where you are suppose to develop all your projects? It's true, check it on your Distro!
Tweet media one
105
145
3K
30
143
2K
@pikuma
pikuma.com
3 months
Hardware & OS are extremely more complex now and programmers sit too far from the machine. Plus, there's an overwhelming number of conflicting learning resources. What we call "software development" today is mostly just glueing pre-baked scripts around & editing config files.
@KevinNaughtonJr
Kevin Naughton Jr.
3 months
learning to code has never been harder than it is today
136
37
713
36
152
2K
@pikuma
pikuma.com
8 months
@NoContextHumans Old Brazilian Fanta:
Tweet media one
12
6
1K
@pikuma
pikuma.com
1 year
"nobody cared about graphics." Excuse me sir, have you heard the word of our Lord and Savior Mike Abrash? 1342 pages of words, to be exact.
Tweet media one
60
125
1K
@pikuma
pikuma.com
1 year
Students often ask me for suggestions of books that I believe every programmer should read. For many years, my answer has been consistently: • Nature of Code • Computer Systems: a Programmer's Perspective Which book is in your "must read" for every programmer?
Tweet media one
Tweet media two
78
149
1K
@pikuma
pikuma.com
16 days
Did you ever stop to think how lucky you are to find joy in programming? Or how privileged we are to be intrinsically motivated to study things just for fun? Some people are so handicapped by utilitarianism that I'm sure the only reason they eat food is to keep from dying. 😔
@preslavrachev
Preslav Rachev
3 years
I’ve said it a few times already, but worth repeating myself. Programming is a tool; a means to achieving an end goal. Not the end goal in and of itself.
11
0
30
55
116
1K
@pikuma
pikuma.com
1 year
"Here's a nickel, Kid. Go buy yourself a real computer."
Tweet media one
8
167
1K
@pikuma
pikuma.com
1 year
In 3D game programming, something called "Projection" comes into play. The most common type of projection is called Perspective Projection, where objects that are close to us appear big, and objects that are far away from us appear small. Let's review how this works... 🧵
Tweet media one
10
152
1K
@pikuma
pikuma.com
2 months
"1332244311 rows affected"
@loftwah
Loftwah
2 months
When you tap your pockets and you can't feel your phone.
Tweet media one
7
5
92
11
72
1K
@pikuma
pikuma.com
1 year
Found this on @OpenProcessing today. 🔗 Since random(0,x) always returns a number in the range [0,x) that is less than x. If we start x with 1, the next iteration will shrink the output and we end up with pixels that are always closer to the unit length.
Tweet media one
17
163
1K
@pikuma
pikuma.com
4 months
I am *this close* 🤏 of rage-unplugging all my computers from the internet to go hide in my cabin in the woods with all my retro hardware and my jazz albums.
@tsarnick
Tsarathustra
4 months
Satya Nadella says Windows PCs will have a photographic memory feature called Recall that will remember and understand everything you do on your computer by taking constant screenshots
5K
4K
10K
74
78
1K
@pikuma
pikuma.com
10 months
Unpopular opinion, In the 90s we had lots of different and quirky operating systems; not simply different GUIs but different philosophies on how to operate. Inferno, Plan9, QNX, BeOS, Menuet, AmigaOS, SunOS, NeXTSTEP, OS/2, RISC OS, etc. ...now everything is just Linux. 🙄
Tweet media one
179
142
1K
@pikuma
pikuma.com
11 months
I have been working as a programmer since the Mesozoic Era and I am ashamed to confess I did not know about this technique. Now I know why all the submenus I've created in the past behaved weirdly.
@claviska
Cory LaViska
11 months
Implemented safe triangles to improve submenu selection in @shoelace_style today.
121
551
6K
8
91
1K
@pikuma
pikuma.com
8 months
Unless you're writing a simple script to move a couple of your own files around from one folder to another, 0.4 seconds for a system core task is an eternity!
@memecrashes
A meme page to check every time MatLab crashes
8 months
Tweet media one
81
498
10K
17
35
1K
@pikuma
pikuma.com
24 days
@claudierla Um amigo meu e os sócios dele compraram um prédio na planta. A ideia era colocar a empresa depois de 2 anos de construção. A construtora faliu, não concluiu a obra, e só ele perdeu uns ~800k.
17
1
1K
@pikuma
pikuma.com
1 year
C++ "modernizer". (still alpha stage)
Tweet media one
30
95
1K
@pikuma
pikuma.com
1 year
Changed the rendering code to use 16.16 fixed-point math instead of floats. Conclusion: not worth it in a modern CPU.
58
50
998
@pikuma
pikuma.com
27 days
I had someone asking the other day if I was not "worried that an attacker could exploit the potential unsafe C code." My dude, this is a PS1 game! The only 'attacker' I'm worried about is someone literally breaking into the front door and stealing the console. 😐
@awesomekling
Andreas Kling
28 days
I love C++ but "C++ is a safe language if you're a good developer" is a silly opinion and you know it.
53
47
894
26
51
1K
@pikuma
pikuma.com
3 months
Do you believe CS students should *create* technology or *use* technology?
@t3dotgg
Theo - t3.gg
3 months
The number of CS grads who don’t even know basic git commands is astounding
317
102
2K
179
42
996
@pikuma
pikuma.com
11 months
Beautiful images of the Eclipse from earlier today.
Tweet media one
44
75
987
@pikuma
pikuma.com
4 months
By the way, this is really not one of those "My friend did something" stories. I would definitely say if it was me. I also remember he spent the entire night recreating the original AUTOEXEC.BAT content by hand! 😂 Lessons were learned.
4
4
958
@pikuma
pikuma.com
1 year
This would not happen if you use quaternions.
Tweet media one
@BrianRoemmele
Brian Roemmele
1 year
The over engineered backyard grill.
512
4K
21K
18
96
950
@pikuma
pikuma.com
3 months
Everyday we stray further from God's light
Tweet media one
62
50
911
@pikuma
pikuma.com
5 months
"I wish someone made a cozy JavaScript transpiler to PS1 tool." That poor kid. 😔
Tweet media one
14
10
906
@pikuma
pikuma.com
4 months
@viderotulo Música, senso de limpeza, e sim... dentistas.
16
3
891
@pikuma
pikuma.com
1 month
One of my favorite quotes ever.
@arithmoquine
henry
1 month
Tweet media one
19
521
5K
10
72
874
@pikuma
pikuma.com
1 year
Finally, a linear algebra book for #Direct3D programmers.
Tweet media one
15
67
861
@pikuma
pikuma.com
1 year
10 JavaScript/TypeScript features I avoid: let var const if else switch for while true false They’re not always a problem. But, they’re overused, and can often be replaced by better alternatives. LDA LDX LDY BNE BMI BPL JMP STA STY STX ADC SBC CMP CPY CPX AND ORA JSR RTS
24
69
817
@pikuma
pikuma.com
1 month
The Effect of CRTs on Pixel Art: On Cathode Ray Tubes, nostalgia and anachronisms. 🔗
Tweet media one
25
102
814
@pikuma
pikuma.com
11 months
+-------------------+ | Normalize vectors | +-------------------+ \ (•◡•) / \ / —— | | _| |_
@GithubProjects
GitHub Projects Community
11 months
| ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄ ̄| | Normalize sponsoring | | open-source projects! | |___________| \ (•◡•) / \ / —— | | _| |_
17
249
2K
17
46
797
@pikuma
pikuma.com
2 years
"The sum of the first n odd natural numbers is n²."
5
99
779
@pikuma
pikuma.com
6 months
Our school is giving away a copy of K&R's The C Programming Language. To enter the draw, simply add a reply to this tweet with your favorite 32-bit number. Make C great again!
Tweet media one
449
66
757
@pikuma
pikuma.com
1 year
"Mood" after I read anything on LinkedIn:
@nice_byte
nicebyte
1 year
linkedin is truly remarkable. every single post in my feed there is like a cringe-bomb precision-engineered to make one recoil in disgust. i don’t think i have ever seen anything normal or human there. there are 4chan boards that look sane in comparison.
18
176
1K
9
89
734
@pikuma
pikuma.com
1 year
That's a pretty generic cup.
Tweet media one
14
64
705
@pikuma
pikuma.com
1 year
Today is the official birthday of the @LuaLang . 💙🇧🇷 Our beloved language is now 30 years young! 🔗 What about you?... Have *you* ever coded in Lua? 🙂
Tweet media one
58
95
693
@pikuma
pikuma.com
2 years
Never forget what they took from you!!!
Tweet media one
30
60
693
@pikuma
pikuma.com
6 months
Historically, #C was not always the default language for writing operating systems. There is a rich tradition of operating systems written in #Pascal , with the probably best-known example being classical Mac OS (not to be confused with macOS, that is written in Objective C). Up
Tweet media one
57
92
694
@pikuma
pikuma.com
1 year
This student testimonial made my day! ❤️ You can find the ethos of our school if you read between the lines.
7
38
689
@pikuma
pikuma.com
1 year
Tweet media one
13
70
672
@pikuma
pikuma.com
3 years
I've been listening to @3blue1brown 's podcast lately, and there's one common factor in every answer to the "what made you choose math" question. It goes something like this: "There was this teacher..."
17
59
664
@pikuma
pikuma.com
1 year
I am (un)happy to say that it was easier to find a triangle using assembly language than with a modern graphics API. 🙃
27
35
665
@pikuma
pikuma.com
5 months
Exactly. Do it now! Better late than... even more late.
@rcx86
Mr. Rc
5 months
Regret: Should have read this book earlier
Tweet media one
120
575
8K
17
43
663
@pikuma
pikuma.com
4 months
As always, game programming is just an excuse to teach math. 💛
Tweet media one
12
44
652
@pikuma
pikuma.com
3 years
K.I.A.
15
85
641
@pikuma
pikuma.com
2 years
It's fun to see the things that we learn in our courses being used in real games. #Gouraud shading was used in many popular games, including lots of #Nintendo4 and #PS1 titles, but I only really learned about it many years after. Here is how Gouraud shading works… 🧵
4
91
627
@pikuma
pikuma.com
1 year
We mostly speak about polygon-based graphics in our 3D rendering course, but we must remember that there were different graphics techniques used by some early 3D engines. One example is Andrew Spencer's game #Ecstatica , which rendered characters using ellipsoid primitives!
23
65
615
@pikuma
pikuma.com
3 months
@timgill924 I am so sorry this happened to you. 😔
3
1
611
@pikuma
pikuma.com
9 months
JavaScript
@OngDevLab
Ong
9 months
What’s the funniest programming joke or meme you have witnessed so far?
14
1
27
15
69
595
@pikuma
pikuma.com
1 year
"BRR: A new line drawing method for the cycle savvy" 🔗
13
88
605
@pikuma
pikuma.com
3 months
My #PlayStation programming students earlier this week:
Tweet media one
@TheJackForge
Jack Forge
3 months
We should just go back to this.
Tweet media one
774
430
7K
8
24
594
@pikuma
pikuma.com
2 years
The #NES Programming course is out!!! I'm super happy with this one! The #Nintendinho was my first #console ever, so I put a lot of love into this course. Let's learn #NES 6502 #programming together. ♥️ No ego, no gimmicks. LINK: See you inside!😉
31
130
593
@pikuma
pikuma.com
1 year
Learn to create a rigid-body Physics Engine from scratch with C++! • Particle physics • Numerical integrators • Linear & angular movement • Gravity, friction, springs • Impulse & momentum • Rigid-bodies • Collision detection & resolution • Constraints • etc.
9
46
570
@pikuma
pikuma.com
3 months
The Microsoft Calculator buttons being *one* pixel off... 😠
Tweet media one
14
25
547
@pikuma
pikuma.com
4 months
The state in Brazil where I grew up is now under water. Everything I knew, the friends I had, the houses I lived, the animals I loved, even the waterfall I hiked by... gone. Everything you know & work hard for can crumble down in a matter of seconds. It's been a tough week. 😔
29
35
520
@pikuma
pikuma.com
1 year
Lord Kelvin described this pattern based on his observations and a rough interpretation of the physics involved. But nowadays we are studying other elements that come into play and can cause small differences based on the object's speed. Physicists have used satellite images and
5
8
508
@pikuma
pikuma.com
3 months
Everyone can smell this type of behavior. If you think otherwise you are just playing yourself. You don't do networking by going to conferences, looking at people's badges, and trying to mingle with high-profile names expecting them to add you to their list of trustees. That's
@timgill924
Tim Gill
3 months
Grad Students: Networking is critical for success in academia. But the real question is WHO to network with. I’ve known grad students who will spend time at conferences drinking beers in the bars with grad students from unranked programs. Is that 1/
282
110
2K
19
30
509
@pikuma
pikuma.com
1 year
Tweet media one
17
52
481
@pikuma
pikuma.com
2 years
@victor_calazans Aqui onde eu moro tem um momento do dia que parece que eu preciso clicar pro vídeo da vida começar...
Tweet media one
9
8
481
@pikuma
pikuma.com
1 year
Here's a super quick trick that can help you generate a random-looking grid maze for your raycasting project: 1.) First, generate the map borders (walls around the entire perimeter): ⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️⬛️ ⬛️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬛️ ⬛️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬛️ ⬛️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬛️ ⬛️⬜️⬜️⬜️⬜️⬜️⬜️⬜️⬛️
@pikuma
pikuma.com
1 year
Most projects that we code at @pikuma are an excuse to review some cool math. The raycasting course is probably the most beginner-friendly of them when it comes to reviewing the basics of trigonometry. It's also a great introduction to some fundamental ideas of 3D graphics.
5
7
142
10
52
489
@pikuma
pikuma.com
3 months
This month's book *giveaway* is Peter Van Der Linden's "Expert C Programming: Deep Secrets." [Retweet this post to enter the draw] 🙂
Tweet media one
30
395
472
@pikuma
pikuma.com
6 months
A complete immersion into the world of NES programming! 🔗 We'll learn 6502 assembler together & explore the sparks that make computers tick. The NES rudimentary hardware is a perfect sandbox for us to learn important low-level programming topics. 😉
10
76
463
@pikuma
pikuma.com
3 months
5
63
455
@pikuma
pikuma.com
7 months
I always find it funny how most people telling beginners "don't learn C, just start with C++" or "C is unsafe, just use Rust" are the ones who know C well enough and use that knowledge daily to escape the quicksand when things turn south in a modern language.
26
31
444
@pikuma
pikuma.com
1 year
In this course, you'll learn how a 3D software renderer works by coding a complete 3D rasterizer from scratch in C. • math review • wireframe • flat-shaded polygons • texture mapping • loading OBJ files • camera • clipping • etc. Enroll now: 🔗
7
48
444
@pikuma
pikuma.com
1 month
"One of the reasons programming was fun in the old days was that you were really building it all yourself."
@zxprojects
Miguel A. Rodríguez-Jódar / mcleod_ideafix
1 month
This. In a loop. Agree to 200% (English audio, spanish subs). And no other than Brian Kernighan
14
82
333
13
44
449
@pikuma
pikuma.com
6 months
Ship it
@Zanfa
Zanfa
6 months
Meu pastor alemão não tá puro não
1K
29K
208K
7
27
443
@pikuma
pikuma.com
1 year
Back in 1995, @idSoftware decided to get a #Cray Supercomputer to develop #Quake . They wanted all devs working inside *one* powerful machine. Cray accepted to sell id a 6400 for half-price ($500k), given that they added a Cray computer to one of the levels of the game... 🧵
2
53
440
@pikuma
pikuma.com
3 months
I'm moving stuff around and I forget how heavy books are! I have a lot of books and what you see here is probably just ⅓ of them. "So, Gustavo... if you like to read so much, why don't you write a book instead of recording lectures?" Look, I'm sure it would be a lot easier to
Tweet media one
38
23
429
@pikuma
pikuma.com
9 months
I'll probably lose half of my followers... but he's right. 😬
@davidfowl
David Fowler
9 months
Visual studio is by far the best IDE on the market.
413
142
2K
64
11
428
@pikuma
pikuma.com
8 months
RetrOS-32 A 32-bit hobby operating system with graphics, multitasking and networking on i386 architecture. 🔗
Tweet media one
12
53
421
@pikuma
pikuma.com
1 year
Also, here's a quick derivation of how we find the 19.47 degree angle: .
5
19
405
@pikuma
pikuma.com
5 months
I am adding cheat sheets to all the courses that are based on assembler. That means MIPS for the #PlayStation and 6502 for both #NES & #Atari2600 . The ISA I'm including is simplified, but it's enough to help with the exercises. Fingers crossed that one day we can add the 68000
Tweet media one
8
34
407
@pikuma
pikuma.com
3 months
Lots of people saying either that this works because malloc uses 16, 32, 64 etc. memory blocks, or because malloc allocates an amount of memory blocks that is equal or greater than the requested amount... Where is your God now?
Tweet media one
@pikuma
pikuma.com
3 months
Well, well, well. How the turntables.
Tweet media one
44
19
385
73
21
393
@pikuma
pikuma.com
2 months
A nice one-liner that shows how useful a bitwise & can be. Enabling a night mode effect an be done by simply masking the original color to only filter the green channel. color &= 0xFF00FF00;
Tweet media one
Tweet media two
6
23
390
@pikuma
pikuma.com
3 months
Well, well, well. How the turntables.
Tweet media one
44
19
385
@pikuma
pikuma.com
6 months
"After 25+ years in the VFX industry on big Hollywood & Bollywood projects, I cannot begin to express how amazing it is to render my own spinning cube. I stare bewildered and in awe of my simple creation. Thank you!" ❤️
4
14
385
@pikuma
pikuma.com
11 months
This is what peak 3D rendering looks like.
21
21
379