₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,024 members, 8,419,975 topics. Date: Thursday, 04 June 2026 at 08:42 AM

Toggle theme

Abdul01's Posts

Nairaland ForumAbdul01's ProfileAbdul01's Posts

1 2 3 4 5 6 7 (of 7 pages)

ProgrammingAverage Developer Salary by abdul01(op): 8:16pm On Apr 14, 2015
Hello guys, pls what's the average salary for a developer here in Lagos. Please your inputs will be aprreciated. Thanks
PoliticsOpinion: No Tribe Is Perfect by abdul01(op):
Wow! I just read through some of egift's posts and comments now (ecpecially on d issues surrounding agbage, HRH oba of lagos and his ppl d ibos), I must really say that I'm impressed and this proves and reaffirms d fact that there are many good n intelligent peeps amongst our ibo brothers.

Bros I duff my hat for u oh! cos u'r d example of ibo peeps I respect a lot.

cc: egift
PoliticsThe Lagos Of Our Dream by abdul01(op): 8:00am On Apr 12, 2015
Is it that some ppl are blind to the developments going on in Lagos?
-BRT
-LASTMA
-LAWMA
-security
-housing
-Health care
-light rail project (though it's not yet complete)
-Good roads
-increased IGR, etc
This is despite d fact that d state has been controlled by d opposition for d last 16 years and despite also d cosmopolitan and complex nature of d state.

So now that we have d opportunity to be controlled by a sincere ruling party at d top n at d bottom, some ppl want to come and put sand sand in our garri. How do u expect us to accept that and how do u expect us to feel!!

Don't u realize that this alliance btw d federal and state govt. is like an awoof for us, cos there would be synergy btw d 2 parties and that means we can achieve our dream of lagos being a world class city like dubai n co. Likewise this means that all d projects staerted by gov fashola will be taken care of and maintained and d uncompleted ones will be finished.

Moreover, have u guys ever asked urself that what makes ur business thrive here in lagos, isn't it because of d environment, d good roads, d orderliness, etc and d level playing ground provided by d government. So u want to substitute this with d un-orderliness an mediocrity that d PDP has been known for!?

If we had allowed u guys to go on with ur plan, we will all suffer it together, cos a tested and trusted APC govt in Lagos is far better for us than PDP(not with this state that they are in now that they have no access 2 d federal coffers again).

So in d spirit of oneness, I urge my Igbo brothers in lagos to think in-depth abt d recent action of d yourbas in lagos and also that of our king, and know that it's for d betterment of us all, not because we hate u or because we are 'tribalistic'.

As for d issue of d oba, yes he's still our king even though (with all due respect) we disagree with his speech against d ibo, but I guess he made d statement out of frustration and love for his people. I urge everyone of us to forgive n forget d statement n work together n stop all these tribalistic bashing so that we can move forward.

Peace!!
#TeamOneNigeria
PoliticsRe: Nigerians Being Killed Everyday In South Africa: Where's FG? by abdul01(m): 12:27am On Apr 12, 2015
johnny1980:
Not supporting bad actions or jungle justice but most Nigerians out there deserve whatever they get. You go into a country and instead of living peacefully and respecting the rules of that country, you go on to constitute a nuisance involving in nefarious activities and when you are gunned down you expect sympathy. Nah. It doesn't work that way,

If a Nigerian is wrongly killed then we should work on it but the majority we hear of are actually drug dealers and other crimes related participants who deserve the hot death they recieved.
Seconded.
The questions we should be asking ourselves now is that:
Why is it always Nigerians that are being killed?
Why is it always Nigerians that are being deported?
Why is it always Nigerians that are treated as scum or disrespected?

Are we the only immigrants to other countries?

The simple answer is that we don't behave ourselves when we get to other peoples land, the same way some ppl are trying to form boss over their landlords here in Lagos.
ProgrammingRe: Urgent Help Need! Pagination With Php by abdul01(m):
d secret of pagination is using the SQL LIMIT clause which takes two parameters, the first param is the no of rows to skip and the second is the no of rows to take/return
e.g SELECT * FROM table LIMIT 0,10. This means skip 0 rows and take the next 10 rows.
Likewise SELECT * FROM table LIMIT 100,20 means skip 100 rows and take the next 20 rows

so if i have 500 records(rows) in my table and i want to display 50 records per page, then i would have (500/50 = ) 10 pages.
$total_pages = $total_records / $take;
// note $take is the no of records we want to display per page
so we are going to generate links for the 10 pages and these links will show on all pages to enable us navigate to anypage from anypage.

for($i=1; $i<= $total_pages; $i++){
echo "<a href='?page=$i'> page $i </a>";
}
just put this below d page or anywhere u want d links to appear.

so page 1 would display records 1 to 50 (the query for this would be SELECT * FROM table LIMIT 0,50)
page 2 would display records 51 to 100 (the query for this would be SELECT * FROM table LIMIT 50,50)
page 3 would display records 101 to 150 (the query for this would be SELECT * FROM table LIMIT 100,50)
...
page 10 would display records 451 to 500 (the query for this would be SELECT * FROM table LIMIT 450,50)

so now that we have a prototype of the query for each pages, we need to make it dynamic. so if u notice from the above query(s), the only thing that is changing is the 'skip' parameter for LIMIT clause, the 'take' (no of records we wana display per page) is constant.

so the next thing is to capture the page that we are currently on (based on d links we generated above) and tell our php script that for this page, skip so so records and take d next 50 records

so at the top of d page we should have:
$page_no = isset($_GET['page']) && is_numeric($_GET['page']) ? $_GET['page'] : 1;
//since by default the page parameter would not be in the query string (d part after ? in d url, we set it to 1)
if($page_no <= 0)
$page_no = 1;
if($page_no > $total_pages)
$page_no = $total_pages;
//just some data vaidation check so as not to mess up our query

so the next thing is to calculate the dynamic value of the $skip variable:
$skip = ($page_no - 1) * $take;

so ur query would be "SELECT * FROM table LIMIT $skip, $take";
this would be dynamic depending on the page number we are on.

Of course this is just the basics that we need to implement pagination, there are still some more works we need to do such as making sure that the page no passed via d URL isn't outside the boundary of no of possible pages we have, smartly shrinking the generated links in d case where we have large no of records, etc

I hope this helps sha, just try and digest it and use it in ur code, if there's any part that isn't clear there let me know, i'm a bit lazy to write a full implementation. cheers.
ProgrammingRe: Stack-overflow Developer Survey 2015 by abdul01(op): 5:21pm On Apr 09, 2015
@CMM. yer, we getting there soon.
ProgrammingStack-overflow Developer Survey 2015 by abdul01(op): 9:39am On Apr 09, 2015
Jokes EtcRe: Election Anxiety As Nigerians Are Forced To Become Mathematician (picture) by abdul01(m): 11:38pm On Mar 30, 2015
The last pawn PDP has now is Delta state. This game's getting interesting.
ProgrammingRe: Programming Difficulties... Needs Your Take... by abdul01(m): 9:18pm On Mar 29, 2015
My Guy since u've started learning java, just continue and focus on it and also use a book like java how to program by paul deitel(although it's huge but self-explanatory with examples and exercises).
ComputersRe: How To Control Windows 8 Data Usage by abdul01(m): 12:03pm On Mar 29, 2015
Thanks alot for this.
ProgrammingRe: Pls Where In Lagos Can I Learn Python Programming Language by abdul01(m): 12:49pm On Mar 13, 2015
Unfortunately most IT schools don't train on python, only PHP, Java and .NET. My advise for u is to go to udemy.com where u can find different paid python courses or u can just look for an individual who can train u personally.
WebmastersRe: Why Does Lhpay.net And Vogue Pay Look Identical With The Exact Same Service? by abdul01(m): 10:55pm On Mar 12, 2015
Nice thread. I feel the issues raised by both parties hold water to some extent especially the criticizing party. This is because the issue of payment processing (and e-commerce in general) is a very serious issue that shouldn't be handled with levity and by rogue developers using one free theme or one shared host and poor infrastructures and the rest. With the rate of e-commerce and e-payment proliferation in nigeria, it's emminent that there'll be increase in online fraud and scam, and we need to be extra careful and only do business with VERIFIED and CERTIFIED online merchants.

