Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,169,822 members, 7,876,115 topics. Date: Sunday, 30 June 2024 at 10:07 AM

Buster's Posts

Nairaland Forum / Buster's Profile / Buster's Posts

(1) (2) (3) (4) (5) (of 5 pages)

Health / Re: How an hiv positive lady almost lured me into sex without condom by buster(m): 5:50pm On Nov 26, 2016
Your friend who works at HIV center should be sacked. He has no reason to breach confidentiali by telling you about someone's HIV status. The highest he could do to protect you is to insist you have protected sex all the time
Towncrier007:
This is a personal experience which I'm sharing here on NL for everyone to wisen up about hiv matters...

I had sex with a lady that tried discouraging me from using a condom,her excuse was that it injures her vagina, it would have been tempting because of how neat and beautiful she looked like, but I refused to give in, it may sound as though am heartless but I don't play with my life when it comes to raw sex.
I refuse to succumb to her no sex game. fortunately for me later my friend who works in St Nicholas Hospital (hiv centre) told me that he say that particular girl came around for her retrovirus drugs.
fear catch me, as I was left in shock and fear, I then thought hope the condom didn't penetrate or something, reason I was forced to go for a test . Thank God am Negative.
so when last did you go for an hiv test?





1 Like

Business / Re: 7 Easy-to-do Online Jobs You Can Do From Home by buster(m): 12:44pm On Aug 04, 2016
i make money by teaching courses online and you can make good money. the materials need to teach these courses are available both videos and ebooks, so its not necessarily you are an expert at the courses. You only invest with a good internet connection, microphone and headset. If you interested you can link me lets talk better

1 Like

Investment / Make Money Teaching Courses Online With Little Or No Investment by buster(m): 11:11am On Aug 04, 2016
You can make money online easily by teaching a particular course online. You will invest just little or no money at all. When i mean little, its just the cost of getting a good headset, microphone, a computer system with a good internet connection. A lot of people have tried all kind of online surveys, fiverr, upwork without selling any gig or get qualified for surveys. But with this online teaching course, will give you all the tools needed to teach. Example. Lets assume your area of interest to teach is Java, you can always get ebook on java, and a video tutorial on java which you can learn and then adjust the ebook to your own standard and then you teach these courses. There are thousands of courses you can decide to teach and i have got all the materials for all of this courses including ebooks and lynda.com video tutorials. So what are you waiting for, are you ready to make your first $300 (90 something thousand naira) in less 2 weeks.
If you interested, drop you email and i will send you all necessary information to get started
Education / Nairaland Mathematics Guru - Please Help Me Solve This Math Question Asap by buster(m): 12:29pm On Jun 17, 2016
Question 1.

Give an example of a function, f(x), with a domain of (0,5] and a range of [0,∞)

Question 2.

If F = { (1,2), (3, 5), (4,7)} and G = { (1,4), (3,0), and (5, 2)}, what is F + G? What is F\G (using function arithmetic)?

Thanks
Programming / Help With Attendance Form And Report With Microsoft Access by buster(m): 4:46pm On Apr 23, 2016
I am deji and av got an assignment that requires me to create an attendance form but am faced with a little problem

I have created a table for the attendance form which includes name(from a drop list of name entered already from a seperate form), address, date of attendance, specialty etc
My problem is i dont know which button key to create in the form to save
and i want to create a form that would enable me print report of a particular date, like the list of student of a particular day or within date ranges. I would be so grateful if anyone can put me through on this. And also i need to be an apprentice with a programmer specifically on Microsoft access
Jokes Etc / Re: Caption this Picture by buster(m): 9:55am On Oct 20, 2015
i guess u guys dont understand d picture. its nt about if blogging is easy or not. its about instead of wasting her time gisting with her friends, she can gist online and make money
Travel / Re: U.S. Immigration Questions: Ask A U.S. Consular Officer by buster(m): 10:58pm On Sep 15, 2015
Good evening VO. My elder sister who is united states citizen filed for my dad. He attended the interview and was given a date to come pickup his passport. Only for him to be told that they gonna contact him that he needs to be investigated. I really don't understand cos its over a month and we ve nt gotten any update from them.
Properties / Flat Mate Needed In A 3 Bedroom Flat by buster(m): 2:02pm On Jul 02, 2015
Have got a room to rent out from 3 bedroom flat in Jakande estate Isolo. It's got water running in the toilet, bathroom and kitchen. Holla me if you are intrested. 08184818732
Software/Programmer Market / Available - IT Video Tutorials by buster(m): 2:24pm On Mar 01, 2015
Actually u don't need to visit a IT school to learn programming, sql, Web design, or any other IT course.
With out IT video tutorials available on DVD u can learn basically anything concerning IT.
We have CBT nuggets for all MICROSFT certification exams, oracle, java, sql, comptia and so on
To get any of these videos just call moi on 08184818732
Programming / Can Someone Help Me Run This Java Code (java Programmers) by buster(m): 5:45pm On Dec 30, 2014
Hi
Can someone help me run this java code. am getting an error message of main class not found

