The Chill Coding Lounge – Telegram
The Chill Coding Lounge
520 subscribers
493 photos
96 videos
11 files
225 links
Welcome to the Coding Lounge, chill and relax as we talk about programming, memes, and the pain of errors.
Download Telegram
Everyday you shall be gifted a good morning message in different programming languages🙏🏾
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)
For anyone interested in blockchain
Forwarded from Google Developer Group AAU (Hira)
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
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)
CSS will finally not be the bane of my existence:
https://www.youtube.com/watch?v=6OTR68Ux9AQ&ab_channel=Hoverify
Good Evening (almost) beautiful coders. I am using vanilla English to greet y'all today. Late start 😂
Want your thoughts? Who wants to see me build a simple app but with the twist of adding complicated functionalties that would drive a developer crazy?
Anonymous Poll
100%
Yes, SUFFER!!!!
0%
Nah, you ain't built like that lil' bro
Take the vibe coding (I have the vibe coders pointing a gun at my head telling me to say this)

In all seriousness tho, don't be that type of coder. AI is a tool that you can use to increase your efficiency in coding, not something that you should be hyper dependent on, let alone have to write your entire codebase.

Problem solving is what makes us great programmers, don't let AI do it for you (or at least a big chunk of it).
With the way AI hallucinates, it's like giving a crackhead a pencil and telling them to do an architect's job of drawing a blueprint for a house. It has a high chance of crashing down on you if you implement it😂 Understand what you're coding
💯1
Stepping away from programing for a bit I watched this amazing animation that tackles addiction in a realistic way and it really made me understand how serious an issue it can be. Give a hand to someone who is struggling, it can go a long way in the road to healing.

If you have the time, take a look. You won't be disappointed.

https://youtu.be/KoB2cqmYZNg?si=3t_lFeD3j7a4I50d
Coding on a Sunday and I have to use a switch statement for a certain logic. My day is ruined
If anyone felt that earthquake, I want to apologize, I slammed my table after the 70th coding error cursed my vs vide editor.

Good night yall
😁3
Every time I use AI to help me code I am convinced I am one step closer to becoming a vibe coder

Disclaimer: this is a joke, I already am. I am joking 😂
I tried to code while playing Carti's new albumin the background. Album so mid it genuinely pushed me to finish 8 features and fix 12 bugs just from how angry it made me.
I'm starting to continue my node journey, after a few set backs, and now I am tackling server-side rendering using pug. I am already loving the syntax pug provides and how each it is to access the view engine via routes.

Any other view engines you guys love to use or prefer other than pug like handlebars, ejs, etc (Pug is also an option😂)
UPDATE: Pug has ruined my life, I am going crazy. When has indentations caused errors???? Invisible ahh errors
Forwarded from Solo codes (Brook Solomon)
Data Strunctures and Algorithms Intensive Bootcamp

As Head of Education at A2SV and one of the highest performing a2svian, I’ve had a lot of students reach out about the new $15,000 income-sharing agreement a2sv is asking and how tough it is to afford and with only around 100 spots available each year, so many talented people are missing out on the chance to join.

That’s why I’m launching my own intensive 3 month bootcamp—an affordable and welcoming alternative for those who couldn’t get in. It’ll have the same high-quality training and same international standards that A2SV uses, but in a way that’s accessible to more people. I want to make sure everyone who’s eager to learn has the opportunity to grow and succeed!

get more information here

registration form here
https://forms.gle/RASgqjZhXUKE9pqbA

@solodevchronicles
1🔥1