₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,324,996 members, 8,419,862 topics. Date: Thursday, 04 June 2026 at 04:03 AM

Toggle theme

Olyboy16's Posts

Nairaland ForumOlyboy16's ProfileOlyboy16's Posts

1 2 3 4 5 6 7 8 9 10 (of 18 pages)

ProgrammingRe: I Need A Smart Programmer To Solve This Logic? by Olyboy16(m): 3:23pm On Jul 12, 2017
peter087:
Thanks for the tip bro. i appreciate
crawl? you gotta be kidding me!
hey Op, let the webmaster write script tags that points to a script on your own server. that way, you have complete access to do anything you want.
PoliticsRe: Gencos Ask FG To Increase Electricity Tariff by Olyboy16(m): 9:15am On Jul 12, 2017
why are malaysia, india, singapore, chad, cameroon, kenya, south africa and even war torn syria - getting their power sectors right and Nigeria after over half a century hasn't achieved a stable nation-wide 24hr supply for once!!

This power thing really hurts my mind when i think about it! are we cursed in this country or could we be paying for the sins of our pagan ancestors?
ProgrammingRe: Meet Temzy-the Mtn Nigeria Bot by Olyboy16(m): 4:33pm On Jul 10, 2017
youngscholar:
Chat with Temzy!
Hello, Great Job U Did Here. Btw, your bot still needs a lotta work to become truly usable, coming from a botmaster too. It failed to match any reasonable templates in the following questions:
-
1. i need code for any 500 naira data plan.
2. how can i contact mtn for browsing issue.
3. hello are you there.
-
i suspect you're building your bot in a transactional model; if true, then you may run into lotta problems in the long run. I suggest you give more thorough training, use google to get list of possible customer care questions. Then try to use a conversational model for your bot as a basic requirement; if you play your cards right, you may get picked by you-know-who.
ProgrammingRe: Unlocking Pattern Lock On Android Phone In 5 Simple Ways (tested & Working) by Olyboy16(m): 4:00pm On Jul 10, 2017
Really? I'm skeptical about this crack! I dont use an android phone but i doubt Google would be so dumb as to store login credentials in the file system...not to even talk of in an openly visible file. Linux does this by default though, buh i doubt if Google will let that kinda vulnerability fly-by. If this crack is even remotely possible, any average coder can write routines that will disable the android password system completely!
PoliticsRe: Flooding: White Man Paddling His Canoe In Victoria Island, Lagos (Video, Photos) by Olyboy16(m): 6:31pm On Jul 08, 2017
alcmene:
Lagos is just an over rated slum.... lipsrsealed

If Lagos is like this then you can imagine the conditions of Owo, Oshogbo and Ogbomosho cheesy cheesy
remove osogbo - its drainage system would survive twice the amount of rain that floods lagos.
ProgrammingRe: Fix This C++ Code If You can by Olyboy16(op): 8:54am On Jul 08, 2017
sharrp:
What happens when the pin is lesser than than the lenght of the array/2 . And why did you resort to use an ordinary sort rather than implementing the binary search on the second half
Hi Sir, please find the correct code on the thread. that code is intentionally buggy.
ProgrammingRe: Fix This C++ Code If You can by Olyboy16(op):
WhiZTiM:
Yea... you should check the work he has been pushing out... "Design by Introspection".

BTW, I like the design of your blog. Spent sometime on it. Glad to learn about the Python library "ShutIt".

Great job man!
wao thanks man! i've been discouraged recently to make post cos i dont get any feedbacks, but you just gave me new inspiration! More Posts On The Way.



andrei's design by introspection is great, gave me some think time. though i feel like people should have known these law before hand.


BTW, pls dont reserve your comments on the bugs on my code, i love being corrected, makes me smarter. i have more codes to post if you dont mind, i deal in AI and i'm trying to create a custom AI-ML. so i've got some pretty interesting code snippets we can brainstorm on.
ProgrammingRe: Fix This C++ Code If You can by Olyboy16(op): 2:22am On Jul 05, 2017
WhiZTiM:
Is that not Dr. Andrei Alexandrescu on your profile? ...The template goon...
I picked up D lang cause of that guy....
Yes sir, that's the man! He's one of the guys i really wish to work with. D is just mehn.. kiss
I wonder why folks aren't picking it up much...such a great language
ProgrammingRe: Fix This C++ Code If You can by Olyboy16(op):
[quote author=WhiZTiM post=58132614][/quote]Hey, calm down big guy! I wrote that code after over 2 years away from c++.
Also, that's not the actual working code, it was intentionally left buggy and dirty. Obviously carelessly written too.