import java.awt.Color;
import java.awt.Graphics;
import java.awt.Font;

import javax.swing.JFrame;

public class guiexample extends JFrame {
public static void main(String args[]) {
guiexample f = new guiexample();
f.setSize(300, 300);
f.setVisible(true);

}

public void pain(Graphics g) {
g.setColor(Color.yellow);
g.fillOval(50, 50, 200, 200);
g.setColor(Color.black);
g.drawArc(75, 60, 150, 150, -25, -125);
g.fillOval(100,100, 25, 25);
g.fillOval(175, 100, 25, 25);
g.setColor(Color.blue);
g.setFont(new Font("Serif", Font.BOLD, 18));
g.drawString("Hello my name is Alim Bidmus", 35, 275);

}
}
Programming / Can Someone Help To Demonstrate The Step By Step To Run This Java Code by buster(m): 5:09pm On Dec 20, 2014
Am getting an error message of cannot find main class. Can anyone help

class Box {

double width;
double height;
double depth;
Box() {
}
Box(double w, double h, double d) {
width = w;
height = h;
depth = d;
}
void getVolume() {
System.out.println("Volume is : " + width * height * depth);
}
}

public class MatchBox extends Box {

double weight;
MatchBox() {
}
MatchBox(double w, double h, double d, double m) {
super(w, h, d);
weight = m;
}
public static void main(String args[]) {
MatchBox mb1 = new MatchBox(10, 10, 10, 10);
mb1.getVolume();
System.out.println("width of MatchBox 1 is " + mb1.width);
System.out.println("height of MatchBox 1 is " + mb1.height);
System.out.println("depth of MatchBox 1 is " + mb1.depth);
System.out.println("weight of MatchBox 1 is " + mb1.weight);
}
}
Programming / Re: Help Debug This Java Code by buster(m): 4:58pm On Dec 20, 2014
i tried compiling again and am told cannot find mainclass. Can i see d screen capture of the Box.java file and did u make anyone main class?
nollyj:
There is nothing wrong with the code
Programming / Help Debug This Java Code by buster(m): 6:50pm On Dec 19, 2014
Hello Java Programmers

After running the code below, i got no output for the program[img][/img]:

class Box {

double width;
double height;
double depth;
Box() {
}
Box(double w, double h, double d) {
width = w;
height = h;
depth = d;
}
void getVolume() {
System.out.println("Volume is : " + width * height * depth);
}
}

public class MatchBox extends Box {

double weight;
MatchBox() {
}
MatchBox(double w, double h, double d, double m) {
super(w, h, d);
weight = m;
}
public static void main(String args[]) {
MatchBox mb1 = new MatchBox(10, 10, 10, 10);
mb1.getVolume();
System.out.println("width of MatchBox 1 is " + mb1.width);
System.out.println("height of MatchBox 1 is " + mb1.height);
System.out.println("depth of MatchBox 1 is " + mb1.depth);
System.out.println("weight of MatchBox 1 is " + mb1.weight);
}
}

Programming / Need A Java Programmer To Put Be Through On A JAVA ASSIGNMENT by buster(m): 8:26am On Dec 11, 2014
Good day

Am running a particular java code and am having issues compiling as i get an erro such as could not find Class and main class. I have created the class and the main class using java Netbeans but i still cant compile it. Am so sure my code is correct but its compiling it thats giving me the issue

Below is the Assignment and code for the solution. Please can someone guide me on how to compile in other not to get the error message

The following class StatCalc defines a series of methods for computing statistics for a group of numbers.

/*

* An object of class StatCalc can be used to compute several simple statistics

* for a set of numbers. Numbers are entered into the dataset using

* the enter(double) method. Methods are provided to return the following

* statistics for the set of numbers that have been entered: The number

* of items, the sum of the items, the average, and the standard deviation

*/

