₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,344,784 members, 8,513,672 topics. Date: Thursday, 05 November 2026 at 11:07 AM

Toggle theme

Nextstep's Posts

Nairaland Forum › Nextstep's Profile › Nextstep's Posts

1 2 3 4 5 6 7 8 ... 185 186 187 188 189 190 (of 190 pages)

Programming › Re: Programmers In The House, Pls Come To My Rescue by nextstep(m): 4:38pm On Feb 06, 2015
If you were using a real high-level language (like scheme http://courses.cs.washington.edu/courses/cse341/03wi/scheme/basics.html), you'd write this:

(define (average numbers)
(/ (apply + numbers) (length numbers)))


without having to do so much housekeeping (like C or Basic force you to). You'd then run it like this:

(average 1 2 3)
Programming › Re: Programmers In The House, Pls Come To My Rescue by nextstep(m): 12:47pm On Feb 06, 2015
braindollar:
Yes cos I don't understand those oda language Am new to programming
I'm surprised anyone is still teaching classes in Basic when C, Java and JavaScript are the languages any modern programmer should be competent with. It's like learning Latin nowadays.

Is this for a class or self learning?
Politics › Re: A Former Dictator Is A Better Choice Than A Failed President - THE ECONOMIST by nextstep(m): 10:00pm On Feb 05, 2015
Oh come on! I take it as an insult to Nigeria and Nigerians for anybody to call our head of government, a failure. When you start your conversation like that, I'm already tuned out. As if an entire country's fate depends on the hands of one man. Isn't that why we have separation of powers in president, state governments, and legislatures? Did the decline in the country's military start today? The description of Buhari is no consolation either (brutish?) I'd argue he should be counted among the best dictators the world has ever seen. Please have many sits, mr Economist.
Programming › Re: How To Connect To Sftp by nextstep(m): 9:50pm On Feb 05, 2015
from the sftp man page, you want:
sftp -b batchfile [user@]host

where batchfile is a text file containing regular sftp commands

So for example, your batchfile would contain:
cd directory
get *
rm *
Programming › Re: Programmers In The House, Pls Come To My Rescue by nextstep(m):

#include <stdio.h>
#include <errno.h>

/*
* compile: gcc grades.c -o grades
* run: ./grades
* run: echo "80 90 90 100 -1 " | ./grade
*/

int main ()
{
int n, score, sum = 0;

printf ("type 10 scores or a negative number to stop adding\n" ) ;
for (n=0; n<10; n++) {

scanf("%d", &score);
if (score < 0)
break;
printf ("adding %d\n", score);
sum += score;
}

if (n>0)
printf ("average: %0.2g\n", (double)sum/n);
else
printf ("not enough scores given\n" ) ;
}
Programming › Re: Question Abt Bash by nextstep(m): 9:07pm On Feb 05, 2015
Put the alias in your ~/.bashrc

~/.bashrc is executed every time you open a new terminal
~/.bash_profile is executed on a login shell (e.g. ssh into or serial console), but not when you open a new terminal
Fashion › Re: Toyin Aimakhu's Outfit To An Event - Hit Or Miss? by nextstep(m): 8:32pm On Jan 31, 2015
Miss. Not cute at all. If she were my lady and said "honey, what do you think of this outfit?" I'd reply, biko burn it. kai!
Phones › Re: Microsoft's Bill Gates Insists Artificial Intelligence Is A Threat by nextstep(m): 4:44am On Jan 31, 2015
parrotibaba:
a good opinion but don't u think dat d creators of dis AI would hv an emergency backup plan?
That's the part that we can't know: by definition, an intelligent machine will be able to think around emergency backups. Anyone whose worked in software has seen all kinds of bugs (some from careless assumptions, others arising from very complex interactions and inputs over time). We are barely able to write software that doesn't crash, so I really doubt any claims that we can write bullet proof AI that would not also change itself in ways we can't predict.

It's bad enough when your computer crashes and eats your hard drive, imagine having a computer that deliberately disconnects life support.

Almost every case of improvement in human society comes from being reactionary and learning from accidents: a building falls, we learn to use stronger materials; computer virus wipes out financial data, we learn to write more secure software; airplane crashes due to frozen pitot tubes, we retrofit with new designs; nuclear power plant explodes, we learn not to put generators for cooling the plant in a place where they can be flooded; insist on one child per family, then *suprise* a generation of men can't find wives.

All of these accidents could have been prevented in the first place, but we don't have a good track record of really thinking through all the ramifications ahead of time.

AI will not give us a chance to learn from our mistakes.
Phones › Re: Microsoft's Bill Gates Insists Artificial Intelligence Is A Threat by nextstep(m): 10:21pm On Jan 30, 2015
It's hard to predict the future, but an advanced AI would be the first time we'd be challenged by an intellectual equal - if not superior - on this planet. I'm trying hard not to apply the fear mongering seen in movies and novels, but here are some practical ways we could cause trouble for ourselves:

1. create robot/ai factories that don't need human intervention to make (we're already there: entire computers can be build from sand to wafer to IC to PCB) without a human.
2. create machines that don't need external power source (with a rechargeable battery and solar cells or heat exchanger, devices can run for a long time without being plugged in
3. arguably, the only difference between a human brain and a silicon chip is the number of interconnected neurons/transistors. Increase that by 100-1000 times, and you could easily have reasoning software (aka strong AI)
4. strong AI decides it's best for it or the planet if the parasites (aka humans) didn't exist

