Welcome, Guest: Register On Nairaland / LOGIN! / Trending / Recent / New
Stats: 3,152,816 members, 7,817,376 topics. Date: Saturday, 04 May 2024 at 11:14 AM

LordRahl001's Posts

Nairaland Forum / LordRahl001's Profile / LordRahl001's Posts

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

Programming / Re: Help A JAVA Newbie by LordRahl001: 4:56pm On Aug 13, 2014
iamDemigod: Netbeans allows you create setup for exe,
As for apk is a different story entirely
sorry doesn netbeans now generate exe files or installers? i would do anything to get that!!!
Programming / Re: Programming Code To Turn Off Your System by LordRahl001: 4:54pm On Aug 13, 2014
Knownpal:


What if the OS is changed?
what if he damage the MBR?? what if the execution of the crashed the HDD at least u need an HDD to install OS isnt it??
Programming / Re: Please Help With This Java Program. by LordRahl001: 4:47pm On Aug 13, 2014
sealteam66: The first problem I had with your programme was how to calculate the cosine of a an angle in degree which I have solved

Math.cos((Math. PI)/angle)

Now before I speak about the programme, let agree that cosine rule is

C sq = A sq + B sq +2ABcosangle

where C is certainly the hypotenuse
A or B opposite or adjacent respectively
and angle is the angle between the adjacent and opposite, i.e. facing the hypotenuse
If you write a programme that calculates the lenght of a side using the formulae you will have a logical error because the programme wil be looking for hypotenuse always, when you could actually be looking for opposite or adjacent!
For the programme to work,
The programme would have to ask you which of the sides is being looked for either hypotenuse, adjacent or opposite
after which it accepts value, computes and displays the result
What I've done is the algorithm design, which is the first step in programming
After this you commence coding

Call me on 08090642393, let me know that is in it for me
its definitely not about hypothenuse its just about you finding the length facing the angle. basically, its represented as:
The lengths a,b and c
The angles are A,B and C
so 2 sides and an angle are give and u are asked to get the length of the last side.
most times the unknown side always have its angle known or computed somehow
so the Formula actually is:
to find length c

c=SQRT(a*2b*2+2abcosC)

so thats the right formula. The Cases were misleading tho!!
Programming / Re: Please Help With This Java Program. by LordRahl001: 4:40pm On Aug 13, 2014
Olyboy16: Oh, the cosine rule. Owkay.
 
public class cosine{
public int cosine(){
double a,b,c;
c=Math.sqrt((a**2+b**2) - (2*a*b*Math.cos(c)));
return c;
}

}


you'r welcome
Your cosine would return a wrong value.
Programming / Re: Please Help With This Java Program. by LordRahl001: 4:38pm On Aug 13, 2014
This should work perfectly.