As for those bashing halima(although I don't agree with all her comments especially d last one), pls read this: http://en.wikipedia.org/wiki/Payment_Card_Industry_Data_Security_Standard

Also this a a quote from Akinyele Olubodun's blog on some vulnerabilities he found on some nigerian payment processing sites http://blog.akinyeleolubodun.com/my-top-5-payment-gateways-in-nigeria-2014.html:

"
Ahhhh! That was a long piece. If you are still reading this, it means you have taken so much patience to read my rants. Thanks! I know some people may ask why I did not mention payment platforms like Diamond pay, Global pay, Fidelity Pay, Stanbic Pay, Vogue Pay and others. Yes, they are not on my list because I found a vulnerability that won't allow me praise them. Anyway, I have written to some of the companies about the vulnerability and I pray they fix it very fast. I would strongly advise you to disable the mentioned payment platform if you are using any of them because if the bad guys know what I know about them, your company is in soup. Who even knows if you have been experiencing such on your site and have been wondering where your money has been going. It can ruin your business.
"

If this is the case with the likes of Diamond bank, voguepay and co., then we need to be extra careful with these 'new comers'!!
ProgrammingRe: Programmers Health by abdul01(m): 8:43pm On Mar 12, 2015
@dhtml, Ah! I don catch u today, so you dey smoke igbo, smiley JK
As for me I try to talk to people around me whenever I'm bored from programming as I'm naturally the introvert type
ProgrammingRe: Nigerian Government To Compel Foreign Firms To Use Locally Developed Software by abdul01(op): 8:18pm On Mar 12, 2015
I get your point, but we have a vibrant software market in nigeria, at least i know of a bunch of core SW coys like Sidmatech(that currently handles JAMB and NYSC), E-softies, Chams, socket-works, etc and all the other SW coys at Silicon valley Yaba. Of course we are not yet there, but I feel this is a right step taken by the government.
ProgrammingNigerian Government To Compel Foreign Firms To Use Locally Developed Software by abdul01(op):
Plans are underway to compel foreign firms operating in Nigeria to use locally developed software as a way of promoting the development of the software industry in Nigeria and backed by the local content policy. This was disclosed by Ernest Nwapa, Executive Secretary of the Nigerian Content Development and Monitoring Board (NCDMB).

Nwapa, who made the call in Lagos recently, during the ISPON President’s Dinner 2015, said: “We need to collaborate with software practitioners in the country, just as we are currently doing with the oil and gas sector of the Nigerian economy, in order to achieve the same level of success recorded in the oil and gas sector through the Nigerian Local Content Policy.”

He said what is going on in the oil and gas sector, could be replicated in the software industry, if there is a strong collaboration between the board and ISPON.

“To promote software, we must agree that certain percentage of software used in Nigeria by foreign firms, must be developed in Nigeria, and once we stand by it like we did with the oil and gas sector, the investors will have no choice but to key into our plans,” Nwapa said, adding that for Nigeria to achieve full local content development in any sector, there must be local manufacturing in Nigeria.

Governor Liyel Imoke, of Cross River State, added: “I have seen some young Nigerians that have developed excellent local software and I have also seen some local software used by various agencies and departments. I have seen local software in Cross River State that was developed by Nigerians and used by hoteliers for booking of accommodation and other hotel services. I have also seen local software used by government especially in the state ministries, departments and agencies (MDAs). The potential of software industry in Nigeria, is therefore great, but it is something I think we have to develop beyond what it is today.”

Source: http://www.techcityng.com/nigerian-government-to-compel-foreign-firms-to-use-locally-developed-software/

This is good news for the IT sector, and I guess our government are beginning to wake up now. They should also replicate the same thing in the hardware sector, i.e we should (or must) patronize our local hardware vendors like Zinox, Omatek, Speedstar etc. This is the only way these guys can grow and of course this will boost our economy and create more jobs.

All these coys that we patronize: HP, Dell, Apple, etc are all amongst the fortune 500 coys. Imagine if we patronize our local guys: Zinox, Omatek and co the way the americans patronize apple, these (our local) coys would have been like NNPC and MTN here in Nigeria where everyone would be craving to work.

Yes i understand that they make low quality stuffs, but the only way they can grow and produce standard stuffs is if they are patronized and they have constant buyers, cos even the Hp and co it's just nice packaging that they have, majority of what's in their system like the HDD, DVD-ROM, Screen, mother-board, etc are produced by 3rd parties.
ProgrammingRe: Death Sentence For Hackers: FG Sends New Cybercrime Bill To National Assembly by abdul01(op): 7:01pm On Mar 12, 2015
Please I didn't post this info here for us to abuse Bros J or the government oh, I posted it here so as to create awareness as there are too many 'I want to learn how to hack' Qs nowadays and ignorance wouldn't be an excuse if one is caught(of course not every hacker out there is a bad guy, but many skiddies might get their fingers burnt while experimenting with the latest hacking trick )
ProgrammingRe: IT Needs In Our Economy by abdul01(op): 4:36pm On Mar 12, 2015
I forgot to add NYSC too
ProgrammingRe: Death Sentence For Hackers: FG Sends New Cybercrime Bill To National Assembly by abdul01(op):
.
ProgrammingDeath Sentence For Hackers: FG Sends New Cybercrime Bill To National Assembly by abdul01(op): 4:33pm On Mar 12, 2015
The federal Government has sent a draft law, empowering security agents to intercept, record and seize electronic communications among individuals, to the National Assembly.

Dubbed the Cybercrime Bill, the draft was submitted to the National Assembly last week by President Goodluck Jonathan. Under the proposed legislation, authorities, particularly during criminal investigations, will be allowed to intercept and record personal emails, text messages, instant messages, voice mails and multimedia messages, if enacted into law.

The proposed legislation also reserved a stiff penalty of death sentence for hacking of Critical National Information Infrastructure.

However, if the offence does not result in death but leads to “grievous bodily injury,” the offender shall be liable to imprisonment for a minimum term of 15 years.

If found guilty of cyber terrorism, the penalty that awaits an offender is life imprisonment, while production and distribution of child pornography fetches at least a 10-year jail term or N20 million fine for any person convicted.

The bill specifies 10 years in jail, N15million fine or both for paedophiles.

The bill, whose operations can be invoked without recourse to issuing of warrants where the need for “verifiable urgency” is established allows security agencies to ask telecommunication companies to conduct surveillance on individuals, and release user data to authorities.

If, however, there is no urgency, an ex parte order of a court will suffice before a law enforcement officer conducts a cybercrime investigation.

Source: http://www.bizwatchnigeria.ng/new-cybercrime-bill-allow-security-agencies-spy-nigerians-death-sentence-hackers/
February 25, 2015
ProgrammingIT Needs In Our Economy by abdul01(op): 2:57pm On Mar 12, 2015
Hello fellow devs, due to the recent waves from different sectors of our economy as it relates to IT, i noticed a lot of things which i would like to share with us all(and would also like us to discuss them):

1. The recent alleged hacking of INEC database and the need for Information security (and Info security experts).

2.The recent attack on the APC data center at Allen Avenue and the need for Information security in all its facet(physical and logical).

3. The recent saga about the missing certificate of the presidential candidate of APC and the need for data storage and mgt using Information Systems and all that attached it.

4.The recent 100% shifting of JAMB to CBT, and the need for IT security(this is no.1(imagine if JAMB's system's hacked, that'll will be a big disaster))

5. I also noticed that in some of the JAMB centers, it was HP systems that were used, whereas the government(or those in charge of the centers) should have patronized our local brands like Zinox, Omatek, Speedstar, etc.(This stuff really pains me, cos I feel these guys would have been billionaires like HP and DELL if we really patronize them and all our other local brands.)

In summary, these sectors(Government, Education, Health, INEC, Banking, Payments(Interswitch, E-tranzact and co.) etc) are all in need of real IT(Enterprise) services that'll cater for all their IT and Information needs from data storage & management to data analysis & mining(especially in this age of Big Data) to Security(very very important, cos boys are not smiling) to IT audit to System & Network administration to etc.

Please let's add others and probably discuss the one i wrote above, thnaks.
Technology MarketRe: Brand New Blackberry Playbook 4 Sale!sim Slot N Wifi Enabled For Just 30k Only! by abdul01(m): 7:49am On Feb 25, 2015
Hello @op, do u have any laptop with d ffg spec for sale?

Specs:
-Core i5 or i7 (4th gen) with dedicated graphics
memory
-8gb ram (12 or 16gb preferrable)
-750GB or 1TB HD (preferably 7200 rpm )
-Backlit keyboard
-Touch screen
-Good battery life(6 hrs average or more)
-Not too heavy (I prefer sth within d range
4.5pounds)
-screen dim.: 14" or 15"

Pls if u have a new or neatly used laptop of d above
spec from any good maker(hp,dell, acer, lenovo,
asus etc) for sale, pls reply.
Technology MarketLaptop For Buy* by abdul01(op): 7:47am On Feb 25, 2015
Specs:
-Core i5 or i7 (4th gen) with dedicated graphics
memory
-8gb ram (12 or 16gb preferrable)
-750GB or 1TB HD (preferably 7200 rpm )
-Backlit keyboard
-Touch screen
-Good battery life(6 hrs average or more)
-Not too heavy (I prefer sth within d range
4.5pounds)
-screen dim.: 14" or 15"
Pls if u have a new or neatly used laptop of d above
spec from any good maker(hp,dell, acer, lenovo,
asus etc) for sale, pls reply.
ComputersI Need Of A Good System To Buy by abdul01(op): 7:34am On Feb 25, 2015
Specs:
-Core i5 or i7 (4th gen) with dedicated graphics memory
-8gb ram (12 or 16gb preferrable)
-750GB or 1TB HD (preferably 7200 rpm )
-Backlit keyboard
-Touch screen
-Good battery life(6 hrs average or more)
-Not too heavy (I prefer sth within d range 4.5pounds)
-screen dim.: 14" or 15"

Pls if u have a new or neatly used laptop of d above spec from any good maker(hp,dell, acer, lenovo, asus etc) for sale, pls reply.
ProgrammingRe: Sql For Joing 3 Tables In My Databse by abdul01(m): 5:34pm On Feb 17, 2015
@op, try this

SELECT t1.name, t1.age, t2.food, t2.drink, t3.marks, t3.position
FROM table1 t1 JOIN (table2 t2, table3 t3)
ON (t1.id=t2.id AND t2.id=t3.id);

or

SELECT t1.name, t1.age, t2.food, t2.drink, t3.marks, t3.position FROM table1 t1, table2 t2, table3 t3 WHERE t1.id=t2.id AND t2.id=t3.id

But Ur table design's a bit poor sha!
PhonesI Need A Used Infinix Hot by abdul01(op):
Hello @all. Does anyone here have a used Infinix hot, I'm interested in buying. Tnx
PhonesRe: Infinix hot discussion and review thread! by abdul01(m): 4:15am On Feb 11, 2015
Hello @all. Does anyone here have a used Infinix hot, I'm interested in buying. Tnx
U can whatsapp me on 08024701034
PoliticsRe: The Fake Video About "Apc Rigging" Should Be Removed From Fp by abdul01(m): 9:09am On Feb 07, 2015
Later they will claim NL is non-partisan. The funny thing is that there are more credible posts in d politics section worthy of being on FP (like d ones from reuters, yahoo and pat utomi), but these mods pretend as if they didn't see it, whereas any post aligning d APC is quickly moved to FP.
PoliticsRe: Nigeria Presidency Hopeful Buhari Expects 'landslide Victory' by abdul01(m): 9:05am On Feb 07, 2015
I wonder why posts like this don't make FP, whereas one video with unkown ppl tagged as APC touts thumbprinting ballot papers makes FP
ProgrammingRe: Question Abt Bash by abdul01(op): 5:35am On Feb 07, 2015
Tnx a lot, I'v created d .bashrc in my home dir and added d alias too. But I noticed that I can only use it (d newly added alias) after restarting d terminal, but I found a way around this here(www.superuser.com/questions/602872/how-do-i-modify-my-git-bash-profile-in-windows) by using:

source .bashrc

after adding a new alias. Tnx
PoliticsRe: Assuming We Have Only 2 Banks In Nigeria.... by abdul01(m): 10:56pm On Feb 05, 2015
Good analysis, I like this. Mods Abeg front page
Tech JobsRe: Are There Any Unemployed App/Software/Web Designers & Programmers On Nairaland? by abdul01(m): 10:08pm On Feb 05, 2015
dhtml18:
Oh that! you shall all step up very soon, keep up the great work! Na step by step you go dey move up.
Yes oh!

1 2 3 4 5 6 7 (of 7 pages)