₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,557 members, 8,446,004 topics. Date: Wednesday, 15 July 2026 at 10:13 PM

Toggle theme

FrankLampard's Posts

Nairaland ForumFrankLampard's ProfileFrankLampard's Posts

1 2 3 4 5 6 7 8 ... 10 11 12 13 14 15 16 17 18 (of 27 pages)

RomanceRe: 10 Pictures Every Guy With Small Joystick Can Relate To by FrankLampard: 10:14pm On Oct 10, 2016
Benita27:
How did you know all these if you don't have a small one @op?.
I'm looking forward to dating your kind of girl from the pix.
SportsRe: Arsenal & Chelsea: This Picture Of 4 Ladies Got People Talking On Twitter by FrankLampard: 10:06pm On Oct 10, 2016
Lol.
ProgrammingRe: How Can I Build A Twitter like @mention System In PHP? by FrankLampard: 5:35pm On Oct 10, 2016
teampregar:
The php equivalent for .push() is array_push(), do u knw that php has alot of amazing array functions, ie, array_count_values(), which i counts frequency of values in an array it can be a useful tool if u want to calculate the number of times a unique users visits your website..
Do u also knw that php now does multi-threading?? with the pthread library..
php is gradually become a powerful language, if i were the team in maintenance of php i will change its name from php to another, then create a runtime environment for it on various machines(just like java's JVM) so that php will fully become a multi-purpose language and i won't be looked down on by others who think php is just about web..
It will be very awsome if that happens because with the easy learning curve it has it will be easy for newbies to code windows,mac and linux softwares, ios, android and windows phone native apps, wont it be cool??
Nice one
ProgrammingRe: Help With Laravel 'JWT' Authentication by FrankLampard(op): 9:49am On Oct 10, 2016
godofbrowser:
Every Malam with him kettle jor undecided tongue
I no sabi speak parables.
ProgrammingRe: Can You Solve PHP Problems? Let's Find Out.. by FrankLampard: 5:32pm On Oct 09, 2016
ANTONINEUTRON:
abeg diz might be off topic but i notice a problem in php.

For Example::
$i = 1;
while($i<$antoniage){
$i++;
echo $i;
}

once d loop above run finish, if i want to use $i again in another loop(i intend it to still be equal to 1)
it return nothing or False


What might be d problem



Am just a beginner
Make your question clear.
AutosRe: (abuja)sparkly Used 2008 Faultless Toyota Camry S Selling@1.950m by FrankLampard: 4:51pm On Oct 09, 2016
onyichick:
I luv it,but my money never complete. happy sales.
Nice car
ProgrammingRe: I Need The Service Of Good Cs-cart Or Php/mysql Programmers Urgently by FrankLampard: 4:35pm On Oct 09, 2016
dhtml18:
faints
Lolz. I know say na all this guys wey wan put heaven and earth on a site for 15k.
ProgrammingRe: I Need The Service Of Good Cs-cart Or Php/mysql Programmers Urgently by FrankLampard: 3:50pm On Oct 09, 2016
ReviewByPaul:
I urgently need the service of very experienced PHP/MySQL programmers that can customize cs-cart multivendor shopping cart software to create a Konga like kind of e-commerce website. If you have the required competence, please share your work and contact with me. The project is commencing soon and I need a good PHP programmer urgently.
joelezeu@gmail.com
I will show you my work. I'm very cheap. grin
ProgrammingRe: Can You Solve PHP Problems? Let's Find Out.. by FrankLampard: 7:38am On Oct 09, 2016
noordean:
My solution:
https://ideone.com/6BARWK

My program does not loop beyond around 3000th position but I'm sure my algorithm is correct , I guess this is due to the strong looping process involved.
I'm still trying it on online editor. When my system is up, I'll check and see.
Though I'm not a Python guy. But I can read your code slightly.

You tried in your implementation, but you need to read the question and answer the question again.

From your code you got 27437 (Not sure). The answer supposed to be 104743. It has been long since I solve that particular question. But you can effectively answer the question using Dynamic Programming DP, simply Google "sieve of eratosthenes".

Hint:

Use Sieve method to iterate all the prime number, then check if when the iteration has gotten to it 10001 number , then break out of the loop.

Happy coding.
ProgrammingRe: Can You Solve PHP Problems? Let's Find Out.. by FrankLampard: 3:55pm On Oct 08, 2016
Use any language to solve this very simple.

Question.

By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see that the 6th prime is 13.

What is the 10 001st prime number?
ProgrammingRe: Programming Langauges In Nigeria 2016: Whats Hot, Whats Not by FrankLampard: 3:20pm On Oct 08, 2016
DanielTheGeek:
The computer doesn't lie, but can be made to tell a lie (something they didn't teach you in school right?).
If a computer is being made to tell lies, it will continue telling lies, and never the truth. It can't say the truth on websites A and tell a lie in website B. Provided source code remains constant.