I'd argue that we're 10-40 years away to step 3, and 5 years from that to step 4.
In all industrial history, we made machines that surpass human power (steam, electricity, combustion, nuclear), but this would be the first time we make machines that will also surpass human intelligence and agency. It's bad enough we can make disasters with dumb machines, but when the decision to launch a nuclear attack or crash a plane or stop producing crops lies with a non-human intelligence, it should make one worried.
Business To Business › Re: Krixmas Logistics Services.For Cheap Pickups&Deliverys For China/Dubai Importers by nextstep(m): 9:13pm On Nov 20, 2014
Actually, this is packed is for your warehouse. Please hold on to it, and we'll send you shipping requests from time to time.

Thanks!

goodtalk:
.

OKAY BOSS!

We would pickup as usual and deliver to your brother in Badagry!
Its nice to hear from you once more. its been a while.

Regards.
Business To Business › Re: Krixmas Logistics Services.For Cheap Pickups&Deliverys For China/Dubai Importers by nextstep(m): 10:16pm On Nov 19, 2014
Krixmas: our products have arrived at the usual place and are awaiting your pickup. Thanks!

goodtalk:
Nextstep! Nextstep to Greatness i greet u! We appreciate you immensely for doing business with our company and we promise to always exceed your expectation.

We are awaiting that large order you are expecting.
Regards.
Webmasters › Re: Twitter Can Now Be Translated Into Yoruba by nextstep(m): 4:25pm On Nov 17, 2014
This is very good. I am a pan-Nigerian and I love this type of news. We need more efforts like the #TweetYoruba campaign and people like Kola to make the world aware of who Nigerians are. Other language speakers should also step up, as you can see it wasn't easy to convince twitter to expend the effort. cool
Business › Re: Do I Need NAFDAC Number On My Small Scale Chips Business? by nextstep(m): 9:24pm On Oct 28, 2014
Toosure70:
then how many local bakery has nafdac no?
You know our local law enforcement... nobody looks your way when you're small, but all it takes is one person raising a flag for whatever reason... Then if you complain, you'll be told, "why didn't you register?" Since OP has aspirations for nationwide distribution, he might as well lay as good a foundation as he can.

OP: do you have access to equipment for making these chips? What about space and packaging material? You can certainly start w/o nafdac no, and maybe sell locally or to people you know.
Business › Re: Do I Need NAFDAC Number On My Small Scale Chips Business? by nextstep(m): 3:37pm On Oct 28, 2014
I looked into this previously for my business, and decided that no matter how small, you should make the effort.

http://www.nafdac.gov.ng/images/PDF_DOCS/Guidelines/FOOD_MANUFACTURERS/GUIDE30_GUIDELINES%20FOR%20REGISTRATION%20OF%20FOOD%20AND%20WATER.pdf

"It is necessary to emphasize that, no food and related products shall be manufactured, imported, exported, advertised, sold or distributed in Nigeria unless it has been registered in accordance with the provisions of ACT CAP F33 LFN 2004 (formerly decree 19 of 1993) and the accompanying guidelines."

Last thing you want is them seizing your stuff or back-dating some hefty fines when you get big and noticable.