public class StatCalc {



private int count; // Number of numbers that have been entered.

private double sum; // The sum of all the items that have been entered.

private double squareSum; // The sum of the squares of all the items.



/**

* Add a number to the dataset. The statistics will be computed for all

* the numbers that have been added to the dataset using this method.

*/

public void enter(double num) {

count++;

sum += num;

squareSum += num*num;

}



/**

* Return the number of items that have been entered into the dataset.

*/

public int getCount() {

return count;

}



/**

* Return the sum of all the numbers that have been entered.

*/

public double getSum() {

return sum;

}



/**

* Return the average of all the items that have been entered.

* The return value is Double.NaN if no numbers have been entered.

*/

public double getMean() {

return sum / count;

}



/**

* Return the standard deviation of all the items that have been entered.

* The return value is Double.NaN if no numbers have been entered.

*/

public double getStandardDeviation() {

double mean = getMean();

return Math.sqrt( squareSum/count - mean*mean );

}

} // end class StatCalc



Using the StatCalc class, write a program that calculates and then displays as output to the console, the following statistics against the set of numbers given below.

Statistics that must be calculated:

Count – Quantity of numbers in the data set.
Mean – The mean or average of the numbers in the data set.
Standard Deviation – The measure of variance (or dispersion) from the mean.
The set of numbers that you must use is as follows:

5 7 12 23 3 2 8 14 10 5 9 13

You must create a program with a main method that defines the StatCalc class and instantiates an instance of StatCalc called myStatCalc. Your program should instantiate the instance of the StatCalc using a statement similar to the following:

StatCalc myStatCalc;

myStatCalc = new StatCalc();

MY SOLUTION

Class File
/*
An object of class StatCalc can be used to compute several simple statistics
for a set of numbers. Numbers are entered into the dataset using
the enter(double) method. Methods are provided to return the following
statistics for the set of numbers that have been entered: The number
of items, the sum of the items, the average, the standard deviation,
the maximum, and the minimum.
*/

public class StatCalc {

private int count; // Number of numbers that have been entered.
private double sum; // The sum of all the items that have been entered.
private double squareSum; // The sum of the squares of all the items.
private double max = Double.NEGATIVE_INFINITY; // Largest item seen.
private double min = Double.POSITIVE_INFINITY; // Smallest item seen.

public void enter(double num) {
// Add the number to the dataset.
count++;
sum += num;
squareSum += num*num;
if (num > max)
max = num;
if (num < min)
min = num;
}

public int getCount() {
// Return number of items that have been entered.
return count;
}

public double getSum() {
// Return the sum of all the items that have been entered.
return sum;
}

public double getMean() {
// Return average of all the items that have been entered.
// Value is Double.NaN if count == 0.
return sum / count;
}

public double getStandardDeviation() {
// Return standard deviation of all the items that have been entered.
// Value will be Double.NaN if count == 0.
double mean = getMean();
return Math.sqrt( squareSum/count - mean*mean );
}

public double getMin() {
// Return the smallest item that has been entered.
// Value will be infinity if no items have been entered.
return min;
}

public double getMax() {
// Return the largest item that has been entered.
// Value will be -infinity if no items have been entered.
return max;
}

} // end class StatCalc

Main Class

/*
Computes and display several statistics for a set of non-zero
numbers entered by the user. (Input ends when user enters 0.)
This program uses StatCalc.java.0
*/

