The Chill Coding Lounge
رفتن به کانال در Telegram
Welcome to the Coding Lounge, chill and relax as we talk about programming, memes, and the pain of errors.
نمایش بیشتر890
مشترکین
+724 ساعت
+57 روز
+5930 روز
آرشیو پست ها
Good Evening (almost) beautiful coders. I am using vanilla English to greet y'all today. Late start 😂
CSS will finally not be the bane of my existence:
https://www.youtube.com/watch?v=6OTR68Ux9AQ&ab_channel=Hoverify
I'm going to start a thread right now. Anyone is free to share in the discussion:
How do you keep up dedication? How do you make it so that your candle doesn't get snuffed out/turned off?
(I will be providing my opinions soon as well)
Typescript Devs will br have a massive celebration with this one:
https://youtu.be/pNlq-EVld70?si=L7_5xAKnMZQ5V_g2
Repost from Google Developer Group AAU
You’re In! The African Blockchain Championship Keynote is Here! 🎉
We are excited and we are sure you all are !
Congratulations on securing your spot in ABC 2025! Get ready for an electrifying keynote session that will set the stage for groundbreaking blockchain innovations!
💡 Topic: "Igniting Real-World Solutions Using Blockchain"
🎙 Speaker: Dr. Adaku Jennifer Agwunobi
📅 Date: March 10, 2025
⏰ Time: 5:30 PM EAT, 3:30 PM WAT
📍 🔗 Join us LIVE on Zoom: https://us06web.zoom.us/j/83890670148?pwd=7EMm36yOX0wTGAneRff2uRMGzFrFYe.1
🔥 This is THE session you don’t want to miss!
You’ll gain exclusive insights, connect with top minds in blockchain, and kickstart your journey to creating real-world impact with Web3!
⏳ Set your reminders, bring your energy, and be ready to be inspired! 💥💥
See you there! 💪🏾✨
#ABC2025 #BlockchainRevolution #Web3Africa #GameChanger
Realizing that generic/factory functions are real time savers, although they are a pain to code.
For instance:
exports.getAll = (Model) =>
catchAsync(async (req, res, next) => {
//To allow for nested GET reviews on tour
let filter = {};
if (req.params.tourId) filter = { tour: req.params.tourId };
//Execute Query
const features = new APIFeatures(Model.find(filter), req.query)
.filter()
.sort()
.limitFields()
.paginate();
//const doc = await features.query.explain();
const doc = await features.query;
//SEND RESPONSE
res.status(200).json({
status: 'success',
// requestedAt: req.requestTime, //Came from middleware that manipulated the requested object
result: doc.length,
data: {
doc,
},
});
});
While this code can be used to run all get all for any resource, we have to go through the length of specifying different queries for different resources (if they require them)Everyday you shall be gifted a good morning message in different programming languages🙏🏾
Mobile Development taking a whole new turn (RIP React Native and Flutter😂)
https://www.youtube.com/watch?v=-qjE8JkIVoQ&ab_channel=Fireship
#include <iostream>
std::cout << "Good Morning Lads and Lassies!" << std::endl;I will never forget the mathematical betrayal geospacial queries have brought onto my poor brain. I have to convert distance into radians to calculate objects within said distance. RADIANS??????? Oh HELL NAH bro what?
I will be dropping my full opinion on this topic after taking one paracetamol
Let's start the day of right and see what JavaScript (the programming language that is used or integrated by a lot of frontend frameworks and backend languages like Node).
Here is a 100 seconds of JS for both the lovers of the language and the haters as well (Especially the haters)
https://www.youtube.com/watch?v=aXOChLn5ZdQ&ab_channel=Fireship
Remember, index your databases correctly. Or else Larry will be coming after you. 🙊
Indexing helps increase the performance of fetching data, which in turn helps your application show data quicker. 🚀
While it is has massive advantages, make sure to use indexes wisely as having to much will ironically make your app slower (the thing we are trying to avoid in the first place)🥲
So make sure to index datasets that have high read to write ratios and index the most common query/field.😎