Now down to the comments.

Clang and Mingw both support implicit <string> headers in their <iostream> header; and. tongue ..just ignore those issues. it wasn't even a working code anyway, just part of a c++ rehab process(playing around with containers and lambdas).

Now just FTR, here is the actual code i wrote.



#include <iostream>
#include <algorithm>

using namespace std;

/**
* Olyboy16; Implementation of a simpler binary search algo
* this algo is limited to O(log n * 2) instead of O(log n)
*/

//function returns the index
template<typename T>
int binSearch(T arr[], int start, int end, T pin){
if(start > end)
return -1;
int mid = (end-start)/2;
if(arr[mid] > pin && (mid*2) > 4)
return binSearch(arr, mid -1, end, pin);
if(arr[mid] < pin && (mid*2) > 4)
return binSearch(arr, start, mid +1, pin);

return distance(arr, find(arr, arr + (mid*2), pin));
}

int main(){
int list[] = {3,5,2,65,86,12,65,86,45,7,2,42,97};

sort(begin(list), end(list));

cout << "Finding 42 using binary search! = " << binSearch(list, 0, 11, 42);
}


just for PoC really. the result's half baked
ProgrammingFix This C++ Code If You can by Olyboy16(op):
Hi guys, so i was just playing around with c++, trying to get back on track after a long long time away into Generic GC langs. As a polyglot programmer, its my duty to stay up to date with all my languages.

So , here's the dig. I was playing with algorithms...binary search to be exact. so, i encountered some issues along the way. which actually gave me some serious debug time!
So i thought, why not share the fun....i'm throwing out this challenge to anyone who thinks he's as good a C++ programmer as he/she thinks, to fix this code snippet...don't write your implementation...we all can do that...just /fix?optimize/


#include <iostream>
#include <algorithm>
#include <vector>

using namespace std;

/**
* Olyboy16; Implementation of a simpler binary search algo
* this algo is limited to O(log n * 2) instead of O(log n)
*/


template<typename T>
string binSearch(vector<int>* hay, const int pin){
int size = hay->size();
if(hay->at(size/2) > pin){
vector<int>* hay2; // if you can eliminate this object...you're good!
copy(hay->begin(), hay->end(), hay->begin());
return binSearch<int>(hay2, pin);
}
//lets just search through the chop
auto nd = find(hay->begin(), hay->end(), [=](int& x){
return x == pin;
});
return "[val:"+nd+"]";
}

int main(){
vector<int>* arr {2,5,6,7,9,5,2,1,89,76,33,56,12,0,98,5,4,3,2,45,654,99};
sort(arr->begin(), arr->end(), [](int& i, int& j){ //current > later
return i > j;
});
cout << "Finding 86 using binary search! = " << binSearch<int>(arr, 86);
}



Please note that i intentionally designed it to be a recursive solution...its just to pass time really. wink
ProgrammingRe: Php Vs Python by Olyboy16(m): 7:55am On Jun 22, 2017
bet9ja:
I will advise you to learn javascript, This is the right language for your choice, after javascript, learn some of its libraries like JQuery and so on.
bros, please dont mislead this Op.

OP, if you intend to develop websites, use php.

if you intend to do more than just serve web pages and create user portals, then go for python;( need long running processes, sockets, or APIs).

but if you intend to create a SaaS like online gaming, CRM, accounting or highly distributed computes then use C#(ASP .net).

i've got over 5 years exp with php, got my own framework. Also got 4 years exp with python nd C#...so i knw quite well what i'm saying!
ProgrammingRe: Php Vs Python by Olyboy16(m): 7:40am On Jun 22, 2017
Hibrahym:
This line does NOT work for ASM, C++ believe me!
very very true! Infact new modern c++ semantics are making the language almost impossible to learn for pydevs (i like it that way though).
ProgrammingRe: Please Guys, I Really Need Some Good Laravel Ebooks by Olyboy16(op): 10:44pm On Jun 18, 2017
yorex2011:
You can also take udemy courses
na i'm more of read and experiment than watch and learn person. Thanks sire.
PhonesRe: See The Top 7 Tech Innovations That Will Change The Future by Olyboy16(m): 8:10pm On Jun 17, 2017
winterfell007:
There's no argumentation of any humans. Don't let those tech radicals deceive u. Even Bill Gates knows the the truth. If u and ur kind allow robotics alter the way we carry out manufacturing of goods and services on an industrial scale, then u tech guys better create Robots that can pay and consume the goods and services u've made. Don't expect the human race u've all made 'effectively redudant' to consume these things.
trust me, humans are much more intelligent than you think. Watch the trend bro, you'll only loose to the AI future when you fail to divesify. Though some jobs simply cant be replaced by robots in a very long time...if i tell you one you'll be suprised!

