BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 12-24-2009, 08:48 PM   #41 (permalink)
BlackBerry God
 
LunkHead's Avatar
 
Join Date: Jan 2005
Location: Here
Model: 850
OS: 0.0.00001
PIN: kie swear
Carrier: USPS Priority
Posts: 11,015
Post Thanks: 174
Thanked 175 Times in 67 Posts
Default

Please Login to Remove!

Yo Apache... Since you keep talking about the Cloud like you are an expert when it comes to Cloud computing I figured we can play a little game...

Here is a Cloud application written in PHP... Please tell me what is wrong with this script and why it's busted....

Yes I was bored but hey.... tick tock Apache "the Cloud expert" I await your findings...

Thanks buddy... Love ya and still want to know if you will father my children...

Now without further ado.... Here is the Cloud script written in PHP...
Code:
# {     
#     //pass through
#     $i=0;  
#     foreach($tags as $tag)  
#     {  
#         $id = $tag['id']; //the tag id, passed through  
#         $name = $tag['tag']; //the tag name, also passed through in the array  
#             
#         $sql = "SELECT COUNT(*) FROM WHERE tags LIKE '%".$id."%' AND published = 1";  
#           
#         //create the resultset and return it  
#         $res = mysql_query($sql);  
#         $res = mysql_fetch_assoc($res);  
#           
#         //check there are results ;)  
#         if($res)  
#         {  
#             //build an output array, with the tag-name and the number of results  
#             $output[$i]['tag'] = $name;   
#             $output[$i]['num'] = $res['totalnum'];  
#         }  
#           
#         $i++;  
#     }  
#       
#     $total_tuts = $this->getNumber();  
#        
#     $html = '<ul class="tagcloud">';  
#       
#     //iterate through each item in the $output array (created above)  
#     foreach($output as $tag)  
#     {  
#         //get the number-of-tag-occurances as a percentage of the overall number  
#         $ratio = (100 / $total_tuts) * $tag['num'];  
#           
#         //round the number to the nearest 10  
#         $ratio =  round($ratio,-1);  
#           
#         /*append onto the list-item, so if the result was 20%, it comes out as cloud-20*/  
#         $html.= '<li class="cloud-'.$ratio.'"><a href="/tag/'.$tag['tag'].'">'.$tag['tag'].'</a></li>';           
#     }  
#       
#     //close the UL  
#     $html.= '</ul>';  
#       
#     return $html;   
# }
I await your expert and knowledgeable response oh great one... Oh and after telling my why it's a broken script, how about telling me what it's suppose to do tennis shoe....



Kris

Last edited by LunkHead : 12-24-2009 at 08:51 PM.
Offline  
Old 12-24-2009, 08:57 PM   #42 (permalink)
BlackBerry God
 
LunkHead's Avatar
 
Join Date: Jan 2005
Location: Here
Model: 850
OS: 0.0.00001
PIN: kie swear
Carrier: USPS Priority
Posts: 11,015
Post Thanks: 174
Thanked 175 Times in 67 Posts
Default

If ya can't figure it out oh great one then here is some help.... I am feeling nice since it's x-mas and all...

PHP for Dummies with CDROM


Last edited by LunkHead : 12-24-2009 at 08:59 PM.
Offline  
Old 12-25-2009, 12:23 AM   #43 (permalink)
BBF Spam Killer Moderator
 
daphne's Avatar
 
Join Date: May 2007
Location: on a sunny beach
Model: Z30
OS: 10.2.1.12
PIN: X1ZPY34K
Carrier: VZW
Posts: 9,169
Post Thanks: 122
Thanked 146 Times in 116 Posts
Default

Quote:
Originally Posted by NJBlackBerry View Post
I counteract that with a Google, Google, Google, Google.

(P.S. They really aren't just trying to collect every piece of information about you. That's just a myth).
Google, Google, Google, Google pwnes the OP Google told me he is a physician.
__________________
Report spam text messages to 7726
#BlackBerry by choice #BlacBerry 10 is here!
Offline  
Old 12-25-2009, 01:00 AM   #44 (permalink)
Crimson Tide Moderator
 
