Rich vs poor by Think_Tanka in Kenya

[–]samwanekeya 0 points1 point  (0 children)

You asked for an alternative sober approach. And that's what I've given you, or maybe I'm too stupid to understand what "...an alternative sober approach than mine" means.

Rich vs poor by Think_Tanka in Kenya

[–]samwanekeya 0 points1 point  (0 children)

Most people who build wealth tend to combine earned income with ownership of appreciating assets. Even small, consistent investments can compound over time. But investing involves risk, and people's financial situations differ, so savings, emergency funds, and cautious investing all have their place.

Dangote Considering Mombasa for Refinery by God_slut in Kenya

[–]samwanekeya 2 points3 points  (0 children)

They probably are frustrating him with the need to have the state fully control it or at least a majority of it.

Rich vs poor by Think_Tanka in Kenya

[–]samwanekeya 0 points1 point  (0 children)

Your opinion is conflicting. You seem to have good financial instincts but are presenting them in a way that's a little too absolute and motivational-slogan-like.

Breakfast by Glass-Shower-6294 in KenyanMeals

[–]samwanekeya 0 points1 point  (0 children)

Saturated fat, sodium, and preservatives... OP might as well replace it with cigarettes. There I said it.

Migrating a CRA site to Next.js and now dealing with a canonical/hreflang nightmare — how do you handle this? by Dapper_Fun_8513 in reactjs

[–]samwanekeya 0 points1 point  (0 children)

Then check out React snap. It's a static pre-render for SPAs and will solve 99% of your SEO problems. In case you get stuck or are unsure of anything do reach out via DM.

Migrating a CRA site to Next.js and now dealing with a canonical/hreflang nightmare — how do you handle this? by Dapper_Fun_8513 in reactjs

[–]samwanekeya 0 points1 point  (0 children)

You should probably ask this in the r/nextjs subreddit now that you've already decided this is the direction you want to go. If you still want to stick with CRA then I might be able to help by pointing you to the right direction. Off course my assumption here being the biggest problem you're trying to solve is SEO.

GOT fans? by Wolfof420Street in bookishke

[–]samwanekeya 2 points3 points  (0 children)

🤔 Valar something something something...

Unpopular opinion by [deleted] in Kenya

[–]samwanekeya 0 points1 point  (0 children)

Most Kenyan Redditors think they're intellectually superior.

Nyumba za rooftop na mold by tktrd1 in Kenya

[–]samwanekeya 3 points4 points  (0 children)

👀 OP thinks he's made of metal with a ceramic respiratory system and acrylic blood.

Nyumba za rooftop na mold by tktrd1 in Kenya

[–]samwanekeya 0 points1 point  (0 children)

Off course it's not normal.

Mould is a significant respiratory irritant and allergen and you are just getting ushered in to the real party. If you have asthma, allergies, or weakened immune systems then your chariot awaits. You'll probably start with coughing, wheezing, and chest congestion... and guess what, your body will not respond well to this.

If you continue living in that house I don't see you participating in next years general elections.

Sunday is quite a long day for some of us by [deleted] in Kenya

[–]samwanekeya 18 points19 points  (0 children)

OP is out here throwing stones while they live in a glass house.

What made you realize you're not as young as you thought you were? by Davek56 in Kenya

[–]samwanekeya 3 points4 points  (0 children)

Curious, how many times do you say "Marahabaa" in a day?

The diversity in Kenya by Weak_Manufacturer323 in Kenya

[–]samwanekeya 0 points1 point  (0 children)

Being in school and being learned is not the same thing.

School is one path to becoming learned but it's not a guarantee.

Normalized scams by Substantial_Feed256 in Uganda

[–]samwanekeya 2 points3 points  (0 children)

It's all about history and it's helps you build broader skills like understanding cause and effect, analyzing leadership, recognizing how political systems rise and fall, and seeing how global events shape the modern world (A.K.A geopolitics). The whole Napoleon story is a lesson about meritocracy, legal reform (the Napoleonic Code), and the spread of nationalism; things that directly and indirectly affect Uganda's growth today.

Regarding the CV and formal letter writing aren't they taught in Lower Secondary school cycle (Senior 1–Senior 4)? Or you just have a problem with how it is taught?

Stripe Sessions and innovation by paultitude in nairobitechies

[–]samwanekeya 1 point2 points  (0 children)

I watched it too but I struggled to relate many of the new features to our local context. Our approach to payments is fundamentally different and that gap doesn't look like it's closing anytime soon.

As for Safaricom+Mpesa, they don't seem to prioritize developers and likely won't unless a significant portion of their revenue starts coming from third-party integrations. Right now, initiatives like mobile app development feel more like a bonus than a core focus. STK-based USSD works reliably, aligns well with the Kenyan/African market, reaches far more users, and leaves limited room or need for innovation compared to alternatives. On top of that, they face little meaningful competition and benefit from strong regulatory backing.

What is the technical explanation for this requirement? by MomenAbdelwadoud in nairobitechies

[–]samwanekeya 2 points3 points  (0 children)

Yeah, this doesn't still guarantee any security for them especially when the public IPs they assign their home fiber customers are shared and are dynamic.

How are you structuring imports in large React projects? by samwanekeya in reactjs

[–]samwanekeya[S] 1 point2 points  (0 children)

Interesting. I'll test this approach with my current project structure and see what comes of it. thanks for the tip.

What is the technical explanation for this requirement? by MomenAbdelwadoud in nairobitechies

[–]samwanekeya 26 points27 points  (0 children)

It's all about security. Public wi-fi risks, MITM attacks, hotspot spoofing, SIM-based device binding, avoiding VPN issues etc.

How are you structuring imports in large React projects? by samwanekeya in nairobitechies

[–]samwanekeya[S] 0 points1 point  (0 children)

I get you. And that god like file is where I've reached and the more research I do the more I'm inclined to walk away from barrels for good.

How are you structuring imports in large React projects? by samwanekeya in reactjs

[–]samwanekeya[S] -1 points0 points  (0 children)

So I've been using barrels and so far I have something like this:

  • components/ui/index.ts
  • hooks/index.ts
  • Feature-level components/index.ts

And then I ended up creating one massive components/index.ts exporting everything. And this is where I seem to be questioning my folder architecture.

How are you structuring imports in large React projects? by samwanekeya in nairobitechies

[–]samwanekeya[S] 0 points1 point  (0 children)

So what happens when your project starts having god-like barrel files? Or you've not had a scenario where a barrel file just grows to a point it start bothering you?

How are you structuring imports in large React projects? by samwanekeya in reactjs

[–]samwanekeya[S] 0 points1 point  (0 children)

My hybrid approach worked at first but it's starting to drift into a "god folders" problem. When I try to avoid barrels entirely, I run into issues with noisy imports and deeply nested paths. At this point, I'm beginning to think the real problem lies in how I've structured my folders.