₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,330,559 members, 8,446,035 topics. Date: Thursday, 16 July 2026 at 12:07 AM

Toggle theme

DonSegmond's Posts

Nairaland ForumDonSegmond's ProfileDonSegmond's Posts

1 2 3 4 5 6 7 8 9 (of 9 pages)

ProgrammingRe: iOS and Android App Development with Xamarin by DonSegmond(m): 1:03am On Aug 15, 2015
It's working for some people especially when first mover's advantage is very much needed. But like all tools, you need someone that is very good with it. Knowledge of C#, Android & iOS API are a must. I don't know any of those, but I have been thinking of going the Xamarin route lately too.
ProgrammingRe: Help Construct An Algorithm In Php Code by DonSegmond(m): 2:51pm On Aug 14, 2015
$imei = implode(array_filter(str_split($string), function ($k) { return $k%2; }, ARRAY_FILTER_USE_KEY));

You can use the following, If you have up to date php at least 5.6.0
ProgrammingRe: Programmers Help! My Final Project by DonSegmond(m): 1:40pm On Aug 03, 2015
Well, if you are in your final year, then I expect you to be a good programmer. If you truly are a decent programmer, then Prolog will be a fine language to use, provided all you are doing is simulating this in software. If you do have an actual Robot and have to do embedded programming, then use whatever you can get to run on the Robot, be it assembly, basic, c, forth, javascript.

Here is an example piece from my github in Prolog on robot control.
https://github.com/segmond/PrologThingz/blob/master/LPIP/robot_control.pl
ProgrammingRe: Free C++ Reliable UDP Networking Library by DonSegmond(m): 1:27pm On Aug 03, 2015
If you wish to publish a library. A good documentation and well commented code is just as important as your code base. Without those, you will find that at best case few will use and in most cases, no one will.
ProgrammingRe: Learning More Than One Programming Language At A Time by DonSegmond(m): 1:20pm On Aug 03, 2015
pachman:
Am learning C,C++,java, python and vb
I don't like telling people that they can't do things or shouldn't do things.

But if I may, I would advise you to
go in this order
Python
Java
C
C++

and entirely skip VB but if you must to then learn it after Python.
ProgrammingRe: How Can I Create A Virus Or Malware? by DonSegmond(m): 1:17pm On Aug 03, 2015
You are not a programmer. You are an idiot. Of all things you could make, why would you want to make a virus or trojan? Are you done making video games or other fun things?
Tech JobsRe: Guru For API Integration Needed by DonSegmond(m): 7:20am On Jul 30, 2015
padox:
I will not go into much details for now.

I need a guru for API integration. Most likely ResellerClub API . I have a job for any interested guru that knows how to use resellerclub API.

I will give details to the interested guru.
Anyone that can program should be able to make use of any API, Asking for someone who can use resllerclub API is like asking for a driver who can drive volvo.
ProgrammingRe: Learning More Than One Programming Language At A Time by DonSegmond(m): 7:18am On Jul 30, 2015
pachman:
Am an amateur who seems to be really interested in programming, . Am learning 5 languages the same time..Is it badhuh The gurus in the house please help
Stop, one at a time, unless they are drastically different and you won't confuse them. But still, as an amateur, you should stop and focus on one and only one at a time.
ProgrammingRe: I Want To Become The Next Bill Gate by DonSegmond(m): 4:05am On Jul 29, 2015
Do you wish to be a programmer or rich? Those are orthogonal and not necessarily mutually inclusive.
ProgrammingRe: Timeline With Comment Box Attached To Each Post by DonSegmond(m): 7:12am On Jul 28, 2015
javascript
ProgrammingRe: Please Help Me Write This Simple Php Switch Statement by DonSegmond(m): 5:12am On Jul 27, 2015
Yungwizzzy:
Nor laugh me oo grin

Question:

4 green balls
5 yellow balls
6 blue balls
7 white balls
9 black balls

if i pick 9 balls What is the the probability of picking black and white