JSanders's Avatar
 
Join Date: Oct 2004
Location: North of the moss line
Model: 9xx0
OS: 7.0sumtin
PIN: t low
Carrier: Verizon
Posts: 41,907
Post Thanks: 60
Thanked 244 Times in 182 Posts
Default

Quote:
Originally Posted by ApacheIndian View Post
And they are improving with every passing day -- BlackBerry's are not.
And not very smart for all that edumacation.
Offline  
Old 12-25-2009, 08:21 AM   #45 (permalink)
iPhone Convert
 
juwaack68's Avatar
 
Join Date: Oct 2005
Location: Tulip City - MI
Model: iP5
OS: 6.0.2
PIN: to beans
Carrier: I'm not
Posts: 13,875
Post Thanks: 3
Thanked 72 Times in 55 Posts
Default

Reopened. Continue with the thoughtful exchange of opinions and ideas.

Merry Christmas.
__________________
No longer a BES Admin, but it was fun while it lasted!
Offline  
Old 12-25-2009, 08:24 AM   #46 (permalink)
Magic Bananas
 
ifonline's Avatar
 
Join Date: Jan 2006
Location: Braselton, Georgia
Model: iP4S
OS: 5.1
Carrier: Verizon
Posts: 2,350
Post Thanks: 1
Thanked 54 Times in 45 Posts
Default

Phew... I had just made some popcorn, so now it doesn't need to go to waste. Thanks!
__________________
Ian

Semper Fi 3/2/2
"Wow" is now overused. Therefore, I will use "Magic bananas" instead.
Offline  
Old 12-25-2009, 09:05 AM   #47 (permalink)
Spam Reporter
 
dc/dc's Avatar
 
Join Date: Oct 2005
Location: IAD
Model: 6230
Carrier: Voicestream
Posts: 14,530
Post Thanks: 220
Thanked 345 Times in 311 Posts
Default

Me gusta este cabron.
__________________
I h8 txtspk.
Offline  
Old 12-25-2009, 09:44 AM   #48 (permalink)
Magic Bananas
 
ifonline's Avatar
 
Join Date: Jan 2006
Location: Braselton, Georgia
Model: iP4S
OS: 5.1
Carrier: Verizon
Posts: 2,350
Post Thanks: 1
Thanked 54 Times in 45 Posts
Default

Hm...

- I like this goat?
- I like this dude?
- I like this ass?
- I like this bastard?
- I like this guy who is being cheated on?

Nope... not sure which one it is as all might apply.
__________________
Ian

Semper Fi 3/2/2
"Wow" is now overused. Therefore, I will use "Magic bananas" instead.
Offline  
Old 12-25-2009, 10:27 AM   #49 (permalink)
BlackBerry Extraordinaire
 
CoDudette's Avatar
 
Join Date: Nov 2008
Location: Mumbai
Model: iOS
OS: 5.0.1
PIN: OT Noir.
Carrier: Vodafone IN
Posts: 1,937
Post Thanks: 2
Thanked 2 Times in 2 Posts
Default

hellooo ian! how are you? i liked your album fyi

secondly its:

"This guy has a sexy mullet" :D
Offline  
Old 12-25-2009, 11:07 AM   #50 (permalink)
BlackBerry God
 
LunkHead's Avatar
 
Join Date: Jan 2005
Location: Here
Model: 850
OS: 0.0.00001
PIN: kie swear
Carrier: USPS Priority
Posts: 11,015
Post Thanks: 174
Thanked 175 Times in 67 Posts
Default

Where oh where did he go? Hope my Troll spay didn't run him off.....
Offline  
Old 12-25-2009, 12:21 PM   #51 (permalink)
No longer Registered.
 
Join Date: Aug 2007
Location: NYC
Model: 9630
OS: v4.7.1.40
Carrier: VZW
Posts: 202
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by LunkHead View Post
Yo Apache...

