₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,329,744 members, 8,441,990 topics. Date: Thursday, 09 July 2026 at 12:33 PM

Toggle theme

Kambo's Posts

Nairaland ForumKambo's ProfileKambo's Posts

1 2 3 4 5 6 7 8 ... 10 11 12 13 14 15 16 17 18 (of 29 pages)

ProgrammingRe: Jumia.com Gets $60 Million To Expand Its Market In Nigeria, Egypt, And Morocco. by kambo(m): 12:43am On Jun 20, 2013
hienyimba: that's crazy. if you don't know stuffs just kip quite. I hate all you pundits that keep on complaining and back-lashing wen you've got nothing to bring to the table nor made any contributions to our mother continent....FYI, Nigeria is the 6th largest market in the world and remember that you are not smarter than the people that poured $60million into Jumia.
"i hate all u pundits..."
stop fuming . Africa doesnt hav the market base to attract some mnc's thts y those niches are filled by copycat clones like .. (i leave tht as an exercise to you).

"6th largest market... " ?
Nigeria is an emerging economy like mexico,argentina etc.
So wat? Theyre other indcators
required to make it attractve 2 an mnc!
Not the empty tout of 6th largest market!

If nigeria were tht hot, amazon wud hav been here same with yahoo and google.

6th largest market with defcient labour force to feed the mnc?
6 largest market wth low unstable power supply?
Indias high pool of low cost highly skilled tech talents feeds microsoft,amazon etc
south afrca too. China same.


$60m na money?
READ UP the kinda stakes world rollers ar talkg about.?
ProgrammingRe: Isnt There Any Ruby Programmer In The House?! by kambo(op): 2:37am On Jun 19, 2013
Yeah right. Assignment/schul wrk indeed. Who told u i cant wrte a linked list? I write it 4 fun in java but my ruby code aint compiling!
Y google wen theres a pack of naija programmers on nl? Wats ths section 4?
I was xplorg ruby 4 fun, nothg to lose frm dumpg ths pink lang.

I just wantd wrkg code i cud run in d interpreter and compare 2 my non wrkg code to see where mon a missg it since them books i'm usg aint helpg nada in ths issue.
ProgrammingRe: Jumia.com Gets $60 Million To Expand Its Market In Nigeria, Egypt, And Morocco. by kambo(m): 2:26am On Jun 19, 2013
afrca doesnt need amazon or amazon.com aint digging africa?
Christianity EtcRe: A Touching Story About Jehovah Witnesses And Blood Transfusion by kambo(m): 3:55am On Jun 18, 2013
howlongthislife: This was discussed some days ago, have a look:



https://www.nairaland.com/1323863/blood-transfusion-sin#16244568
Are you making a case for or against blood transfusion?
how is blood transfusion akin to "eating blood"?
And the quote is actually backfiring against the argument against blood transfusion - cuz it clearly states
that "life " is in the blood. hence, a person will die if he looses a lot of blood. Hence, he needs life back,
read (needs more blood).
ProgrammingIsnt There Any Ruby Programmer In The House?! by kambo(op): 3:44am On Jun 18, 2013
Aint no ruby programmer in the house?

ok. i'm rephrasing the question: short form:

" what is the working code for a linked list in ruby? show me!. "

Man , it will be a shame if a whole programming section in NL can't even respond to this.

It works for me on java but on ruby i cant get it work!!. need working code.
ProgrammingRe: How Dyu Do This In Ruby? by kambo(op): 3:43am On Jun 18, 2013
Aint no ruby programmer in the house?

ok. i'm rephrasing the question: short form:

" what is the working code for a linked list in ruby? show me!. "

Man , it will be a shame if a whole programming section in NL can't even respond to this.

It works for me on java but on ruby i cant get it work!!. need working code.
ProgrammingSimple Banned Word Algorithm. by kambo(op): 3:36am On Jun 18, 2013
THE Algorithm for capturing banned words for NL is so easy to bypass.
this is just a simple algorithm that can catch certain cases.
An all case scenario filter would i think be very complex.

catches cases like ban word , punctuated with non alphabetic characters.
e.g
if banned word = ban,banned,banner.
and user puts ba.n, ban.ned, etc
.
algorithm:
------------
one- .
split sentence into words.
-
- remove non alphabetic characters from words.
- check word against banned word database,
- if match, substitute banned word with NL version.