public class SimpleStats {

public static void main(String[] args) {

StatCalc calc; // Computes stats for numbers entered by user.
calc = new StatCalc();

double item; // One number entered by the user.

TextIO.putln("Enter your numbers. Enter 0 to end."wink;
TextIO.putln();

do {
TextIO.put("? "wink;
item = TextIO.getlnDouble();
if (item != 0)
calc.enter(item);
} while ( item != 0 );

TextIO.putln("\nStatistics about your calc:\n"wink;
TextIO.putln(" Count: " + calc.getCount());
TextIO.putln(" Sum: " + calc.getSum());
TextIO.putln(" Minimum: " + calc.getMin());
TextIO.putln(" Maximum: " + calc.getMax());
TextIO.putln(" Average: " + calc.getMean());
TextIO.putln(" Standard Deviation: " + calc.getStandardDeviation());

} // end main()

} // end SimpleStats
Programming / Help Java Programmers: Need Help With A Java Assignment by buster(m): 6:39pm On Dec 07, 2014
Hi everyone

Av got this java assignment i have been battling with but i just cannot get a straight way to write the code. Java really aint my thing but its part of requirement for the program am running and have got till Tuesday noon to submit. Kindly find assignment written below:

Programming Assignment

For this week’s assignment, you will write a program class that has two subroutines and a main routine. The program should be a part of the ‘firstsubroutines’ class and you should name your project firstsubroutines if you are using Netbeans.

Your program must prompt the user to enter a string. The program must then test the string entered by the user to determine whether it is a palindrome. A palindrome is a string that reads the same backwards and forwards, such as "radar", "racecar", and "able was I ere I saw elba". It is customary to ignore spaces, punctuation, and capitalization when looking for palindromes. For example, "A man, a plan, a canal. Panama!" is considered to be a palindrome.

To determine whether a string is a palindrome, you can: convert the string to lower case; remove any non-letter characters from the string; and compare the resulting string with the reverse of the same string. If they are equal, then the original string is considered to be a palindrome.

Here’s the code for computing the reverse of str:

String reverse;

int i;

reverse = "";

for (i = str.length() - 1; i >= 0; i--) {

reverse = reverse + str.charAt(i);

}

As part of your assignment, you must write a static subroutine that finds the reverse of a string. The subroutine should have one parameter of type String and a return value of type String.

You must also write a second subroutine that takes a String as a parameter and returns a String. This subroutine should make a new string that is a copy of the parameter string, except that all the non-letters have been omitted. The new string should be returned as the value of the subroutine. You can tell that a character, ch is a lower-case letter by testing if (ch >= 'a' && ch <= 'z')

(Note that for the operation of converting str to lower case, you can simply use the built-in toLowerCase

subroutine by saying: str = str.toLowerCase()wink

You should write a descriptive comment before each subroutine, saying what it does.

Finally, write a main() routine that will read in a string from the user and determine whether or not it is a palindrome. The main routine should use The program should print the string converted to lower case and stripped of any non-letter characters. Then it should print the reverse string. Finally, it should say whether the string is a palindrome. (Use the two subroutines to process the user's string.) For example, if the user's input is "Hello World!", then the output might be:

stripped: helloworld

reversed: dlrowolleh

This is NOT a palindrome.

and if the input is "Campus motto: Bottoms up, Mac!", the output might be:

stripped: campusmottobottomsupmac

reversed: campusmottobottomsupmac

This IS a palindrome.

You must complete your program, test, debug, and execute it. You should test two different cases, one that is a palindrome and another one that is not a palindrome. You must submit your java code file (preferably by cut and paste the code into the assignment dialog box). The output of your program must be captured by either copying the content in the output window and pasting it into the assignment dialog box or by capturing the image of the screen which contains the output of your java program or the output and submitting this with your assignment as an attachment. In windows you can capture a screen shot with the Ctrl Alt and Print Screen key sequence. This image can then be pasted into a Word, WordPad, or OpenOffice document which can be submitted with your assignment.
Programming / Re: Java Proramers:java Assignment: Can Someone Help Provide A Solution To This by buster(m): 8:39am On Nov 22, 2014
Sheggy13:
I'm guessing programming isn't your piece of cake, otherwise these kinda exercises should be trivial to u. Can u write out your email address here so I could mail the answers to u. Try to do that early enough this morning so I can mail u, cos I'll be on the road majorly today. Btw what level are u in and the name of ur uni if u don't mind? Cheers.


Am in my second year(computer science) at devry university in d US. But am in Nigeria cos its an online program.. My email address is abbeybidmus@yahoo.com
Programming / Re: Java Proramers:java Assignment: Can Someone Help Provide A Solution To This by buster(m): 8:34am On Nov 22, 2014
Sheggy13:
I'm guessing programming isn't your piece of cake, otherwise these kinda exercises should be trivial to u. Can u write out your email address here so I could mail the answers to u. Try to do that early enough this morning so I can mail u, cos I'll be on the road majorly today. Btw what level are u in and the name of ur uni if u don't mind? Cheers.
Am in my second year @ Devry university in d USA. But am in Nigeria, its an online program. My email address is abbeybidmus@yahoo.com
Programming / Re: Java Proramers:java Assignment: Can Someone Help Provide A Solution To This by buster(m): 8:34am On Nov 22, 2014
Sheggy13:
I'm guessing programming isn't your piece of cake, otherwise these kinda exercises should be trivial to u. Can u write out your email address here so I could mail the answers to u. Try to do that early enough this morning so I can mail u, cos I'll be on the road majorly today. Btw what level are u in and the name of ur uni if u don't mind? Cheers.
Am in my second year @ Devry university in d USA. But am in Nigeria, its an online program
Programming / Re: Java Proramers:java Assignment: Can Someone Help Provide A Solution To This by buster(m): 8:24am On Nov 22, 2014
The main assignment is to calculate the number of times a dice will row before it gets to a snake eye. The second part of it is just a hint to assist. My email address is abbeybidmus@yahoo.com
Sheggy13:

I'll post the solution of the first part here now, but I'm kinda confused about the challenge, ie the second part. Are they asking the number of snake eyes u get when u roll each of the die 1000 times?

(1) (2) (3) (4) (5) (of 5 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. 56
Disclaimer: Every Nairaland member is solely responsible for anything that he/she posts or uploads on Nairaland.