₦airaland Forum

Welcome, Guest: RegisterLoginWith GoogleTrendingRecentNew

Stats: 3,331,276 members, 8,449,534 topics. Date: Tuesday, 21 July 2026 at 11:20 PM

Toggle theme

Fayimora's Posts

Nairaland ForumFayimora's ProfileFayimora's Posts

1 2 3 4 5 6 7 8 ... 20 21 22 23 24 25 26 27 28 (of 42 pages)

ProgrammingRe: New Cool: Javascript Css Selector "yapinator" Faster Than Sizzle: Peppy: Etc by Fayimora(m): 7:56pm On Jul 27, 2011
Thats cool. Am impressed!
ProgrammingRe: Hotel Booking And Reservation Assignment For A 200level Student (c++). by Fayimora(m): 7:55pm On Jul 27, 2011
Yeah, tho am not familiar with VB but am sure it does given then number of people that use it here on NL. Are you sure its a c++ compulsory project?
ProgrammingRe: Hotel Booking And Reservation Assignment For A 200level Student (c++). by Fayimora(m): 6:21pm On Jul 27, 2011
I wonder why someone would be given such a task explicitly in c++. Thats a devil's punishment. Something like this would make more sense in Java, Ruby, VB or one of those nice langs with GUI,
Really really sad
ProgrammingRe: Hotel Booking And Reservation Assignment For A 200level Student (c++). by Fayimora(m): 11:05am On Jul 27, 2011
Tho this is a question for omo_to_dun I must say you have given worse than no information. And it would be much better if whoever has the project talks for him/herself as the flow of information wud be much clearer
ProgrammingRe: Virus Programming by Fayimora(m): 5:31am On Jul 27, 2011
Speechless. . . . . . . . .
ProgrammingRe: a by Fayimora(m): 5:00am On Jul 27, 2011
Yeah that game was is awesome!!!
ProgrammingRe: a by Fayimora(m): 3:13am On Jul 27, 2011
lolzz kk, Am gonna make it open source so anyone who wants to fork it and improve is welcome cheesy
ProgrammingRe: a by Fayimora(m): 2:52am On Jul 27, 2011
Lmao! well u took u version that i was modifying, Remind me to send u mine, what u downloaded is what i was trying to modify to fit a project for ma friend
ProgrammingRe: a by Fayimora(m): 11:52pm On Jul 26, 2011
Ok did it work? cause i remember i was just learning how to package it in exe but ddnt try it
ProgrammingRe: a by Fayimora(m): 11:09pm On Jul 26, 2011
Still can't play, Mobinga dd u manage to get the aquarium off Github?Am cleaning ma repo and wanna take it off!
ProgrammingRe: Programmers: What Project(s) Are You Working On Now? by Fayimora(m): 10:00pm On Jul 26, 2011
Strongly agree cheesy
ProgrammingRe: a by Fayimora(m): 9:25pm On Jul 26, 2011
Omo_to_dun's Server is not running.  sadsad What server you using? Normal Apache HTTP webserver? I can host it for you if you need help.
ProgrammingRe: Nairaland Programmers I Need Your Advise by Fayimora(m): 2:54pm On Jul 26, 2011
I know a lot of good java programmers here. However, the way it works is, you try to solve a problem, keep trying until you cry.lol. Then you bring the problem here, someone would put you through and show you ur mistakes, and then you go back and finish it up.
ProgrammingRe: a by Fayimora(m): 2:51pm On Jul 26, 2011
Am in! Hehhehe. So where's the source? LInk to repo pls cheesy
Tech JobsRe: I Need Help With My Final Year (comp Science) Project by Fayimora(m): 2:50pm On Jul 26, 2011
Hmmmm unbelievable.
ProgrammingRe: How Do I Use The Jazzy Api? by Fayimora(m): 2:49pm On Jul 26, 2011
If the link logica gave you isin't explanatory then you can use this spell checker. It comes with an example also.

Nov1ce:
but the docs only explain how to use the methods and classes contained in the API.
As a programmer, i dont think you need more than that. Trust me if you really want to explore then all you need is an explanation of the classes, methods and constants if at all there are any. Once you know what they return or accept as parameters, you should be able to do a lot from that. Its good to explore before looking for SC.
ProgrammingRe: Program To Add To Polynomials by Fayimora(m): 4:22am On Jul 26, 2011
Hey sorry was baned by the spambot, Have a look at what i posted which is marked as spam

https://img839.imageshack.us/img839/8689/screenshot20110726at041.png
ProgrammingRe: Program To Add To Polynomials by Fayimora(m): 11:18pm On Jul 25, 2011
But i dnt see where you check the length of the polynomial, Weird! Do you mind re-writing this code? They are easier ways to do this i guess. Do you have a requirement or you just have to implement in in anyway.