import java.util.Scanner;
public class CosineAssignment
{
//L1^2=L2^2+L32-2L2L3cosL


public static void main(String[] args)
{
double l1, l2, angle;

Scanner in=new Scanner(System.in);

System.out.println("Supply The First Length:"wink;
l1=in.nextDouble();

System.out.println("Supply The Second Length:"wink;
l2=in.nextDouble();

System.out.println("Please Supply The Angle"wink;
angle=in.nextDouble();

double l1sq=squares(l1); //squaring The First Length
double l2sq=squares(l2); //squaring The Second Length

double cos_angle=Math.cos(Math.toRadians(angle)); //getting the cosine of the angle

double cs=l1sq+l2sq;

double csv=(2*l1*l2*cos_angle);

double ans=Math.sqrt(cs-csv);

System.out.println("The Length is: "+ans);
}


private static double squares(double fig){
return fig*fig; //this is just to square the lengths.
}
}

Hope i am not late??
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 4:01pm On Aug 13, 2014
akorson5: what's this <hr> used for?

thats horizontal rule sir. but if i may advise u, visit www.w3schools.com, so you learn more about webpage designs with tags etc. so you can do it yourself and all u need o be asking would be advanced questions. All the best.
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 3:52pm On Aug 13, 2014
elvis10ten: I love challenges especially one like this. My approach wasn't really efficient and it would take more time than other algos that are used for things like this. Will love to see what you can do:
The Problem:

You have a 12 team league (A-L).

Teams A-C are the high profile teams.

Team A and G are from the same city.

same for team C, D and E which all come from another city.

Write an algorithm to schedule matches for the entire season given the following.

--Two derby matches must not follow each other. ( derby meaning matches between teams from the same city).
--high profile teams can only play each other once in each half of the season.
--no team can have more than 3 away matches in succession.

(Not certain if this is hard or easy but it seemed to be an interesting challenge).

All languages permitted. Post your solutions here.

Waiting for any response.
I love this and am sure u knw its not a question u answer outta d hat. really nyc challenge. looks more like a time-table. so am on it.
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 3:50pm On Aug 13, 2014
akorson5:


thanks for the correction bro.
u'r welcome sir!!!!
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 3:43pm On Aug 13, 2014
akorson5:
<DOCTYPE !html>
<html>
<body>
<head>
<title> i'm still a learner</title>

</head>
<body>
<h1>Your Text Can come Here<h1>
</body>
</html>
modified. cheers bro.
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 3:41pm On Aug 13, 2014
chibwike: cool
not cool!! how will title tag be located between body?? thats why there is the head tag. moreso, the body wont close. so not cool, he should modify that post so as not to confuse beginners!
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 3:25pm On Aug 13, 2014
obioraval: yeah... I worked as a telecommunications engineer. Installation, TSS, LOS survey, rf drive test and analysis, network planning, feel free... Now, gradually going into embedded systems/robotics... Its way cooler for me there... But can still help with telecom stuffs
please sir, i wont mind materials from telecommunications as well. anything u have got. and please am looking forward toembedded systems and robotics too, can u please carry me along as u go?? i promise i wont slow u down. Thanks in anticipation!
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 3:21pm On Aug 13, 2014
elvis10ten: I ain't in school yet, but hope to do cs. I am a programmer already tho, knows java, php and python. I thought that this thread will be filled with codes, algorithms , reasonable argument, maths or ideas but i guess i was wrong.*any way watching in 3d.* BTW, any body into robotics or ai ?
you could initiate nao!!! if you either follow the path or create one.
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 3:19pm On Aug 13, 2014
chat2deen:


class August {
public static void main ( String args [] ){
int Day=11;
int count=11;
while (count <29)
{
Day ++;
count ++;
}
System.out.println("Birthday is "+Day+"th of August"wink;
}
}
some modifications like!!! cheers bro.
Software/Programmer Market / Re: Arduino Robot Kit For Sale (13k) Negotiatable by LordRahl001: 3:03pm On Aug 13, 2014
obioraval: google Microcontrollers on nairaland.. There's a mcu thread... It takes serious dedication... I was once dedicated but work came and I fell out... Going back to it though... Where's ur location... There are some places I could recommend but dependent on ur location
Thanks a lot. Lagos, Ibadan. i would really appreciate but seems am falling in love with this Arduino of a thingy already.
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 1:04pm On Aug 13, 2014
chibwike: some people here..dont know bout to Tower of Hanoi..why nt start by telling us about it..before we start adressing its problem.
i just did in my prev post!! its just an algorithm used mostly with recursions like for factorial, Fibonacci sequence et all

1 Like

Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 12:59pm On Aug 13, 2014
DaGC:


You are being too formal with the 'sir'. I'm just a regular guy. I perfectly ok with you calling me 'guy' 'bro' etc. smiley
issolkay bro!!!
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 12:47pm On Aug 13, 2014
DaGC:


I don't know if any of the Alumni of the old Informatics Institute is here; I'm sure they would have told you that I helped seniors, juniors and even foundation students as much as I could. There were days I hardly had time for myself. I shared knowledge as much as I could. All you had to do was ask, and if I could help, I would. I wasn't an 'A' student o, infact, I sucked theoretically, but practically, I was better than some 'A' students. Its been years I left there but I'm still in contact with quite a few of them. Some are even better IT gurus now. An old course mate recently won a Virgin group innovative competition recently in the UK presented to him by Sir Richard Branson. Bros, Nigeria ICT industry is on the rise. kiss
Thats really good to know sir!! forgive me for being too forward!! but really thats what we need in this generation!! if we cant have it all, we should prepare it for the next generation like David prepared the materials for the Temple before Solomon becomes the King!! Thanks sir.
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 12:44pm On Aug 13, 2014
Missy89:

i wasn't asking about what it was, i was asking about how it works (technical details not theoretical)

I haven't seen planet of apes. horror?
oh sorry!!! and planet of apes aint scary just some lab test with animals gone crazy!!!
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 12:06pm On Aug 13, 2014
Missy89:

How does the mathematical puzzle of Tower of Hanoi works? and what systems can it be integrated into?



Depends, if you are talking about the artificial intelligence in NPCs for video games, it is not that overly complicated. Most AI theories however are not practical at least for the time being.
Thoughts and learning can be easy to transfer into a machine but giving it autonomy and the power to improvise can be complicated because the machine might be too logical and that will complicate things
Tower if Hanoi is used for recursions in regular programming. and i think whatever we talk about should include us making some research on the subject matters. if u have watched rise of the planet apes, The arrangement of those discs of different size is the tower of hanoi. you arrange discs of different sizes from one pole to another given 3 poles and you are asked to arrange all the discs from pole a to pole c with conditions that you can only move a disc at a time and no larger disc should be on a smaller 1 at any point in time!! it can be used to test efficiency and decision making skills.
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 12:01pm On Aug 13, 2014
dabrake:
I have materials on the last two. I gave the first two out to a junior colleague crush and she lost them. They were hard copy textbooks. Wicked onessad sad . I have cool materials on simulation and modelling and in AI as my major is channeled towards things of that nature. Send me a PM. You cound equally get anything you want on google including how to create life :-D
i just sent a pm. i would really appreciate it a lot... lol @ creating life!
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 11:59am On Aug 13, 2014
SlyIg: I'm computer science educationist!
and as an educationist, whats your strong point in comp sci. what do you think can make your students want to emulate you. what makes you stand out from others comp sci wise
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 11:57am On Aug 13, 2014
SlyIg:

you just d cramp all your final year courses for computer science to display here?
am sorry maam!!! its not!! its an aspiration and i plan to make it real!! Thanks
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 11:56am On Aug 13, 2014
DaGC:


That will be mighty nice of you. Goodluck and I hope it achieves its aim.
amen sir!!! and you too should also try to encourage the next generation of programmers. they really dont have to go through what we went through!! God bless you sir!
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 11:54am On Aug 13, 2014
boitz: Anyone in here good with c#? If so, can we be friends grin grin
we could hook up!!! #msAllTheWay
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 11:52am On Aug 13, 2014
dabrake: I've learnt:
Computer programming and its organization.
Object oriented, web, network and database programming.
Security and intelligence.
MSOffice/Desktop publishing.
Low level languages.
Computer architecture.
Data structures and algorithm.
Digital computer logic.
Operating systems principles.
DBMS.
Compiler principles and design.
Systems analysis and design.
Discrete mathematics of computing.
Microcomputing.
Networking.
Information storage and retreival.
Computer Graphics.
Simulation and modelling.
Software engineering.
Hardware engineering.
Artificial intelligence.
Operations research/decision science.
i only have admirations for you sir!!! Thumbs up. but i would like materials in the bolded areas. realy i'd love to learn.
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 11:40am On Aug 13, 2014
DaGC:


This got me reminiscing about when I was in school and my senior brought up this cartoon ish. A cartoon movie with us as its characters. We had about 15-20 of us which would have been unique characters tailored to their voices, fashion, habits, vices etc but we neither had the knowledge or the means to materialise it. It really would have been cool.
seriously!! many ideas, many projects, you knw the sad thing is while in school, u have time, u have the ideas, you have almost everything except the right resources. most of those things we r seeing today originated from school. facebook, microsoft,yahoo, google. but here in Nigeria, there is just no resource. they expect us to maintain the status quo. come to school, cram, pour, pass out with good grades join the labour market and get employed with a certificate u cant even invent anything in. for computer science, they r still giving awards for students with the highest score; what the hell? no award for the best programmer, the best web developer, the best innovator, the best graphic artist, the best animation developer. when there is motivation no matter how small, will spur every1 to work harder. seriously an additional 5k for something i enjoy doing wont hurt me at least; but in nigeria, we soo much believe in theories. i have a lot of programmers as friends but they are not always the best in d class coz they end up being burdened with courses that are not even relevant. what i hope and pray for when i am ok is to go back to my school and organize programming challenges; innovations which will be duly recognized and rewarded. so the so called scholars can go ahead and cram but some pple will be making a future for themselves.
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 11:33am On Aug 13, 2014
chibwike: A.I is bad oh...its gurus that engage in this..its the act of incorporating human intelligence and reasoning into computer system...i.e making a computer behave like human..mostly through robots.
but you knw we could actually talk and discuss about it and who knws inspiration can spring up!! and we could bring something reasonable out!! we dont need to necessarily write codes but we could talk about algorithms, tools environments and conditions. so to start with, let me ask you sir, how will u address the Tower of Hanoi problem?
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 11:30am On Aug 13, 2014
Mannylex: its a very interesting course and you must have a flair for it, the good thing is that there are many branches, pick your strenght and major in it, computer science is not only about programming, there are other fields you can thrive in (Networking, Programming, database administration, system analysis and design, system security, computer graphics, computer architecture, hardware, software engineering, web design and so on...) what some people have said here is true, u wont be thought somethings in school(thatz because some of the lecturers are outdated) get information, go to youtube, download video tutorials, dont waste ur data downloading pornn wink get useful information that would improve your skill. People say you can learn more stuffs on computer science without going to university, true! But thatz if u wanna establish your own IT firm if you want to work, a Bsc in computer science is necessary, then you can henceforth pay to get professional qualifications....

Computer science is not about learning how to type or use office tools, it goes beyond that, infact you wont be taught that, itz not as easy as people think! If you have a passion for it, you will enjoy the course.
exactly the problem people are having understanding computer science!!! They all think its about using Office things!! for most, the only operating system is windows, they dont even knw what MsAccess is all about!!! and yes you really need to have that flair, the will to go on when the going gets tough, the will to overcome a challenge!!! i knw of a friend that quitted java only cox of a 'semi-colon' thats not there. so its about the will!!

1 Like

Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 11:21am On Aug 13, 2014
Missy89:

Let's talk about artificial intelligence
yes we should but do you thinks thats a good place to start? what about some of us that dont knw much about AI yet? but anyways, we could come up with some algorithms and d best implementations in relation to the number of steps to get it done.
and along the line we can discuss Artificial intelligence for the implementation.
and to start with i'd love us to discuss Tower of Hanoi algorithm
Software/Programmer Market / Re: Arduino Robot Kit For Sale (13k) Negotiatable by LordRahl001: 11:10am On Aug 13, 2014
i really would love to have this but i am not even into PIC/Embedded systems yet!!! in case you have any idea of how to get into Embedded systems, please enlighten me!!! Thanks in anticipation!
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 11:04am On Aug 13, 2014
DaGC:


I just need to know if you know what you are talking about. Don't give the name since you are uncomfortable about it. Just give me a description of it (payment system, school's database, someone's app, power grid, someone's pc etc), what level of encryption and how many bits etc.
lolz!!!! am sure he has never heard those terms before!!!! folks be forming mighty coz they got free browsing cheats. they dont even knw what the IPAddress is all about!!! seriously pple can be annoying at times!!!!
@DaGc back to you sir, whats your specialization?
Education / Re: A Thread For Computer Science Students.(Nacossites) by LordRahl001: 11:00am On Aug 13, 2014
chibwike: thats quite cool...i dont know if our education system in nigeria...has the facilities to provide vast knowledge on these aspects
seriously i wish!!! but one thing i have gained from my God-sent Mentor(Algorithm by name) is how to be self-reliant!! i believe if i have the right materials which if I am fortunate will be online, some datasheets and some samples might be a good place to start!!! seriously thats just what we are lacking in Nigeria!!! i remembered i had to order a smart card reader from china when i wanted to go into smart card programming!!! not even a company is selling it in nigeria!!! so pathetic!!! but by Gods grace, we will get there!!!!

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