Hair dressing and barbing!

(^_^) think bout it
PhonesRe: See The Top 7 Tech Innovations That Will Change The Future by Olyboy16(m): 8:25am On Jun 17, 2017
winterfell007:
Artificial intelligence and future robotics, u think they are exciting? Carry on with the delusion. The world is increasingly disregarding human labour adopting robotics as the newest labour force. Reminds me of the film Will Smith acted: 'I Robots'.

Have u asked ur self, where will our children work in the future, if we keep relying on Robots for everything we do. U think this 'exciting' future is gonna make our lives easier and better, Naijatechguy i'm sorry it gonna complicate not only how we work, but also how we interact with each other as humans.
Wake up, this is a crisis waiting to happen
don't worry bro, humans are gonna get augmented too. checkout neural link on google. find cybernetics on google to. plus we'll likely be connected to these robots in real time as our virtual extensions.
PhonesRe: See The Top 7 Tech Innovations That Will Change The Future by Olyboy16(m): 8:21am On Jun 17, 2017
naijatechguy

1. Augumented reality: hololens rules this arena. with this sweet tech you could take students on a real life virtual tour around the white house right there on school ground like it was built there

2. Reusable rockets: few people know about this innovation by spaceX, even those who know dont realize how awesome it is; Reusable Rockets currently saves the US hundreds of millions of dollars for space flight and i projected to save up to 20 billion dollars yearly on space flight.

3. Auto-cyber Fare: yes its powered by AI but its worth mentioning; this new concept was invented by DARPA last year, and there is a whole competition containing the geekiest to creating the best ACF system

4. Hyper-loop: this concept for the fastest human transport invented by tesla and spaceX CEO, Elon Musk. its all you can ever imagine when it comes to speed! i mean this tech can get you from calabar to sokoto in just 1 hour.

5. DNA Data Storage: i love this one.


innovation lives on http://olagsfark..com
ProgrammingPlease Guys, I Really Need Some Good Laravel Ebooks by Olyboy16(op): 12:19am On Jun 16, 2017
Hi guys, i'm in need of a reasonably good laravel ebook please. I'm currently on a very tight deadline, just 3 days to learn this Laravel Framework. See your help will be like a life saver to me cos i've gone online, the good Laravel books aren't exactly in offline pdf.

Please guys, links please? Or you could just send it to my mail alphageek@southernwellslimited.com ; Thanks as you help guys!
CrimeRe: Evans Begs For Forgiveness: "My Wife Collects Ransom Money For Me Sometimes" by Olyboy16(m): 6:22pm On Jun 14, 2017
hopily:
He without sin should cast the first stone.....go and sin no more,,,,!
the wages of sin is death! (except u got christ)

God is ever angry at the ways of men of evil hearts!
He who lives by the sword dies by it!
CrimeRe: Police (PCRRU) Invited Me To The Station For Refund, Should I Go? by Olyboy16(m): 3:21pm On Jun 10, 2017
tdayof:
Bro, go there. Open a monitoring thread here on Nairaland if you're scared. Update us with pictures from your journey to the police station. If anything happens which am sure nothing will happen and no update from you. Nairalanders will flood @policeNG on twitter.

Police is your friend.
Taeewo , this is the most honourable and amazing solution so far. simply add lawyer to it and you will get your money back even with damages
ProgrammingRe: [free Game] Keke On The Run 2 by Olyboy16(m): 6:12pm On Jun 09, 2017
Azanor:
grin grin grin grin
I guess babyish is one way to describe it, but that's the design style the development team decided to go for, rather than super realistic which would limit the number of mobile devices that can run the game.
Regardless of the style though, it is a really fun game! I've been playing regularly for quite a while now, trying to get my name at the top of the worldwide leaderboard with the highest score wink
I'm currently in 4th place though undecided
Its nice though, the fact that your team pulled this off is worth applauding. Great Game!
ProgrammingRe: [free Game] Keke On The Run 2 by Olyboy16(m): 12:41pm On Jun 09, 2017
adenuga558:
d keke graphic no look like real keke
abi o, where is the keke na? all i see is a toy car. BTW, you guys should fix your graphic quality; its too "babyish".
ProgrammingRe: Programmers Writes Code For DAVIDO'S IF Song by Olyboy16(m): 11:01pm On Jun 08, 2017
okay, i had to join the fun!! cheesy grin

