Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,150,764 members, 7,809,931 topics. Date: Friday, 26 April 2024 at 05:29 PM

Codeaddict's Posts

Nairaland Forum / Codeaddict's Profile / Codeaddict's Posts

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

Programming / Re: Java-problems by codeaddict(m): 10:38am On Nov 07, 2013
Johnpaul88: Sorry i do not understand how this is so. Where did 41 come from?
Thanks
Math.random() returns a floating point number in the range 0 <= x < 1
So the highest integer value you get, when you multiply with 41 is 40, since int casting truncates the decimal digits.
Programming / Re: I Want To Learn Programming. Which Language Should I Start With? by codeaddict(m): 6:33am On Nov 06, 2013
Ajibel:

Yup heard about that buh sadly, havent laid my eyes on it sad i'd continue searching doe undecided
Tried buying? cheesy
Send me a mail.
Programming / Re: Java-problems by codeaddict(m): 12:31pm On Nov 05, 2013
Known_pal:
2. Unsolved:
How do you generate a random integer i such that 10 <= i < 20 [Do not Use conditional Statement].
10 + (int) (Math.random() * 10)

Known_pal:
3. Unsolved:
How do you generate a random integer i such that 10 <= i <= 50 [Do not use conditional Statement].
10 + (int) (Math.random() * 41)
Programming / Re: I Want To Learn Programming. Which Language Should I Start With? by codeaddict(m): 3:04pm On Nov 04, 2013
Ajibel:

I'd suggest
Learning python 4th edition by mark lutz
OR
How to think like a computer scientist (Learning with python) by Allen Downey.
A google search for both adding a '.*pdf' at the end will give u a link to download both FREELY
OR
Use read the Python Manuals that came along with Python when u downloaded it

Great Book, if you're a C/C++/Java programmer looking to get your hands dirty with Python.
I find its companion, Programming Python (same author), even more intriguing.
Programming / Re: Pre-programming; How Do You Cope?? by codeaddict(m): 5:23pm On Nov 03, 2013
Start out by cutting your sleep-hours by three. It's not going to be easy, at first. But with time, you'll get used to it.
P.S: If you're really passionate about programming, then this shouldn't be a problem.
Programming / Re: Challenge: League Fixture Algorithm by codeaddict(m): 9:03am On Oct 23, 2013
Programming / Re: Challenge: League Fixture Algorithm by codeaddict(m): 5:58pm On Oct 21, 2013
Well, some of us don't watch football, undecided

So by entire season, how many home | away matches are allowed for each team?
And, does half season mean half of the total number of away & home matches scheduled?

1 Like

Programming / Re: Game Development: Next Gen 3d PC Game Team by codeaddict(m): 8:39pm On Oct 18, 2013
Is there room for Java programmers?
Education / Re: University Of Benin Students (undergraduate/graduate) Chatroom by codeaddict(m): 8:45pm On Oct 11, 2013
Chibuhealth: I applied for Computer Eng. They gave me Computer Education. Please can sombody brief me on the differences btw the courses. And is it possible to change the course in my 200level?
He he. Normal UNIBEN levels. You'll be doing less engineering(doesn't imply no engineering) courses and more education courses.
It's possible to switch in your second year, but it all boils down to two things. Your connections or your intellect.
Programming / Re: The Best Java Programming Textbooks by codeaddict(m): 12:51pm On Oct 10, 2013
Yes, it does. If you read it thoroughly.
Programming / Re: The Best Java Programming Textbooks by codeaddict(m): 6:54am On Oct 10, 2013
You could try the book by Deitel and Deitel. Gives you a really solid introduction. Always try to make sure you solve all or most of the exercises behind each chapter. Improves your thinking.
Literature / Re: If Stranded On A Deserted Island, What Book Would It Be? by codeaddict(m): 9:56am On Oct 08, 2013
It's an indirect question for what book you never get tired of reading.
Literature / If Stranded On A Deserted Island, What Book Would It Be? by codeaddict(m): 6:50am On Oct 08, 2013
So, if you're trapped on a deserted island. What book would you like to be with?
For me it'll be It by Stephen King
Software/Programmer Market / Re: Hard-Working Programmers Wanted For Website Development by codeaddict(m): 6:53pm On Sep 26, 2013
I had a brush with Python when I started programming. But left it after a little while for Java, cos I believed it to be more powerful.
Python knowledge is currently limited to basic syntax, functions and basic file i/o operations.
Java knowledge is up to intermediate level. I've built basic desktop applications.
However, I have zero experience with Web applications or any form of Web development, asides maybe, HTML.
I stay very close to Otta. Can I apply as an intern, without pay, of course?
Phones / Re: Are You Interested In Moderating This Section? by codeaddict(m): 5:57pm On Sep 21, 2013
I'm interested.
Programming / Re: Programming Challenge 1 (any Language). by codeaddict(m): 8:58am On Aug 12, 2013
Javanian: So much talk about recursion on this board recently, so i used it cheesy

