Wail ☕ (@wailcsx) header
Wail ☕ (@wailcsx) profile picture

Lost in my thoughts.

Joined April 2010
Photo by Wail ☕ (@wailcsx)Photo by Wail ☕ (@wailcsx)Photo by Wail ☕ (@wailcsx)Photo by Wail ☕ (@wailcsx)Photo by Wail ☕ (@wailcsx)Photo by Wail ☕ (@wailcsx)Photo by Wail ☕ (@wailcsx)Photo by Wail ☕ (@wailcsx)Photo by Wail ☕ (@wailcsx)Photo by Wail ☕ (@wailcsx)
Wail ☕ retweeted
How did people even learn to code when there was no docs, no YouTube… nothing? Genuinely curious.
4,541
215
469
9,337
1,766,774
Wail ☕ retweeted
7 Years, 8 Books, 1 Launch. A lot more to come! Launching the All-in-one interview prep. 7 years ago, I quit my last job at Twitter. I had no idea what to do next. For some random reason, I spent 1.5 years writing the first System Design Interview book.
17
60
429
90,499
Wail ☕ retweeted
Nobody reads books for programming. What's the purpose of these then ??
212
95
31
2,154
109,849
Coding in C Course for Beginners An excellent course for someone trying to learn C programming. It starts with a basic overview of the structure of a program and goes through details of things that make C a challenge including the preprocessor, how C stores things in the stack and in the heap, memory management, and, of course, pointers! Link: youtube.com/playlist?list=PL… Additionally, the below cheatsheet on C Programming will supplement this journey well. Link: github.com/mohitmishra786/am…
1
40
2
381
17,442
You: I code in C because I want to control exactly what the CPU does The CPU when you write if x { foo() } :
55
649
60
3,427
- write C code - execute it line by line - visualise memory and pointers
11
178
11
2,219
291,029
Wail ☕ retweeted
"Let's Build a Simple Database" SQLite is widely considered to be one of the best-written C codebases. This guide walks you through building a SQLite clone from scratch in C. Touches on storage, indexing,& query processing. A fantastic way to learn about databases & master C.
41
255
5
2,097
11,359,643
if you're a software engineer and can't find the bug here you are cooked
955
158
135
4,342
1,069,308
12 Must-Know Data Structures for Coding Interviews: 1. 𝐀𝐫𝐫𝐚𝐲𝐬 - A fixed-size collection of elements stored in contiguous memory. - Provides O(1) access based on index. 2. 𝐌𝐚𝐭𝐫𝐢𝐱 (2𝐃 𝐀𝐫𝐫𝐚𝐲) - A multi-dimensional array used for representing grids, graphs, and dynamic programming problems. 3. 𝐋𝐢𝐧𝐤𝐞𝐝 𝐋𝐢𝐬𝐭 - A dynamic data structure where elements (nodes) are linked via pointers. - Types: Singly Linked List, Doubly Linked List, Circular Linked List. 4. 𝐒𝐭𝐚𝐜𝐤 - A Last-In-First-Out (LIFO) data structure where the element added last is the first one to be removed. - Supports push, pop, and peek operations in O(1) time. 5. 𝐐𝐮𝐞𝐮𝐞 - A First-In-First-Out (FIFO) data structure. - Allows inserting at the back (enqueue) and removing from the front (dequeue) in O(1) time. - Used to process elements in the same order as they are added. 6. 𝐇𝐚𝐬𝐡𝐌𝐚𝐩 - A key-value data structure that uses a hash function for fast lookups. - Provides O(1) average-time insert/delete/search, O(N) (Worst-case due to collisions) 7. 𝐓𝐫𝐞𝐞 - A hierarchical data structure with a root node and child nodes. - Types: Binary Tree, N-ary Tree, AVL Tree, Red-Black Tree. 8. 𝐁𝐢𝐧𝐚𝐫𝐲 𝐒𝐞𝐚𝐫𝐜𝐡 𝐓𝐫𝐞𝐞 (𝐁𝐒𝐓) - A special tree where the left child < root < right child. - Enables O(log N) search, insert, and delete in balanced BSTs. 9. 𝐇𝐞𝐚𝐩 (𝐏𝐫𝐢𝐨𝐫𝐢𝐭𝐲 𝐐𝐮𝐞𝐮𝐞) - A binary tree-based structure where the parent is always greater (max heap) or smaller (min heap) than its children. - Provides O(log N) insert/delete and O(1) get min/max. 10. 𝐓𝐫𝐢𝐞 - A tree structure used for fast string searches. - Provides O(M) insert/search/delete, where M is the string length. 11. 𝐆𝐫𝐚𝐩𝐡 - A collection of nodes (vertices) connected by edges. - Represented using an Adjacency List (efficient) or Adjacency Matrix. - Types: Directed, Undirected, Weighted, Unweighted. 12. 𝐔𝐧𝐢𝐨𝐧-𝐅𝐢𝐧𝐝 (𝐃𝐢𝐬𝐣𝐨𝐢𝐧𝐭 𝐒𝐞𝐭) - A data structure used for efficiently handling dynamic connectivity. - Supports Union(x, y) and Find(x) in nearly O(1) time (with path compression). - Useful in detecting cycles and finding connected components in a graph. If you want to master these topics, checkout the practice section at algomaster.io where you can learn these topics in detail and practice problems related to them.
8
368
4
1,885
95,819
Wail ☕ retweeted
Explaining 8 Popular Network Protocols in 1 Diagram.
4
118
3
708
86,379
SSL vs TLS — what’s the difference? SSL (Secure Sockets Layer) and TLS (Transport Layer Security) are cryptographic protocols designed to provide secure communication over a network. TLS is the successor to SSL and has addressed the vulnerabilities present in SSL. To understand the differences, let’s walk through the workflow of how data is sent using these protocols: 1) Initiating communication SSL & TLS: Before data can be sent, a connection must first be established. Both protocols work very similarly at this stage. The client and server establish a connection, usually on port 443 for web traffic (default port for HTTPS). 2) ClientHello & ServerHello messages After establishing a connection, the client and server need to agree on security settings. SSL: The client sends a list of supported cipher suites, and other settings. The server then sends a response selecting the SSL version, cipher suites, and other settings. TLS: Along with supported cipher suites, and other settings, the client can also send "key share" for Diffie-Hellman (DH) or Elliptic Curve Diffie-Hellman (ECDH) (if supported). The server then sends a response selecting the TLS version, cipher suites, & other settings. 3) Server certificate SSL & TLS: After the “ClientHello” and “ServerHello” messages have been communicated, the server sends its digital certificate to the client. 4) Key exchange At this phase, the protocols significantly differ. SSL: Predominantly uses RSA for key exchange. TLS: Uses other mechanisms like DH and ECDH. 5) Client Certificate (optional) SSL & TLS: After keys have been exchanged, the server can request a client certificate if it must validate the client's identity. 6) Client and Server Finished messages SSL & TLS: Once the authentication phase is complete, “Finished” messages are sent. The only difference between the protocols here is that the cryptographic computations behind the message can differ. 7) Encrypted Data Transfer The connection has been established, settings agreed upon, & authentication has been completed—data transfer can finally begin. SSL: Uses older encryption algorithms, some of which are vulnerable. TLS: Uses updated & more robust encryption algorithms. 8) Termination SSL & TLS: After the data transfer has been completed, alert messages can be sent by the client & server to terminate the connection. Whilst SSL and TLS protocols have many similarities, TLS has overcome the vulnerabilities that came with SSL. The refined digital handshake, key exchange mechanisms, & cryptographic methods used in TLS have led to more robust encryption, enhanced security, & better extensibility.
20
295
2
1,242
124,962
SWE-RL from @AIatMeta is a implementation using Reinforcement Learning (GRPO) combined with data evolution and rule-based rewards to solve real-world software issues and fix bugs. SWE-RL achieves state-of-the-art performance among medium-sized models. Implementation 1️⃣ Collect merged GitHub pull requests via GHArchive and git clones, filter bot/noisy PRs, predict relevant unmodified files using LLMs (e.g., Llama 3), and aggregate code snapshots + issue contexts. 2️⃣ Extract high-quality PRs with linked issues, code contexts (modified + predicted files), and oracle patches. Format prompts with issue descriptions + full file contents for reasoning. 3️⃣ Create Rule-based Reward Function using difflib.SequenceMatcher to compute similarity (0–1) between sequences; penalize formatting errors (−1). 4️⃣ Train Llama 3.1 with Group Relative Policy Optimization (GRPO) to maximize rewards. 4️⃣ Implement “Agentless” Mini for evaluation. Focus on file-level localization and uses multiple reproduction tests for reranking. Insights 🧠 Meta started to adopt GRPO for post-training and experienced “aha moments”. 📈 Compares two sequences predicted vs. oracle patches for rewards. 🚀 Llama3-SWE-RL-70B achieves 41.0% on SWE-bench Verified. 📚 RL improves general reasoning skills, leading to better performance on out-of-domain tasks. ⚙️  Agentless Mini simplified pipeline for evaluation, focusing on code editing. 🤗 Models and dataset not (yet) released, will be discussed internally.
4
54
6
324
60,409
Can LLMs earn $1 Million from software engineering? SWE-Lancer is a new Benchmark from @OpenAI that test if LLMs can do freelance tasks from Upwork valued at $1 million USD total in realworld payouts. SWE-Lancer includes independent engineering tasks (IC) from $50 bug fixes to $32,000 feature implementations and management tasks (SWE Manager) to review multiple proposals. Benchmark Creation: 1️⃣ Gathered 1,488 Upwork tasks created by Expensify, categorized into 764 IC tasks ($414,775) and 724 Management tasks ($585,225). 2️⃣ 100+ professional engineers reviewed tasks, high-value tasks ($5K+) validated by 10 experienced engineers and verified task clarity, specificity, and executability. 3️⃣ Develop end-to-end tests using Playwright for each IC SWE task, simulating user interactions. 4️⃣ For SWE Manager solutions, original best proposal as the correct answer, next to atleast 1 other proposal. 5️⃣ Created public Diamond dataset ($500,800 subset) and maintain private holdout set to prevent contamination. Insights 💰 Best model (Claude 3.5 Sonnet) achieves 26.2% pass rate on IC tasks and 44.9% on management tasks ⇒ total earning $403K. 🔄 Models perform better at selecting solutions (management) than implementing fixes (coding) 🚀 Scaling Infernece-Time compute improves performance of o1 from 9.3% to 16.5% 🛠️ Upwork task complexity: 26 days to resolve, 47 comments, 69 lines of code changes 📊 Task distribution: 74% Application Logic, 17% UI/UX, majority are bug fixes 🎯 Models are can identify the issue but struggle with root cause and complex, multi-component solutions.
13
45
7
281
26,073
If you are a web3 developer looking for job, I have already written tutorials on building 3 real world full stack web3 applications for your portfolio - decentralized youtube clone - decentralized tiktok clone - event app that you can buy NFTs with credit card links below
4
7
1
77
6,708
Free Full Stack Certifications Courses to try in 2024: 🔸Python freecodecamp.org/learn/scien… developers.google.com/edu/py… 🔸JavaScript hackerrank.com/skills-verifi… learn.microsoft.com/training… 🔸SQL hackerrank.com/skills-verifi… online.stanford.edu/courses/… 🔸Data Science mylearn.oracle.com/ou/learni… cognitiveclass.ai/courses/da… 🔸HTML, CSS freecodecamp.org/learn/2022/… cs50.harvard.edu/web/ 🔸DevOps mylearn.oracle.com/ou/learni… 🔸Machine Learning freecodecamp.org/learn/machi… developers.google.com/machin… 🔸Java data-flair.training/courses/… learn.microsoft.com/shows/ja… 🔸Neo4j graphacademy.neo4j.com/cours… 🔸React hackerrank.com/skills-verifi… 🔸Angular hackerrank.com/skills-verifi… 🔸C# learn.microsoft.com/users/do… hackerrank.com/skills-verifi… 🔸Go hackerrank.com/skills-verifi… 🔸Security mylearn.oracle.com/ou/learni… 🔸Backend (API Dev) freecodecamp.org/learn/back-… 🔸Software Engineering techdevguide.withgoogle.com/… 🔸DSA techdevguide.withgoogle.com/… 🔸OS, Networking ocw.mit.edu/courses/6-033-co… 🔸Interview Prep (FAANG) techdevguide.withgoogle.com/… 🔸Meta Back-End Developer Professional Certificate imp.i384100.net/WqrGoX 🔸Become Full Stack Developer mygreatlearning.com/academy/… 🔸Full-Stack Development 101: What is Full-Stack Development ? simplilearn.com/learn-full-s… 🔸Full Stack Website Development : Technologies All in One udemy.com/course/full-stack-… 🔸Build a Quiz App with HTML, CSS, and JavaScript udemy.com/course/build-a-qui… 📍Introduction to Front End Development simplilearn.com/front-end-de… 📍Foundations of Front-End Web Development udemy.com/course/foundations… 📍Learn HTML & CSS From Scratch! The Beginners Guide udemy.com/course/learn-html-… 📍Meta Front-End Developer Professional Certificate imp.i384100.net/21q32O 📍IBM Front-End Developer Professional Certificate imp.i384100.net/baze5x 📍Programming with JavaScript imp.i384100.net/oq3WV9 📍Master the Basics of HTML5 & CSS3: Beginner Web Development udemy.com/course/master-the-… 📍Web Designing Certification by University of Michigan (Coursera) imp.i384100.net/EKXj24 Follow @manishkumar_dev for free resources.
32
161
1
594
44,532
A Roadmap for Full-Stack Development. A full-stack developer needs to be proficient in a wide range of technologies and tools across different areas of software development. Here’s a comprehensive look at the technical stacks required for a full-stack developer. 🔹 1. Frontend Development Frontend development involves creating the user interface and user experience of a web application. 🔹 2. Backend Development Backend development involves managing the server-side logic, databases, and integration of various services. 🔹 3. Database Development Database development involves managing data storage, retrieval, and manipulation. 🔹 4. Mobile Development Mobile development involves creating applications for mobile devices. 🔹 5. Cloud Computing Cloud computing involves deploying and managing applications on cloud platforms. 🔹 6. UI/UX Design UI/UX design involves designing the user interface and experience of applications. 🔹 7. Infrastructure and DevOps Infrastructure and DevOps involve managing the infrastructure, deployment, and continuous integration/continuous delivery (CI/CD) of applications.
11
114
8
560
79,632
Wail ☕ retweeted
/1 How do you become a full-stack developer? The diagram shows a simplified possible full-stack tech stack. Full stack development involves developing and managing all layers of a software application, from user interfaces to storage.
12
179
4
687
111,076
Wail ☕ retweeted
rate my collection
323
230
48
4,372
205,451
Step-by-step DSA Roadmap
5
24
5,997
"Introduction to Vectors and Tensors" Access this classic book for absolutely FREE.
20
134
3
1,119
74,856