Glitchbyte Profile Banner
Glitchbyte Profile
Glitchbyte

@0xglitchbyte

4,249
Followers
295
Following
357
Media
3,588
Statuses

Thinking to think.

Read my writings at:
Joined December 2021
Don't wanna be here? Send us removal request.
@0xglitchbyte
Glitchbyte
6 months
How hard can strings be? /s
Tweet media one
104
207
3K
@0xglitchbyte
Glitchbyte
4 months
Here's what you need to be cracked: - Calculus - Linear Algebra - Discrete Math - Statistics - C Sprinkle in some Computer Architecture and Operating Systems and you become super cracked
93
276
3K
@0xglitchbyte
Glitchbyte
6 months
> This is very different from most "best books for programmers" lists > these are books to read so that you can cut motherfuckers with knives
Tweet media one
35
219
2K
@0xglitchbyte
Glitchbyte
4 months
Omw to becoming cracked
Tweet media one
85
129
2K
@0xglitchbyte
Glitchbyte
6 months
I avoid OOP as much as possible nowadays I got carried away with it At first it seemed like a great idea, modeling code after real world objects to make sense of data After some time, I understood inheritance, polymorphism, etc., without an issue and embraced it fully I
Tweet media one
Tweet media two
Tweet media three
Tweet media four
102
213
2K
@0xglitchbyte
Glitchbyte
7 months
The price of peace
Tweet media one
32
200
2K
@0xglitchbyte
Glitchbyte
7 months
@KevinNaughtonJr You go to a restaurant and ask the waiter for food The chef makes the food, and the waiter comes back with the food The waiter is the API
40
69
2K
@0xglitchbyte
Glitchbyte
9 months
Tweet media one
8
152
2K
@0xglitchbyte
Glitchbyte
6 months
Hot take: Universities shouldnt teach tools like Git Universities are meant to challenge thinking, dive deep into concepts from first principles, and push academic boundaries They are not there to show you how to use Git or any other tool Professors can make students aware of
442
114
2K
@0xglitchbyte
Glitchbyte
6 months
Python the worst “first” programming language So many better choices: Pyret OCaml C C# Racket Lisp Go Even Rust would be better as a first
Tweet media one
449
65
1K
@0xglitchbyte
Glitchbyte
7 months
Big Daddy Jensen said “we shouldnt learn coding” Fuck it, we ball
Tweet media one
25
107
1K
@0xglitchbyte
Glitchbyte
8 months
“You dont need to learn C, I didnt” Anyone telling you that is limiting you in favor of their ego Most of the worlds software is in C/C++ Operating systems, browsers, game engines, your favorite programming language Is most likely written in C/C++ It certainly helps to
131
141
1K
@0xglitchbyte
Glitchbyte
7 months
“Dammit Devin, not again”
Tweet media one
17
44
943
@0xglitchbyte
Glitchbyte
4 months
You may have noticed that it only takes the most common Computer Science courses to become cracked Math: - Single/Multivariate Calculus - Linear Algebra - Discrete Math - Statistics Code-related: - C - Computer Architecture/Organization - Operating Systems - Data Structs/Algos
24
102
912
@0xglitchbyte
Glitchbyte
7 months
Python is harder to learn than C
Tweet media one
85
54
875
@0xglitchbyte
Glitchbyte
7 months
"AI is going to replace Software Engineers by writing better code!" The code:
Tweet media one
36
55
879
@0xglitchbyte
Glitchbyte
7 months
I’m convinced there is one book every programmer needs to read There is no reason any programmer should program on a magic black box Every programmer/software dev/engineer should understand what their programs do on the hardware they run it on That book? Computer Systems: A
Tweet media one
52
81
766
@0xglitchbyte
Glitchbyte
7 months
@ataiiam @yoheinakajima This is atrocious > but VERY few engineers out there could write it from scratch. Most engineers wouldnt write this, or allow anyone to commit it to a codebase
9
10
782
@0xglitchbyte
Glitchbyte
2 months
Memory management is ez pz
7
96
766
@0xglitchbyte
Glitchbyte
7 months
"C is too hard to learn for beginners" I disagree We dont give brand new learners enough credit This book is from 1980, when computers were the size of small rooms and personal computing was just starting to take off "How to build your own microcomputer" walks you through
Tweet media one
Tweet media two
Tweet media three
Tweet media four
54
79
704
@0xglitchbyte
Glitchbyte
7 months
Know how the computer works
Tweet media one
32
63
693
@0xglitchbyte
Glitchbyte
7 months
An alternative way to remember Big O Notation:
Tweet media one
10
112
671
@0xglitchbyte
Glitchbyte
10 months
@ZeForener As a self taught dev getting their CS degree: DSA, Operating Systems, Database Design, and Computer Architecture were my biggest gaps By understanding each of these more, Ive been able to solve problems quicker and more efficiently
10
18
643
@0xglitchbyte
Glitchbyte
7 months
I got a job for a long time, thanks Devin!
Tweet media one
10
46
630
@0xglitchbyte
Glitchbyte
2 months
Why are critical systems using Windows? Who thought that was a good idea?
Tweet media one
60
31
599
@0xglitchbyte
Glitchbyte
6 months
This book is the most comprehensive book on Rust After finishing The Book (the Rust Book), give “Programming Rust: Fast, Safe Systems Development” a read It goes in depth on the builtin features Rust has, as well as how and when to use them
Tweet media one
Tweet media two
15
51
475
@0xglitchbyte
Glitchbyte
7 months
"We dont need memory safety languages like Rust" You're wrong, we do "C/C++ is memory safe enough though. These problems are skill issues" Wrong again Most production code uses malloc() and free() Its the allocator that was given with C/C++, and its the one that most will
Tweet media one
@0xglitchbyte
Glitchbyte
7 months
Link to Whitehouse report:
0
0
11
64
66
475
@0xglitchbyte
Glitchbyte
6 months
I get a lot of pushback on the importance of learning C Especially since many say its "too hard" or "irrelevant" It sounds like gatekeeping There's two good reasons: 1. Most of computing we enjoy is either written in C or a C derivative Our operating systems, video games,
59
53
471
@0xglitchbyte
Glitchbyte
6 months
If youre looking for deep, interesting tech blogs, @eatonphil has a great list to start from Everything from distributed systems to systems programming is His own blog is a treasure trove of distributed systems, databases, and systems programming I've added every blog on this
Tweet media one
7
71
471
@0xglitchbyte
Glitchbyte
6 months
I find the best programmers can efficiently write programs in C It forces you to understand what youre actually writing, unlike Python/JS Its the difference between a coloring book and painting like Bob Ross
65
34
454
@0xglitchbyte
Glitchbyte
7 months
Web dev is way harder than C dev You have to learn: - HTML/CSS - Flexbox/CSSGrid - Javascript/Typescript - The DOM - One of 20 web frameworks - etc. At least with C you just get C and solve problems In Javascript youre stuck in dependency hell Ill take C everytime
108
19
449
@0xglitchbyte
Glitchbyte
6 months
C++ is going to be replaced by….C++?
Tweet media one
24
30
439
@0xglitchbyte
Glitchbyte
7 months
You know what I dont understand? How is web dev the most recommended starting point? Yeah, its visual and quickly interactive But so is game dev with Raylib Maybe webdev was the quickest way, but not anymore Learning game programming with C is a fantastic alternative
111
17
435
@0xglitchbyte
Glitchbyte
6 months
This book is interesting so far It goes over C in depth, way more than K&R Its been a few years since Ive done any real C programming I'm challenging my understanding of Rust being safer than C Is it possible C can be as safe, if not, safer than Rust? If so, how much safer?
Tweet media one
59
24
396
@0xglitchbyte
Glitchbyte
2 months
nvim vs vscode
Tweet media one
Tweet media two
18
33
386
@0xglitchbyte
Glitchbyte
7 months
You want to program in C or on the system level? Heres some great resources that have helped me You can find some of them free, others used for really cheap: Effective C by Robert Seacord The Linux Programming Handbook by Michael Kerrisk
Tweet media one
Tweet media two
Tweet media three
Tweet media four
14
33
363
@0xglitchbyte
Glitchbyte
6 months
You havent lived until youve experienced undefined behaviors
Tweet media one
18
22
345
@0xglitchbyte
Glitchbyte
6 months
This book was recommended to me awhile back and I finally got through it I found it simple, yet profound Data Structures and Algorithms are at the core of all programs If you struggle to put a program together, understand this: - Data is just heaps 1s and 0s, similar to
Tweet media one
Tweet media two
Tweet media three
Tweet media four
8
31
325
@0xglitchbyte
Glitchbyte
4 months
Rebranding "Linear Algebra" to "Artificial Intelligence" was one hell of marketing move
12
35
318
@0xglitchbyte
Glitchbyte
7 months
The biggest mistake I made as a beginner programmer: Focusing on frameworks and big projects Building a Django app did not teach me how to solve general problems Instead: - Learned data structures and algorithms in C - Understand computer architecture/operating systems at a
27
31
312
@0xglitchbyte
Glitchbyte
7 months
The average Computer Sceince degree costs $20,000 per year That means, by the time you graduate, you’re $80,000 in debt Or, you could spend less than $1000 and read these 7 legendary books on Computer Design, Operating Systems, Math, and Data Structures/Algorithms: 1.
Tweet media one
Tweet media two
Tweet media three
Tweet media four
24
30
305
@0xglitchbyte
Glitchbyte
7 months
This was recommended to me the other day, so I bought it and have been going over the material I can confidently say this is as solid as it gets It not only goes over C but the relation of C code to computer architecture
Tweet media one
4
34
293
@0xglitchbyte
Glitchbyte
7 months
Why start with C and Raylib over webdev? 1. The best programmers I know started with C 2. Raylib is a small lib that gets you a windows, graphics, audio, and tons more youll need for game dev without being a full blown engine 3. Game dev teaches you CS concepts the farther you
23
28
289
@0xglitchbyte
Glitchbyte
6 months
Youre not a developer if you dont build You might be stuck in tutorials, and the only way out is to build If you cant think of ideas, here's a good start:
14
41
266
@0xglitchbyte
Glitchbyte
4 months
You want to get cracked at anything? This is a great place to start It generates a course based on the topic you give it, returning YouTube videos The roadmap has a progression system and generated quizzes for self learning Its still in the early stages, but its already
Tweet media one
Tweet media two
@mAzam__
Azam
4 months
1. Go to 2. Sign up and Generate courses on all these topics, make your prompts as clear as possible for the best results. 3. Get cracked
4
5
47
6
37
262
@0xglitchbyte
Glitchbyte
4 months
@sudobunni Textbooks: Calculus by James Stewart Linear Algebra by Gilbert Strang Discrete Math and their Applications by Susanna Epp Organic Chemistry Tutor and 3Blue1Brown have great vids on these subjects too For C, “C Programming in Easy Steps” and “Dive into Systems” are fantastic
11
18
223
@0xglitchbyte
Glitchbyte
7 months
Learn C till you cant C no mo
Tweet media one
8
22
215
@0xglitchbyte
Glitchbyte
6 months
Whole new meaning to “exploratory” programming
Tweet media one
6
22
207
@0xglitchbyte
Glitchbyte
6 months
@yeedle What part of: git pull git add git commit git push challenges your thinking? When most are asking for Uni to teach git, this is what they mean Not talking about how Merkle Trees are used to keep track of files The latter Im all for
56
3
210
@0xglitchbyte
Glitchbyte
6 months
Skill issues
Tweet media one
1
14
205
@0xglitchbyte
Glitchbyte
6 months
This book goes deep into different vulnerabilities and bugs youd encounter in C codebases The idea is to not only git gud at C on a deeper level, but to see if modern tech and methods are necessary to fix these issues Or if skill alone is enough to mitigate these issues Were
Tweet media one
Tweet media two
7
24
198
@0xglitchbyte
Glitchbyte
8 months
Lets be clear Static, strongly typed languages are the future Type safety checked at compile time, not runtime, is king Microsoft, who created Typescript, knows it Every company that is moving to Rust, knows it Strong type safety + performance + fast iteration + ecosystem +
47
36
195
@0xglitchbyte
Glitchbyte
6 months
@jgndev Quality, real software is written by people who understand Computer Science though
17
1
181
@0xglitchbyte
Glitchbyte
7 months
Not that hard tbh
Tweet media one
@shiningmew2
Cristina 🦉
7 months
how would you reverse an array during an interview?
653
30
1K
16
8
176
@0xglitchbyte
Glitchbyte
7 months
I started programming a little over 10 years ago because I wanted to make video games At the time, I knew nothing about programming or the industry Now, I make over $100k a year programming for a living If I could go back and give myself advice, this is what I would say: 🧵👇
Tweet media one
4
17
177
@0xglitchbyte
Glitchbyte
8 months
"Rust wont save us" I saw an article about this today TL;DR: It was an analysis into the most abused vulnerabilities of 2023. While it explains Rust helps with memory issues, it didnt cover how Rust can help with Insecure Exposed Functions (IEF) or Web Path/Routing abuse I
Tweet media one
13
23
176
@0xglitchbyte
Glitchbyte
7 months
Alright, I fixed it
Tweet media one
16
10
171
@0xglitchbyte
Glitchbyte
4 months
Knowing math is how you get cracked
Tweet media one
6
15
170
@0xglitchbyte
Glitchbyte
7 months
Pointers are ezpz You use then all the time IRL Need milk? You go to the store to get some You look for the aisle labeled “milk” You go there Then you see a bunch of smaller signs on the fridge doors - cheese - eggs - milk You follow the sign to the door with milk You
Tweet media one
19
19
169
@0xglitchbyte
Glitchbyte
4 months
The most underrated skill in tech is thinking Programming is 80% thinking, 20% coding Learn to think well
9
29
167
@0xglitchbyte
Glitchbyte
6 months
Rust was a mistake
39
7
164
@0xglitchbyte
Glitchbyte
9 months
Based
Tweet media one
10
22
160
@0xglitchbyte
Glitchbyte
6 months
xz is the reason to roll your own everything
Tweet media one
19
13
158
@0xglitchbyte
Glitchbyte
6 months
You want to learn programming, but C is too daunting so you figure "Why not Python"? Go through this book "Data-Centric Intro to Computing" Its completely free It takes you through a simpler language called Pyret, and slowly transitions into Python Pyret is a language made
Tweet media one
Tweet media two
9
24
157
@0xglitchbyte
Glitchbyte
4 months
Theres something about retro tech thats aesthetically pleasing
Tweet media one
3
9
151
@0xglitchbyte
Glitchbyte
9 months
Learn Rust with Tests is now live! The first two chapters are up; next is "Hello World". Got the CI/CD up and running, as well as a domain. Need to set that up next Contributions are welcome and encouraged!
9
20
149
@0xglitchbyte
Glitchbyte
2 months
Yes, youre right, you should learn Rust
9
9
145
@0xglitchbyte
Glitchbyte
4 months
@mcneilly_alex Financially: contribute to a Roth IRA as quick as possible. Put money into the stock market. Put short term savings into a money market fund. Only use a credit card when you can pay it in full the next paycheck. Mentally: Read something that challenges you everyday. Practice
7
7
140
@0xglitchbyte
Glitchbyte
7 months
I use Neovim btw
Tweet media one
5
5
137
@0xglitchbyte
Glitchbyte
8 months
The more I research functional programming, the more I realize how messed up learning programming currently is Im beginning to believe imperative programming should only be done after you learn functional Last month I intended to release my notes in a post titled "Functional
25
9
139
@0xglitchbyte
Glitchbyte
7 months
AI bros are the new crypto bros
Tweet media one
14
28
129
@0xglitchbyte
Glitchbyte
9 months
I use Rust, btw
Tweet media one
7
9
130
@0xglitchbyte
Glitchbyte
7 months
Pointers are ezpz You use then all the time IRL Need milk? You go to the store to get some You look for the aisle labeled “milk” You go there Then you see a bunch of smaller signs on the fridge doors - cheese - eggs - milk You follow the sign to the door with milk You
Tweet media one
9
6
130
@0xglitchbyte
Glitchbyte
9 months
only 2 programming languages should exist OCaml for research and Rust for anything else everything other language is bloat
@spoonedher
LysanderSpoonedher
9 months
only 2 programming languages should exist python for research and C++ for anything else every other language is bloat
266
98
2K
21
10
129
@0xglitchbyte
Glitchbyte
7 months
I'd be dumb to not mention this gem "The Imposter's Handbook: A CS Primer for Self-Taught devs" by @robconery is a great place to start for those who want the fundamentals of a Computer Science degree It goes over: - Computation - Complexity and Big O - Data Structures -
Tweet media one
3
12
129
@0xglitchbyte
Glitchbyte
6 months
I hate Windows Registry Linux’s /etc, /var, and dot files are superior
17
0
127
@0xglitchbyte
Glitchbyte
11 months
@SergioRocks Big L take I've coded full blown projects on raspberry pis All a dev needs is: - Linux - vim/nvim - git - Dev toolchain for your language - A browser Macbooks arent required to dev, and arent a "strong heuristic". If compute is really limited, spin up an Azure VM and ssh into
5
5
124
@0xglitchbyte
Glitchbyte
2 months
Remember when the White House said "It would be a good idea to rewrite things in a mem safe language like Rust"? You wondered "Why do that?" or "Who cares?" Now we know
Tweet media one
8
12
123
@0xglitchbyte
Glitchbyte
6 months
Javascript sucks
19
6
120
@0xglitchbyte
Glitchbyte
7 months
Your skill issues have skill issues
Tweet media one
11
16
114
@0xglitchbyte
Glitchbyte
6 months
“How much do you spend on books?” The limit does not exist
Tweet media one
@0xglitchbyte How much do you spend in books? 👀
1
0
1
19
4
114
@0xglitchbyte
Glitchbyte
6 months
Getting out of tutorial hell is simple 1. Pick a language 2. Find something simple you want to build 3. Watch a tutorial on how to build it 4. Finish tutorial 5. Try building it without tutorial 6. Check results with finished tutorial 7. Repeat steps 4 through 6 till you get the
4
14
112
@0xglitchbyte
Glitchbyte
7 months
The most effective way to learn programming is to build Anything else is procrastination
9
9
112
@0xglitchbyte
Glitchbyte
7 months
@CowOpening @ThePrimeagen @Madisonkanna @cognition_labs Imagine having such an L take where you cant realize someone can improve and move passed their lows Couldnt be me I dont trust anyones take on AI with such an L
1
0
106
@0xglitchbyte
Glitchbyte
7 months
Tweet media one
6
11
101
@0xglitchbyte
Glitchbyte
7 months
@MelkeyDev Its no wonder
Tweet media one
5
7
103
@0xglitchbyte
Glitchbyte
8 months
You might be programming in the wrong language Let me explain I thrive with an instant feedback loop When I started learning Python, I had Jupyter and could test code block by block, tinkering with what worked and what didnt without *understanding* why it worked I had no
15
9
102
@0xglitchbyte
Glitchbyte
6 months
Ive been learning to code for 10 years In that time, I've made about every mistake you could make I've wanted to give up more times than I can count, frustrated and at my wits end My biggest mistake was never learning how to learn Hopefully, I can help you avoid that mistake
4
19
102
@0xglitchbyte
Glitchbyte
6 months
This book arrived today based on a recommendation for beginners Leafing through it, it seems to be simple to understand, but doesnt leave out the important parts The explanations are clear to understand and its chock full of great info Im recommending this to friends who want
Tweet media one
Tweet media two
Tweet media three
Tweet media four
9
12
103
@0xglitchbyte
Glitchbyte
4 months
You Stop scrolling Get off X Go build something you can be proud of
6
8
102
@0xglitchbyte
Glitchbyte
7 months
Want to make money in the short term? Learn Python and SQL Want to make money in the long term? Understand your fundamentals deeply and solve business problems
4
9
99
@0xglitchbyte
Glitchbyte
8 months
Programmers are artists I've noticed a strong correlation between a programmers ability to write code and their artistic inclinations The process in which on writes code is similar to an artistic process I wonder if there have been any studies on this?
26
5
96
@0xglitchbyte
Glitchbyte
11 months
@KevinNaughtonJr My wifi wasn't fast enough on my 150ft yacht
1
0
95
@0xglitchbyte
Glitchbyte
7 months
"Why do you need to know C if everyone's urging to move to memory safe languages?" At some point in your career, you will have to interface with C For example, I've been working on translating the Rust libc bindings to OCaml Even though theyre in Rust, I still have to know how
Tweet media one
4
4
95
@0xglitchbyte
Glitchbyte
7 months
Social media sucks As programmers, the single best thing you can do is have a blog or newsletter Your own little home on the internet A place where you write about what you've learned, insights you have, and things youre passionate about When you learn something and write the
Tweet media one
12
7
93
@0xglitchbyte
Glitchbyte
7 months
Blazingly 🔥 fast 🚀 memory vulnerabilities, written in 100% safe Rust. 🦀 Want to code vulnerabilities like you did in C, but Rust wont let you? Now you can! You can get the very safe memory corrupting: - Use after free - Buffer overflow - Segmentation fault Link to crate
8
18
91
@0xglitchbyte
Glitchbyte
6 months
Courtesy of Nick Black's dankwiki:
0
7
91
@0xglitchbyte
Glitchbyte
8 months
@VictorTaelin Enough to read circuit diagrams and fix them
4
0
90
@0xglitchbyte
Glitchbyte
8 months
Why will OCaml replace Python? Simple Because its better Dont believe me? Believe the guy that rewrote a 30k line of Python code -> OCaml The only thing Python has now is its ecosystem We’re working on that though
33
11
90
@0xglitchbyte
Glitchbyte
4 months
Python -> Prototype/build fake stuff C/C++/Rust/OCaml -> Build ackshual stuff
8
2
88