http://pastebin.com/UxyirRDV
Nice approach! One error though. Lines 19-23 will print out the wrong result when n is 2.
"1 bottles of beer on the wall".
Politics / Nigeria: Why Africa's Sleeping Giant Must Wake by codeaddict(m): 1:48pm On Aug 07, 2013
THE GENESIS
It was a redefining moment in the history of the World and Africa in particular. Our noble heroes had fought gallantly and freed their own great nation from the hands of White colonialists and imperialists. The era of exploitation was over and there was a tumultuous herald of a new dawn. Men and Women took to the streets, dancing and singing. The youngest of babies were not left out of the celebration and the most glorious speeches in history were delivered. It was October 1, 1960 and Nigeria had been officially declared an independent state. The course of history was changed as nations heralded the arrival of the black hope.
We took off on a good note as a nation with our own people now in charge of our affairs. Expectations and hopes were high. The people at the helm of affairs were focused and committed to nation-building and commendations were coming from far and near. In fact, as federal minister of mines and power in the first republic, Alhaji Yusuf Maitama Sule recalls that there was an international review report released between 1961 and 1962. This report stated that in 15 to 20 years, three developing countries would join the league of developed nations. These countries were Brazil, India and Nigeria. This as the report observed, was as a result of the quality leadership delivery in these countries. Nigeria was the world's blue- eyed boy and Africa's emerging economy and almost every country wanted to associate with us.

THE DRIFT
Unfortunately, the atmosphere of blissful hope was to last only a while as the rudder of the Nigerian ship suddenly began to drift. Issues that were not in our national agenda began to manifest. Personal and tribal interests began to replace national interest. Nepotism started creeping in. Bribery and corruption was fast raising its ugly head and our national values and ideals were fast being eroded. Conflicts and controversies began to rise from everywhere and the nation was at boiling pint. Then, on January 15, 1966, that ugly and gloomy day, the military struck and the manifest destiny of Nigeria was set on the edge of a precipice. Soon, we began to fear ourselves and started losing faith in what defines our nation hood. This culminated in an unfortunate civil war in which we sent fellow citizens to their early graves, and destroyed the legacies of our founding fathers.

THE NATIONAL DILEMNA
From this moment till now, Nigeria is yet to get back on her feet. We have had many military and 'democratic' leaders but this has made little or no difference in our national life. This is because these leaders are yet to sincerely find a national programme for this country and have treated the affairs of this country with such mindless levity. Our leaders do not see Nigeria except as propaganda, pregnant with political possibilities for exploitation (apologies to Ojukwu). The Nigerian people have waited patiently, trusting various regimes to provide an enabling environment for the citizenry, but our leaders here always breached this trust.
There is no gain saying that relative to our development potentials and endowments, our present position as a people is marked by gross underachievement. Nigerians may have excelled as individuals both at home or abroad, but as a nation, neither Nigerians nor outsiders envisaged that at this period of our national life, we would still be associated with such negativism including but not limited to high level of corruption, unemployment index, poverty, insecurity, illiteracy, low human development index (HDI) and sham elections. We disappointed ourselves and the whole world, and even the innocent children who danced jubilantly during our independence even when they did not know what was going on.

NIGERIA: A DISAPPOINTING MOONLIGHT TALE
Today, Brazil and India, two countries that were listed as emerging economies alongside Nigeria in a 1961 international development review report are very close to reaching the apogee of national development, yet Nigeria is still very reluctant to take off. In 1953, Nigeria was rated as having better development potentials than Japan and in 1957, was almost at parity, development-wise with Singapore and Malaysia. Today, Japan is an industrial power. Singapore and Malaysia are Asian Tigers yet, Nigeria is being referred as 'the sleeping giant' by sister Africa countries whom we disappointed. What then makes the difference? It seems that there has been inefficiency in the system and structure that is in charge of harnessing the development potentials of our nation. This is the mildest way I can say again, that leadership has failed in Nigeria.

