Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,596 members, 7,809,167 topics. Date: Friday, 26 April 2024 at 02:27 AM

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

Nairaland Forum / Science/Technology / Programming / We are all Geeks, Discuss your ideas (1316 Views)

Happy New Year To All Dah Geeks In NL / Geeks & Nerds Thread! (2) (3) (4)

(1) (Reply) (Go Down)

We are all Geeks, Discuss your ideas by Corussa1(m): 11:13am On Sep 19, 2015
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);

}

?>

2 Likes

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(m): 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(m): 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

1 Like

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?

1 Like

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.

1 Like

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 Like

(1) (Reply)

How To Add Up Tables Using Php / Invitation To Join The Largest Linux Community In West Africa / Please I Need Help With This Reactjs Issue - Context Api & RTK (pictures)

(Go Up)

Sections: politics (1) business autos (1) jobs (1) career education (1) romance computers phones travel sports fashion health
religion celebs tv-movies music-radio literature webmasters programming techmarket

Links: (1) (2) (3) (4) (5) (6) (7) (8) (9) (10)

Nairaland - Copyright © 2005 - 2024 Oluwaseun Osewa. All rights reserved. See How To Advertise. 22
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.