If you dont have a requirement then the fastest way to do this is with a Map. Do you want to re-write it? Don't worr about not knowing how to use a map I would walk you through the whole process, but you would do the reasoning part.

Reason why i want you to rewrite the code is because what you have here has a lot of redundancies and its very confusing(e.g you called a variable of type Monomial `polynomial`) Its just difficult to comprehend.
ProgrammingRe: Program To Add To Polynomials by Fayimora(m): 11:08pm On Jul 25, 2011
Well the bad news is that you have more problems than you thought

https://img825.imageshack.us/img825/7365/screenshot20110725at230.png

 public void setPolynomial(){
int x=polynomial.length;
int count=0;
System.out.println("Please enter in this particular order all the coefficient and exponent "wink;

while(count < x){

int coefficient=in.nextInt();
int exponent=in.nextInt();
polynomial[exponent]=new Monomial(coefficient,exponent);
count++;
}
}


Help me to understand why you have this:
int x=polynomial.length;
ProgrammingRe: Program To Add To Polynomials by Fayimora(m): 10:56pm On Jul 25, 2011
No i mean during execution. You have this:
https://img837.imageshack.us/img837/2373/screenshot20110725at225.png

What do i key in(use the example above), that instruction is not descriptive enough!
ProgrammingRe: Program To Add To Polynomials by Fayimora(m): 10:49pm On Jul 25, 2011
How are we suposed to enter in the 'polynimial'. Use this

==> 2x3 + 2x2 + 4x + 1 = 0

So how do I key in the values? Also, you got some really bad names here that can cause a brain damage, lol Just kidding but your variable names are confusing,
ProgrammingRe: How Do I Use The Jazzy Api? by Fayimora(m): 8:49pm On Jul 25, 2011
I implemented my own library(just 2 classes) for this. All you need is a dictionary(a list of words in a text file or xml) and you can get loads of them online,
ProgrammingRe: Programmers: What Project(s) Are You Working On Now? by Fayimora(m): 5:06pm On Jul 25, 2011
Was working on a twitter app but got bored of it as it ddnt pose any challenges so am working on an e-market application(amazon and ebay level). Might not be done until december cause i have other stuffs too. Implementation in ruby on rails
Tech JobsRe: As A Final Year Student In Nd2 Computer, I Am Toa To Project: Topic: Design And Implementation Of Da by Fayimora(m): 4:46pm On Jul 25, 2011
Hmm  dd u pick this project yourselfhuh
ProgrammingRe: Java Tangram App by Fayimora(m): 4:07pm On Jul 25, 2011
So back on the topic, What have you done so far?
Tech JobsRe: As A Final Year Student In Nd2 Computer, I Am Toa To Project: Topic: Design And Implementation Of Da by Fayimora(m): 3:23pm On Jul 25, 2011
LEave your mail outta this. Except you really just wanna pay then fine, good luck to you.

If you mean business and you are ready to work then lets start with a few questions.

1 --> Do you fully understand what the project is?

2 --> Do you fully understand the requirements of the project

3 --> What ideas have you come up with, in terms of possible operations, features, UI design, language its gonna be implemented in.
ProgrammingRe: Programming Challenge. by Fayimora(m): 3:20pm On Jul 25, 2011
Mobinga:
Nice. I think this is faster though tedious

System.out.println("0/n7/n14, "wink 



grin Since it doesn't loop at all. It just prints the string.


We should be doing code-benchmarks more often  grin
Hahah yeah but dnt forget its just 350. What happens if the max number is increased to 1million? lolz

offtopic: Mobinga u havent replied ma pm, sent it few days ago
ProgrammingRe: Algorithm Workout! by Fayimora(m): 3:18pm On Jul 25, 2011
Sorry guys if this is gonna have to continue then am gonna have to lock this thread!
ProgrammingRe: Programming Challenge. by Fayimora(m): 11:41pm On Jul 24, 2011
I think they are both the same cheesy and n another sense I think the multiplication is faster. Sounds weird ryt? The little assembly i did thought me to always do additions rather than multiplications, reason because its faster. However, i ran each of the code checking the runtime and the multiplication ran for an average of 0.82secs while the addition ran for an average of 0.86.

The fastest way would just be to add, concatenate and print once. If the max value grows less than 350(say 1000000) then you can still make it faster by using a StringBuilder or if your doing anything with concurrency then a StringBuffer,

Just an opinion by the way,

1 2 3 4 5 6 7 8 ... 20 21 22 23 24 25 26 27 28 (of 42 pages)