A CASE FOR NATIONAL RECLAMATION
There must be a way forward for Nigeria. First, we must shun pretence and admit that we are still far away from our hopes and aspirations as a people. Then, we can make deliberate efforts to set this country on the path of honour. We can begin by redefining the nationhood of this country. In doing this, Nigerians must have unity of purpose. We must abandon our primordial attachments for a new Nigerian relationship. We must seek unity and discourage anything that promotes disunity. We must break down every dichotomy that has held us down as a people. Our diversity should be no cog in the wheels of progress of this country. Rather, it should be harnessed to lubricate our state machinery and gives us leverage over other nations. What we need now is the unity of marriage; such unity that brings differences together to bring forth increase (Ojukwu: Because am Involved). Until the Nigerian polity is completely reconciled with itself, the quest for national rebirth may remain a daydream.

RESOLVING THE LEADERSHIP DEBACLE
Our progress as a nation can be no swifter than our progress in quality leadership. For a greater part of our history, the people that have been in charge of this country have not been the best hands we can offer. We must re-conceptualize leadership and allow for a system that will enable us put our best foot forward. This, of course will come to bear when we elevate meritocracy over ethnicity.
In the same vein, the current notion of leadership as the most lucrative 'business' in Nigeria should be expunged. In fact, we should start making efforts to make leadership less attractive. The business of leadership is a serious one and should be left to only serious-minded people. When this is done, it will see to the emergence of leaders that will be ready to build for posterity and not breathlessly scouting for personal gains. We need leaders who love this country and are ready to conscientiously dedicate themselves to national service; leaders that will be remembered for enduring legacies and live long after they are dead. We have many of such people in Nigeria, and we only need to create the right platform for them to emerge.

NEED FOR NATIONAL SELF-RECOGNITION
As a nation at 50, we are old enough to know where we are going. We are intelligent enough to draw up a people-orientated agenda for the advancement of this country and follow it up with positive actions. We should chart a new course for this country by identifying our national priorities and focusing energy and resources on them. One of the problems we have had over the years has been wanting to do so many things at the same time and later doing none. Massive investment in infrastructure, technology and human capital development will have multiplier and effects on every other facet of our national economy and accelerate national growth and development.

THE OTHER SIDE
The problem with Nigeria has not all been about failed leadership but also of bad followership. In fact, it is said that bad followers make a bad leader. Nigerians should recognize that the task of building a great nation is a collective responsibility and should not be left to any one individual or group. The usual posture of 'looking the other way round' adopted by most Nigerians on issues bordering on the advancement of this country should be dispelled. Nigerians must believe in themselves and in the Nigerian project and shun apathy. It is the thundering followers that constitute the power of the masquerade.

THE CATALYTIC ROLE OF YOUTHS IN NATIONAL TRANSFORMATION
Not much progress can be made in the quest for nation-building if the youths are not integrated into the scheme. We are Nigerian's greatest assets as well as the most vulnerable group. There is no doubt that youths bear the greatest burden of an inefficient social system as evident in back-aching youth unemployment level. Naturally, the average Nigerian youth does not care about what is happening in the governance process, but only concerned about sports and entertainment. Regrettably, as I write, the youth wings of most of our political parties in Nigeria are merely used as machinery for thuggery and election-rigging. This is about the most obvious way the average Nigerian youth participates in politics.
Nigerian youths must wake up from their deep slumber to chart a new cause for this nation. We must integrate ourselves into society, make positive demands from her, and also make valuable inputs in the system. We could tap the power of social networking sites like the Facebook (which we are largely abusing at the moment) and form a broad-based mega movement for positive social change. We are powerful enough to change this nation for the better, only that we have chosen to remain silent; to our own peril. We could start by questioning any anti-democratic phenomenon in our schools and communities. By becoming advocates of positive social change, the larger society would have no choice than to succumb and follow suit.

ONLY NIGERIANS CAN BUILD NIGERIA
Only Nigerians can take Nigeria to her Eldorado. While it is essential to play by international best practices, we should no longer wait to be pushed by 'foreign democracy guardians' like America before we face the challenge of nation-building. Our advancement as a people cannot come by seeking debt relief and foreign assistance. We must rediscover ourselves and embrace originality. Every effort to move this nation forward should be internally- driven and championed by Nigerians themselves.