e.g ba.n -> ban (after removing non alphabetic characters -> check against NL db . match found found -.
replace.

fu....ck, b.rea.st, etc... all in the net now.
ProgrammingRe: Simple Code Challenge: C#, Java, C, C++ by kambo(m): 3:15am On Jun 18, 2013
for all its worth.
If it this thread is closed ,oh well!.
wrote this yesterday night. posting it this early morn 3am+.
I think this is what the q is all about abt. a sliding search . like find 'ear' in 'beard'.

-------------------------------------------------------------------------------------------------------------------------


import java.util.Vector;
import java.util.Iterator;
import java.util.Collection;

public class NLquiz
{

public final void printRes(final Collection<Integer> col)
{
if(col==null||col.isEmpty())
return;
else
{
System.out.println("results::"wink;
java.util.Iterator<Integer> iter = col.iterator();
int c=0;
while(iter.hasNext())
{
System.out.print(iter.next());
System.out.print(" "wink;
if(c>0&&(c%10==0))
System.out.println();
}//
}
System.out.println();
}

public int[] col2irr(final Collection<Integer> col)
{
if(col==null||col.isEmpty())
return new int[]{};
else
{
int[] nurr = new int[col.size()];

Integer i=null;
Iterator<Integer> iter = col.iterator();

for(int x=0;x<nurr.length;x++)
{
i = iter.next();
nurr[x]=i.intValue();

}
return nurr;
}
}
public void printArr(final int[] irr)
{
if(irr==null||irr.length==0)return;
else
{
System.out.print("[ "wink;
for(int x=0;x<irr.length;x++){
System.out.print(irr[x]);
System.out.print(" "wink;}
}
System.out.print(" ]"wink;System.out.println();System.out.println();

}
public static void main(String[] args)throws Exception
{
System.out.println("match test: "wink;
int[] uni=new int[]{1,2,4,5,6,7,8,55,7,33,6,0,0,4,4,7,8,55,00,8,4,5,7,8,55,7};
uni =
new int[]{1,0,5,2,6,3,0,7,4,1,1,0,0,7,0,0,8,6,7,8,9,5,0,0,8,6,7,8,9,1,3,0,0,8,9,1};
int[] sub = new int[]{8,55,7};
sub = new int[]{1,3,0,0,8};
NLquiz nlq = new NLquiz();
System.out.println("the uni: "wink;
nlq.printArr(uni);
System.out.println("the sub: "wink;
nlq.printArr(sub);
System.out.println(" match test: "wink;
Collection<Integer> res = nlq.match(uni,sub);
System.out.println("match found? "+(!(res==null||res.isEmpty())));
if(res!=null&&!res.isEmpty())
System.out.println("match found .. !! . printing indexes .. "wink;
nlq.printRes(res);
System.out.println("sub.L = "+sub.length);
System.out.println("uni.L = "+uni.length);
int[] irr = nlq.col2irr(res);
if(irr.length>0)
System.out.println(" values at matching indexes : "wink;
for(int x=0;x<irr.length;x++)
System.out.print(uni[irr[x]]+" "wink;
}

//[i] this is the work horse.[/b]


[b]
public java.util.Collection<Integer> match(final int[] Uni,final int[] sub)
{
if(Uni==null||sub==null||Uni==null||sub.length>Uni.length||sub.length==0||Uni.length==0)return null;
else
{
int maxIndex=sub.length-1;
Vector<Integer> result = new Vector<Integer>();

int stepper = -1;

for(int x=0;x<=Uni.length;x++)
{
// System.out.println("stepper value: "+stepper);

int checkLimit = x+maxIndex;

if(checkLimit<Uni.length)
{
if(Uni[x]==sub[0]&&Uni[checkLimit]==sub[maxIndex])
{
//System.out.println("beginning And End match found at : x= "+x);
stepper=0;
}
}

if(stepper==-1)
continue;

//System.out.println("stepper value-lower end: "+stepper);

if(Uni[x]!=sub[stepper])
{
stepper=-1;
}
else stepper++;
if(stepper==maxIndex)
{
result.add(x-(sub.length-2));
stepper=-1;
}
}
return result;

}
}
[/b]
}
----------------------------------------------------------------------------------------------------------------------
Uni = Universe . of strings
sub = sub(set/string) to search out in the universe.

-------------------------------------------------------------------------------------------------------------------------
ProgrammingRe: Pathfinding And Haptic Feedback by kambo(m): 2:39am On Jun 18, 2013
sounds like the bounding rectangle cases typical in intro to game programming books.
ProgrammingRe: Why Doesn't Anyone In Nigeria Code In A Lisp by kambo(m):
Fayimora: This statement couldn't be more wrong! Except you have proof that this is true, you are very wrong, sorry. I have friends(devs) that learnt how to program with Javascript on webpages. Now they write ruby, python and even Scala. I know someone who learnt how to program by writing mobile apps. Not everyone starts with C and family.
That's one route , some take.
But except you'll run a poll asking the bevy of programmers how they learnt how to programme.
I'll say that MOST programmers went the desktop way.
for 1 you could google - "how you learnt how to programme and read the reviews"
The crop of programmers you mention are more of people who learnt programming recently say within the past 5 years or so. but that's not enough basis to create a contradiction . neither is that a sure base to
make a generalization. With the trends changing,in the next 10 years most recent programmers may not be learning
programming from a puter. more like from a phone or the latest miniaturized gadget.

I said typical programming is learnt in desktop mode : the traditional way. like its taught in uni's and computer schools.
some people learnt vb then transitioned to c (high level to low level)
others were graphic artists then programmers . there's no clear cut route but theres a prevalent ,prevalent is the
word, more typical approach most people used.
Your friends , had the benefit of visual feedback,which is very encouraging.
visual here excludes the console feedback. like what you'll get from a dos prompt.
Which is what i stressed about lisp. a language that doesnt give better visual feedback can be a turn off to users.
people want to see,visualize data.
one thing i've seen with most people though is that its harder for people who are into lightweight progrmming languages
, ruby,javascript,php,perl to transition into "lower level" harder core programming!!.
they seem to kind stay stuck in the scripting level!!
But guys who got hard core find it easier to wade into scripting (ruby,python,php) and straddle hard core programming
also. its my observation.
Fayimora: I have never resented a language like Ruby for not having something like swing and I don't know someone who does.
ruby and php etc,if learnt from the web programming angle, give instant feedback. sending information to be displayed in a web page.
This can fill the place of gui, and is more appealing than a console screen.

Fayimora: ... Funny enough, even my small apps are always comprised of about 2 languages minimum. You need to do some concurrency/scheduling, get an Erlang expert to write a middleware. You need to write an SPA, get an EmberJS/Angular/Backbone expert. That's how the industry works now bro!
After one has gotten comfortable with the basics of programming and its underlying philosophies
, he can choose any route he wants.
Your small app uses many software stacks. ok.
what stack does a program like textmate, run on. notepad++ etc?.
or the 1000 line program a budding programmer may write in language x? or isn't it still software he's making? though
not in a hodgepodge of many languages?

That has nothing to do with the appeal of a language to a newbie or d inquisitive which is what the issue is all about.
when emacs was written, i dont think the author was thinking in terms of "software stack" or "current industry trends"
He just implemented his idea in a language.
Neither did linus think of "how the industry works"
but b4 they could get to a point where they can think of a language as a "writing tool" , somethings could
discourage learning. in this visual age, its possible to learn with console/no gui approaches, but
after being spoiled with gui and instant feedback and visualzation of data, a language without these facility
could get really tiring to use.
a visual basic , java, qt developer may get into lisp and start playing around,
but to really test his knowlegde and create an app that synergises all he's been learning so far he may
want to create something with a gui.
lo and behold, getting a gui library may be a bigger hurdle than he thought,
the look may be outdated and unsightly (c types)
the gui library may lack good documentation which is typical with open source toolkits.
that may discourage him from exploring the language further.
mayb to keep his job, he may learn it but except for that, or mayb to write some back end ,
but languages with gui's pack mor appeal and attract more learners. my gloss.
FamilyRe: What Can Make You Disown Your Child? by kambo(m): 1:36am On Jun 18, 2013
coogar: 18/19 is not early age - the boy is old!
he's been spoken to by the parents. they have asked him to choose between them and his army of hoodlums, he has made his choice. besides, he's stopped listening! how soon before this lad gets into big trouble....




be smart, don't be a rëtard!
your female friend listened and was ready to change. she didn't abandon her home for some cult girls. how can you not see you keep making daft analogies? are you recto-cranially inverted?
so 18/19 is beyond repair!!.
if the parents do this they'll b the biggest fools on th planet.
Wat can the young man be if the parent keep working on him till say he's 29!! ten years frm now!!.
if the parents insists on visiting the parents of his bad friends and talking to them. and wrning the children.
if the parents insists on creating a conducive family in the home.
some parents make their home a hell hole, always criticizing , washing down the child , dehumanising and insulting
the child in the name of "advising" or "talking " to the child. and when the child is old enough , he doesnt want
to come home, he stays out. out with who!! wrong gangs.
Have the parents checked themselvs.
Fathers and mothers should first befriend their children, make it easy for their children to approach them and say
their mind to them - picture GOD , he is open to being approached 24/7. He says come boldly to the throne of grace
...(Talking of the BIble God here). He want to have fellowship with his children, are earthly father/mothers the same.
Does it suprise you that most chldren identify mor with their mothers cuz their mothers wer mor ACCESSIBLE -
and thru friendship /fellowship with the mom, they DELIBERATELY wouldnt want to do anything to HURT her cuz
the value the RELATIONSHIP, most parents have zilch skill and building relatioships. Then wonder why the children
go bad - fyi, the japanese cult gangs use this principle to bring in more members into their gangs.
They befriend, and in a cold world where no body really cares about the "miscreant" son , the
termed useless person opens up to the new friend and thru their friendship he's enticed to joining the gang
and they stay cuz of the sense of "family" in the gang!!.
Think on these.
There's more to bringing up a child than always correcting.
FamilyRe: What Can Make You Disown Your Child? by kambo(m): 1:21am On Jun 18, 2013
coogar: you lack cognitive reasoning.....
what has been a teen or an adolescent gotta do with telling it as it is? mr. septuagenarian, were you a perpetual drunk, chainsmoker, chronic womaniser and a truant at age 18/19? most of the people i grew up with weren't........so i really don't know what you are on about?





2000 words and yet no common sense in your write-up! all these people you mentioned still managed to complete their degrees in their respective choice of discipline.

the best student in my set was a user.......and this lad would practically write codes that would make bill gates green with envy!

my problem with this irresponsible soul is not his social vices of smoking and drinking - it's his lack of foresight that education is a very vital important tool in this day and age.......

the pastor adeboye you mentioned is a Ph.D holder in applied mathematics! using him to draw parallels to this lad is a daft analogy. i don't care how many bottles he hits or how many women he slaughters as long as he makes education is #1 priority!
And education is morally transforming right?
They're many educated prostitutes and so on. very educated. Vice is perpetrated by all in all strata of society.
Education makes you a better person!! - watch the film "chasing maddock"
the man who orchestrated the financial collapse in the U.S that spread its ripple effect globally.
wasnt he educated?!
As for the education thing, what about rich dropouts who jettisoned school?!
Education , with an evil mind only creates smarter miscreants.
They're chemist creating designer steriods and dope - aint they educated?
nuclear bomb facilities in North korea made by illiterates?
Enron and financial scandals in corporate world orchestrated by dunces!

At teenage hood most people are trying to meet the status quo and gain an identity.
guys want to prove themselves to their friends - that they can get a girl, smoke ,drink -
in later years they may see it all as foolishness , some may even become experts at it,
and become addicted chronic practitioners but the parents should know this - they themselves passed thru this phases -
Not throw threats of disowment at the child.
ProgrammingRe: Best Laptops & Desktop Computers For Programmers?? by kambo(m): 5:03am On Jun 17, 2013
A laptop 4 serious software development. 4 a solo coder ok, but under serious work they cave in some- keypads becomes wobbly , hinges weaken from opening and closing, varnish wears of the actve areas from too much finger frction. Psychologically, with the sheen gone, they cud b discouragg to wrk with. But if u want lappies thats ur cuppa mocha.
If i were to setup a wrk place. It would b sth like 2 large screen (min 3 preferred) monitors , 1 for side view , powerful cpus, rugged keyboards ,ergonomic mouse and chairs . This wud b d den 4 gettng into d zen (serious wrk). Cud add u sound proof to keep out distraction. Then a sprinklig of laptops ,for auxilliary support wrk. Besides those monitors wud b really handy 4 graphics work.
But u want lappies ,fine with u.
Cud b as gud also.
ProgrammingRe: Value Objects In Java by kambo(m): 9:39pm On Jun 16, 2013
javadoctor: @kambo I don't like u in person but I'm afraid I have to agree with u on this one.
havg any degree of negatve feelgs against a fellow poster on a bland forum like this is immature. Think how ridiculous it wud seem if a perl, fortran , bcpl,forth, programmer said this . Negatves, transient fadg technologies - not wrth it. everythg is fadg away. Call d garbage collectr on antiquated attachments.
Christianity EtcRe: A Touching Story About Jehovah Witnesses And Blood Transfusion by kambo(m): 9:17pm On Jun 16, 2013
Jehovah witness is a cult. Like other cults its masked to appear like christianity with christian metaphors and allegories. The bible is d standard for tru religion and Only THE BIBLE (AND THE AUTHOR OF THE BIBLE,THE HOLY SPIRIT) CAN INTERPRETE THE BIBLE. BUT most people ar too lazy and too timid to take a stand 4 d truth wen theyre confronted wth it. All d lies of other religions ar exposed wen set against the truth of God's word- the Bible.
Sorry folks "religion" has generated mor casualties 4 Satan thn anythg.
Sombody was arguing in this forum against wearg of gold, citg tht Pastr Adeboye's family doesnt
wear gold! Wen i gave him bible verses he still stuck 2 his viewpoint.y because an influential person said Gold wearg is sin.
The bible says u shll know the truth, KNOWLEDGE OF D TRUTH , SHALL SET U FREE. FREE FROM WHAT? 1, lies and strongholds (thinkg patterns/ideologies) tht keep men in bondage.
And thts y d devil wrks so hard to keep people away from d bible - so tht they wont discover d truth and b free. For jw's they have a warped bible where key scriptures are distrted, for catholics, bible readg isnt 4 d laity, for islam it is outright hatred against ppl of d book. Then 4 christians its makg them too bz chasg other thngs to hav time 4 d bible : d goal is one and d same DONT LET THEM GET NEAR D TRUTH SO THT THEY WONT B FREE FROM SATAN'S DECEPTION!!
anoda 1up 4 satan. Ooops too many ppl will b blamg God 4 all d evils on earth like y did He let dat woman die!?
ProgrammingRe: Simple Code Challenge: C#, Java, C, C++ by kambo(m):
Hello OP. Is this contest still on ar u still xpectg mor submissions?
Ur question is confusg. Clarify .
Theres an array, lets call it d universe (Uni) and a pattern to search in d universe lets call it the subset (Sub). Q1: how many Universes are ther? 1,2,3?
2: is d match suppose 2 b a 'sliding' match or 'non-sliding'?
A slidg match will match 'ear' in 'heard' but will fail to match 'era'
though d universe , contains the elements in d substring, 'era'. So,wat kind of matchg dyu require? If it is an 'anyhow/nonsliding' match, then i dont see anyway, nested loopg wont b required. It wud b a cpu intensive operation.

3.) if d query is for a slidg match of a sub within a universe, wats d issue with multiple Universes?
Is the search suppose to b performed on all universes sequentially, the search result returng a list of matching (beginning) indexes. If so, then d end result will b a collection of list of matching indexes from all the Uni's. E.g let U1 , u2,u3 b d different universes to test s on. S is the substrng.
,match(Un,s)--> list<index> .
I.e function match takes a universe and a substring and returns a list of matchg indexes,
if so, then,
THEY'll b n number of list<indexes>. So u1,u2,u3 will generate 3 list<indexes>. If the match is performed on 3 different universes.
Then, it will b case of callg function 'match' 3 times.
Is this wat u want or is it a case of calling match once on all 3 universes and the search perfrmed on all 3 within a single loop without inner loops or recursion.
?
I.e a function
match(u1,u2,u3, ...Un , s) --> list<index>.
Multiple universes, 1 substrng, 1 list of (beginng) indexes.
Pls clarify and dont tell me to go read d strtg pages. Clarify here.
ProgrammingHow Dyu Do This In Ruby? by kambo(op): 6:02pm On Jun 16, 2013
I strted out to teach myself ruby for d sake of variety . I had as my tutors circa 4 ebooks on ruby.
The pick axe book, one by david flanagan (author of javascsipt bible), pragmatic programmer , and steve holtzners beginng ruby on rails.
I downloaded and unzipped a rails package, whipped up my fav editor nd strted typing away.
First off all, ruby's terseness and neatness got to me. Inspired by python's philosophy but havg my code lyng around bare bodied in some folder got me twitchg some. All these scriptg langs and their nudist culture sef , mayb cuz thema still young and nubile relative to older ones frm generations way back.
Php,python,perl all share this bare all phylosophy.
I'm not comfrtable handg off my hard earned brain benches to some just like tht.
But i plodded on, wantg to experience d gem they say is hidden in ruby.
The compiler errors didnt help me ,it was like greek, somthg i'm not used to wth java.
Java aint so clear but after gettg used to it ,i see it is really helpful.
Its compiler error messages point out d problem (and line number) adequately.
One problem had me tearng my hair out, i spent an hour+ debugging it, i entered d textbook example word 4 word and d compiler returned d same gripe word 4 wrd but its message cud hav well been written in mandarin chinese for all its wrth- it was useless to me.
After much pain and many trials and error, i discovered d cog tht was hinderg: my class name didnt begin with capital letter! The compiler cudve simply said so! Y didnt it say so!
(this is one reason open source perennially lags behind. For all their smart gadgets they stew in subpar documentation makg their tools unusable,to most.)
havg scaled tht breakpoint, i gathered my self together and decided to write somtin tht wud really require me to employ many of d concepts of ruby. Somtin relatvly simple,tht cud b whipped up in a couple of minutes in java.
A linked list.
I tried and tried and combed all d books to ensure i was layg it all right but this time tearg my hair out and pickg my code and books apart with a needle ddnt help me.
Stuff didnt compile , i mean satisfy the interpreter's rule set.
Seeing i was gettg nowhere , i decided to to try the same long hand,i.e in java,
i wrote it,wincing at the uncomfortable verboseness of uncle J. I'd gotten used to sayg 'puts' instead of 'System.out.pr..... '
. Man, typing out my logic in java seemed like secretarial labour rather thn codg!. But i was soon thru wth d first draft.i saved the source file and , with bated breathe, happens all d time i'm invokg javac on a new meal (source file), i hit ENTER to summon javac. The screen was dark,as usual, the cursor was blinking , i was waitg tense 4 d screen to spatter wth error messages , thngs i ddnt do rght-d frst time.
I was debug ready. The blink took longer thn usual, then, the blankness, dissapeared and the typical path signature was restored. The code i wrote in java compiled at frst attempt. I had my .class twins sittg snugly besides their .java bro. Still doubtful,tht it was wartless,i tested the linklist,
it perfrmed like an olympic athlete in a local country race-flawless.
So the problem wasnt in my logc but in my ruby syntax. And hidden by shabby ruby documentation includg poorly wrttn tech books- d bane of the tech industry.
I experienced similar road block wen xplorg python, in this case, perfrmg d equivalent in java of importg a package.
Enough rambling then.
If ur a ruby fan, show me wrkg code tht addresses d problem tht stumped so bad tht i kicked d gem 2 d curb. Post code here 4 a single (double if u wish) linkedlist.
I'll test it and compare it to mine to see where i went amiss.
ProgrammingRe: Value Objects In Java by kambo(m): 5:12pm On Jun 16, 2013
harryobas: @javadoctor my point is that java does not provide native support for implementing user-defined domain-specific value type. Which is a shame becos the concept of value types in object-oriented paradigm is as important as reference types. C# for example provides this support through the use of Structs.
i dont really understand wat u sayg. Doesnt d ability 2 create used defined types thru classes empower the programmer 2 create all d types he cud ever fantasze about?
If u can create a class u can model any entity!
The available frame wrks are created for operational enhancements to d language to circumvent som bottle necks imposed upon by d particular language's world view of how to do thngs - and the bottle necks are INEVITABLE since every position of operation adopted by language x will involve trade offs, pros and cons!. Enlighten me som more on wat ur sayg!
ProgrammingRe: Multi-Player Whot & Ludo Game For Phones: Please Help Us Test This App by kambo(m): 4:56pm On Jun 16, 2013
D disruptive error problem in d whot game has to do with the graphcs manipulation operations. (positioning and displaying the cards). D operation is soaking up system memory without freeng it up after game ends. The accumulative debris of unused objects in memory eventually clogs the phones arteries making it squeal out an Exception b4 crashg off in e-death.
I un compressed d jar file and took a peek at d image object used 4 card representation. All the cards are held in a single image file! Instead of one image per card, so renderg one card frm d single image file requires some computation tricks , more like cuttg out a square tile from a solid ceramic tile. It wud hv been easier simply creatg a 1-to-1 image 2 card object mapping frm d outset. Wud save on system crashg computation. just my gloss.
OP , note this and correct d error 4 a mor problem-free next release ,hopefully.
ProgrammingRe: Need Help/collaborators On Occupy9ja.com by kambo(m): 4:36pm On Jun 16, 2013
Wat became of this project? (still on or did it go the way of the flyng reptiles and tyrannosauruses!- )
ProgrammingRe: Which Programming Language Is Best For Building An Hospital Management Software by kambo(m): 4:10pm On Jun 16, 2013
[quote author=oche_ejemb]think about making it a web-based (or cloud as is the buzzword nowadays) project (especially considering how Nigeria is, electricity, security, etc) and use a MySQl db backend and i guess a php framework like codeigniter for the frontend. In 2013, dont see why anyone should be building for a strictly desktop environment especially for hospital records where the data needs to persist for years and could potentially become huuuuge. its easier for a hospital to invest in a few client systems or evn tablets, than one server that needs to be up at all times.
You could also use MS Access if its just a database system, and can easily move that to the cloud using Sharepoint but im sure that will be expensive. Someone already mentioned Alpha5, ive come across it before but havent used it but ist seems quite handy too.[/quote]a cloud based software requires continous internet cost to access which may or maynt be attractive to d customer. And not all customers are comfortable wth d idea of havg their sensitive business data sittg on a location outside their full control. Its too much of a risk 4 som 2 consider.
The access fees addup over time .
If data preservation is d issue, som simple backup policy cud b instituted.
ProgrammingRe: Best Laptops & Desktop Computers For Programmers?? by kambo(m): 5:57am On Jun 16, 2013
maybe you shouldnt be thinking of laptops only but a combination of laptops and desktops.
since you'r cost conscious, the desktops may serve you farther as you wont need to replace so soon compared to lappys.
A desktop just needs upgrading , fit a large lcd monitor and u've got all the coolness u need
besides they're more resilient to power surges than lappy's.
(but they take up more space and are fixed devices. this is the downside, i'm assuming the
work place would require not moving devices around).

The problem however is that desktops are going into extinction- for the lay masses.
if going for lappies , its most advisable to go for the most durable and powerful types you can get - theyre residual value in the long run should be higher. and their throughput
is really what matters.
Programming10 Programming Languages That Could Shake The World by kambo(op):
http://www.infoworld.com/d/application-development/10-programming-languages-could-shake-it-181548?page=0,4

others:
--------
Fortress - I heard of fotress in 2007, nice to know it's now implemented and released.
one of the implementers is guy steel jnr. co-creator of the more theoretically pure lisp dialect,scheme.

Julia - a recent dynamic language built from the ground up with parallism in mind.
seems to me it will be what erlang has tried to be but with a more cleaner syntax. its performance is said to be almost as fast as c++ ,c code (wikipedia)
(seems to be a promising contender in the programming language market)
ProgrammingRe: Multi-Player Whot & Ludo Game For Phones: Please Help Us Test This App by kambo(m): 10:09pm On Jun 15, 2013
hello OP, you'd do well to open source this thing.
This a programmer forum - Y not free the source!!.

I've spend this saturday playing it !! and after many games i get an out of memory error
- all the time, the sound ceases after some time.
since its already free,why not give programmers a chance to customize/enhance it
? haba. Abi the m$ spirit don catch una!?

I for one feel the number of cards in the deck is too small.
2.) the instructions documentation should be rewritten -
the game rules should be altered - when i played whot by hand i never
knew '1' was a unversal number ,where any card could be played after it?!
3) The game should freeze up when the deck is empty and there's not winner .

4.) the shuffling is not random enough sometimes, i pull many cards that are
clearly sequential (game spoilers ) in ordering . This shouldnt be.


host it on google code or any available free source control repository out there.

purpinkx: It works well on c5-00 ... Me thinks the market should be replenished when it's exhausted... Please how can i hide my hand ? E be like your computer dey watch my cards cheesy
i feel the same way too too!!. Like the computer opponent is given
privy access to the players hand and uses this knowledge to "think" with!.
ProgrammingRe: American Bank Offers $1M To Anyone Able To Solve This Mathematical Equation by kambo(m): 9:57pm On Jun 15, 2013
too many hard maths problem's that have been unsolved yet.!!
this isnt stuff for those not steeped in maths. i.e like 20 year+ experience meditating on
it.
Goldbach's conjecture tagged for 1million when a book on it was to be published and it still wasnt claimed!!.
Field medalists are bulking at the problems how much more lay men!!.
ProgrammingRe: Why Doesn't Anyone In Nigeria Code In A Lisp by kambo(m): 9:51pm On Jun 15, 2013
tundebabzy: I code in LISP for fun and for some strange reason, I never found the parenthesis brain twisting.

I guess the reason for few lispers (everywhere not just Nigeria) is the relatively small and dwindling community; too many people aren't talking about LISP so too many people aren't bothered about LISP. When people talk of LISP its usually about robotics and AI and thats boring talk for a whole lot of programmers. And then the parentheses is an absolute turn off for many.

I personally have a goal to build a self navigating rc with LISP doing the AI.
I've investigate lisp and contrary to what you may think, it will never die.
There's a new java lisp implementation - not clojure (which is a language) but
- an implementation. released this year.
There's always going to be a small but ever steaming interest in it.
Anybody who's studied the history of programming languages will at some point
ask himself - Y all the rage about lisp - and maybe/ investigate it.
Many programmers dont dig lisp - but then, many people cater to mass taste -
and the majority (most hyped lang) rules but then mass taste is commodity quality not so rich or exotic.
Then on the flip side, theyr only so few hours of the day to pursue hobby interest,
more especially in programming where a project could cost so much time , leaving
lil left for other things in life. no time to chase a non commercially viable lang!!
but this is poor thinking in the long run.
ProgrammingRe: Programmers: What Project(s) Are You Working On Now? by kambo(m): 2:18am On Jun 14, 2013
code101: I just put online an enterprise of business application, I've been working on for over 3 months (called GENE6) online at http://gene6.bengallerygroup.com
Guys check it out, It contains so many rich functions, that I cant explain here. Just try it out (Register and Login), please don't forget to read the QUICK START USER GUIDE.

LOL
your getting started guide contains this blunder - correct it.

" ... using its rich integrated functions you will be able to process and manager your customer’s orders, "
ProgrammingRe: Why Doesn't Anyone In Nigeria Code In A Lisp by kambo(m): 2:10am On Jun 14, 2013
Fayimora: ME! tongue I did not care about GUIs for a while and I impressed a lot of folks with my work. I guess I'm more interested in writing functional and efficient systems than making nice GUIs.


When selecting a language for a task, a good GUI framework is barely a requirement, it is just a desired feature of the language. If you are using C/C++ then I doubt you are planning on writing a GUI in the first place. If you are using Ruby, you are most likely writing a utility or a web app, in which case you still do not need a GUI framework.

My point is, use the right tool for the job. For example, assume you have a webapp to build for someone. Personally, if I know Rails will be easier and better due to lots relationships and blah blah, I hack it in Rails. Otherwise, I might just hack a backend in Scala or JavaScript(NodeJS) and write a front-end in HTML/CSS/JS. I might even go crazier and hack the backend as re-usable components in multiple languages(currently doing something of this nature).

So it's up to you to decide, should I use Java because it has swing? or will a web service with a front-end serve me right here? or will a set of re-usable components be a better? or will language X be better because it has good FP and Concurrency support?

Just as a side note, I now consider Java "not worth learning" lol

Cheers
you miss my point. typical programming is learnt in a desktop mode first b4 proceeding to web ,mobile aspects. in this way, most programmers who learnt how to program by writing
console apps , would be more comfortable writing gui apps if they know the library for the gui is included in the language of their choice.
when one wants to display some gui and needs to go fishing for some library somewhere
it increases the resentment and disgust for the particular language.
I too am mor functionality based. infact, i get lazy fitting a face (gui) to most of my works cuz once i'm thru with the functionality i wanna move on. but for the few times i've had to fit a face - its been convenient to know theyres a standard way to do so - not competing ways and large installation required (as is the case with qt etc).
languages with inbuilt gui's ar just mor appealing. this is one reason languages without
easy gui support may be unattractive to those spoiled by everything within reach languages.
its not only gui only, modern languages come with libraries that make programming more fun, java comes with a networking library,inbuilt, prior to that c++,c programmers had
to grab networking libraries , threading libraries from some where -
a java (or csharp programmer) going back to use less richer languages (library wise)
would wear a long face all day at work. convenience is attractive-
.
ProgrammingRe: List Of Nigerian Software That Compete Globally by kambo(m): 4:02am On Jun 13, 2013
like somebody one said- theyre those who write software that writes software and those who write top-of-the-stack software.
in scripting languages like python php ruby etc, the source isnt even converted to lower forms ,like it is in c,c++ etc.
both classes of dev's requir different degrees of knowledge. grabbing and mastering a programming language isnt enough. mustering the motivation to acquire the knowledge on your own is herculean and almost infeasible (i didnt say impossible). this is where the divide btw 3rd world and first world countries arise. quality of knowledge obtainable and the mindsets prevalent in these places. its a herculean task to make world class softwarehere.
for example, say , you want to write the bit torrent protocol and client (say you're brian cohen the original author of bit torrent),while you're exploring the idea,
and working on it, for months, it would be drummed into your ears by your colleagues that you're wasting your time - why? cuz the project isnt going to fetch you any money (in the nigerian market),
these money focus is really shortening use in the long run. because without an adventurous mind new discoveries that could lead to higher quality services that could lead to
more money wont be made.
on the web scene the companies rearing their heads are basically local clones of
international versions. dealdey (clone of groupon), too many amazon clones, lagbook (clone of facebook) ,iroko tv (youtube inspired), jobberman(uninspiring idea-kept alive by the drab job situation in naija), nairaland( ?!! ), who wants to be a millionaire?,
.
but for every successful startup , 100000 died unnoticed.- if we dont
increase our fail rate and become more bold an adventurous in failing trying out new
semmingly crazy dull drab ideas (how would the idea of twitter have been percieved in
an typical naija board room!?) we'll always be in the shadows,internationally, imitating
foreign ideas ,living in the shadows of the western world.
php was developed by an adventurer - he didnt know it would grow to become the phenomenom it now is.

1 2 3 4 5 6 7 8 ... 10 11 12 13 14 15 16 17 18 (of 29 pages)