₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,325,313 members, 8,421,303 topics. Date: Saturday, 06 June 2026 at 08:45 AM

Toggle theme

Danvery2k6's Posts

Nairaland ForumDanvery2k6's ProfileDanvery2k6's Posts

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

ProgrammingRe: Why Are Nigerian Programmers So Dumb? by danvery2k6(m): 11:22pm On Jan 17, 2016
aitoehigie:
Please drop the proprietary languages, platforms and IDEs that you use to code. Please (MACROSOFT) i don't want to mention names here, doeskin care about the programmer living in the heart of Africa!. So use open source languages e.g. Python, Ruby, Lisp, Scheme, these may be unknown languages to most people, but they are extremely powerful and simple languages unlike "KAVA" and the .MET languages.
Nice talk about open source. Can we see your Github or Bitbucket account? Let's see how much you've contributed to open source.
ProgrammingRe: Why Are Nigerian Programmers So Dumb? by danvery2k6(m): 11:18pm On Jan 17, 2016
aitoehigie:
Something you might never be able to do. At least i did not download an open source forum called "Simple Machines Forum" and name it "Dollarland.com" I have just finished developing a web payment system (I would have sent you the source code, but i guess not, you might be stumped by it, its not in PHP) which i am in the process of deploying on Amazon's EC2 and S3 (if you know what that is).
?
I GUESS I AM GOING TO BE BANNED FROM THIS "FORUM"FOR THIS DISS, AS IF I CARE!!!
After all the talk and this is what you could come up with? A Web payment System? Are you Sh*t*ng me?

OMG this is hilarious.
Christianity EtcRe: Pastor Adeboye: A Prophet Or An Imposter - Sahara Reporters by danvery2k6(m): 10:28pm On Jan 17, 2016
When the Man of God says a new STD, the "wise ones" are still talking about an old STD that started last year. I laugh at the OP. E go shock you.
ProgrammingRe: Best Laptops For Programmers by danvery2k6(m): 9:13am On Dec 29, 2015
omohayek:
Unless you're doing Windows-specific development, a Macbook Pro will probably be your best option. Apart from the hardware usually being more reliable than with Windows laptops, the fact that OS X is a Unix means that you have access to a vast software development ecosystem, and cross-development for Linux is much easier.
Word
ProgrammingRe: Programming Difficulties by danvery2k6(m): 6:37pm On Dec 15, 2015
Nobody is hiding anything from us. It's all out there for grabs, free. The question is creativity and dedication.
PoliticsStill, Jonathan Is Not The Real Issue. by danvery2k6(op): 12:45pm On Dec 12, 2015
Floods of depressing news have been gushing out in the last few days on the misuse and abuse of public funds in the last administration. Billions of dollars collected from the Nigerian National Petroleum Corporation (NNPC) in the name of security. Billions of naira collected from the Central Bank of Nigeria (CBN) for the same purpose. Billions of naira doled out to pay for PDP's publicity from security budget. This is to say nothing of the other billions and billions and billions scammed out of the system through many government agencies, at state and federal levels. That is why no matter how high the price of crude oil is, Nigeria remains a mess.

There is a link, trust me.
Expectedly, public debate about these revelations has been politicised by the supporters of President Muhammadu Buhari and former President Goodluck Jonathan. To Buhari's fans, this is just another opportunity to get back at Jonathan in the second part of the post-election celebration. To Jonathan's fans, the allegations are nothing but a "media trial" and the demonisation of the former president. The way public debate is designed in Nigeria, we are unfortunately destined to never see beyond our nose. Issues just have to be politicised, personalised and trivialised. In the end, we learn no lessons and make no amends — and remain retarded.


As I read through the latest revelations and the reactions of Nigerians, six issues stood out for me. I believe we all have to pay attention to them, no matter our emotions. Until we address them, I am convinced that we are going nowhere as a nation. The first is the amazing lack of a feeling of disgust on the part of those sympathetic to Jonathan despite the reported impunity. No matter how much love we have for the former president, there are certain things we should find appalling. We should never endorse reckless extra-budgetary disbursement of billions of dollars under the guise of being opposed to "media trial". We just have to hate impunity with perfect hatred.


Also, no matter how much we hate Jonathan, we should not jonathanise this issue. We are dealing with historical institutional weaknesses and abuses that made it possible for these things to happen in this first place, and if we limit the discourse to Jonathan, we will never see the bigger picture. We will never attack the root cause. We will never be able to fix our accountability processes that are so weak on transparency. We will abuse Jonathan very well and forget that this probably happened before him and will still happen after him. We will end up like the man who looks at himself in the mirror and forgets what he looks like immediately after.