REVIVING OUR VALUE SYSTEM
Moreover, we must resuscitate our value system which is anchored on integrity, hardwork and enterprise. In this regard, I suggest that this should be entrenched as a constitutional role of our traditional institution. This would be a sure way out of the menace of corruption and general inefficiency.
We thank God for the new wave of awareness and enthusiasm that is being created in the mind of Nigerians at the moment. At least, more Nigerians are beginning to wake up from sleep and becoming more concerned about the state of this country. We urge the Civil Society Organizations (CSOs) to do more in this regard. This is quite strategic for us as it is said that the recognition of a problem is a basic step in solving such a problem.We can consolidate on this if all stakeholders in the national project are guided by their conscience and adhere strictly to the principle of integrity, fairness and good judgment at every stage of our electoral process. Once the right people have the right opportunity, the right policy will have the right following and Nigeria will function with the requisite efficiency (Ojukwu: Because am Involved).

NATIONAL TRANSFORMATION: A MARATHON
The quest for national development is not a sprint but a marathon. In the quest to move forward as a people, we must be ready to endure many twists and turns and be ready to make individual sacrifices for this country. It was President John Fitzgerald Kennedy who said 'ask not what your country can do for you; ask what you can do for your country.' Bad leadership has bitten us hard on the head without minding our hairs; we should not mind the faeces when we bite it at the buttocks.

NIGERIA: THE WORLD POWER-IN-WAITING
We should not dissipate so much energy on the past because we cannot buy it back. We should forgive ourselves and redirect our attention to build a new Nigeria. As stakeholders in the Nigerian project, each of us should carve out our own small piece of Nigeria in our workplace, home, church, mosque and make it the ideal of our dreams. By doing this, the sum of our individual efforts will add up to the Nigeria of our dreams. Yes, we can! Day by day, everything I see around me makes me believe Nigeria is the World power in-waiting. When a man decides to embark on a worthy venture, the gods would necessarily back him up.
Source
Education / ASUU Begins Total Strike by codeaddict(m): 5:42pm On Jul 01, 2013
The Academic Staff Union of Universities has resumed the strike it suspended in January 2011 following alleged failure by the Federal Government to implement the agreement it reached with the public universities lecturers.
ASUU National President, Dr. Nasir Isa, said the action though painful would be total, comprehensive and last for as long as the Federal Government implement the details of the Memorandum of Understanding both parties signed in 2011.
Source
Education / Re: ASUU Strike by codeaddict(m): 9:09am On Jul 01, 2013
Had a chat with the ASUU chairman, UNIBEN chapter, Dr Monye-Emina. It's confirmed. Indefinite.
Phones / Re: Tecno N3 Discussion Thread by codeaddict(m): 8:19am On Jun 16, 2013
O.michael.O:
1MB/s here also

cheesy cheesy
MTN, right?
Technology Market / Re: Airtel Freebie Offer by codeaddict(m): 5:28pm On Jun 13, 2013
---
Technology Market / Re: Airtel Freebie Offer by codeaddict(m): 5:00pm On Jun 13, 2013
----
Technology Market / Re: Airtel Freebie Offer by codeaddict(m): 10:37pm On Jun 12, 2013
O.michael.O:
how do I connect ooo...it has refused to connect ooo
have tried internet.ng.airtel.com
Probably a problem with your device or your settings.
Technology Market / Re: Airtel Freebie Offer by codeaddict(m): 7:15pm On Jun 12, 2013
overdrive: Bros my name na Thomas abeg I need proof 07010583331
SENT.
Technology Market / Re: Airtel Freebie Offer by codeaddict(m): 7:05pm On Jun 12, 2013
melojames:

08024432571
SENT.
Technology Market / Re: Airtel Freebie Offer by codeaddict(m): 7:04pm On Jun 12, 2013
emmydeep:
08023061850
SENT.
Technology Market / Re: Airtel Freebie Offer by codeaddict(m): 7:01pm On Jun 12, 2013
dhejykeane:
07083362507
SENT.
Technology Market / Re: Airtel Freebie Offer by codeaddict(m): 7:00pm On Jun 12, 2013
WHOSEMAN:

08020941975
SENT.
Technology Market / Re: Airtel Freebie Offer by codeaddict(m): 6:58pm On Jun 12, 2013
Samsantos9:
what's wrong with the number?
Please send it to this number 07086434273
SENT.
Technology Market / Re: Airtel Freebie Offer by codeaddict(m): 6:57pm On Jun 12, 2013
O.michael.O:
07011641306

PS: am a doubting thomas on this..no offense

thanks tho'
sent.

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

(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. 58
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.