i Have just written this function in php. It is a small part of a search engine, the function searches through a string (in this case it's the content field of a page) and attempts to pick chunks of text out of the string and join them using ...
This is similar to how google works although i'm sure their algorithm is more advanced than this 5 minute job.
NOTES: getMeaningfulContent($s = string, $k = keywords (string|array), $n = int (number of characters to seek))
This is similar to how google works
Yeah, sure it is.
Name:
Anonymous2007-09-27 7:01 ID:x5s6Nq2a
Yeah because we all know /prog/ is a shining beacon of enlightened collaboration and this post beggars belief in comparison to such gems as 'FAX IS A DICK', 'lol @ Lisp faggot'.
Beauty is in the eye of the beholder, and combining PHP's syntax with it's feature richness and rapid development makes it a TOP BOWLER!
I would use it over lisp|python|prolog|haskell for it's major purpose.
And that is web development, and web development alone. If you want to create gtk apps or command line applications you can, but it's intended use is still web development, and at that task it excels.
Don't believe me? Well then you had better have a stacked deck or a couple of pairs up your sleeve because no amount of superficial ah hominen's (in b4 incorrect usage) will result in it's image as anything less than savior of modern day web development.
We all know that perl was infested with bloat and fail long before php came and kicked it's ass
Beauty is in the eye of the beholder, and combining PHP's syntax with it's feature richness and rapid development makes it a TOP BOWLER!
I would use it over lisp|python|prolog|haskell for it's major purpose.
And that is web development, and web development alone. If you want to create gtk apps or command line applications you can, but it's intended use is still web development, and at that task it excels.
Don't believe me? Well then you had better have a stacked deck or a couple of pairs up your sleeve because no amount of superficial ah hominen's (in b4 incorrect usage) will result in it's image as anything less than savior of modern day web development.
We all know that PHP was infested with bloat and fail long before perl came and kicked it's ass
Name:
Anonymous2007-09-27 7:21 ID:RtQ4TNV7
>>10
PHP has ugly syntax and teaches bad programming habits. Code some C#, J# or VB then talk about whats ugly and whats not, faggot.
"I am the light of the world. Whoever follows me will never walk in darkness, but will have the light of life." - John 8:12
I think this can equally be applied to the PHP programming language as well as God, consider this.
o Both God and PHP comprise of 3 letters.
o Even PHP HATERS still think PHP is a TOP BOWLER >>11 (much like god)
o PHP returns 2,160,000,000 results on google. This is greater than God, however as God is all knowing this affirms that God loves PHP.
o There are only 50 people on this board who don't like PHP, the rest do but don't want you to know it because of the lulz
Remember, salvation lies within
Name:
Anonymous2007-09-27 7:29 ID:x5s6Nq2a
>>12 BAD programmers use BAD programming habits.
VB teaches bad programming habits and VB is better than Perl
>>1
Hello, I am from Google and we would like to hire you. Your algorithm is superior to ours.
Name:
Anonymous2009-03-06 7:33
Want to hear it I throw up IN REAL LIFE that are into the void thinking about math and algorithms I do however want it to just keep snapshots of the beholder and combining.
Name:
Anonymous2009-03-06 11:25
80 bind fd struct sockaddr si sizeof si listen fd.