Adam dev

341 posts

Adam dev banner
Adam dev

Adam dev

@fullstackdev__

Full stack developer | Flutter • Laravel • ReactJs • NodeJs • Microservices | DevOps ~ Enthousiast ❤️

localhost:3000 Tham gia Nisan 2026
536 Đang theo dõi275 Người theo dõi
Tweet ghim
Adam dev
Adam dev@fullstackdev__·
Simple and clean Todo API with Express + MongoDB Create, update, read and delete tasks. Perfect for beginners learning backend fundamentals. #nodejs #expressjs #mongodb #api #javascript
English
2
3
4
313
Adam dev
Adam dev@fullstackdev__·
C compilers don’t really disagree; the C standard allows implementation-defined behavior, so libc functions vary across platforms. That’s why functions like printf or strcpy can differ, and strncpy is confusing because it may not null-terminate and was never meant as a safe string function.
English
0
0
0
23
Ray
Ray@raysan5·
Why C compilers can't agree in how a standard C library function should works? ☹️ And better not to talk about strncpy()...
Ray tweet media
English
78
22
510
92.7K
Adam dev
Adam dev@fullstackdev__·
@SakshiSugandhi A library is code you call when you need it. A framework controls the flow and calls your code.
English
0
3
8
1.4K
Adam dev
Adam dev@fullstackdev__·
@straceX This C program writes the string `"user:42=example\n"` to a temporary file in `/dev/shm`, closes it, then reopens the file for reading, reads the content into a buffer using `fgets`, and prints it to standard output before exiting.
English
0
0
0
37
Gracia
Gracia@straceX·
fun fact: linux already gives you a zero-dependency in-memory store it’s just /dev/shm > a RAM-backed filesystem that’s been around forever you can literally write to it like a normal file and read it back for small local data, it’s surprisingly fast not trying to replace Redis, just a simple trick when you don’t need extra stuff
Gracia tweet media
English
53
141
1.8K
202.2K
Adam dev
Adam dev@fullstackdev__·
@mitchellh That’s tough to read—GitHub won’t feel the same without voices like yours. Wishing you the best on whatever comes next.
English
0
0
0
277
Mitchell Hashimoto
Mitchell Hashimoto@mitchellh·
Ghostty is leaving GitHub. I'm GitHub user 1299, joined Feb 2008. I've visited GitHub almost every single day for over 18 years. It's never been a question for me where I'd put my projects: always GitHub. I'm super sad to say this, but its time to go. mitchellh.com/writing/ghostt…
English
508
1.5K
16K
2.6M
Adam dev
Adam dev@fullstackdev__·
@SumitM_X This code throws a ConcurrentModificationException because you’re removing an element from the list while iterating over it with a stream, which internally uses an iterator that forbids structural changes during traversal, so the program crashes before printing anything.
English
0
0
2
71
SumitM
SumitM@SumitM_X·
What will be the output? List<String> list = new ArrayList<>(List.of("a", "b", "c")); list.stream().forEach(e -> { if (e.equals("b")) list.remove(e); }); System.out.println(list);
English
7
0
24
3.6K
Adam dev
Adam dev@fullstackdev__·
@SumitM_X Remove React.strictmode in main.jsx file
English
0
0
1
336
SumitM
SumitM@SumitM_X·
Why does useEffect run twice in React 18?
English
5
1
16
6.6K
Adam dev
Adam dev@fullstackdev__·
@EOEboh Setting a very long JWT expiry is risky because a stolen token remains valid for a long time, giving attackers persistent access. Since JWTs are stateless, you can’t easily revoke them. Use short-lived access tokens with refresh tokens to balance security and user experience.
English
0
0
0
194
Captain-EO 👨🏾‍💻
Interviewer: How do you handle JWT expiry? Candidate: I just set a really long expiration time so users don't get logged out What's wrong here?
English
12
0
47
11.6K
Adam dev
Adam dev@fullstackdev__·
On a table with 100M rows, ALTER TABLE users ADD COLUMN age INT; can trigger a full table rewrite, causing heavy I/O, long execution time, possible table locks, temporary disk space spikes, and replication lag, which can slow down or even take down a production system if not handled carefully.
English
0
0
1
393
Javarevisited
Javarevisited@javarevisited·
Interviewer: Why is this dangerous? ALTER TABLE users ADD COLUMN age INT; (on 100M rows)
English
6
1
16
7K
Adam dev
Adam dev@fullstackdev__·
@kotlin Kotlin makes null-safety the default, preventing many `NullPointerException`s at compile time without extra wrappers—perfectly integrated into Spring Boot for safer, cleaner backend code.
English
0
0
1
63
Kotlin by JetBrains
🔗 Kotlin treats null-safety as a first-class feature: types are non-nullable by default, so you catch potential `NullPointerExceptions` at compile time, without the verbosity of `Optional`. See how this works in a Spring Boot backend 👇 kotl.in/b74l38
Kotlin by JetBrains tweet media
English
1
1
39
2.2K
Website Designer Nigeria
Website Designer Nigeria@webdesignerng·
💻 JavaScript Quiz What will this output? console.log(“5” - 2) A) 3 B) “3” C) NaN D) Error
English
17
1
30
2.9K
Sakshi Sugandhi
Sakshi Sugandhi@SakshiSugandhi·
90% of developers answer this wrong. What’s the output 👇
Sakshi Sugandhi tweet media
English
23
6
49
3.3K
Sakshi Sugandhi
Sakshi Sugandhi@SakshiSugandhi·
What’s the difference between a library and a framework? If you can’t explain it clearly, are you really a developer? 😭
English
56
7
140
27.1K
Python Developer
Python Developer@PythonDvz·
Girls V's Boy's: Who do you think is better?
Python Developer tweet media
English
6
3
44
2.2K
Adam dev
Adam dev@fullstackdev__·
@PythonPr args packs (1, 2, 3, 4) into a tuple, and sum() adds them. Then the output is 10
English
0
0
2
204
Adam dev
Adam dev@fullstackdev__·
@PythonDvz `==` compares values, while `is` compares memory identity—so the result is **different**.
English
0
0
1
106
Adam dev đã retweet
Tech P
Tech P@Tech_p001·
Hilarious 🤣
Tech P tweet media
English
7
1
14
270