Programming › Re: Who Is Up For The Google Cloud Developer Challenge by danvery2k6(m): 9:51am On Oct 05, 2013 |
front end:jsps precisely. stays in makurdi. team? |
Programming › Re: Mathematics Concepts In Programming by danvery2k6(m): 6:53pm On Oct 04, 2013 |
texanomaly: Hahaha...when do I get my secret secret decoder ring?  lol. Hilarious |
Webmasters › Re: Web Designer Urgently Needed! by danvery2k6(m): 8:27pm On Oct 01, 2013 |
Actually some people mistake design and develop to mean the same thing. If you have ever developed from scratch, you will never say 40k for a project like this one. I bet you those 40k guys are thinking of using a CMS |
Programming › Re: Programming by danvery2k6(m): 7:38pm On Sep 25, 2013 |
google around for csv file upload. you will find tons of info on that |
Programming › Re: Programing With Java by danvery2k6(m): 5:00pm On Sep 24, 2013 |
jinglesdmob: I got wat I wanted did it myself 4 ur concern pals that's the way bro. congrats!! |
Programming › Re: JSTL- Image Download From Mysql Db by danvery2k6(op): 8:26pm On Sep 21, 2013 |
Yes. I already tried that but java only returns the class of the blob datatype. |
Programming › Re: JSTL- Image Download From Mysql Db by danvery2k6(op): 4:37pm On Sep 21, 2013 |
spikes C: why would u wanna store images in databases I didn't want to do that but my instructor insisted that i do it as an "academic exercise". can you please help out? |
Programming › JSTL- Image Download From Mysql Db by danvery2k6(op): 4:04pm On Sep 21, 2013 |
Java programmers in the house, is there a way to fetch an image stored in mysql database as a blob to a jsp using jstl tags?
|
Programming › Re: Programing With Java by danvery2k6(m): 6:42am On Sep 17, 2013 |
C is the best known hardware programming language. All aspects of programming require diligence. Hardware programming requires a little more diligence as you would have to, not just understand your language of choice, but you will also have to study and understand whatever microcontroller or microprocessor you have to use. You can visit the thread on microcontroller programming in this section. |
Programming › Re: Programing With Java by danvery2k6(m): 1:09pm On Sep 03, 2013 |
you can try [b]Java How to program by Deitel and Deitel.[/b]Very good book. Perhaps you might even find solutions to most of your school exercises there. Happy time with Java. |
Webmasters › Re: I Need A Website Developer by danvery2k6(m): 8:18pm On Aug 16, 2013 |
08181373303 call me
|
Programming › Re: Programing With Java by danvery2k6(m): 12:06pm On Aug 13, 2013 |
A company wants to send data over an unsecure connection. to ensure that the data reaches the destination safely, you have been asked to encrypt the data as follows. take a four digit number, separate the digits, subtract 7 from each digit, divide each digit by 10 and take the remainder. form a new four digit number with the remainders obtained. this will be the encrypted data. display your output please. thank you. |
Programming › Re: Programing With Java by danvery2k6(m): 7:33pm On Aug 12, 2013 |
Nice explanations bro. i wish this thread had been started a long time ago. |
Programming › Re: Programing With Java by danvery2k6(m): 2:25pm On Aug 09, 2013 |
mgb4reel: P sincerely,u av done a very good job...nice one bro..kudos to u.the program wil compile and run quite alright but the program may not give the required output as the question demands..firstly we ar asked to create two objects of employee..it would av been nice if u can invoke getFirstName() and getLastName() methods so that the output wil also include the names of the salary owners.....but i realy like ur code bro cos u not only adhere to java naming conventions but u also follow oop concept by encapsulatin dose fields..kudos to u bro...Together, we wil take programing from where it is to where its ought to be! thanks bro. am on mobile right now. will upgrade next time am on pc |
Jokes Etc › Re: Cheating Wife by danvery2k6(m): 10:07pm On Aug 07, 2013 |
PrettySpicey: My dear ds is not a joke o. Na serious mata be ds o  lol. lwkmd |
Programming › Re: Programing With Java by danvery2k6(m): 8:26pm On Aug 07, 2013 |
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package nairaland
/** * * @author HP USER */ public class Main {
/** * @param args the command line arguments */ public static void main(String[] args) { Employee employee = new Employee("John", "Doe", 500); System.out.printf("Monthly salary before raise is: N%.2f\n", employee.getMonthlySalary()); System.out.printf("Monthly salary after %s raise is N%.2f\n","10%",employee.raise() ); } }
|
Programming › Re: Programing With Java by danvery2k6(m): 8:14pm On Aug 07, 2013 |
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package nairaland;
/** * * @author HP USER */ public class Employee { //employee information(Biodata and salary) private String firstName; private String lastName; private double monthlySalary; //constructor to initialise the employee instance variables public Employee(String first, String last, double salary){ firstName = first; lastName = last; monthlySalary =salary; } //getter and setter methods for employee instance variables public void setFirstName(String first){ firstName = first; } public String getFirstName(){ return firstName; } public void setLastName(String last){ lastName = last; } public String getLastName(){ return lastName; } public void setMonthlySalary(double amount){ if(amount > 0.0){ monthlySalary = amount; } else{ monthlySalary = 0.0; } } public double getMonthlySalary(){ return monthlySalary; } public double raise(){ double newSalary = getMonthlySalary()+ getMonthlySalary()*0.1; return newSalary; } }
|
Webmasters › Re: Disadvantage Of Using Cms Programs, Like Joomla, Wordpress Etc by danvery2k6(m): 1:48pm On Aug 03, 2013 |
First, learn how to code. Then you can go back to those "CMS" things. But if you plan on being a designer all your life, you can settle with those templates. Have you ever wondered how those guys that did that did it? Why not learn how to code and do something monumental with your knowledge instead of copying.
|
Programming › Re: Is Your Partner A Developer? by danvery2k6(m): 7:39pm On Jul 26, 2013 |
Lol!!! Lwkm. That feeling is familiar |
Programming › Re: Programming FUN With Code Snippets!! -C++,C#, Java,php,python Or Any Language!! by danvery2k6(m): 2:35pm On Jul 06, 2013 |
package Hot.thoughts;
/** * * @author HP USER */ public class PrettyGirl {
private String jewelry; private String boyfriend; private double account; private double cost; /* Thi rarely happens, but it is true that some * pretty girls actually go withut a boyfriend * and are content that way. Quite rare I must * admit though. So as tribute to "that Kind" of * pretty girl I initialise this cos=nstructor * without a boyfriend parameter */
public PrettyGirl() { } /* But of course the pretty girls, I mean the real * ones have something in common. No offense meant. * So here we go. */
public PrettyGirl(String jewelry, String boyfriend) {
this.boyfriend = boyfriend; this.jewelry = jewelry;
} // end two argument constructor
/* Well, as we all mightn have known, either * learning it the hard way or through others * (the wise, or should I say, the fortunate * ones), Beign a boyfriend to a pretty girl * requires that certain parameters be in place. * Here is my little simulation of those parameters */ public void setAccount(double accountStatement) {
/* certain account figures are vompletely acceptable, * others raise concerns whereas others are completely * unacceptable. Read this: */ boolean validAccount = isValidAccount(accountStatement); if (validAccount == true) { this.account = accountStatement; } }
public double getAccount() { return account; }
public void setBoyfriend(String boyfriend) { this.boyfriend = boyfriend; }
public String getBoyfriend() { return boyfriend; }
/*A little prying is done, either directly, for the rude * ones, or indirectlly for the sensible ones, before * final consent and acceptance is granted. here is to * validate that your bank statement agrees. */ public boolean isValidAccount(double accountStatement) { boolean isValid = false; if (accountStatement != 0.00 && accountStatement >= 500000.00) { isValid = true; } return isValid; }
/* after boyfreind has been gotten, the following activities ensue * thee benefits of which range from total bankruptcy, if you are not carefull * to a collapse of the relationship for the real "bad guy" * * * I put the return type void because, surely you get nothing from this */ public void setJewelry(double cost, String jewelry) { this.cost = (cost >= 10000.00) ? cost : 0.00; this.jewelry = jewelry;
/* setting cost to 0.00 in this case means that the * jewelry cannot be bought. "Too cheap, not good" */ }
public String getJewelry() {
return jewelry; } /* time to do a little shopping. And trust me, * this is the real annoying part where if you * are not the patient tyoe, you just give * up and blow the relationship into the winds */
public String goShopping(double minimumCash) { String reaction = null; if (minimumCash >= 50000.00) {
reaction = "Ok. Manageable, I will just manage it"; } else { reaction = "What do you take me for. Do you want me to go " + "buy some peanuts? Take your filthy money"; // throws money at you. } return String.format("%s", reaction); } /* There are an endless litany of woes to discuss. I therefore make this * piece "Open Source". You guys can help me make it complete. * * And to the ladies, No offence meant. ***Winks*** */ }
|
Jokes Etc › Re: Yes Or No Reloaded! by danvery2k6(m): 6:54am On Apr 30, 2013 |
No. I musn't. Are u cousin to obama..sorry Osama? |
Jokes Etc › Re: If You Think You Have A Good Brain...then Try This by danvery2k6(m): 6:35am On Apr 30, 2013 |
teacher said it on Wednesday. if yesterday(tuesday) were tomorrow (thursday) then today would be friday |
Programming › Re: A Quick Alternative To Mysql Fulltext Search by danvery2k6(m): 8:55am On Apr 28, 2013 |
Nice work brother. Looking forward to seeing healthy contributions like this on Nairaland |
Webmasters › Re: Free Ebooks On Web Design by danvery2k6(m): 12:04am On Apr 05, 2013 |
danvery2k6@hotmail.com. Thanks in anticipation |
Programming › Re: How To Become An Embedded Software Developer by danvery2k6(m): 2:11pm On Feb 16, 2013 |
@OP Besides C, is there any other language that can be used for embedded systems software design? |
Politics › Re: Benue Lawmaker Slumps And Dies During Exercise by danvery2k6(m): 9:35am On Jan 04, 2013 |
1-by-1 dem don de go |
Programming › Re: Java Programs by danvery2k6(m): 9:00am On Jan 04, 2013 |
Just try to do something and then show us what you tried. Am a newbie but I think I can gelp out if you try something. You can do this |
Romance › Re: Would You Come Back After Being Dumped By Your Ex? by danvery2k6(m): 10:34pm On Dec 29, 2012 |
If my lover can't stay to sort out a misunderstanding and instead decides that quiting is best, chances are she will quit again after given a second chance |
Programming › Re: Java_desktop_application by danvery2k6(m): 11:18pm On Dec 26, 2012 |
If you need immeadiate knowledge of MySQL, you can use the help documentation that comes with MySQL. 24 hrs should get you started |
Programming › Re: *~Javanian Voted Programming Section Poster Of 2012 *~ Congratulations by danvery2k6(m): 10:18am On Dec 17, 2012 |
Webdezzi |
Programming › Re: Who Writes The Job Specifications In Nigerian I.T Firms? by danvery2k6(m): 2:23pm On Dec 15, 2012 |
Those guys out there just sit in air conditioned offices, sign papers and think everything is as easy as signing pieces of papers. They want to have everything at no cost at all. Am a newbie in the field of programing but I've already decided on a few skills. If any employer is not satisfied, maybe he/she should try learning it himself |
Programming › Re: [RESOLVED] How do I package my database with my application? by danvery2k6(op): 10:20am On Nov 27, 2012 |
A million thanks to you guys for being of help. @xterra2 sql lite was just what I needed. For a simple project like the one I did, it was just perfect. |