It is never possible.

I won't argue about this again pls.
ProgrammingRe: Programming Langauges In Nigeria 2016: Whats Hot, Whats Not by FrankLampard: 2:28pm On Oct 08, 2016
islam1001:
.

FrankLampard the name of the post was PHP sucks when building enterprise sotwares NOT php can,t be used for anything enterprise, u also pointed tat etranzact was built wit Php, everybody in nigeria software industry know that it absolutly not true...... I tink u sould question where builtwithit get their sources from
Well I don't know where they got there source from, but I have tested it with the sites I have built and also sites that my developer friends have built too. There seem to be somewhat accurate. Only for some sites made with Python and NodeJ.

As a computer science major, I'm thought that computers GIGO. So a computer can never ever tell lies.

So if a computer tells me, A is A. I will never doubt. Because I'm made to believe the computer is 100% accurate.

I believe their code have been tested, before bringing it to production. I mean builtwith and co.

Thank you.
ProgrammingRe: Can You Solve PHP Problems? Let's Find Out.. by FrankLampard: 1:17pm On Oct 08, 2016
Signs Out of thread
ProgrammingRe: Can You Solve PHP Problems? Let's Find Out.. by FrankLampard: 12:51pm On Oct 08, 2016
toheebDOTcom:
@danielthegeek

Its because the return value is 0 which is interpreted as false by the if condition. To correct that, you will check the TYPE as well using ===
I wanted to say that, but I thought of other possibilities.

You can assign the strpos() to a variable and then check if true or false.

Eg
$strpos = strpos($first_string, $second_string);
if($strpos !== false)
{
True
}
False

NB: I No test sha, and I no look documentation.
EducationRe: Top 10 Nigerian Universities With The Most Beautiful Girls ? Guess The #1 by FrankLampard: 12:44pm On Oct 08, 2016
forreelinc:
angry HOW DARE YOU?
1 omotola
2 Toolz
3 dj cuppy
4 tiwa savage
In fact kneel down there make I go find cane
Lol is Tiwa Savage beautiful? With her opollo eye. I can give it to other celeb you listed sha, but not Tiwa. No no no
ProgrammingRe: Can You Solve PHP Problems? Let's Find Out.. by FrankLampard: 12:37pm On Oct 08, 2016
DanielTheGeek:
Have you been coding PHP for many years but have not gone beyond few functions?, this thread tests your practical knowledge of the language.
Please, don't post off-topic here, just serious contributions involving code and useful comments..

I'd take this from easy to hard and anybody can drop in a question at anytime.

Now, first question:



If you run the above code, you'd get:
"DanielTheGeek" does not contain "Daniel"

Why?

What needs to be changed to make the above code work as expected?

UPDATE: Five points for the first correctly answered question, a leaderboard will be published with the names of people that have high points.
I think that function must be passed with 3 parameters.

The last one being the position to start the search from.

Will look at the code very well later
ProgrammingRe: Programming Langauges In Nigeria 2016: Whats Hot, Whats Not by FrankLampard:
DanielTheGeek:
I don't understand this, be clear.

But I mean, If I have a Node based app and I check builtwith.com, I may not see the server-side tech used but if I decided to use WordPress for the blog, or build the support centre on PHP then builtwith.com will report that PHP is the main server-side language used for the web-app which is misleading.
You got it wrong here. Those platform will simply list all the technologies used to create an application. Just the way it listed PHP as one of the technology used to create Google.