I await your expert and knowledgeable response oh great one... Oh and after telling my why it's a broken script,
It's missing a period in the middle
Offline  
Old 12-25-2009, 02:00 PM   #52 (permalink)
BlackBerry Master
 
djm2's Avatar
 
Join Date: Jul 2007
Model: 9780
PIN: N/A
Carrier: T-Mobile
Posts: 4,637
Post Thanks: 29
Thanked 12 Times in 12 Posts
Default

Oh, I'll read this. It is always entertaining to listen to the "logic" that racists and sexists can manage to drum up.

More to the point, if a better device comes along that meets my needs and offers the security that I demand then I will switch to it. But that sure isn't Google, at least not for the foreseeable future.

Last edited by djm2 : 12-25-2009 at 03:40 PM.
Offline  
Old 12-25-2009, 02:59 PM   #53 (permalink)
Magic Bananas
 
ifonline's Avatar
 
Join Date: Jan 2006
Location: Braselton, Georgia
Model: iP4S
OS: 5.1
Carrier: Verizon
Posts: 2,350
Post Thanks: 1
Thanked 54 Times in 45 Posts
Default

What? That's it? No comment on your precious Google's data outage, ApacheIndian? Sad.
__________________
Ian

Semper Fi 3/2/2
"Wow" is now overused. Therefore, I will use "Magic bananas" instead.
Offline  
Old 12-25-2009, 03:00 PM   #54 (permalink)
Magic Bananas
 
ifonline's Avatar
 
Join Date: Jan 2006
Location: Braselton, Georgia
Model: iP4S
OS: 5.1
Carrier: Verizon
Posts: 2,350
Post Thanks: 1
Thanked 54 Times in 45 Posts
Default

Quote:
Originally Posted by CoDudette View Post
hellooo ian! how are you? i liked your album fyi
I'm good. Thanks.

Quote:
secondly its:

"This guy has a sexy mullet" :D
Ah. Got it. I missed that as a possible translation, but it sounds spot on.
__________________
Ian

Semper Fi 3/2/2
"Wow" is now overused. Therefore, I will use "Magic bananas" instead.
Offline  
Old 12-25-2009, 03:36 PM   #55 (permalink)
BlackBerry God
 
LunkHead's Avatar
 
Join Date: Jan 2005
Location: Here
Model: 850
OS: 0.0.00001
PIN: kie swear
Carrier: USPS Priority
Posts: 11,015
Post Thanks: 174
Thanked 175 Times in 67 Posts
Default

Quote:
Originally Posted by ApacheIndian View Post
It's missing a period in the middle

I figured as much... You rave about Cloud yet don't have a single clue how it operates, it's strengths and more importantly it's weaknesses...

Your credibility before was in the dumps, now it's zero...

How can you come here and proclaim something is the savior, the greatest thing since microwave popcorn when you don't even have the slightest clue about it???

