Vikash Kumar π¨βπ» ποΈβ€
@becodewala
Followers
82
Following
186
Media
275
Statuses
1K
Full Stack Developer π¨βπ»| YouTube (becodewala) π | Javascript π | Curiosity π§
Bengaluru
Joined December 2022
βFix: bumped vulnerable packages, ran tests, merged a single PR into master Dependency churn is relentless β one day everything works, next day dependency alerts blow up your inbox.
0
0
0
Ugh β spent half my day wrestling with yet another set of dependency CVEs in React Server Components. When will this stop? Quick reality check: βMultiple repos flagged βVulnerabilities: CVE-2025-55183 / CVE-2025-55184 (React Server Components / related)
1
0
0
Driving motorcycle in 14 degrees Celsius π₯Ά
0
0
0
Update on CVE-2025-66478 (React2Shell): An npm package has been released to scan and update affected Next.js apps. Use `npx fix-react2shell-next` to update to patched versions. All users should update as soon as possible. More details our blog: https://t.co/fjNfpv3huI
nextjs.org
A critical vulnerability (CVE-2025-66478) has been identified in the React Server Components protocol. Users should upgrade to patched versions immediately.
46
349
2K
refining code and upgrade and improve code quality
0
0
2
#sql A natural key comes from real business data. β Examples: Email Aadhaar number Phone number SSN β Example: email VARCHAR(100) PRIMARY KEY
0
0
5
A surrogate key is an artificial key created by the system (not from business data). β Examples: AUTO_INCREMENT (MySQL) SERIAL (PostgreSQL) Identity column (SQL Server) UUID β Example: student_id INT AUTO_INCREMENT PRIMARY KEY When to use? When no natural unique field exists
0
0
5
#sql Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity. β Goals of normalization: Remove duplicate data Break large tables into smaller ones Maintain relationships using keys Ensure data consistency
0
0
1
SQL Injection is a hacking technique where attackers insert malicious SQL into input fields to manipulate the database. β Example of Vulnerable Query: SELECT * FROM users WHERE username = ' " + userInput + " '; If attacker enters: ' OR '1'='1 Then return all users
0
0
1
#SQL π¨βπ»A clustered index determines the physical order of data in a table. β Key Points: Only one clustered index per table Data is stored in sorted order Primary key is often clustered Example (SQL Server): CREATE CLUSTERED INDEX idx_id ON students(id);
0
0
1
An index is a data structure that improves the speed of SELECT queries. Works like an index of a bookβhelps find data faster. β Example: CREATE INDEX idx_email ON users(email);
0
0
0
#SQL π¨βπ»A trigger is an automatic action that runs when a specific event happens (INSERT, UPDATE, DELETE). Used for: Logging Validation Automatic updates β Example: Automatically add timestamp when a row is inserted:
0
0
2
π¨βπ»Difference between stored procedure and function?
0
0
1
π¨βπ»A function takes input, performs operations, and returns a value. β Example: CREATE FUNCTION getAgeCategory(age INT) RETURNS VARCHAR(20) BEGIN IF age < 18 THEN RETURN 'Minor'; ELSE RETURN 'Adult'; END IF; END; Use: SELECT getAgeCategory(20);
0
0
2
π¨βπ»A stored procedure is a saved SQL program that can be executed whenever needed. Used for: Repeated operations Complex logic Improving performance β Example: CREATE PROCEDURE GetStudents() BEGIN SELECT * FROM students; END; Execute it: CALL GetStudents();
0
0
3
β Simple View Based on one table Can allow insert/update sometimes β Complex View Based on multiple tables Contains joins, functions, group by Usually not updatable Example:
0
0
3
A view is a virtual table created using a SELECT query. It does not store data itself; it displays data from real tables. β Example: CREATE VIEW student_names AS SELECT id, name FROM students; Now you can query: SELECT * FROM student_names;
0
0
0
π What is an alias? An alias gives a temporary name to a table or column. β Column Alias: SELECT name AS student_name FROM students; β Table Alias: SELECT https://t.co/Zis2jmbOeA, c.course_name FROM students s JOIN courses c ON https://t.co/mMq4lDmd6M = c.student_id;
0
0
3