The solution should be in a script
.Thanks
If you can't solve this, then perhaps your problem is not a programming problem, but a probability problem. You must be able to solve the problem on a piece of a paper before a computer. The computer is no substitute for thinking. With that said, if you want to know how to use a switch statement with php. http://php.net/manual/en/control-structures.switch.php For probability, this should help, http://mathforum.org/dr.math/faq/faq.prob.intro.html
ProgrammingRe: How Many Other Programmers Do You Personally Know? by DonSegmond(op): 11:10pm On Jul 25, 2015
Fulaman198:
I know quite a bit as well. If you studied an engineering course related to computers at the university level (computer engineering, computer science, electrical engineering, etc) you should know more.
Just because someone studied something doesn't mean that they are qualified, I know many people who studied CS and even can program, but I don't consider them programmers. I mean really programmers who have ability to actually program and solve real world problems.
ComputersRe: Ubuntu Linux by DonSegmond(m): 6:57pm On Jul 25, 2015
purplekayc:
its 10.04 LTS
10.04 is pretty old, that was released in April 2010. Get something later, it's possible that version doesn't have a driver for your wireless.
ProgrammingHow Many Other Programmers Do You Personally Know? by DonSegmond(op): 6:50pm On Jul 25, 2015
How many other programmers do you personally know in real life? I know about 30.
ProgrammingRe: Php Gurus, Showcase Your Best Applications Here by DonSegmond(m): 5:55pm On Jul 25, 2015
I got stuff on github @ https://github.com/segmond/phpThingz
ProgrammingRe: Best Laptops For Programmers by DonSegmond(m): 5:52pm On Jul 25, 2015
spikesC:
There's no 'best' laptop for programming. The specifications you need depends on what aspect of programming you're doing.

Yes, gaming laptops are well rounded but these kind of posts are deceiving rather than informative
Exactly, laptop will never make you a great programmer. Sure, it might improve productivity, but knowledge will improve productivity far better than any CPU/Memory combo will. Just buy whatever you can afford, learn your tools and craft very well and you will do great things.
TravelRe: Bonny Island, Nigeria-The true island of rivers state by DonSegmond(m): 2:55am On Feb 21, 2012
"It was the melting point of economic activities right from the 16th century. "

yes, aka slave trade where millions where traded. cry
AutosRe: Ridiculous Car Selling Prices On Nairaland: I'm Pissed by DonSegmond(m): 2:38am On Feb 21, 2012
[quote author=sunky-show link=topic=874212.msg10225004#msg10225004 date=1329583516]RECENTLY I JOINED N/L, AND I'M SO SUPRISED TO SEE RIDICULOUS PRICES MOST SELLER TAGGED THEIR CARS, PLS FORGET ABT NEGOTIATING, EVEN IF IT WAS IMPORTED FROM US OR ANYWER. IT SO RIDICULOUS TO SELL SUCH CAR WIT THAT AMOUNT. E.g HOW CAN SUMONE SELL "CAMRY 2001 (ALMOST 200K MILEAGE) FOR 1.4Mhuh ANOTHER GUY ON NAIRALAND WANTS TO SELL "REG COROLLA 2004 (200K MILEAGE ) FOR 900K". I LIVE IN D UK, CARS ARE NT SOLD LIKE THAT IN D UK!!! MY NAIJA PEOPLE WOT IS HAPPENING? ABEG I DNT UNDERSTAND THIS FORUM O huh[/quote]Imagine a car shipped from the US

Time to buy it from another country, maybe fees to give to someone to buy it if the dealer doesn't travel himself
If the dealer does travel, cover cost of his travel
Every city doesn't have ports, you can buy a car and have to drive/pay for it to be transported to as shipping port
Perhaps cost to fix a few things
Cost to ship it
Cost to clear it from customs
Cost in selling/advertising
Plus profit margin

You can see how such cars can easily double/triple in cost, when the cost of newer cars are so expensive, it stands to be that even used cars can be expensive too.

BTW, I'm not a dealer, and I agree that cars in Nigeria are over priced, but I think there are deals to be hard if you are willing to drive a very much older car. It's not a must to drive a 2006 car, There are 1996's and even 1986s cars out there for sale.
BusinessRe: What Business Can I Start With 3 Million Naira? by DonSegmond(m): 1:48am On Feb 21, 2012
Something that you are an expert on or will utilize your strong and core skills.
Nothing else!
It's not about doing what you love or what you think is hot, but what you are very good at and can do better than most people.
BusinessRe: Urgent,export Business by DonSegmond(m): 1:29am On Feb 21, 2012
step 1) find a buyer.
RomanceRe: I'm In Love With A Very Good Man, But I'm Losing It by DonSegmond(m): 1:22am On Feb 21, 2012
"and being the kinda person i am, before we met i had lots of male friends cos i click with the males than the females. "

