Culture › Re: Masquerade Attacks Artist On Stage In Anambra (Video) by KushLyon(m): 11:16pm On Jan 17 |
It was at this same venue that some masquerades flogged me during an event earlier this year, the marks are still on my legs till today |
Phones › Re: The First Memorable Phone You Used. by KushLyon(m): 6:51pm On Oct 09, 2025 |
Also Spark 7. Used it for over 4 years till it was falling apart before I bought a new one 😅 |
Phones › Re: Let's See Your Homescreen by KushLyon(m): 11:45pm On Oct 04, 2025 |
Don't use alternate accounts to access Nairaland after being banned. If you do, make sure we don't find out.
|
Phones › Re: How Oraimo Spacebox Pro Is Changing The Speaker Game In Nigeria by KushLyon(m): 7:09pm On Sep 15, 2025 |
sowunmisho: The line-up of posts after the Author, makes them seem kinda sponsored.
Just saying # They definitely are. They didn't even bother to put in the effort to sound human, see all of them sounding like one generic bot |
Family › Re: My Sisters Husband in Canada Is Very Stingy by KushLyon(m): 9:38pm On Sep 03, 2025 |
Entitlement final boss. This story can't be real and if it is, I hope he cuts all ties with you |
Family › Re: How Do I Sort My Wife Issue? by KushLyon(m): 7:28am On Aug 28, 2025 |
This has got to be a joke or rage bait....even me as a single guy living alone, 35k is not enough to feed for a month, and now you're using that for 5 people? Your wife needs to take the kids and run far away from you. 35k for 5 people, so each person will survive on 7k in a month? Ah! Make I no talk wetin dey my mind sha, I guess that. 600k is a typo and you meant to say 60k. Make I even look the date dem post this thing, e be like say na 2010 thread be this |
Career › Re: Beret Colour Codes Of Nigerian Army Corps And Directorates by KushLyon(m): 4:40pm On Aug 19, 2025 |
|
Travel › Re: Memoirs From Chile by KushLyon(m): 8:50am On Aug 08, 2025 |
Suicideboy: Dey play
Chile get their own rat which them call capbara Na capybara you dey call rat? If this one na rat, then beaver and guinea pig na rats too  something wey dey weigh up to 50kg, some dey big like goat
|
Car Talk › Re: Why A Nigerian Professor Would Not Be Able To Afford A Car by KushLyon(m): 11:56am On Jul 16, 2025 |
SLIDEwaxie: na why you no fit spell millionaire. A professor earns more than ₦2M This guy na comedian  please enlighten us, which professor do you know in Nigeria that earns ₦2m monthly? |
Programming › Re: Which Most Demanding I.T/ Tech Skills One Can Learn? by KushLyon(m): 7:18am On Jun 08, 2025 |
I will suggest 2 routes; web development and cloud engineering. You can actually start from web development and later transition to cloud engineering but if web development is something you end up loving, then you can stick with that but step up your game by also learning how to integrate AI into your projects |
Phones › Re: If You Didn't Use Any Of The Phones With These Batteries Then You Be Gen Z by KushLyon(m): 11:20am On May 26, 2025 |
emoboy4u: The generation before GenZ are the most insecure generation. They look for every means to talk down on GenZs, seems you guys get orgasm from these. I be Genz, I used motorolla, Sagem, and a few of those phones...
Any small thing, indomie generation...the only generation that cums from talking down on Genzs. And if you really check well, this op na GenZ but he obviously no know wetin e mean  |
Phones › Re: If You Didn't Use Any Of The Phones With These Batteries Then You Be Gen Z by KushLyon(m): 11:18am On May 26, 2025 |
Godblessme1: you lied. It's between 1997-2012.
So how do a kid born in 1997 used those phones? I was born in 98 and I used those phones except for Blackberry, Samsung and Sony Ericsson 🥱 |
Food › Re: Price Of 50cl Coke In Canada Vs Nigeria by KushLyon(m): 7:32am On May 18, 2025 |
GoodSpirit: What is the % of the price of coke with respect to the minimum wage vs that of Nigeria?
You don't compare apple to orange when you haven't linearized them, this nonsense comparison without recouse to the minimum wage and purchasing power of those climes is meaningless. You can do better Underrated comment. I saw someone above saying $2 is just 2 units of their currency and many people are agreeing with him, only a wise person will compare that price to their minimum wage. The minimum wage in Canada ranges from $15 to $17.78, so let's just use $15. Assuming a person worked 40 hours a week, that will be a monthly salary of $2400, so a price of Coke ($2.49) is just 0.104%. meanwhile in Nigeria, minimum wage is ₦70k, so that's 0.714% of the monthly salary, and many people even earn below that. So, we are actually spending 7x more on Coke than Canadians, that's how to do purchasing power analysis, not the crazy comparisons many of them are doing here |
Programming › Re: Why Is It So Difficult To Get Help In The Tech World? by KushLyon(m): 2:39pm On May 13, 2025 |
airsaylongcome: This is the problem right here. You have to be specific and intentional. "One skill" doesn't sound like someone that knows what they want. And believe me, NO experienced person is going to be the one show you which one to study, unless they are really close to you.
Many people believe that experienced people are "stingy". But there aren't. They are overwhelmed with juggling many things they barely have time. You need to do the research in what piques your interest. And start putting effort into learning them. My father(+) had a saying, the teacher will arrive only when the student is ready, not one minute before. And understand that, the teacher is just a guide, their job is to open the door. The student MUST be the one to walk through that door. By themselves.
I know this isn't what you want to hear, and are probably looking for a "mentor" that will hand hold you. Those don't exist. I tried to "mentor" a less experienced colleague and lost a job in the process. NEVER AGAIN. Who wan learn, go get materials and directions from me, but I am not ever again spending one-on-one time with someone. Unless that person has put in the work.
There's an Iranian website that provides "free" materials for almost any stuff you wanna learn. I can't mention their name because the spambot has spiritual assignment and is following me upandan on the forum. But if you snoop around a bit you will be able to figure them out. Begin there to start self-learning. Good luck in all your pursuits and endeavour. I'm guessing it's downloadlynet, that's where I got most of the courses I used |
Properties › Re: Man Shares How His Dad Sabotaged A House Agent’s Attempt To Cheat A Couple by KushLyon(m): 2:35pm On May 13, 2025 |
EponObi: People gift money. I'm not doubting that. But the story up there na lie.
The house owner is a business person. If the story said he told the couple to pay 600k, that's more believable. But like always because of the hate for house agents, people will run along with the story to claim some imaginary victory. Hate on house agents is justified though. And you know this because he told you so? Not everyone who owns a house depends on the rent they get from it or sees it as a business, so I don't know how offering his house below the initial amount makes the story unbelievable, some landlords even did that during the COVID-19 crisis just to help people. A man in my area who has 4 houses rents them out for only 250k (3-bedroom flat), while other landlords here rent out theirs for twice that amount |
Programming › Re: I Spent 2 Months On This Project by KushLyon(m): 7:37am On Apr 14, 2025 |
I added products to cart and tried to access the cart but it took me back to the login page, you should probably look into that |
Politics › Re: NERC Fines Eight Discos ₦628 Million For Flouting Estimated Billing Rules by KushLyon(m): 6:42pm On Apr 10, 2025 |
XtraFortunes: BEDC should be the biggest. Those guys extorted me for years with estimated billing
Estimated billing is fraud I was expecting to see them on the list but shockingly they are not there, probably because customers aren't reporting them. I'm currently battling it out with them, despite battling it out last year and NERC told them to stop but they resumed with the estimated billing nonsense after 3 months |
Programming › Re: My Javascript "Aha!" Moment: Spread Syntax Sorted! by KushLyon(m): 10:43am On Mar 31, 2025 |
Karleb: It's only called rest when used in a function argument/parameter.
In your use case, it is spread operator. Not exactly, it behaves just like the rest operator which gathers remaining items into an array, but in the context of destructuring, you can just call it the rest syntax |
Programming › Re: `...`: Rest Or Spread? Demystifying The Operators For Budding Programmers! by KushLyon(m): 8:04am On Mar 30, 2025*. Modified: 8:49am On Mar 30, 2025 |
February30: Hey fellow coders and Nairaland tech enthusiasts!
Some of you might remember a question I posted here a few days ago about the difference between JavaScript's spread syntax and rest parameters. I was feeling a little tangled up in understanding how they worked and where to use them.
Well, I'm happy to report that thanks to the insightful responses from so many knowledgeable folks on this forum, I've finally had a real "aha!" moment with the spread syntax! I was playing around with some code today, and it just clicked.
Think of it like this: imagine you have a list of your favourite fruits in one basket, and you want to make a new, bigger fruit salad with those fruits and some new ones. The spread syntax (`...`) is like taking all the fruits *out* of the first basket and laying them out so you can easily add them to your new salad.
Here's the code snippet that really helped solidify it for me:
const favoriteFruits = ["mango", "banana", "watermelon"]; const allFruits = [...favoriteFruits, "orange", "pineapple"]; console.log(allFruits); // Output: ["mango", "banana", "watermelon", "orange", "pineapple"]
See how `...favoriteFruits` essentially took each item from the `favoriteFruits` array and placed them individually into the `allFruits` array? It's such a clean and efficient way to combine arrays (and even objects!).
I'm feeling much more confident using the spread syntax now. However, I'm still on a bit of a journey to fully grasp rest parameters and their role, especially when working with functions. I understand that they also use the `...` syntax, but they seem to work in reverse – gathering multiple arguments into a single array within a function.
If any of you seasoned JavaScript developers on Nairaland have some clear examples or analogies of how you typically use rest parameters in your functions, I would be incredibly grateful for your insights! I'm eager to keep learning and leveling up my JavaScript skills.
Thanks again to everyone who contributed to my previous question. The Nairaland tech community is truly a fantastic resource! Looking forward to your thoughts on rest parameters! Good analogy. Here is an analogy for the rest operator; Let's say you want to transport 10 fruits to a person called "allFruits" and you just place all the fruits into a vehicle (mango, banana, apple, etc) before sending it to allFruits. When allFruits gets the vehicle containing the fruits, he labels the first fruit as "fruit1" and the second fruit as "fruit2", then he just puts the remaining 8 fruits into a big box and labels it "other fruits". So, in code: function allFruits(fruit1, fruit2, ...otherFruits) { console.log(fruit1); // Outputs: "mango" console.log(fruit2); // Outputs: "banana" console.log(otherFruits); // Outputs an array of the remaining 8 fruits } allFruits( "mango", "banana", "apple", "orange", "lemon", "pineapple", "watermelon", "pear", "pawpaw", "guava" ); You can even extend this analogy to explain the spread operator like so;allFruits also has another big box labelled myFruits which contains 2 fruits: cashew and grape, so he decides to combine the fruits in both boxes by spreading them into a bigger box called combinedFruits. function allFruits(fruit1, fruit2, ...otherFruits) { // Existing array of fruits let myFruits = ["cashew", "grape"]; combinedFruits = [...myFruits, ...otherFruits]; // Combine arrays console.log("Combined Fruits:", combinedFruits); } allFruits( "mango", "banana", "apple", "orange", "lemon", "pineapple", "watermelon", "pear", "pawpaw", "guava" ); |
Programming › Re: `...`: Rest Or Spread? Demystifying The Operators For Budding Programmers! by KushLyon(m): 7:33am On Mar 30, 2025 |
The difference between them can actually be seen in their names.
Spread operator takes the items of an array or object and "spreads" them individually, which is very useful when copying or combining arrays and objects.
Rest operator is the opposite of the spread operator when it's used in functions. It collects the "rest" of the arguments passed into a function and puts them into an array. So, basically, Spread "spread things out" while Rest "gathers things together" |
Business › Re: Aftermath Of Trump Victory: Binance CEO Makes $12 Billion In Crypto Boom by KushLyon(m): 12:54pm On Nov 08, 2024 |
crazygod: Seems crypto is back again. Make I go begin dey trade with my Etherium. I so much envy USA. See celebration just because of a president. For Naija here, the day emilokanand his gang stole the presidency, there was a weird gloomy atmosphere for up to a week. Heavy rain even fell on the day the disaster was sworn-in, that's a strong sign of doom |
Christianity Etc › Re: Church In New York Where Animals Receive Blessings (Photos) by KushLyon(m): 10:16pm On Oct 23, 2024 |
illicit: Come with ur python pls Make church agbasa Watch the video, a huge python turned up 😅 |
Business › Re: Court Rejects Binance Executive Gambaryan’s Fresh Bail Application by KushLyon(m): 3:00pm On Oct 11, 2024 |
Meanwhile dollar is 1700 now, who should we blame this time? Opay? Dangote? Or maybe sportybet |
Politics › Re: “Please NEPA Remove My Family From Band A” — Anambra Man Cries Out(vid) by KushLyon(m): 4:43pm On Oct 02, 2024 |
Jorussia: who uses 6kwh per day in Nigeria? My 3 bedroom apartment here in Benin city,i don't use 5kwh in one week.I have washing machine i hardly use,I wash my clothes with my hands.I dont have AC,but during extreme heat period,i use my industrial fan which slightly increases my power consumption.I am not on band A,but if they give me 20hours in band A today,i cant spend more thank 5k per month. Exactly o, I'm in the same Benin and I don't spend up to 10k on electricity monthly. I'm in band C and get an average of 20 hours of electricity daily |
Travel › Re: Memoirs From Chile by KushLyon(m): 5:53pm On Oct 01, 2024 |
Kaczynski: A real tech bro can never have that kind of laptop
Ask qtguru make e give you update What kind of laptop a real tech bro use? |
Politics › Re: Judge Hands Off Nnamdi Kanu’s Trial, Remits Case File Back To Chief Justice by KushLyon(m): 1:39pm On Sep 24, 2024 |
Softmirror: Those other two are not TERRORIST. But Kanu is a confirmed TERRORIST. This one na mumu  |
Programming › Re: Please Help by KushLyon(m): 8:50pm On Sep 20, 2024 |
You want my honest advice? Just install Linux and you won't have to deal with the nonsense restrictions that come with Windows. You can even dual boot Linux and have it alongside Windows on your laptop, that's if you want to be using Windows for working with windows specific software like Adobe products |
Education › Re: Academic Excellence: Nigerian First Professors In Fields Of Human Endeavours by KushLyon(m): 7:02pm On Sep 04, 2024 |
So.......no single northerner  |
Romance › Re: . by KushLyon(m): 7:02am On Sep 03, 2024 |
I did my IT in Lagos a few years ago and till date it's the worst State I have ever lived in. I had to get used to leaving the house by 5 AM just so I could beat traffic and make it to work before 8, and it's crazy that there are school children also on the road by that time. Lagos island is truly a nightmare. Let's not even talk about their quality of water there, I haven't even stayed up to a month and I was already itching to run back to Benin |
Foreign Affairs › Re: Pavel Durov released On €5m Bail, banned From Leaving France by KushLyon(m): 8:26am On Aug 29, 2024 |
spartachico: Stupid app that will delete your account without prior warning... You will sleep and wake up and next thing your telegram account is gone and deleted for no reason and yet he is supporting bad organization... Madness Na you know wetin you dey do with yours, coz mine have been existing for over 7 years. If you break their rules, your account is going down, so don't think you didn't do anything wrong |
Foreign Affairs › Re: Pavel Durov released On €5m Bail, banned From Leaving France by KushLyon(m): 8:23am On Aug 29, 2024 |
Ibime: Because he refused to release information he has about the main culprits. If you are a landlord and your tenant is selling human heads and Police ask you for your tenant details, you better give it up. Once he comply, all the charges will be dropped But that's the problem, even Durov doesn't know the information of these culprits because telegram operates a true end to end encryption, not like the rubbish WhatsApp says they are doing but in reality they have access to everyone's chat. On telegram, only the two people involved in a chat knows the details of their conversation, that's true privacy and the government hates that, they rather spy on everyone |
Politics › Re: Tinubu’s Presidential Jet: Reno Omokri Fact-Checks Daily Trust by KushLyon(m): 6:05pm On Aug 20, 2024 |
So because US bought a new jet, then it's okay for Tinubu to buy one too? 😩 Copy-cat, why not copy their minimum wage too? |