₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,328,549 members, 8,436,258 topics. Date: Tuesday, 30 June 2026 at 01:43 AM

Toggle theme

We are all Geeks, Discuss your ideas - Programming - Nairaland

Nairaland ForumScience/TechnologyProgrammingWe are all Geeks, Discuss your ideas (1463 Views)

1 Reply (Go Down)

We are all Geeks, Discuss your ideas by Corussa1(op):
As easy as it is i can write a program to calculate the distance of planets just by using some Few formulas from physics and quantum physics. There's no idea that you can't program you just need the right ingredients
Re: We are all Geeks, Discuss your ideas by hexy40: 12:41pm On Sep 19, 2015
Corussa1:
I want to write a program that can predict the next president
PHP

$user_name = "root";
$password = "naija";
$database = "addressbook";
$server = "419.0.0.1";

$db_handle = mysql_connect($server, $user_name, $password);
$db_found = mysql_select_db($database, $db_handle);

if ($db_found) {

$SQL = "SELECT * FROM politicians Where inSupport='America' ";
$firstScreening = mysql_query($SQL);

while ( $d remaining = mysql_fetch_assoc($firstScreening) ) {
If(ethnicity=='hausa'){
SecondScreening="passed";
}
If (SecondScreening="passed)&&(num(ogaAtTheTopInSupport)>InfluencicalOpposition){
print "Your president is":
print $db_field['First_Name'] . "<BR>";
print $db_field['Surname'] . "<BR>"

}
}
mysql_close($db_handle);

}
else {

print "GO HOME AND BE A BETTER THIEF ";
mysql_close($db_handle);

}

?>
Re: We are all Geeks, Discuss your ideas by danvery2k6(m): 1:09pm On Sep 19, 2015
Corussa1:
I want to write a program that can predict the next president
As funny as that may sound, it is totally achievable. After joining Andela, I have come to accept the fact that all social problems can be modeled into computer algorithms through algorithmic thinking. I have seen our Senior developers do it at a hackathon. I was amazed.
Re: We are all Geeks, Discuss your ideas by Corussa1(op): 3:21pm On Sep 19, 2015
danvery2k6:
As funny as that may sound, it is totally achievable. After joining Andela, I have come to accept the fact that all social problems can be modeled into computer algorithms through algorithmic thinking. I have seen our Senior developers do it at a hackathon. I was amazed.
Yea bro impossibility is achieved
Re: We are all Geeks, Discuss your ideas by Corussa1(op): 3:28pm On Sep 19, 2015
hexy40:
PHP

$user_name = "root";
$password = "naija";
$database = "addressbook";
$server = "419.0.0.1";

$db_handle = mysql_connect($server, $user_name, $password);
$db_found = mysql_select_db($database, $db_handle);

if ($db_found) {

$SQL = "SELECT * FROM politicians Where inSupport='America' ";
$firstScreening = mysql_query($SQL);

while ( $d remaining = mysql_fetch_assoc($firstScreening) ) {
If(ethnicity=='hausa'){
SecondScreening="passed";
}
If (SecondScreening="passed)&&(num(ogaAtTheTopInSupport)>InfluencicalOpposition){
print "Your president is":
print $db_field['First_Name'] . "<BR>";
print $db_field['Surname'] . "<BR>"

}
}
mysql_close($db_handle);

}
else {

print "GO HOME AND BE A BETTER THIEF ";
mysql_close($db_handle);

}

?>
[quote author=Corussa1 post=38164271]That's some program kid
Re: We are all Geeks, Discuss your ideas by Fulaman198(m): 6:00pm On Sep 19, 2015
hexy40:
PHP

$user_name = "root";
$password = "naija";
$database = "addressbook";
$server = "419.0.0.1";

$db_handle = mysql_connect($server, $user_name, $password);
$db_found = mysql_select_db($database, $db_handle);

if ($db_found) {

$SQL = "SELECT * FROM politicians Where inSupport='America' ";
$firstScreening = mysql_query($SQL);

while ( $d remaining = mysql_fetch_assoc($firstScreening) ) {
If(ethnicity=='hausa'){
SecondScreening="passed";
}
If (SecondScreening="passed)&&(num(ogaAtTheTopInSupport)>InfluencicalOpposition){
print "Your president is":
print $db_field['First_Name'] . "<BR>";
print $db_field['Surname'] . "<BR>"

}
}
mysql_close($db_handle);

}
else {

print "GO HOME AND BE A BETTER THIEF ";
mysql_close($db_handle);

}

?>
That is one bogus server IP address
Re: We are all Geeks, Discuss your ideas by Nobody: 9:58pm On Sep 19, 2015
Fulaman198:
That is one bogus server IP address
I'm sure he knows. It was deliberate. 419. Gerrit?
Re: We are all Geeks, Discuss your ideas by Fulaman198(m): 12:25am On Sep 20, 2015
Karmanaut:
I'm sure he knows.
It was deliberate.
419.
Gerrit?
Yah I understood
Re: We are all Geeks, Discuss your ideas by bizzle2: 4:05pm On Sep 24, 2015
social problems?? ...modeled into computer algorithms?
how the heck do you model rape, hunger, famine, murder..... those are examples of social problems
danvery2k6:
As funny as that may sound, it is totally achievable. After joining Andela, I have come to accept the fact that all social problems can be modeled into computer algorithms through algorithmic thinking. I have seen our Senior developers do it at a hackathon. I was amazed.
Re: We are all Geeks, Discuss your ideas by danvery2k6(m): 5:30pm On Sep 24, 2015
bizzle2:
social problems?? ...modeled into computer algorithms?
how the heck do you model rape, hunger, famine, murder..... those are examples of social problems
Do you believe that the number of people that are likely to cancel their hotel bookings can be predicted for up top 80% accuracy with computer algorithms? It was done at a hackathon and the result came true. The things you mentioned are just human behaviour, which given enough data can be modeled and predicted.

PS: Let's not derail the thread. DM me if you need to discuss this.
1 Reply

Happy New Year To All Dah Geeks In NLGeeks & Nerds Thread!234

Christian Louboutin Shoes On Sale ExtremelyWhat's All The Hype About Windows Server 2012 R2ENERGY PREPAID METER Design/internet Based Energy Prepaid Meter Using Php,mysql