The second issue is that we must never disconnect the state of the nation from this mindless misuse of public funds. Our roads are not rough for no reason. We are not groping in darkness for no reason. Our hospitals are not inhospitable for no reason. Our refineries are not running dry for no reason. We must begin to understand that our arrested development is proportionally related to the impunity with which public funds are abused and misused. For instance, the billions of dollars that came out of NNPC in the name of security should have gone into the federation account and shared by the three tiers of government in the first instance. That is the law.


The third point is that we urgently need to reform the NNPC and the CBN. Why should the NNPC GMD be able to dispense so much money without any form of control? How can the CBN governor have the power to create and disburse special funds anyhow under the guise of "lender of last resort"? The CBN has had several intervention funds but it cannot sincerely say its purposes are being achieved. What has been happening is that all these morally bankrupt billionaires simply collect the concessionary loans of up to N50 billion at 3 per cent and place them at commercial banks for 15 per cent.

They thus reap cool returns on their deposits without sweat. What a heartless rip-off. Can the CBN which disbursed these funds claim to be unaware of the abuse going on?
The fourth issue is that the Nigerian elite are incredibly wicked. Why do they hate this country so passionately? There is so much unemployment and poverty in the land, and the government comes up with policies of concessionary loans via intervention funds in order to stimulate economic growth. Imagine if these funds were properly utilised in agriculture and industry as intended. Imagine how many jobs would be created. Imagine how many millions of Nigerians would be pulled out of poverty. Yet these crooks just collect the money and do nothing. This is wickedness of the highest quality.


The fifth issue is the increasingly loud whinging about "media trial". What exactly is media trial? And what is wrong with it? All over the world, the media report corruption allegations. It is not the job of journalists to prosecute or adjudicate, we all know that. Our job is to publish allegations at our disposal. If the prosecutors and the judges refuse to do their own jobs, why should the media be blamed for that? The New York Times and the UK Sunday Times, for instance, have published leaks from investigations in the FIFA saga, but that is all they can do.

Prosecutors do the rest. So who should be blamed for judicial failure in Nigeria? The media? Oh please!
The six point, which I consider as the real issue, is: why is it so easy for our leaders to have unfettered control over institutions and resources? You can blame Godwin Emefiele, the CBN governor, all you want, but why was it impossible for him to disobey a presidential order even if he did not agree with it? You can blame Sambo Dasuki, the former NSA, but you need to ask why one individual can be so powerful to demand and receive such enormous resources without restrain, without constrain. You can blame Jonathan till eternity, but how can one man have so much power to spend money without let or hindrance, without checks, without accountability?
For heaven's sake, we learnt democracy from the Great Britain, our colonial masters, and borrowed our presidential system from the United States.

Can PM David Cameron just direct the governor of the Bank of England to give even £1 to his security adviser outside parliament's appropriation? Can President Barack Obama just ask the commissioner of Inland Revenue Service to disburse even a dime to Ted Turner, owner of CNN, for the Democratic Party's media publicity? Where did we learn this perfidy from? Clearly, it is not just enough to reform the institutions; we also have to reform the brains of the Nigerian elite so that they can turn from their wicked ways.


For all you care, all these abuses were also perpetrated under previous presidents. And that is the crux of the matter. Since we didn't investigate security spending under them, we would never know the extent of the stench. My haunch is that these things have been going on for ages, and it is because Buhari decided to open Pandora's Box that we are now having this discussion. Governors have gargantuan security votes which they do not account for, so they too misuse public funds unnoticed, unreported and unchallenged. That is why I think it is wrong to jonathanise this issue. It is a malignant Nigerian malaise that we must seize this opportunity to tackle.


In my opinion, the real issue and challenge today is how to make sure these things do not happen again. Buhari's supporters will say the president is an honest man who would not perpetuate this brigandage, but will Buhari be president forever? How do we make sure that whoever is president or governor will not have the power to spend public funds like a monarch? How can we make sure the CBN governor, the NNPC GMD and the NSA can disobey unlawful instructions from the president? If we are wise enough, that should be the focus of our debate. That is what can solve this debilitating disease of impunity. That is what can help lift us out of our misery. Decisively.


"How can we make sure the CBN governor, the NNPC GMD and the NSA can disobey unlawful instructions from the president? If we are wise enough, that should be the focus of our debate. That is what can solve this debilitating disease of impunity"

http://www.thisdaylive.com/articles/still-jonathan-is-not-the-real-issue/227214/
RomanceRe: Girl Slept With Guy At Her Church; Look At What He Sent Her On Whatsapp by danvery2k6(m): 8:48am On Dec 08, 2015
PushMusic:
Nothing in the message shows he slept with her, perhaps it was just a silly assumption from an insecure boyfriend.