Hasta-la-Pasta (that's Chinese for see ya!)
Offline  
Old 12-25-2009, 05:13 PM   #56 (permalink)
No longer Registered.
 
Join Date: Mar 2007
Location: NJ
Model: WP7
OS: The Best
Carrier: AT&T
Posts: 1,930
Post Thanks: 6
Thanked 2 Times in 2 Posts
Default

Not that I'm a fan of Apache, but I've been saying this for awhile. RIM could end up being the next Palm if they don't move faster in the ever evolving handheld market. RIM's single point of failure, their NOC, will be their undoing. They need to spread out their operations and make them redundant x100, like Google does. RIM seems to be doing well right now and must be racking in tons of money. What do they have to show for it. OS 5 that was promised for about a year and delivered very few new features. A NOC that seems to go down several times a year and a new form factor every few months that is about as awe inspiring as a new coffee mug. RIM is king now because they are offered all over the world and on just about every network. As Android takes hold and the Apple/ATT deal ends, RIM sales will nosedive, especially in the desirable consumer market where the most money is.
Offline  
Old 12-25-2009, 05:32 PM   #57 (permalink)
BlackBerry God
 
LunkHead's Avatar
 
Join Date: Jan 2005
Location: Here
Model: 850
OS: 0.0.00001
PIN: kie swear
Carrier: USPS Priority
Posts: 11,015
Post Thanks: 174
Thanked 175 Times in 67 Posts
Default

Look..... I think the Tour is a POS and I had the Droid for a while.. Heck if it was not for the KB and a few other things on the Droid I might have stuck with it.. For now I am loving the Curve2...

Apache's problem is that he talks about things he knows nothing about. He praises Cloud like there is no tomorrow yet he knows nothing about it... Cloud is perhaps the future but it has a very long way to go and has some serious issues before it can ever be considered as a reliable and secure tool..

If he would simply gripe about the Tour I'd agree with him as I hate that thing.. It's slow, it takes 5 years to boot and did I mention how slow it is? I have a Tour that's been collecting dust in a drawer for 3 months now and I have NO interest in using it...

He screwed the pooch when he started attacking respected members of the BBF with racial and gender slurs...

If he wants to gripe about the Tour thats fine... But when he starts comparing the BB OS to other things he thinks are better he could at least know what he is talking about... And.... He could do so with an open mind and without attacking other members with racial and gender slurs....

My .02

Kris

Last edited by LunkHead : 12-25-2009 at 05:34 PM.
Offline  
Old 12-25-2009, 10:51 PM   #58 (permalink)
Magic Bananas
 
ifonline's Avatar
 
Join Date: Jan 2006
Location: Braselton, Georgia
Model: iP4S
OS: 5.1
Carrier: Verizon
Posts: 2,350
Post Thanks: 1
Thanked 54 Times in 45 Posts
Default

Quote:
Originally Posted by ArgonNJ View Post
They need to spread out their operations and make them redundant x100, like Google does.
Don't forget that Google's "redundant x100" operations has failed.

Quote:
...a new form factor every few months that is about as awe inspiring as a new coffee mug.
So that would make it as awe inspiring as the form factor changes to Apple's iPhone, right? I wonder what next year's iPhone will look like, and if it will be the fourth year of the same tired design...
__________________
Ian

Semper Fi 3/2/2
"Wow" is now overused. Therefore, I will use "Magic bananas" instead.

Last edited by ifonline : 12-25-2009 at 10:54 PM.
Offline  
Old 12-25-2009, 11:13 PM   #59 (permalink)
No longer Registered.
 
Join Date: Mar 2007
Location: NJ
Model: WP7
OS: The Best
Carrier: AT&T
Posts: 1,930
Post Thanks: 6
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by ifonline View Post
Don't forget that Google's "redundant x100" operations has failed.



So that would make it as awe inspiring as the form factor changes to Apple's iPhone, right? I wonder what next year's iPhone will look like, and if it will be the fourth year of the same tired design...
Google's network is still more reliable then RIMs and yes the iPhone design is tired and in need of a refresh.
Offline  
Old 12-25-2009, 11:55 PM   #60 (permalink)
BBF Spam Killer Moderator
 
daphne's Avatar
 
Join Date: May 2007
Location: on a sunny beach
Model: Z30
OS: 10.2.1.12
PIN: X1ZPY34K
Carrier: VZW
Posts: 9,169
Post Thanks: 122
Thanked 146 Times in 116 Posts
Default

Quote:
Originally Posted by LunkHead View Post
Look..... I think the Tour is a POS and I had the Droid for a while..
If he would simply gripe about the Tour I'd agree with him as I hate that thing.. It's slow, it takes 5 years to boot and did I mention how slow it is? I have a Tour that's been collecting dust in a drawer for 3 months now and I have NO interest in using it...
Kris
The OS upgrade on the Tour improved the speed and reduced the boot time significantly.
__________________
Report spam text messages to 7726
#BlackBerry by choice #BlacBerry 10 is here!
Offline  
Closed Thread


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Copyright 2004-2014 BlackBerryForums.com.
The names RIM and BlackBerry are registered Trademarks of BlackBerry Inc.