That said, I don't think mama boli or the agidi lady by the roadside has NAFDAC registration, but that might be an exemption (look the other way) for sellers-on-premises. Since you're aiming for retailing, don't take chances.
Business To Business › Re: Krixmas Logistics Services.For Cheap Pickups&Deliverys For China/Dubai Importers by nextstep(m): 2:02am On Oct 25, 2014
I just want to say thanks so much for handling our previous shipment effortlessly. Keep up the great work!

House, we put our trust in Krixmas for our logistics needs. In a few days they'll be handling about 50 SKUs of electronic parts on our behalf.
Celebrities › Re: Who Wore It Better: Kate Henshaw Or Yvonne Okoro? by nextstep(m): 5:57am On Oct 23, 2014
It's a tie. But Kate needs to put a little more fat on her feet... too much bone and muscle showing up, it distracts from the outfit (for me)
Celebrities › Re: Ini Edo Acquires Brand New G Wagon Worth #38m-Photo by nextstep(m): 4:20pm On Oct 20, 2014
Cool. Wish she would have invested that money in a tech startup though... it would return to her 4x and provide jobs and help uplift the economy. As it is, a few workers in Germany just got their salary from her...

On the other hand, it's her money and she can do what she wants. undecided
Celebrities › Re: Who Wore It Better? Yvonne Jegede Vs Khloe Kardashian by nextstep(m): 3:19am On Oct 18, 2014
Yvonne clearly rocked the dress. It fits well, looks sexy and glam on her, like she on her way to an event. Wish the picture was higher quality...

Bad choice for Khloe, though it could have been the angle that makes it look so bad. Not glam at all: there's no contrast with her skin, and the dress just overflows on her, like she just threw something on as she left for the corner store.
Programming › Re: Help Needed ... A Newbie In Php And Javascript by nextstep(m): 1:32am On Oct 11, 2014
http://www.w3schools.com/php/

Is a good resource. Just follow the examples and you should be good to go. Audio tutorials are the worst way to learn a programming language. Just copy/paste theirs examples and make some small changes.

Do you have any experience with programming? Like C?

Do you have a linux computer with a web server (Apache) with the php libraries? Alternatively you'll need to get web hosting
Politics › Re: LIVE REPORT: Grand Requiem Mass For Prof. Dora Nkem Akunyili in Anambra by nextstep(m): 3:14pm On Aug 28, 2014
The phrase "... The labor of our heroes past shall never be in vain..." comes to mind when I think of this mighty amazon who stood firm in the face of adversity and death threats to preserve our lives.

It is with a heavy heart that I bid RIP to one of the greatest, most selfless leaders this nation has ever had.
Programming › Re: Advice Need For A 12yr Old Who Wants Computer Knowledge by nextstep(m): 3:17am On Aug 24, 2014
Another good way to encourage his interest might be a robotic kit, or a small programmable board like Arduino that could be used to (for instance) turn on a buzzer or LEDs when a switch is pressed. The programs tend to be short, relatively simple, and encourage tinkering.

I wouldn't worry about him losing interest in pursuing higher education; very very few people do that. On the other hand, being able to program in 2014 is, in my view, as important and fundamental as knowing how to do math was in 1914, and will be essential in university in coming years.
Politics › Re: Army Will Soon Crush Boko Haram, Says COAS by nextstep(m): 5:02am On Aug 20, 2014
Cool story bro cool
Don't tell us when you will, or how. We're tired of future tense.

Just do it, and tell us when it's done.
Health › Re: Nano Silver Can Cure Ebola – Manufacturer by nextstep(m):
mikolo80: this is not syphilis or hiv but ebola that gives you 3weeks to live do you die without a fight cos you can't afford zmapp or try the cheaper nanosilver as you really have nothing to lose.remember many die of malaria in africa cos they can't even afford 'ordinary' 60naira maloxin
You're right, it's a fatal and brief disease. However there is a difference: antimalarial drugs (like quinine from cinchona tree bark) have been demonstrated to work against malaria by interfering with the production of nucleic acids used by the falciparum parasite. Nanosilver, on the other hand, are tiny bits of metal shavings that are best known for coating surfaces to inhibit the growth of bacteria. If nanosilver worked at all on any kind of virus, I would heartily recommend it for a limited trial.