So if you used PHP it will simply list PHP, nothing like one being the main server or something. Pls reread all my posts.

The argument started when islam1001 said in other thread that you can't use PHP for anything enterprise. But I'm pointing to him that many companies has used it and will still be using it.
ProgrammingRe: Programming Langauges In Nigeria 2016: Whats Hot, Whats Not by FrankLampard: 8:35am On Oct 08, 2016
DanielTheGeek:
https://www.similartech.com/websites/rangostudios.com


I know, I'm just trying to show that those sites can't predict well at all times.
Why can't they tell me what that site is using?

They way it crawls websites isn't that nice for server side languages, e.g: I bet that If I upload a single PHP file with the '.php' visible in the url, those sites bot will say the site made use of PHP as it's server side language, whereas it may not be true.
You said a single PHP file. Again with .php extension. It is made with PHP afterall.
EducationRe: Top 10 Nigerian Universities With The Most Beautiful Girls ? Guess The #1 by FrankLampard: 8:02am On Oct 08, 2016
No Yoruba university, apart from Unilag should be there.

Yoruba girls wowo for Africa.
ProgrammingRe: Programming Langauges In Nigeria 2016: Whats Hot, Whats Not by FrankLampard:
DanielTheGeek:
https://www.similartech.com/websites/rangostudios.com


I know, I'm just trying to show that those sites can't predict well at all times.
Why can't they tell me what that site is using?
Just like I said in one of my comments in one of the threads. It is a new system so they are still gathering information about websites on the web.

So for now. Website's with Python and even some sites with NodeJs framework, can't show effectively.

But for sure if the platform can pick your site and say you used a particular technology. It won't lie at all.
ProgrammingRe: How Can I Build A Twitter like @mention System In PHP? by FrankLampard: 7:20am On Oct 08, 2016
DanielTheGeek:
I hope I got your attention...
I'm asking not because I don't know it/I can't implement it but because I want to learn more, so I'm asking all the PHP dare-devils and e-wolves in the house to "help me work this thing out".

Note: Please, I prefer us to do more code than talking, lot's of people will also learn from this thread.

First off: My implementation on CodeIgniter was done using preg_replace (regexp) to strip out the @ and fetch the values after the '@' sign then pass it on to a controller that queries the db through a model for the value after the @ sign in my users table on the db. What I'm saying plainly is that, when you type: @FooBar, I strip off the '@' and search for any user called 'FooBar' in my users_table, If found, return a click able link to the view (front-end).
Now, how will you go about implementing yours?
Nice solution, in addition to your solution, if you want to add it in the comment system of your app just as you said in one of your comments. My solution would be thus

Create a table called maybe 'notification'
With columns as id | mention | user_id

Use preg_replace_all() to dictect for any @ mmentions, then find if that person is in your db, if yes?

Update your notification table with mention and the @someone user id.

Write some codes that will send the actual notif.
ProgrammingRe: Programming Langauges In Nigeria 2016: Whats Hot, Whats Not by FrankLampard: 7:03am On Oct 08, 2016
DanielTheGeek:
The builtwith.com bot behaves somehow and can be tricked when trying to discover the programming language or technology used. Check this: http://builtwith.com/rangostudios.com
Where are you driving at? I didn't only used builtwith there.
ProgrammingRe: Programming Langauges In Nigeria 2016: Whats Hot, Whats Not by FrankLampard:
islam1001:
well good to hear , but i have still not come across anybody using "voguepay" OR "simplepay" , or do you use it , also etranzact do not use PHP for anything at all, they built quickteller with ASP and their payment platform etranzact.com with JAVA not PHP

And also i think you did not read the comments from users after reading that PAystack built their engine with PHP
http://radar.techcabal.com/t/customer-success-engineer-at-paystack/7755

Am not saying you can,t use PHP to build Applications, what am saying is it should not b used when working on Enterprise systems, may be you should check the meanings of enterprise software https://en.wikipedia.org/wiki/Enterprise_software