The word "sin" does not necessarily mean sex, perhaps they flirted but heck, what's my business. That's his sh*t to deal with.
Nice one. Your head dey there bro.
ProgrammingRe: Help With A Java Project... by danvery2k6(m): 9:06pm On Dec 01, 2015
Hi OP. Have you gotten a solution for this. If not, let me know here, I'll post the solution. But it will be nice to see what you have done.
ProgrammingRe: Help! Double Data Type In Java Is Rounding Off My Result To .00 by danvery2k6(m): 8:32pm On Nov 27, 2015
epospiky:
yeah, i am multiplying the integers by those numbers in order to have specific values which i didn't declare at the beginning. Each data when entered is multiplied by the value of the textfield kinda.
So Java does this thing called implicit type casting. When you try to perform arithmetic between another type and an Integer, the other type gets converted to an integer. its better you would have multiplied by doubles, say 2.0, 3.0, etc.
Tech JobsRe: A Professional Website Designer And Programmer Is Needed For A Sensitive Job by danvery2k6(m): 11:12pm On Nov 26, 2015
Hi. Current building http://chopbox-staging.herokuapp.com DM me if you like it and would like to get in touch thank you.
ProgrammingRe: Help! Double Data Type In Java Is Rounding Off My Result To .00 by danvery2k6(m): 11:06pm On Nov 26, 2015
In addition to what the poster above me said, why are multiplying with integers?
Tech JobsRe: Partners Wanted: University Students Networking Site(Re-Modified) by danvery2k6(m): 10:56pm On Nov 26, 2015
Nice Idea. But your UI needs some touching.... You need a good UI designer to touch your site.
ProgrammingRe: Fizzbuzz Problem Using "Switch" Statement Construct by danvery2k6(m): 9:22am On Nov 26, 2015
Raypawer:
what is this one talking about angry angry , i don't do copy and past of code, i tried the logic he explained using switch statement not copying and past. Am not that dumb if you are, the op used c++, i used the same logic with c#.. undecided undecided
I never said you were dumb... If you are suggesting it, that's fine by me...
ProgrammingRe: Fizzbuzz Problem Using "Switch" Statement Construct by danvery2k6(m): 10:20am On Nov 19, 2015
Raypawer:
Hey! hold it there, tried it with c# it never worked
So, you can't paste the same code into another language and expect it to work. You have to tweak things to get it working.
ProgrammingRe: Fizzbuzz Problem Using "Switch" Statement Construct by danvery2k6(m): 11:18am On Nov 17, 2015
Raypawer:
Am not sure any of these codes above me would work, because basically Switches cannot have evaluated statements in the case statement. They must be statically evaluated shocked shocked shocked
Try it out before you comment. Stop thinking, Start acting.
ProgrammingRe: Looking For A Very Good Software Developing Engr, Willing To Relocate. by danvery2k6(m): 10:57pm On Nov 13, 2015
mandhi:
We deploy code more than 100 times every day
Your coders must be gods!!Kudos
Tech JobsRe: Partners Wanted: Talented Sportsmen Hunting Site. by danvery2k6(m): 10:53pm On Nov 13, 2015
You have about four of this kind of post? What exactly do you have in mind?
ProgrammingRe: Fizzbuzz Problem Using "Switch" Statement Construct by danvery2k6(m): 10:46pm On Nov 13, 2015
Ruby


def fizzbuzz(num)
case
when num % 15 == 0 then "FizzBuzz"
when num % 3 == 0 then "Fizz"
when num % 5 == 0 then "Buzz"
else num
end
end

def fizz_buzz_to(limit)
1.upto(limit).each do |num|
puts fizzbuzz(num)
end
end

fizz_buzz_to(100);

ProgrammingRe: Fizzbuzz Problem Using "Switch" Statement Construct by danvery2k6(m): 10:39pm On Nov 13, 2015
PHP Version


function fizzBuzz($input)
{

switch ($input) {
case $input % 15 === 0:
print "fizzbuzz<br/>";
break;

case $input % 5 === 0:
print 'buzz <br/>';
break;

case $input % 3 === 0:
print 'fizz<br/>';
break;

default:
print $input . "<br/>";
break;
}
}

function doFizzBuzz()
{
foreach (range(1, 100) as $index) {
fizzBuzz($index);
}
}

doFizzBuzz();
ProgrammingRe: Fizzbuzz Problem Using "Switch" Statement Construct by danvery2k6(m): 9:49pm On Nov 13, 2015
Metalzoa:
Interesting question.

