Code and Thought
Відкрити в Telegram
Software Engineer | Builder | Founder | Odoo | Business | Thinker portfolio - https://neziraworkuu.vercel.app/
Показати більшеКраїна не вказанаКатегорія не вказана
426
Підписники
Немає даних24 години
Немає даних7 днів
+2230 днів
Архів дописів
إِنَّ اللَّهَ وَمَلائِكَتَهُ يُصَلُّونَ عَلَى
النَّبِيِّ يَا أَيُّهَا الَّذِينَ آمَنُوا صَلُّوا
عَلَيْهِ وَسَلِّمُوا تَسْلِيمًا
اللهم صلِّ وسلم على سيدنا محمد وعلى آله ..💚💚
me torturing my PC by trying to insert 20M database rows at this time of the night😈
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 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)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
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
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.
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 it.
https://t.me/samsonendale/50
@codeandthought
أصبحنا على فطرة الإسلام، وعلى كلمة الإخلاص، وعلى دين نبينا محمد صلى الله عليه وسلم، وعلى ملة أبينا إبراهيم حنيفاً مسلماً وما كان من المشركين❤️🩹
So, how does this app even work?
Did it scan all 1,353 of my pictures the moment I gave it access, group them into categories, somehow assign each group a surprisingly accurate name, and even organize them by when they were taken to make cleaning up easier?
Can all of this really be done using just the pictures' metadata, or is there some image recognition and AI involved?
Curiosity unlocked🤩
I've tested it. Yoo guys, you need to install this if you have unmanageable photos in your gallery☺️
Some errors are just like little girls. There's nothing wrong with them. They just need a little attention and reassurance. 😭
