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)
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:
without having to do so much housekeeping (like C or Basic force you to). You'd then run it like this:
|
braindollar: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? |
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. |
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 * |
|
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 |
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! |
parrotibaba: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. |
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. |
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: |
Krixmas: our products have arrived at the usual place and are awaiting your pickup. Thanks! goodtalk: |
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. ![]() |
Toosure70: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. |
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. |
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. |
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) |
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. ![]() |
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. |
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 |
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. |
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. |
Cool story bro ![]() 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. |
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 maloxinYou'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. |
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. |
Toolz. Hands down the finest journalist out there. Beautiful smile among other assets ![]()
|
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. |
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? |
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. |