Solved using JavaScript ... my favorite language smiley


function do_fizzbuzz( input ){

if( !input ) return false;

var output;

switch( true ){

case (input % 15 === 0):
output = 'FizzBuzz';
break;

case (input % 3 === 0):
output = 'Fizz';
break;

case (input % 5 === 0):
output = 'Buzz';
break;

default:
output = input;
break;
}

return output;
}



Link to solution in action: [url=http://jsbin.com/suvugeveta/edit?js%2Coutput]JSBIN[/url]
Nice
PoliticsRe: Facebook To Train Nigerian Senators On How To Use The Platform by danvery2k6(m): 9:12pm On Nov 13, 2015
This is shameful. It is bad enough that our Senators can't use Facebook on their own. The worst thing is that they are bringing in foreigners to come and teach them what young Nigerians could have done for them. This is so pathetic. They talk of creating jobs and empowering Nigerian youths, but when the opportunity comes for them to do so, they bring in expatriates... It is so very difficult to be proud of this country Nigeria.
ProgrammingRe: White Screen Error Solved & Getting Whoops! Back In Laravel 5 by danvery2k6(m): 6:26pm On Nov 05, 2015
I have been using Laravel 5 for some time now. I still get the `Whoops!` error message without going through much trouble. All I do is set an environment variable in my .env file called APP_DEBUG to true.

Like so:
APP_DEBUG=true


That does all the magic.
ProgrammingRe: Java Tutorial For Beginners by danvery2k6(m): 12:18pm On Nov 05, 2015
HOJOSKID:
please what wrong with this code plz experties in d ouse
public class variabledecleration {
double kay ;
kay = 3.14;



/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
System.out.print("i need"wink;
System.out.print("kay"wink;
System.out.print("ball"wink;
System.out.println("am hojoskid"wink;



}

}
I don't know if you have gotten an answer for this but let me say a few things anyway.

1. When learning any programming language, it is best to study the conventions so that as you learn, you begin to learn the "Good Practices" along.
Let's start from the name of your class : By convention, Java uses CamelCase for class names. Which means that the name of your class should
have been something like
VariableDeclaration


2. Under no circumstances should you put variables in the body of the class, they should go into method bodies. The only variables allowed to stay in
class body are
instance variables
which are always preceded by access modifiers
private, protected or public


In other words, I am saying remove these

double kay ;
kay = 3.14;


and move them to the method body.


- Verem Dugeri
ProgrammingRe: Why I Prefer To Develop For Blackberry Compared To Android by danvery2k6(m): 12:02pm On Nov 05, 2015
Well, saying you prefer to develop for BB rather than android is strictly a matter of choice and not a point for argument. People know there is IRC but they still use Slack. If you are talking about competition and number of applications on any of this platforms, I would fault your argument. A great application would be seen anywhere. If you want to stand out, you have do something extraordinary.

Personal Opinion : If you had developed for the android market, I bet you would have gotten better download count. The android market is booming and whether we like it or not, the BB market is dying. It will be a wise decision to develop for BB and at the same time not despise the Android platform.
ProgrammingRe: We are all Geeks, Discuss your ideas by danvery2k6(m): 5:30pm On Sep 24, 2015
bizzle2:
social problems?? ...modeled into computer algorithms?
how the heck do you model rape, hunger, famine, murder..... those are examples of social problems
Do you believe that the number of people that are likely to cancel their hotel bookings can be predicted for up top 80% accuracy with computer algorithms? It was done at a hackathon and the result came true. The things you mentioned are just human behaviour, which given enough data can be modeled and predicted.

PS: Let's not derail the thread. DM me if you need to discuss this.
ProgrammingRe: Nairaland Programmers That Share Language And City In Common by danvery2k6(m): 11:22pm On Sep 20, 2015
Location : Lagos
Languages : Java, JavaScript, PHP on Laravel, Ruby
IDEs : Netbeans, PhpStorm
Editor : Sublime Text
Database : MySQL, SQLite, Postgres
VCS :git
ProgrammingRe: We are all Geeks, Discuss your ideas by danvery2k6(m): 1:09pm On Sep 19, 2015
Corussa1:
I want to write a program that can predict the next president
As funny as that may sound, it is totally achievable. After joining Andela, I have come to accept the fact that all social problems can be modeled into computer algorithms through algorithmic thinking. I have seen our Senior developers do it at a hackathon. I was amazed.
ProgrammingRe: What Do You Think Of This Program I Wrote by danvery2k6(m): 9:45am On Sep 18, 2015
I would have taken a look but damn, that site almost got me blind. Couldn't stay a second.

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