Four (@FourierFlow) header
Four (@FourierFlow) profile picture

CS. AI. building cool things. Dominating 2026. If you like CS let's connect! I'll follow back

everywhere
Joined January 2021
Photo by Four (@FourierFlow)Photo by Four (@FourierFlow)Photo by Four (@FourierFlow)Photo by Four (@FourierFlow)Photo by Four (@FourierFlow)Photo by Four (@FourierFlow)Photo by Four (@FourierFlow)Photo by Four (@FourierFlow)Photo by Four (@FourierFlow)Photo by Four (@FourierFlow)
Four retweeted
189
5,824
390
87,505
1,854,358
Congrats to Aime!! He said his left forearm is basically broken πŸ˜‚ Final scores: β†’ F.03: 12,732 packages (2.83 seconds/package) β†’ Aime: 12,924 packages (2.79 seconds/package) This is the last time a human will ever win
783
871
365
18,494
4,495,331
Four retweeted
Tech Twitter is fun, but it is even better when you connect with others. If you are interested in any of the following, let's #CONNECT! πŸ§‘β€πŸ’» Webdev 🧠 AI/ML 🧱 Hackathons πŸ“Š Data Science πŸ” Cybersecurity πŸ§‘β€πŸ’» Leetcode or ANYTHING with tech. #BuildInPublic #Coding
53
1
32
1,171
Four retweeted
Following back in waves currently. Don’t worry I’ll get to everyone!
1
3
58
Four retweeted
Tech Twitter is fun, but it is even better when you connect with others. If you are interested in any of the following, let's #CONNECT! πŸ§‘β€πŸ’» Webdev 🧠 AI/ML 🧱 Hackathons πŸ“Š Data Science πŸ” Cybersecurity πŸ§‘β€πŸ’» Leetcode 🎁 Startups or ANYTHING else with tech. #BuildInPublic
53
1
33
796
Four retweeted
Tech Twitter is fun, but it is even better when you connect with others. If you are interested in any of the following, let's #CONNECT! πŸ§‘β€πŸ’» Webdev 🧠 AI/ML 🧱 Hackathons πŸ“Š Data Science πŸ” Cybersecurity πŸ§‘β€πŸ’» Leetcode or ANYTHING else with tech. #BuildInPublic
116
2
89
3,026
Dynamic Binary instrumentation (DBI) is where you insert code directly into a binary and see what happens. Its a less known aspect of dynamic reverse engineering and theres a free cli tool called frida used to do DBI It hooks on to APIs and functions to let you read and alter function arguments.
3
9
5,535
k is literally a bias-variance dial. Too small: model memorizes individual points and is sensitive to noise. Too large: predicts the majority class for everything. In the graph you can see how f1 falls off a cliff after k reaches around ~150. Best k for this problem was 5, hitting F1-macro of 0.9752. (97.52%). Next last is to use k=5 and train using the entire dataset.
The naive way to implement kNN is by using a nested loop to calculate the distance between every test point and every training point. But thats too slow. NumPy lets you do it in one line. Instead of looping, it broadcasts the subtraction and computes every pairwise distance simultaneously. Sum, take the square root, and you have the full distance matrix in one shot. The argsort sorts by distance, take the top k labels and majority vote is determined by checking if the sum exceeds k/2. boom.
1
1
1
4
455
The naive way to implement kNN is by using a nested loop to calculate the distance between every test point and every training point. But thats too slow. NumPy lets you do it in one line. Instead of looping, it broadcasts the subtraction and computes every pairwise distance simultaneously. Sum, take the square root, and you have the full distance matrix in one shot. The argsort sorts by distance, take the top k labels and majority vote is determined by checking if the sum exceeds k/2. boom.
Before implementing kNN itself, you have to prepare your dataset by splitting it into 80% training and 20% testing. The way you do that is by generating a random permutation and then using .iloc() to select rows based on numeric positions. There's still a problem: kNN measures the distances between points, but this dataset has features that vary widely on scale. For example, the "area" feature ranges up to 4000, while "fractal dimension" sits between 0.05 and 0.2. Without scaling, "area" completely dominates the distance calculation and the other 29 features may as well not exist. This why you need to calculate the z-score of each point of every feature to make sure all features have a mean of 0 and standard deviation of 1.
1
1
1
4
741
Before implementing kNN itself, you have to prepare your dataset by splitting it into 80% training and 20% testing. The way you do that is by generating a random permutation and then using .iloc() to select rows based on numeric positions. There's still a problem: kNN measures the distances between points, but this dataset has features that vary widely on scale. For example, the "area" feature ranges up to 4000, while "fractal dimension" sits between 0.05 and 0.2. Without scaling, "area" completely dominates the distance calculation and the other 29 features may as well not exist. This why you need to calculate the z-score of each point of every feature to make sure all features have a mean of 0 and standard deviation of 1.
k-Nearest Neighbors Algorithm Steps: Step 0 - Standardize all features by computing mean and standard deviation from training data. Then transform training and test data. Step 1- For each test point, compute distance to every training point Step 2 - Sort all distances from least to greatest. Take k smallest ones. Step 3 - Take a majority vote of their labels. Whichever class appears most among those k neighbors is the prediction.
2
1
1
3
703
Four retweeted
Tech Twitter is fun, but it is even better when you connect with others. If you are interested in any of the following, let's #CONNECT! πŸ§‘β€πŸ’» Webdev 🧠 AI/ML 🧱 Hackathons πŸ“Š Data Science πŸ” Cybersecurity πŸ§‘β€πŸ’» Leetcode or ANYTHING else with tech.
46
2
36
993
Four retweeted
Tech Twitter is fun, but it is even better when you connect with like-minded people. If you are interested in any of the following, let's #CONNECT! πŸ§‘β€πŸ’» DevOps 🧠 AI/ML 🧱 App/Web Development πŸ“Š Data Science πŸ” Cybersecurity πŸ§‘β€πŸ’» Leetcode/DSA OR anything else with tech.
101
1
57
1,910
Four retweeted
Stop overreacting. Leetcode is not dead. Show me a better way to assess someone’s reasoning skills using AI in an hour long interview. I’ll wait
Leetcode is dead. Nobody writes code line by line anymore. Developers are orchestrating AI, debugging its output, catching when it goes wrong. We're building assessments that test fundamentals and AI fluency together. Not just memorized algorithms. Because that's the actual job now.
3
1
1
14
380
Four retweeted
Tech Twitter is fun, but it is even better when you connect with like-minded people. If you are interested in any of the following, let's #CONNECT! πŸ§‘β€πŸ’» DevOps 🧠 AI/ML 🧱 App/Web Development πŸ“Š Data Science πŸ” Cybersecurity πŸ§‘β€πŸ’» Leetcode/DSA
17
1
19
392
Four retweeted
I just saw a guy in the library coding today. 4 monitors. VS Code on one screen. YouTube and TikTok on another. ChatGPT and Gemini on another. And Claude code on the last. While listening to Spotify and scrolling on his phone. Legend.
1
6
158
Four retweeted
Everybody born after 2023 will NEVER be smarter than AI in their lives. Is that scary to you? There are only a few years until AI takes over. Time is ticking…
3
1
7
221
Four retweeted
Hopping on X was the best decision of my life. Seeing the tech community is so inspiring and it brings me joy knowing that everyone else is also cooked because of AI. Seriously, if you woke up tomorrow and AI took ALL cs jobs, what is your first move?
3
1
7
126
Four retweeted
Hey @X algorithm, I'm looking to #CONNECT with the people who are interested in: 🎨 Frontend πŸ’Ό Backend ✨ Full Stack πŸ§‘β€πŸ’» DevOps 🧠 AI/ML 🧱 App/Web Development πŸ“Š Data Science πŸ” Cybersecurity πŸ§‘β€πŸ’» Leetcode/DSA #BuildInPublic #LearnInPublic #365DaysOfCode
8
1
12
434
Four retweeted
Hi everyone and @X algorithm, I'm looking to #CONNECT with the people who are interested in: 🎨 Frontend πŸ’Ό Backend ✨ Full Stack πŸ§‘β€πŸ’» DevOps 🧠 AI/ML 🧱 App/Web Development πŸ“Š Data Science πŸ” Cybersecurity πŸ§‘β€πŸ’» Leetcode/DSA #BuildInPublic #LearnInPublic #365DaysOfCode
5
1
13
443
Four retweeted
Is it APPROPRIATE for a GROWN man to not use ARCH Linux? In my opinion, no. Using Windows or Mac OS shows that you need your hand held. As a grown man, you need to assert dominance. Using Arch shows that you are in control and don’t need another man to be in control.
5
1
1
12
699