English
Open in Telegram
CCode and Thought

Code and Thought

@codeandthought · channel · Tech · indexed since 2026-07-19
410subscribers
155average post reach
37.8%ER — reach to subscribers
67posts in 30 days
جنة
Yooo guys, if you are just starting your development journey, or if you are a junior, or even if you have some experience and projects but haven't landed a job yet... or overall, if you have a question regarding the field being taken by AI, eski take a look at this👇. https://t.me/samsonendale/50 @codeandthought
1 · 46 ·
Video
4.7 MB
A calm, breezy day, the wind gently brushing against my skin, the air carrying a quiet kind of peace, and me doing something I once dreamed of. Nothing extraordinary is happening, yet everything feels extraordinary. And for a little while, I just want time to slow down so I can feel every second of it.
🕊4❤2
167 ·
ج
Photo
Btw, this is proof that GPT doesn't know me better than a random stranger who spends two days with me...and i was thinking am handing over to much of my information... kinda disappointed also happy
😁5
1 · 147 ·
جنة
My unpopular opinion In a startup, hackathon, or whatever, if you have to think about how your product is unique, it's not unique at all. @codeandthought
🤔10💯1
1 · 134 ·
Photo
3 Ways to Insert Data into PostgreSQL: Sequential, Batch, and COPY Imagine inserting 1 million rows into your database. You have three strategies: 1. Sequential INSERT: One row at a time Executes a separate INSERT for each row. Simple, but slow due to repeated database communication. 2. Batch INSERT: Multiple rows at once Groups many rows into a single INSERT statement. 1M rows with batches of 1,000 = 1,000 INSERT statements. Faster because it reduces database round trips and statement overhead. 3. COPY: Bulk data loading PostgreSQL's optimized mechanism for loading large datasets. Streams data directly into the database without individual INSERT statements. Usually the fastest option for massive data ingestion. One important distinction: server-side COPY FROM reads a file accessible to the PostgreSQL server. \copy in psql reads a client-side file, and COPY FROM STDIN lets applications stream data. How do we compare them? Measure their throughput: Throughput = Total rows inserted / Time (seconds) @codeandthought
😱1
131 ·
Photo
Have you ever checked these vulnerabilities, guys? I didn't care about it before, but I asked GPT about it today, and its response was like🤨😒😔eskahun atakim?🤢
😁3🤣2
127 ·
ج
So, the thing is: when you install an npm package, you're often installing other packages it depends on. Some of these dependencies may contain known security weaknesses that attackers could exploit. Examples include: ReDoS: Malicious input causes excessive CPU usage, potentially crashing your server. Command Injection: Attackers trick vulnerable code into executing system commands. Prototype Pollution: Attackers manipulate JavaScript object properties in unintended ways. Path Traversal: Attackers access files outside their intended directories. So, should we panic when npm reports 10 vulnerabilities? No. A high-severity vulnerability doesn't automatically mean your application is exploitable. It depends on where the vulnerable package is used and whether an attacker can reach the affected code. What should we actually do? Do your research😁 One more thing: Zero reported vulnerabilities doesn't mean your application is 100% secure. It only means npm hasn't identified known vulnerabilities in the audited dependencies. Read your terminal output. Your dependencies are part of your codebase's security.
Long post
photos and layout — in Telegram ↗
❤1
225 ·
جنة
Me torturing my PC by trying to insert 20M database rows at this time of the night 🤓 And I be like gena 80M ykeral😈
😭5🔥2
134 ·
Video
6.9 MB
إِنَّ اللَّهَ وَمَلائِكَتَهُ يُصَلُّونَ عَلَى النَّبِيِّ يَا أَيُّهَا الَّذِينَ آمَنُوا صَلُّوا عَلَيْهِ وَسَلِّمُوا تَسْلِيمًا اللهم صلِّ وسلم على سيدنا محمد وعلى آله ..💚💚
❤4
131 ·
My 2019 plan is to be strong like fetescript😀
🔥4
128 ·
GIF
make-sure-you-stay-tuned-for-that-stay-tuned.mp4 · 326 KB
🔥3😁2
116 ·
ج
Reply@codeandthought
Do you know the 80/20 rule? Yeah, most of the 80% of things are in the hands of the 20%. Sometimes I feel like this narrows down to 98% or 99% versus 2% or 1%, like intelligence, creativity, and everything of this person; he is 1 in 8B. Who do you think will be the next Elon Musk in our community? @codeandthought
🕊3
1 · 118 ·
ReplySoooooo I learned PostgreSQL yesterday and Instead of building another CRUD app, I decided to see what happens when I put 100 million rows into it. who wanna know the progress?🕺 resource —> https://backend-mastery.seefun.dev/docs/data/postgresql @codeandthought
Imagine building an application that records everything users do. Someone signs in. Someone clicks a button. Someone completes a purchase. Someone opens a page. Each action produces an event. For a small application, storing these events is relatively straightforward. But what happens when the application grows and accumulates millions of records? Will searching become slower? Will the database consume too much storage? Can I still retrieve information quickly? What happens when I need to insert millions of new records? Okay, I have documented every detail on how I built this in a way that not only you but also your high school graduate Grammy can understand. So, if you wanted to take a look, here is: [Doc] [github Repo] @codeandthought
89 ·
ReplyImagine building an application that records everything users do. Someone signs in. Someone clicks a button. Someone completes a purchase. Someone opens a page. Each action produces an event. For a small application, storing these events is relatively straightforward. But what happens when the appl
So... when I was starting my programming journey, one of the most intimidating things was asking other developers for help or understanding them in general. Everything sounded so technical, and sometimes I felt like I needed a certain level of experience just to have a conversation with them. And someone said “Be the senior you wished you had when you were a junior.” And that's why my notes are always so long, filled with examples, detailed explanations, and things that might seem too obvious or even silly to someone experienced. But yeah... I know what it's like to be on the other side, trying to understand something everyone else seems to already know.🥸 @codeandthought
90 ·
ج
If you want to understand PostgreSQL and Express, I really recommend taking on this challenge. I think it's more valuable than watching endless tutorials or building a bunch of mini projects. But there's one thing I want to point out. At the 100-million-row mark, my PostgreSQL database occupied approximately 20 GB of disk space. And Omarchy was particularly useful for this project because it gave me a Linux-native, terminal-focused development environment. So, if you're using Windows or working with a PC that has limited free storage, you might face some challenges on the hardware side. Just something to consider before jumping in.
❤2
81 ·
ج
جنة
I've built wealth without reading a book every day. I've built wealth without making my bed every day. I've built wealth without journaling every day. I've built wealth without a 2 hour morning routine every day. I've built wealth without giving up Netflix every day. I've built wealth without waiting to marry. I've built wealth without leverage. Because the only things you have to do to build wealth are: 1) Find "stuff" that people want 2) Sell it to them for more than it costs you. 3) Do this many times. There is no "hack" for it. Alex Hormozi
41 ·

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · Index limits · Remove a page · Catalog · Search · How we count