ProgrammingRe: Programmers Writes Code For DAVIDO'S IF Song by Olyboy16(m): 6:16pm On Jun 08, 2017
kolafolabi:
This is called Davido App... By the way, did you write with Javascript, Python or Visual Basic?
its JS bro. OP this is classic! its not complete but it hits the sarcasm on the head.
ProgrammingRe: Celestial Church Of Christ Hymns (cccmyhymns) Now On Android with pictures! by Olyboy16(m): 12:32am On Jun 07, 2017
joefit4gur:
The electronic version of Celestial Church of Christ hymns, having a total of 465 hymns with a User Interface that is clear, concise, efficient and responsive. Now you don't have to worry when you forget your hymn book at home because Dad's at the horn signalling to you it’s late for Church, or you are at an occasion and you really need a hymn. You can just read and sing along the hymns on your android smartphone; afterall it's a smart generation.

Features

Beautiful User Interface
465 Hymns
Super-easy Navigation
Bookmark capability
Zoom functionality
Easy number entry / navigation
Index with search filters
Biblical Justification
Reminders for Mercy, Power, Glory and New Moon services
Brief History of the Church
Pictures

How to download:

Nigerian MTN users should download, install and register on the MTN Nigeria App Store, the MTN Appstore size is pretty small, not much, around 1.5MB.

Point your mobile browser to

http://mtngroup.nexva.mobi/nt/29297

Register with MTN NextApps Store from the downloaded application with your email and mobile number and proceed to download the applications:

CCCmyhymns Yoruba Limited Edition: http://nextapps.mtnonline.com/33228

CCCmyhymns English: http://nextapps.mtnonline.com/33133

CCCmyhymns Yoruba: http://nextapps.mtnonline.com/33225

CCCmyhymns Multi-Language: http://nextapps.mtnonline.com/33227

Coming to Google Play soon!
Nice work bro. Its great to know you are still supporting this app after such a long time since you started it.
Foreign AffairsRe: Hillary Clinton Claps Back At Donald Trump On Twitter by Olyboy16(m): 11:25am On Jun 01, 2017
oshe11:
These people have reduced America



She even had to say "Covfefe" grin



Putin come n take Over Jare
you really don't get the idea behind covfefe. covfefe is an american way of life inspired by less than 140 words fron President Of The USA; infact covfefe can get you a free visa to meet trump himself.
ProgrammingRe: 10 Nights Of Cloning Nairaland With PHP by Olyboy16(m): 8:34pm On May 28, 2017
kanayoNickel:
one thing it does not have yet x the ability to notify mentions or to retweet a selected sentence.

I will strive to work on it.

Then d Ajax chat is going askance. I ve disabled it for now. It sort of disagrees with my CSS. You know. jumps around d whole place if the browser client is Mobile.
u are doing a great job, really good. bt i need to ask few questions, is d site mobile responsive? are u wiling to let people see some part of ur code? do u intend to host and maintain this site?
PhonesRe: 5 Types Of Apps You Should Stop Using Now by Olyboy16(m): 8:13am On May 26, 2017
Mafia4life:
Nicely written. All of the above is true. Only newbies get freaked out by these apps. Well, anti virus is really helpful if and only if you install apps outside Playstore. So this article is 100000% accurate for geeks
nope, Google play isnt completely safe; infact it has quite a reasonable number of spyware and trojans.
Everything Else issokay
Web MarketRe: The Domainkingng Thread by Olyboy16(m): 6:20pm On May 24, 2017
DomainKingTeam:
Hi,
Thank you for getting back to us.

I have checked that our support team has already replied to you.

Your domain is registered. Please check your email for details.

Feel free to contact us if you need any further help or if you have any further queries.

Best Regards,
Karan
DomainKing.NG Support
Thanks a lot! you are awesome
Web MarketRe: The Domainkingng Thread by Olyboy16(m): 8:48am On May 24, 2017
DomainKingTeam

thanks for your prompt response, i have replied the ticket appropriately. Please Kindly see to it as soon as possible, Thanks.
Web MarketRe: The Domainkingng Thread by Olyboy16(m): 9:42pm On May 23, 2017
hi domainking , i am very happy with your remarkable response and quick support, it kinda reaffirms my trust in you again. Even though i just bought two new domains elsewhere this evening.
Anyway, i paid N 7000 on your portal on 15/02/2017 for hosting and domain service.

The invoice is #17153
The domain southernwellslimited.com

That domain hasn't been registered despite the fact that i paid sir. Everything else i working perfectly well.
I need you to help me fix the domain issue and put it online please!
Or simply refund my dues if its gonna cost me more trouble!

I need you to please reply this time!! thanks a lot

1 2 3 4 5 6 7 8 9 10 (of 18 pages)