Please allow me a thought experiment: there's been an outbreak of a really bad malaria variant, and people are dying daily. Then somebody claims that agidi is the miracle cure. Really, would you believe it? Would you recommend governments start a campaign to give everybody agidi because some quack gave an interview about its efficacy? About how the complex starches and molecular structure destroys viruses by just inhaling the steam while it's cooking in another village. That would raise some eyebrows, I'd bet.

If nano silver had been demonstrated to work (the doctor is free to show us peer reviewed journal articles and clinical trials), it would be worth considering. It hasn't. I'm not buying.

I'm deeply troubled by what's going on, and RIP to the dearly departed, but grabbing at unproven solutions that have no history of solving any prior diseases is doing more harm than good. I'd rather people realize there's no publicly available cure than to take this nano silver, carry on spreading the virus, fully believing it works. I'm glad the salt water hoax is over. Maybe instead of saying "salt", they should have said "sodium chloride" and we might have believed it. "Nano silver" also has a better ring to it than "metal shavings."

I hope we haven't forgotten the chalk and talcum powder that were sold as medicines not too long ago. The spread of Ebola can be slowed/halted by quarantine. Any other claim is pure conjecture at this point.
Health › Re: Nano Silver Can Cure Ebola – Manufacturer by nextstep(m): 5:38am On Aug 19, 2014
To those who say "anything is better than nothing", please consider:

How come this wonderful drug "that kills any pathogen it comes in contact with" has not been used to cure: influenza, HIV, HPV, chicken pox, measles (viruses); or cholera, pneumonia (bacteria); or malaria, sleeping sickness (protozoa)?

Doesn't it seem strange that it happens to fight Ebola all of a sudden? We have smart Nigerian doctors solving problems all over the world. Why are they keeping quiet and letting this quack attempt to peddle tiny bits of metal?

Sounds like somebody wants to make a quick buck based on fear and despair. When one reads things like the Tuskegee experiment http://en.m.wikipedia.org/wiki/Tuskegee_syphilis_experiment
and the wonderful meningitis drug trials in Kano http://www.theguardian.com/business/2010/dec/09/wikileaks-cables-pfizer-nigeria it tends to temper one's enthusiasm for such unsubstantiated claims.
Celebrities › Re: Most Beautiful Female Journalists by nextstep(m): 2:42am On Aug 14, 2014
Toolz. Hands down the finest journalist out there. Beautiful smile among other assets grin

NYSC › Re: A Batch (A) Corps Member Build And Furnished A Library In FCT-picx by nextstep(m):
Silensa: what is this doing on FP? Is he clamoring for recognition?
If he is, then I say job well done. This encourages me and others to try and do something similar in our communities. Do you know how many times I've wished for a children's library, no matter how small, in my hometown? Even if it's face-me-I-face-you, 1 per village/town would make such a difference. He should definitely get recognition for doing something much more constructive and longer-lasting than blowing money on champagne or other effizi. It really pains me when I see the money spent in a single club in Abuja on drinks. I'd like to think that if I had that kind of money, I'd contribute to my hometown.
Programming › Re: Help In Programming by nextstep(m): 10:16pm On Aug 13, 2014
Learning programming with something like android can be quite involved: there's the language, SDK infrastructure, and how/where to deploy. If your purpose is to learn programming, better to start by writing simple programs in C or even javascript (using your browser and a simple text editor). But if you want to start writing elaborate programs for android, well:

http://lmgtfy.com/?q=how+to+program+android+apps#

https://developer.android.com/training/basics/firstapp/index.html?hl=p

As far as server, your laptop can be a server. Are you running linux/bsd?
TV/Movies › Re: Nollywood Nightmare At Durban Int Film Fest by nextstep(m): 8:28pm On Aug 13, 2014
The movie critique is missing two critical pieces:

1. We like our Nollywood. With all it's flaws, it is ours; it entertains, employs and sustains us. We've seen it improve over the years and there are now some movies that would rival some of the critiques' choices and even some of the movies that come out of Hollywood ("Last Flight to Abuja" and "The Meeting", come to mind)

2. Nollywood is not about making movies for western tastes. Can you imagine "Egusi with isi ewu and stock fish" winning culinary awards in an event dominated by French judges? But shall we then insult our food for not being a critique's choice? Mba nu.

They can take their awards. We'll keep our homegrown industry that employs us jare.

1 2 3 4 5 6 7 8 ... 185 186 187 188 189 190 (of 190 pages)