and i think you should check this out https://www./20141114182637-12880086-php-vs-asp-net-what-you-should-really-be-comparing-instead
I don suffer oh. Someone is teaching me the meaning of Enterprise Software. Larisoft see wetin u cause. dhtml18 come and see.

NAwa oh.

Check this out http://builtwith.com/etranzact.com

https://www.similartech.com/websites/etranzact.com

https://w3techs.com/sites/info/etranzact.com

Come back and argue again.
ProgrammingRe: Programming Langauges In Nigeria 2016: Whats Hot, Whats Not by FrankLampard: 5:56pm On Oct 07, 2016
islam1001:
Sorry sir, i would like to ask, have you ever seen any nigerian financial dealer, be it banks or payment platform using "NODE.JS","PHP"or "PYTHON"
at least i know of some asp.net, but if they where to go with those three above, security would be an issue!!! @OP am just saying
U sef.

Voguepay.com was built with PHP, go and hack it.
http://builtwith.com/Voguepay.com

Same with simple pay

http://builtwith.com/simplepay.com

Paystack
http://radar.techcabal.com/t/customer-success-engineer-at-paystack/7755

QuickTeller.com is made with ASP.NET
http://builtwith.com/quickteller.com

Do some research before you argue.
ProgrammingRe: Let's Be Honest Php Sucks When Building Enterprise Applications by FrankLampard: 10:00pm On Oct 06, 2016
islam1001:
send your cv first na
Oya wey your email make I send. I wan learn Java
ProgrammingRe: How Many Lines Of Code Is Your Largest Work So Far? by FrankLampard: 3:24pm On Oct 06, 2016
islam1001:
count the last line on each file not your libs
Who get that time, if IDE no do am for me, I no dey count.
ProgrammingRe: Let's Be Honest Php Sucks When Building Enterprise Applications by FrankLampard: 3:21pm On Oct 06, 2016
islam1001:
Dude YOU NO GO LIKE quit PHP and come and collect JAVA job with 350,000 gross from me
Which company you dey work?
ProgrammingRe: Let's Be Honest Php Sucks When Building Enterprise Applications by FrankLampard: 12:10pm On Oct 06, 2016
islam1001:
Oga U no go like go build etranzact with PHP.
I just noticed you are a newbie. Bye
ProgrammingRe: Let's Be Honest Php Sucks When Building Enterprise Applications by FrankLampard: 7:48am On Oct 06, 2016
kingofthejungle:
see one
Point the account to me not the write up, anybody can write this there. Use your head.
ProgrammingRe: How Many Lines Of Code Is Your Largest Work So Far? by FrankLampard: 7:34am On Oct 06, 2016
How do I count. Because my IDE dey count added libraries too.
ProgrammingRe: Let's Be Honest Php Sucks When Building Enterprise Applications by FrankLampard: 7:32am On Oct 06, 2016
seunthomas:
On this issue of security, if una no go vex, let me explain somethings.

No language is actually more secure than another language. Contrary to popular belief, security is actually not built into the language(am open to alternative views sha).

So you cant say Java is more secure than PHP or C# is more secure than Java.

Although some languages are type safe like Java. But that in itself is not overall security.

So a java application is likely to be hacked as much as a php application.

But the openness(source code) of some languages make them easy targets.

Also some languages by default have security features implemented in their libraries/frameworks.

Although execution speed "wise" Java,C#,python,ruby are faster than php5, because php is interpreted(interpretation is slower).

Enterprise applications require support from a well known vendor, that is why banks will pick Java or c# first because they can get support from the IBM's,Oracle's and Microsoft's or their partners.
Simple.

Because of PHP's 100% open source nature. It is been maintained by everyone, that can write codes, so Hackers can look through all of its source codes to see how it security features were implemented.

Java on the other hand, though open source, but only being maintained by the company's that owns it.
The source codes to Java can't be found anyhow.
ProgrammingRe: Let's Be Honest Php Sucks When Building Enterprise Applications by FrankLampard: 7:26am On Oct 06, 2016
kingofthejungle:
both past and present engineers answered the questions
Point them to me.

1 2 3 4 5 6 7 8 ... 10 11 12 13 14 15 16 17 18 (of 27 pages)