You have issues. Any woman that says that has issues. Just like any guy that click more with females than males. Or any person that clicks more with only one gender.
PoliticsRe: Underwear Bomber Umar Farouq Abdulmutallab Appeals Life Term Sentence by DonSegmond(m): 4:53am On Feb 18, 2012
for those of you claiming he will be raped. he will not, he will be in max security federal prison. he most likely will be isolated, have his own cell, and be alone 23hrs each day, if he has good behavior. he will get 1hr to exercise in the yard alone. what a miserable existence, he would wish for death.
RomanceRe: A Girl That Visited Me In My House Has Refused To Leave What Will I Do? by DonSegmond(m): 3:01am On Feb 18, 2012
tell her you will take her shopping, then leave her at the store.
ProgrammingRe: Design A Module Program by DonSegmond(m): 7:52am On Feb 17, 2012
sorry, i can't do that for you. the problem is that you don't have some functions defined. if you know what a function is, and how to define it, then pass value to it, and return value, you should be good. if note, consult your tutorial/books, then after you understand how to do those, you can solve the problem.

you are missing the function definition for readInput() and totalSales(), with that said, read the other things I posted, and you should figure it out.
ProgrammingRe: Which Programming Language? by DonSegmond(m): 12:29am On Feb 16, 2012
I recommend 3 languages, and I will give you my reasons for them.

Python, PHP & Javascript.

Python's interactive nature makes it a joy to learn and to play and experiment with. Python is clean, a friendly language and a great useful language that you can use for many years to come.

PHP - Language of the internet. By learning PHP you can write code that can power web applications giving you the chance to reach a wide audience.

javascript - completes php, you can do alot on the client side these days with javascript, you can use your web browser to run it.

Start out with these. You can become very good in all 3 within a year if you pour yourself into it and practice every day.
CareerRe: Pilot Career by DonSegmond(m): 12:21am On Feb 16, 2012
As a person who has interest in flying for a hobby. The number one barrier I see towards being a pilot for peeps in Naija is cost. Point blank period. flying is not cheap. So if you can't afford it, give it up. No one will let you fly for free. If you are in Naija, there's Nigerian college of Aviation in Zaire, http://www.ncat.gov.ng/. If you have the money to travel outside the country, you can go to a different state and learn.

You start out with getting your private license,
then night rating
then after that, you work on your VFR/IMC using instruments
then after that you work on multi-engine rating
then commercial pilot rating
then ATP

by the time you are done, you would have spend easily $20-$30k. And a lot of time.

Pilots are not making that much money today, so think wisely about this!
AdvertsRe: Set Up A Standard Car Wash Wit Js 450k And Make Up To 2million Naira Yearly by DonSegmond(m): 12:13am On Feb 16, 2012
how many of these do you own?
RomanceRe: Why Do Girls Pull This Tricks? by DonSegmond(m): 12:10am On Feb 16, 2012
if you use condom you wouldn't have to worry about things like this.
ProgrammingRe: Nigerian Programming Real-time Irc by DonSegmond(m): 12:03am On Feb 16, 2012
delomos, okay, if you say so. I speak from experience, I was on IRC in 1994. Dalnet and Efnet. I could be found in #asm, #c, #c++, #coders, #linux, etc. and I had @p status in most of them. When we talked about code, we didn't paste code, but spoke in more abstract form. For posting code, it sucked, but hey, try it and tell me how it works. I've been there, done it and forgotten about it. IRC might be great for very experienced coders, I don't see that many on here.
ProgrammingRe: Design A Module Program by DonSegmond(m): 11:55pm On Feb 15, 2012
eazyd:
@DonSegmond

do i call this function with 0 since at this point they have no value.


how do i call this function?
okay,

def foo():
print "foo"

foo is a function, a function that takes no value

def bar(a):
print a

bar() is a function, a function that takes a value, you call bar by passing a value or variable.

what book or website are you using?

1 2 3 4 5 6 7 8 9 (of 9 pages)